/* LTC365_GOOD_UI_V4 -- chi ap dung tab Ngay tot */
.tc-app .tc-tab[data-tab="good"]{padding-bottom:calc(155px + env(safe-area-inset-bottom));}
.tc-app .tc-tab[data-tab="good"] #tc-good-results.tcg4-results{margin:20px 0 42px;color:#513226;font-size:clamp(14px,3.6vw,17px);line-height:1.55;overflow-wrap:anywhere;}
#tc-good-results.tcg4-results .tcg4-intro{margin-bottom:18px;}
#tc-good-results.tcg4-results .tcg4-intro h2{font-size:clamp(19px,4.7vw,25px);line-height:1.35;text-align:center;color:#891c32;margin:0 0 15px;font-weight:850;letter-spacing:.15px;text-wrap:balance;}
#tc-good-results .tcg4-profile-row{display:flex;align-items:center;gap:10px;background:linear-gradient(110deg,#fffbf4,#ffefce);border:1px solid #e0bd75;border-radius:15px;padding:12px;margin:10px 0;box-shadow:0 3px 8px #68432516;}
#tc-good-results .tcg4-profile-copy{display:grid;min-width:0;gap:2px;}
#tc-good-results .tcg4-profile-copy strong{color:#8d1833;font-size:.94em;}
#tc-good-results .tcg4-profile-copy span{color:#594030;font-size:.96em;}
#tc-good-results .tcg4-profile-icon{border-radius:12px;background:#fee5b7;color:#961e37;padding:7px 10px;flex:none;font-weight:850;font-size:22px;}
#tc-good-results .tcg4-birth-detail,#tc-good-results .tcg4-method{border:1px solid #e6cf9f;border-radius:12px;background:#fff9ed;padding:10px 13px;margin:9px 0;color:#783c34;}
#tc-good-results .tcg4-birth-detail>summary,#tc-good-results .tcg4-method>summary{cursor:pointer;font-weight:650;font-size:.91em;}
#tc-good-results .tcg4-birth-detail p{font-size:.92em;margin:7px 0 0;}
#tc-good-results details.tcg4-card{border:1.5px solid #d5a75a!important;border-radius:18px!important;padding:0!important;margin:17px 0!important;overflow:clip;background:#fffdf9!important;box-shadow:0 8px 20px rgba(110,66,30,.14)!important;}
#tc-good-results .tcg4-card>summary.tcg4-card-summary{display:flex;gap:7px;align-items:center;flex-wrap:wrap;padding:14px 15px!important;color:#ffefbe!important;background:linear-gradient(120deg,#8d102d 0%,#c40227 55%,#8c142c 100%)!important;border-bottom:2px solid #d8ad62;list-style:none;cursor:pointer;line-height:1.3;}
#tc-good-results .tcg4-card>summary::-webkit-details-marker{display:none;}
#tc-good-results .tcg4-card-summary:before{content:'▾';font-size:18px;color:#ffdd89;}
#tc-good-results .tcg4-card:not([open])>.tcg4-card-summary:before{content:'▸';}
#tc-good-results .tcg4-rank{font-weight:900;color:#fff2c8;font-size:1.15em;}
#tc-good-results .tcg4-card-date{font-weight:750;color:#ffefcc;}
#tc-good-results .tcg4-badge{border:1px solid #ffdc95;background:#ffe0a4;color:#761a2b;border-radius:99px;padding:3px 10px;font-size:.84em;font-weight:900;margin-left:auto;}
#tc-good-results .tcg4-card .tcg4-body.tc-top-details{padding:14px!important;margin:0!important;background:linear-gradient(155deg,#fffaf0,#fff2d7 70%,#fff9ee)!important;border-radius:0!important;}
#tc-good-results .tcg4-date-panel{display:flex;align-items:center;gap:11px;background:linear-gradient(110deg,#fffcf8,#fff0d6);border:1px solid #edd09c;border-radius:15px;padding:12px;margin-bottom:16px;box-shadow:0 3px 8px #ab7a3718;}
#tc-good-results .tcg4-date-icon{flex:none;border-radius:12px;background:#f9dba4;color:#9f1633;font-weight:900;font-size:26px;padding:5px 10px;}
#tc-good-results .tcg4-date-copy{display:grid;gap:3px;min-width:0;}
#tc-good-results .tcg4-date-copy strong{color:#96182e;font-size:1.06em;line-height:1.33;}
#tc-good-results .tcg4-date-copy span{color:#7d3e2d;font-size:.96em;}
#tc-good-results .tcg4-section{border:1px solid #eedbb9;background:rgba(255,255,255,.78);border-radius:15px;margin:13px 0;padding:11px 12px 12px;}
#tc-good-results .tcg4-section-heading{display:flex;align-items:center;gap:9px;width:max-content;max-width:100%;border:1px solid #eac27d;border-radius:99px;background:linear-gradient(100deg,#ffe8b4,#fff5df);color:#94172d!important;font-size:clamp(16px,4.1vw,20px)!important;line-height:1.25;font-weight:820;margin:0 0 10px!important;padding:7px 13px;}
#tc-good-results .tcg4-icon{display:inline-flex;align-items:center;justify-content:center;flex:none;color:#a51b35;font-weight:900;font-size:18px;}
#tc-good-results .tcg4-text{color:#523628;line-height:1.6;margin:7px 1px!important;font-size:1em;}
#tc-good-results .tcg4-small-title{font-weight:800;color:#8d2536;background:#fff0ce;border-left:3px solid #cc9a4c;border-radius:5px;padding:7px 9px;margin:12px 0 7px;}
#tc-good-results .tcg4-reasons{margin:8px 0 6px;padding-left:22px;color:#533424;line-height:1.56;}
#tc-good-results .tcg4-reasons li{padding-left:1px;margin:8px 0;}
#tc-good-results .tcg4-reasons li::marker{color:#a51c37;}
#tc-good-results .tcg4-caution{background:#fff5e9;border-color:#daa77b;}
#tc-good-results .tcg4-caution .tcg4-section-heading{background:#ffdfc7;border-color:#e1ab7d;}
#tc-good-results .tcg4-hours{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;}
#tc-good-results .tcg4-hour{display:block;text-align:center;background:#fff2d4;border:1px solid #e6c58a;border-radius:10px;padding:9px 5px;font-size:.91em;color:#8d2032;font-weight:800;}
#tc-good-results .tcg4-footnote{font-size:.81em;color:#785f4c;margin:9px 0 0;}
#tc-good-results .tcg4-more{border-top:1px dashed #e6cba3;padding-top:8px;margin-top:7px;}
#tc-good-results .tcg4-more summary{cursor:pointer;color:#9b2639;font-size:.87em;font-weight:750;}
#tc-good-results .tcg4-actions{padding:6px 2px 1px;}
#tc-good-results .tcg4-actions .tcg4-remind{display:block;width:100%;border:1px solid #eec178;border-radius:12px;padding:12px;background:linear-gradient(120deg,#8d1e37,#a11d3b)!important;color:#fff2d3!important;min-height:44px;font-weight:800;font-size:1em;}
#tc-good-results .tcg4-method{margin-top:17px;padding:12px 14px;background:#fff7e8;}
#tc-good-results .tcg4-method p{font-size:.9em;line-height:1.5;}
.tc-tab[data-tab="good"] .tc-card:has(#tc-good-form){background:linear-gradient(130deg,#fffefa,#fff3d9);border-color:#e5be77;}
@media(max-width:350px){#tc-good-results .tcg4-hours{grid-template-columns:1fr;}#tc-good-results .tcg4-card>summary.tcg4-card-summary{padding:12px 10px!important;}#tc-good-results .tcg4-badge{margin-left:0;}}
@media(prefers-reduced-motion:no-preference){#tc-good-results .tcg4-card{transition:box-shadow .15s ease;}}
