/* TeenConnect Home UI Polish / Section Feed V2 · Stage 14.1 */
.page-home{background:#f7faff}
.page-home .site-shell{background:linear-gradient(180deg,#fbfdff 0,#f7faff 52%,#fff 100%)}
.page-home .main-content{max-width:1160px;padding-top:20px;padding-bottom:110px}
.page-home .topbar{height:72px;max-width:1240px;margin:0 auto;padding-left:22px;padding-right:22px;border:1px solid rgba(215,226,248,.72);border-top:0;border-radius:0 0 22px 22px;background:rgba(255,255,255,.95);box-shadow:0 9px 32px rgba(59,89,155,.06);backdrop-filter:blur(20px)}
.page-home .topbar .brand-image{max-height:38px;max-width:185px}
.page-home .topbar .desktop-nav{display:none}
.page-home .topbar .tc-global-search-shell{max-width:500px;margin-left:auto}
.page-home .topbar .tc-global-search-head{border:1px solid #dfe7f6;background:#f8faff;box-shadow:inset 0 1px 0 rgba(255,255,255,.9)}
.page-home .topbar-actions{margin-left:4px}
.page-home .bell-link,.page-home .profile-top-link{border:1px solid #e1e8f5;background:#fff;box-shadow:0 7px 20px rgba(62,88,147,.08)}
.page-home .bell-link{display:grid;place-items:center;width:40px;height:40px;border-radius:14px}
.page-home .profile-top-link{padding:3px;border-radius:15px}
.page-home .topbar-actions .admin-link,.page-home .topbar-actions .inline-form{display:none}
.page-home .tc-event-header{display:none!important}

.tc-home-v2{--home-blue:#2f6df5;--home-blue-dark:#174fd5;--home-ink:#17213e;--home-sub:#77839e;--home-line:#e5ebf6;--home-soft:#f7f9fd;display:grid;gap:24px;color:var(--home-ink);padding-bottom:22px}
.tc-home-promo{display:none}

.tc-home-notice-strip{display:grid;grid-template-columns:38px minmax(0,1fr) auto 32px;align-items:center;gap:10px;min-height:52px;padding:7px 10px;border:1px solid #dce7fb;border-radius:18px;background:linear-gradient(90deg,#eaf5ff 0,#f2f4ff 52%,#f6edff 100%);box-shadow:0 8px 22px rgba(69,95,158,.055);overflow:hidden}
.tc-home-notice-icon{display:grid;place-items:center;width:34px;height:34px;border-radius:11px;background:rgba(255,255,255,.78);font-size:17px;box-shadow:inset 0 0 0 1px rgba(210,224,248,.8)}
.tc-home-notice-track{position:relative;height:34px;min-width:0;overflow:hidden}
.tc-home-notice-item{position:absolute;inset:0;display:flex;align-items:center;gap:9px;min-width:0;color:#18264a;opacity:0;transform:translateY(7px);pointer-events:none;transition:opacity .22s ease,transform .22s ease}
.tc-home-notice-item.is-active{opacity:1;transform:translateY(0);pointer-events:auto}
.tc-home-notice-item em{flex:0 0 auto;padding:4px 7px;border-radius:999px;background:#fff;color:#3568e8;font-size:9px;font-style:normal;font-weight:1000;box-shadow:0 3px 9px rgba(58,94,180,.08)}
.tc-home-notice-item b{overflow:hidden;min-width:0;text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:950;letter-spacing:-.02em}
.tc-home-notice-item span{flex:0 0 auto;color:#3568e8;font-size:10px;font-weight:950}
.tc-home-notice-all{display:inline-flex;align-items:center;gap:5px;flex:0 0 auto;color:#3568e8;font-size:10px;font-weight:950;white-space:nowrap}.tc-home-notice-all b{font-size:14px}
.tc-home-notice-close{display:grid;place-items:center;width:30px;height:30px;border:0;border-radius:10px;background:transparent;color:#8a95ab;font-size:20px;line-height:1;cursor:pointer}.tc-home-notice-close:hover{background:rgba(255,255,255,.72);color:#435273}
.tc-home-brand-banner{overflow:hidden;border:1px solid #e3e8f6;border-radius:27px;background:#eef4ff;box-shadow:0 13px 36px rgba(54,79,137,.09)}
.tc-home-brand-banner img{display:block;width:100%;height:auto;aspect-ratio:2048/748;object-fit:cover}
.tc-home-hero{position:relative;display:grid;grid-template-columns:minmax(0,1.15fr) minmax(260px,.85fr);align-items:center;min-height:222px;overflow:hidden;border:1px solid #e2ebfb;border-radius:28px;background:linear-gradient(125deg,#fff 0,#f8fbff 45%,#eaf4ff 100%);box-shadow:0 14px 42px rgba(62,91,157,.08)}
.tc-home-hero:before{content:"";position:absolute;right:-55px;top:-85px;width:430px;height:350px;border-radius:48%;background:radial-gradient(circle at 35% 35%,rgba(255,255,255,.9) 0 10%,transparent 11%),radial-gradient(circle at 69% 58%,rgba(255,255,255,.9) 0 13%,transparent 14%),linear-gradient(145deg,rgba(214,235,255,.88),rgba(239,244,255,.82));transform:rotate(-8deg)}
.tc-home-hero-copy{position:relative;z-index:2;padding:34px 34px 36px}
.tc-home-hello{display:block;margin-bottom:5px;font-size:20px;font-weight:950;letter-spacing:-.04em}
.tc-home-hero h1{margin:0;font-size:clamp(34px,5vw,54px);line-height:1.08;letter-spacing:-.055em;color:#101b38}.tc-home-hero h1 strong{color:var(--home-blue)}.tc-home-hero h1 i{font-size:.68em;font-style:normal}
.tc-home-hero-copy>p{margin:12px 0 0;color:#70809d;font-size:15px;font-weight:750;letter-spacing:-.02em}
.tc-home-hero-art{position:relative;z-index:2;height:100%;min-height:220px}
.tc-home-hero-art>em{position:absolute;right:124px;top:35px;color:#446491;font-size:13px;font-style:normal;font-weight:900;line-height:1.3;transform:rotate(-8deg)}
.tc-home-mascot{position:absolute;right:48px;bottom:18px;display:grid;place-items:center;width:126px;height:126px;border-radius:47% 53% 48% 52% / 60% 54% 46% 40%;background:linear-gradient(155deg,#fff,#eef8ff);box-shadow:0 18px 40px rgba(48,105,202,.16),inset 0 -10px 22px rgba(199,229,255,.7);transform:rotate(4deg)}
.tc-home-mascot:before,.tc-home-mascot:after{content:"";position:absolute;top:58px;width:11px;height:11px;border-radius:50%;background:#142b6b}.tc-home-mascot:before{left:34px}.tc-home-mascot:after{right:34px}.tc-home-mascot b{position:absolute;top:22px;color:#2b76f6;font-size:24px;font-weight:1000;letter-spacing:-.07em}.tc-home-mascot i{position:absolute;bottom:28px;color:#ef7f9f;font-size:17px;font-style:normal;font-weight:900}
.tc-home-hero-art .bubble-one,.tc-home-hero-art .bubble-two{position:absolute;border-radius:50%;background:rgba(155,128,255,.2)}.tc-home-hero-art .bubble-one{right:185px;bottom:72px;width:18px;height:18px}.tc-home-hero-art .bubble-two{right:160px;bottom:48px;width:10px;height:10px;background:rgba(99,214,185,.38)}

.tc-home-service-chips{display:flex;gap:9px;overflow-x:auto;padding:0 2px 5px;scrollbar-width:none}.tc-home-service-chips::-webkit-scrollbar{display:none}
.tc-home-service-chips a{display:inline-flex;align-items:center;justify-content:center;gap:7px;flex:0 0 auto;min-height:43px;padding:0 18px;border:1px solid #e3e9f4;border-radius:999px;background:#fff;color:#55647f;font-size:13px;font-weight:900;box-shadow:0 6px 18px rgba(65,91,150,.045);transition:.18s ease}
.tc-home-service-chips a:hover{transform:translateY(-1px);border-color:#cdd9ef;color:#235bd9}.tc-home-service-chips a.active{border-color:#4b77f7;background:linear-gradient(135deg,#4c7cff,#3367ed);color:#fff;box-shadow:0 9px 24px rgba(55,102,230,.22)}
.tc-home-service-chips a>span{font-size:17px}.tc-home-service-chips a.more{width:43px;padding:0;font-size:22px;color:#5f6f8d}

.tc-home-hot-card{overflow:hidden;border:1px solid #e2e9f5;border-radius:26px;background:#fff;box-shadow:0 12px 34px rgba(48,72,128,.08)}
.tc-home-hot-card>a{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(300px,.85fr);min-height:275px}
.tc-home-hot-media{position:relative;min-height:275px;background:#eef2f9 center/cover no-repeat}.tc-home-hot-media:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 55%,rgba(8,18,42,.22))}.tc-home-hot-media.is-empty{background:linear-gradient(135deg,#e4efff,#f2eaff)}
.tc-home-hot-play{position:absolute;z-index:2;right:18px;bottom:18px;display:grid;place-items:center;width:48px;height:48px;border-radius:50%;background:rgba(20,29,58,.72);color:#fff;font-size:17px;backdrop-filter:blur(8px)}
.tc-home-hot-copy{display:flex;flex-direction:column;justify-content:center;padding:28px 30px}.tc-home-now{display:flex;align-items:center;gap:9px}.tc-home-now b{color:#ff4b72;font-size:12px}.tc-home-now span{color:#756be5;font-size:12px;font-weight:900}.tc-home-hot-copy h2{margin:12px 0 9px;font-size:clamp(24px,3vw,34px);line-height:1.23;letter-spacing:-.045em}.tc-home-hot-copy>p{display:-webkit-box;overflow:hidden;margin:0;color:#69758e;font-size:13px;line-height:1.6;-webkit-box-orient:vertical;-webkit-line-clamp:3}.tc-home-hot-copy footer{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:20px}.tc-home-hot-copy footer>span{display:flex;align-items:center;gap:8px}.tc-home-hot-copy footer i{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:#edf3ff;color:#3d62bf;font-size:12px;font-style:normal;font-weight:950}.tc-home-hot-copy footer b,.tc-home-hot-copy footer small{font-size:11px;color:#68758e}

.tc-home-section{display:grid;gap:14px;padding-top:4px}.tc-home-section-head{display:flex;align-items:end;justify-content:space-between;gap:18px}.tc-home-section-title{display:flex;align-items:baseline;gap:8px;min-width:0}.tc-home-section-icon{font-size:24px;line-height:1}.tc-home-section-title h2{margin:0;font-size:25px;letter-spacing:-.045em;color:#17213e}.tc-home-section-title p{margin:0 0 1px;color:#8993a9;font-size:13px;font-weight:700}.tc-home-section-head>a{display:inline-flex;align-items:center;gap:7px;flex:0 0 auto;color:#2d67e8;font-size:12px;font-weight:950}.tc-home-section-head>a b{font-size:15px}
.tc-home-rail{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(180px,1fr);gap:12px;overflow-x:auto;padding:1px 1px 8px;scroll-snap-type:x proximity;scrollbar-width:none}.tc-home-rail::-webkit-scrollbar{display:none}
.tc-home-rail-card{min-width:0;scroll-snap-align:start}.tc-home-rail-card>a{display:block;color:inherit}.tc-home-rail-media{position:relative;aspect-ratio:1.22/1;overflow:hidden;border-radius:17px;background:#eef2f8 center/cover no-repeat;box-shadow:inset 0 0 0 1px rgba(220,227,240,.45)}.tc-home-rail-video .tc-home-rail-media{aspect-ratio:1.62/1}.tc-home-rail-profile .tc-home-rail-media{aspect-ratio:1/1}.tc-home-rail-book .tc-home-rail-media{aspect-ratio:.78/1}.tc-home-rail-media:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 65%,rgba(13,22,44,.14))}.tc-home-empty-mark{position:absolute;inset:0;display:grid;place-items:center;font-size:38px}.tc-home-rank{position:absolute;z-index:2;left:9px;top:9px;display:grid;place-items:center;width:29px;height:29px;border-radius:10px;background:#fff;color:#5c6680;font-size:12px;font-weight:1000;box-shadow:0 5px 13px rgba(23,36,68,.15)}.tc-home-rank.rank-1{background:#ffd659;color:#6c4b00}.tc-home-rank.rank-2{background:#dce3ef;color:#47556f}.tc-home-rank.rank-3{background:#efb884;color:#6f431c}.tc-home-duration{position:absolute;z-index:2;right:8px;bottom:8px;display:grid;place-items:center;min-width:28px;height:25px;padding:0 7px;border-radius:8px;background:rgba(15,23,43,.72);color:#fff;font-size:10px;font-weight:900;backdrop-filter:blur(6px)}
.tc-home-rail-copy{padding:9px 3px 0}.tc-home-rail-copy h3{display:-webkit-box;overflow:hidden;margin:0;color:#1c2743;font-size:14px;line-height:1.38;letter-spacing:-.025em;-webkit-box-orient:vertical;-webkit-line-clamp:2}.tc-home-rail-author{display:flex;align-items:center;gap:6px;margin-top:7px;color:#69758f}.tc-home-author-dot{display:grid;place-items:center;width:21px;height:21px;border-radius:50%;background:#edf2ff;color:#4d67b1;font-size:9px;font-weight:1000}.tc-home-rail-author b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px}.tc-home-rail-copy>small{display:block;margin-top:5px;color:#9aa3b5;font-size:10px;font-weight:800}

.tc-home-talk-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.tc-home-talk-card>a{display:grid;grid-template-columns:minmax(0,1fr) 98px;align-items:center;min-height:132px;overflow:hidden;border:1px solid #e5eaf4;border-radius:19px;background:#fff;box-shadow:0 7px 20px rgba(46,66,112,.045)}.tc-home-talk-copy{min-width:0;padding:16px}.tc-home-talk-copy>span{color:#7563df;font-size:10px;font-weight:950}.tc-home-talk-copy h3{display:-webkit-box;overflow:hidden;margin:6px 0 5px;font-size:16px;line-height:1.32;letter-spacing:-.035em;-webkit-box-orient:vertical;-webkit-line-clamp:2}.tc-home-talk-copy p{display:-webkit-box;overflow:hidden;margin:0;color:#7a8498;font-size:11px;line-height:1.5;-webkit-box-orient:vertical;-webkit-line-clamp:2}.tc-home-talk-copy small{display:block;margin-top:8px;color:#9ba3b4;font-size:10px;font-weight:800}.tc-home-talk-card img{width:98px;height:132px;object-fit:cover}.tc-home-talk-card>a>i{display:grid;place-items:center;width:98px;height:132px;background:linear-gradient(145deg,#eff5ff,#f6efff);font-size:31px;font-style:normal}

.tc-home-room-rail{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.tc-home-room-rail>a{display:grid;grid-template-columns:46px minmax(0,1fr) auto;align-items:center;gap:10px;padding:11px 12px;border:1px solid #e4eaf5;border-radius:17px;background:#fff}.tc-home-room-rail>a>span{display:grid;place-items:center;width:46px;height:46px;overflow:hidden;border-radius:15px;background:#eff4ff;font-size:20px}.tc-home-room-rail img{width:100%;height:100%;object-fit:cover}.tc-home-room-rail div{display:grid;gap:3px;min-width:0}.tc-home-room-rail b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}.tc-home-room-rail small{color:#8d97ac;font-size:10px}.tc-home-room-rail em{color:#6d7b98;font-size:21px;font-style:normal}

.tc-home-product-rail{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(190px,1fr);gap:12px;overflow-x:auto;padding-bottom:7px;scrollbar-width:none}.tc-home-product-rail::-webkit-scrollbar{display:none}.tc-home-product-card{scroll-snap-align:start}.tc-home-product-card>a{display:block;overflow:hidden;border:1px solid #e4eaf4;border-radius:18px;background:#fff;box-shadow:0 7px 21px rgba(49,69,118,.045)}.tc-home-product-media{position:relative;aspect-ratio:1/1;background:#f1f4f9 center/cover no-repeat}.tc-home-product-media.is-empty{background:linear-gradient(135deg,#edf4ff,#f7ecff)}.tc-home-product-media>span{position:absolute;left:9px;top:9px;padding:5px 7px;border-radius:999px;background:#654ee9;color:#fff;font-size:8px;font-weight:1000;letter-spacing:.08em}.tc-home-product-card>a>div:last-child{padding:12px}.tc-home-product-card div>span{color:#6678ae;font-size:9px;font-weight:950}.tc-home-product-card h3{display:-webkit-box;overflow:hidden;margin:5px 0 5px;font-size:14px;line-height:1.35;-webkit-box-orient:vertical;-webkit-line-clamp:2}.tc-home-product-card p{display:-webkit-box;overflow:hidden;margin:0;color:#7e889d;font-size:10px;line-height:1.45;-webkit-box-orient:vertical;-webkit-line-clamp:2}

.tc-home-more-feed{display:grid;gap:14px;padding-top:8px}.tc-home-more-feed .tc-home-section-head{margin-bottom:0}.tc-discovery-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.tc-discovery-card{min-width:0;overflow:hidden;border:1px solid #e4eaf4;border-radius:20px;background:#fff;box-shadow:0 8px 24px rgba(48,68,116,.055)}.tc-discovery-card-hit{display:grid;grid-template-columns:150px minmax(0,1fr);min-height:150px}.tc-discovery-media{position:relative;min-height:150px;background:#eef2f8 center/cover no-repeat}.tc-discovery-media-badge{position:absolute;left:9px;top:9px;padding:5px 7px;border-radius:999px;background:rgba(18,28,53,.72);color:#fff;font-size:9px;font-weight:900;backdrop-filter:blur(6px)}.tc-discovery-play{position:absolute;right:9px;bottom:9px;display:grid;place-items:center;width:31px;height:31px;border-radius:50%;background:#fff;color:#26324f;font-size:11px;font-style:normal;box-shadow:0 5px 14px rgba(0,0,0,.15)}.tc-discovery-copy{padding:14px}.tc-discovery-kicker{display:flex;gap:7px;align-items:center}.tc-discovery-kicker b{color:#4269d4;font-size:10px}.tc-discovery-kicker span{overflow:hidden;color:#9aa3b4;font-size:9px;text-overflow:ellipsis;white-space:nowrap}.tc-discovery-copy h3{display:-webkit-box;overflow:hidden;margin:7px 0 6px;font-size:16px;line-height:1.35;letter-spacing:-.03em;-webkit-box-orient:vertical;-webkit-line-clamp:2}.tc-discovery-copy p{display:-webkit-box;overflow:hidden;margin:0;color:#747f95;font-size:11px;line-height:1.5;-webkit-box-orient:vertical;-webkit-line-clamp:2}.tc-discovery-copy footer{display:flex;justify-content:space-between;gap:8px;margin-top:11px;color:#9aa3b4;font-size:9px;font-weight:800}.tc-discovery-more{justify-self:center;border:1px solid #dfe6f2;border-radius:999px;background:#fff;padding:11px 17px;color:#50617e;font-size:12px;font-weight:950}.tc-discovery-more.loading{opacity:.55}.tc-discovery-loading,.tc-discovery-empty{grid-column:1/-1;padding:35px;border-radius:18px;background:#f7f9fd;color:#7b879f;text-align:center;font-size:12px;font-weight:850}

/* Home navigation should feel like a native app rather than a utility bar. */
.page-home .mobile-nav{border-top:1px solid #e2e9f5!important;background:rgba(255,255,255,.96)!important;box-shadow:0 -12px 36px rgba(43,63,105,.09)!important;backdrop-filter:blur(18px)!important}.page-home .mobile-nav a,.page-home .mobile-nav-more-button{color:#8b96aa!important}.page-home .mobile-nav a.active,.page-home .mobile-nav-more-button.active{color:#2f6df5!important}.page-home .mobile-nav a.active .mobile-nav-icon{filter:drop-shadow(0 4px 8px rgba(47,109,245,.18))}

@media(max-width:820px){
  .page-home .topbar{height:58px;margin:0;padding:0 10px;border:0;border-bottom:1px solid #e8edf6;border-radius:0;box-shadow:none;position:sticky!important;top:0!important;z-index:80!important}.page-home .topbar .brand-image{max-height:33px;max-width:94px!important}.page-home .topbar .tc-global-search-shell{margin:0;max-width:none}.page-home .topbar .tc-global-search-head{height:38px!important;border-radius:13px!important}.page-home .bell-link{width:36px;height:36px;border-radius:13px}.page-home .profile-top-link{border-radius:13px}.page-home .topbar-actions .avatar-tiny{width:34px!important;height:34px!important;border-radius:12px!important}
  .page-home .main-content{padding:12px 12px calc(104px + env(safe-area-inset-bottom))}.tc-home-v2{gap:17px}
  .tc-home-notice-strip{grid-template-columns:34px minmax(0,1fr) 28px;gap:7px;min-height:46px;padding:5px 7px;border-radius:14px}.tc-home-notice-icon{width:30px;height:30px;border-radius:9px;font-size:15px}.tc-home-notice-track{height:31px}.tc-home-notice-item{gap:6px}.tc-home-notice-item em{padding:3px 6px;font-size:8px}.tc-home-notice-item b{font-size:11px}.tc-home-notice-item span{display:none}.tc-home-notice-all{display:none}.tc-home-notice-close{width:28px;height:28px;font-size:18px}.tc-home-brand-banner{border-radius:19px}.tc-home-brand-banner img{aspect-ratio:auto;object-fit:contain}
  .tc-home-hero{grid-template-columns:minmax(0,1.2fr) 150px;min-height:190px;border-radius:23px}.tc-home-hero-copy{padding:25px 7px 25px 21px}.tc-home-hello{font-size:18px}.tc-home-hero h1{font-size:35px}.tc-home-hero-copy>p{max-width:270px;font-size:12px;line-height:1.45}.tc-home-hero-art{min-height:190px}.tc-home-hero-art>em{right:69px;top:23px;font-size:10px}.tc-home-mascot{right:19px;bottom:17px;width:94px;height:94px}.tc-home-mascot b{top:17px;font-size:18px}.tc-home-mascot:before,.tc-home-mascot:after{top:45px;width:8px;height:8px}.tc-home-mascot:before{left:26px}.tc-home-mascot:after{right:26px}.tc-home-mascot i{bottom:19px;font-size:13px}.tc-home-hero-art .bubble-one{right:122px;bottom:54px}.tc-home-hero-art .bubble-two{right:107px;bottom:37px}
  .tc-home-service-chips{margin:0 -12px;padding:0 12px 5px;gap:8px}.tc-home-service-chips a{min-height:40px;padding:0 15px;font-size:12px}.tc-home-service-chips a>span{font-size:15px}.tc-home-service-chips a.more{width:40px}
  .tc-home-hot-card{border-radius:21px}.tc-home-hot-card>a{grid-template-columns:44% 56%;min-height:182px}.tc-home-hot-media{min-height:182px}.tc-home-hot-play{right:10px;bottom:10px;width:36px;height:36px;font-size:13px}.tc-home-hot-copy{padding:16px}.tc-home-now{gap:6px}.tc-home-now b,.tc-home-now span{font-size:9px}.tc-home-hot-copy h2{margin:8px 0 7px;font-size:18px}.tc-home-hot-copy>p{font-size:10px;-webkit-line-clamp:2}.tc-home-hot-copy footer{margin-top:11px}.tc-home-hot-copy footer i{width:24px;height:24px}.tc-home-hot-copy footer b,.tc-home-hot-copy footer small{font-size:9px}
  .tc-home-section{gap:11px}.tc-home-section-title{gap:6px}.tc-home-section-icon{font-size:21px}.tc-home-section-title h2{font-size:21px}.tc-home-section-title p{font-size:11px}.tc-home-section-head>a{font-size:11px}.tc-home-rail{grid-auto-columns:158px;gap:9px;margin:0 -12px;padding-left:12px;padding-right:12px}.tc-home-rail-profile{grid-auto-columns:150px}.tc-home-rail-copy h3{font-size:13px}.tc-home-rail-copy>small{font-size:9px}
  .tc-home-talk-grid{display:flex;gap:9px;overflow-x:auto;margin:0 -12px;padding:0 12px 6px;scrollbar-width:none}.tc-home-talk-grid::-webkit-scrollbar{display:none}.tc-home-talk-card{flex:0 0 290px}.tc-home-talk-card>a{grid-template-columns:minmax(0,1fr) 86px;min-height:117px;border-radius:17px}.tc-home-talk-card img,.tc-home-talk-card>a>i{width:86px;height:117px}.tc-home-talk-copy{padding:13px}.tc-home-talk-copy h3{font-size:14px}
  .tc-home-room-rail{display:flex;gap:9px;overflow-x:auto;margin:0 -12px;padding:0 12px 6px;scrollbar-width:none}.tc-home-room-rail::-webkit-scrollbar{display:none}.tc-home-room-rail>a{flex:0 0 230px}
  .tc-home-book-rail{grid-auto-columns:138px}.tc-home-product-rail{grid-auto-columns:165px;margin:0 -12px;padding-left:12px;padding-right:12px}.tc-home-product-card h3{font-size:13px}
  .tc-discovery-grid{grid-template-columns:1fr;gap:9px}.tc-discovery-card{border-radius:17px}.tc-discovery-card-hit{grid-template-columns:120px minmax(0,1fr);min-height:125px}.tc-discovery-media{min-height:125px}.tc-discovery-copy{padding:12px}.tc-discovery-copy h3{font-size:14px}.tc-discovery-copy p{font-size:10px}.tc-discovery-copy footer{font-size:8px}
}
@media(max-width:470px){
  .tc-home-notice-item em{display:none}.tc-home-brand-banner{border-radius:16px}
  .page-home .topbar .brand-image{max-width:42px!important}.tc-home-hero{grid-template-columns:minmax(0,1fr) 116px;min-height:170px}.tc-home-hero-copy{padding:22px 4px 22px 18px}.tc-home-hello{font-size:16px}.tc-home-hero h1{font-size:30px}.tc-home-hero-copy>p{font-size:11px}.tc-home-hero-art{min-height:170px}.tc-home-mascot{right:12px;bottom:20px;width:80px;height:80px}.tc-home-mascot b{font-size:16px}.tc-home-mascot:before,.tc-home-mascot:after{top:38px}.tc-home-mascot:before{left:22px}.tc-home-mascot:after{right:22px}.tc-home-mascot i{bottom:15px;font-size:11px}.tc-home-hero-art>em{right:50px;top:20px;font-size:8px}.tc-home-hot-card>a{grid-template-columns:42% 58%}.tc-home-hot-copy{padding:13px}.tc-home-hot-copy h2{font-size:16px}.tc-home-hot-copy>p{display:none}.tc-home-hot-copy footer small{display:none}.tc-home-section-title p{display:none}.tc-home-section-title h2{font-size:20px}.tc-home-rail{grid-auto-columns:146px}.tc-home-book-rail{grid-auto-columns:125px}.tc-home-product-rail{grid-auto-columns:155px}
}

/* Stage 14.3 · Desktop Home Header Polish V1
   Desktop-only enhancement. Mobile <=820px intentionally keeps Stage 14.2 behavior. */
@media (min-width:821px){
  .page-home .topbar{
    position:sticky;
    top:0;
    z-index:80;
    display:grid;
    grid-template-columns:minmax(250px,.78fr) minmax(420px,620px) auto;
    grid-template-rows:72px 44px;
    align-items:center;
    column-gap:22px;
    row-gap:0;
    width:calc(100% - 32px);
    max-width:1500px;
    height:116px;
    margin:0 auto;
    padding:0 28px;
    overflow:hidden;
    border:1px solid rgba(211,224,247,.9);
    border-top:0;
    border-radius:0 0 26px 26px;
    background:
      radial-gradient(circle at 10% 0,rgba(87,214,255,.13),transparent 26%),
      radial-gradient(circle at 91% 4%,rgba(207,120,255,.12),transparent 24%),
      rgba(255,255,255,.97);
    box-shadow:0 14px 42px rgba(49,76,137,.09);
    backdrop-filter:blur(22px);
  }
  .page-home .topbar:after{
    content:"";
    position:absolute;
    left:28px;
    right:28px;
    bottom:43px;
    height:1px;
    background:linear-gradient(90deg,transparent,#dfe8f7 8%,#dfe8f7 92%,transparent);
    pointer-events:none;
  }
  .page-home .topbar .brand{
    grid-column:1;
    grid-row:1;
    justify-self:start;
    display:grid;
    grid-template-columns:auto minmax(0,1fr);
    grid-template-rows:auto auto;
    align-items:center;
    column-gap:11px;
    row-gap:1px;
    min-width:0;
    margin:0;
    padding:5px 12px 5px 5px;
    border-radius:18px;
    transition:background .18s ease,transform .18s ease;
  }
  .page-home .topbar .brand:hover{background:rgba(241,247,255,.86);transform:translateY(-1px)}
  .page-home .topbar .brand-image{
    grid-column:1;
    grid-row:1 / 3;
    width:auto;
    max-width:52px;
    max-height:45px;
    object-fit:contain;
    filter:drop-shadow(0 7px 12px rgba(43,105,232,.12));
  }
  .page-home .topbar .brand:after{
    content:"TeenConnect";
    grid-column:2;
    grid-row:1;
    align-self:end;
    color:#17366f;
    font-size:17px;
    line-height:1.05;
    font-weight:1000;
    letter-spacing:-.045em;
    white-space:nowrap;
  }
  .page-home .topbar .brand:before{
    content:"10대의 오늘을 연결해";
    grid-column:2;
    grid-row:2;
    align-self:start;
    color:#8796b2;
    font-size:9px;
    line-height:1.15;
    font-weight:850;
    letter-spacing:-.02em;
    white-space:nowrap;
  }
  .page-home .topbar .brand-mark{grid-column:1;grid-row:1 / 3;width:42px;height:42px;border-radius:14px}
  .page-home .topbar .brand-text{grid-column:2;grid-row:1;font-size:17px;color:#17366f}

  .page-home .topbar .tc-global-search-shell{
    grid-column:2;
    grid-row:1;
    justify-self:stretch;
    width:100%;
    max-width:none;
    margin:0;
  }
  .page-home .topbar .tc-global-search-head{
    height:46px;
    border:1px solid #dbe5f5;
    border-radius:16px;
    background:rgba(248,251,255,.96);
    box-shadow:inset 0 1px 0 #fff,0 5px 14px rgba(51,79,138,.035);
    transition:border-color .18s ease,box-shadow .18s ease,background .18s ease;
  }
  .page-home .topbar .tc-global-search-head:focus-within{
    border-color:#a9c5ff;
    background:#fff;
    box-shadow:0 0 0 4px rgba(47,109,245,.07),0 8px 22px rgba(51,79,138,.07);
  }

  .page-home .topbar-actions{
    grid-column:3;
    grid-row:1;
    justify-self:end;
    display:flex;
    align-items:center;
    gap:8px;
    min-width:0;
    margin:0;
  }
  .page-home .bell-link{
    width:42px;
    height:42px;
    border-radius:14px;
    background:#fff;
    box-shadow:0 7px 20px rgba(62,88,147,.075);
  }
  .page-home .profile-top-link{
    display:flex;
    align-items:center;
    gap:8px;
    min-height:44px;
    padding:4px 11px 4px 5px;
    border-radius:15px;
    background:#fff;
  }
  .page-home .profile-top-link .hello{
    display:block;
    max-width:110px;
    overflow:hidden;
    color:#455471;
    font-size:12px;
    font-weight:900;
    text-overflow:ellipsis;
    white-space:nowrap;
  }
  .page-home .topbar-actions .avatar-tiny{width:34px!important;height:34px!important;border-radius:11px!important}
  .page-home .topbar-actions .inline-form{display:block;margin:0}
  .page-home .topbar-actions .inline-form .ghost-button{
    min-height:40px;
    padding:0 11px;
    border:1px solid #e1e8f4;
    border-radius:13px;
    background:#fff;
    color:#65718a;
    font-size:11px;
    font-weight:900;
  }
  .page-home .topbar-actions .inline-form .ghost-button:hover{background:#f5f8fd;color:#33415f}
  .page-home .topbar-actions .admin-link{
    display:inline-flex;
    align-items:center;
    min-height:40px;
    padding:0 10px;
    border:1px solid #dce7fb;
    border-radius:13px;
    background:#f2f7ff;
    color:#3568df;
    font-size:10px;
    font-weight:950;
  }

  .page-home .topbar .desktop-nav{
    grid-column:1 / -1;
    grid-row:2;
    align-self:stretch;
    display:flex;
    align-items:center;
    gap:5px;
    min-width:0;
    margin:0 -28px;
    padding:0 28px;
    overflow-x:auto;
    background:linear-gradient(90deg,rgba(247,251,255,.86),rgba(250,248,255,.86));
    scrollbar-width:none;
  }
  .page-home .topbar .desktop-nav::-webkit-scrollbar{display:none}
  .page-home .topbar .desktop-nav:before{
    content:"둘러보기";
    flex:0 0 auto;
    margin-right:5px;
    padding-right:11px;
    border-right:1px solid #dfe7f4;
    color:#9aa6bb;
    font-size:9px;
    font-weight:1000;
    letter-spacing:.04em;
  }
  .page-home .topbar .desktop-nav a{
    position:relative;
    flex:0 0 auto;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:30px;
    padding:0 12px;
    border:1px solid transparent;
    border-radius:999px;
    color:#66758f;
    background:transparent;
    font-size:11px;
    font-weight:900;
    letter-spacing:-.02em;
    transition:color .16s ease,background .16s ease,border-color .16s ease,transform .16s ease;
  }
  .page-home .topbar .desktop-nav a:hover{
    transform:translateY(-1px);
    border-color:#dce7fb;
    background:#fff;
    color:#295fdd;
  }
  .page-home .topbar .desktop-nav a.active{
    border-color:#d4e2ff;
    background:linear-gradient(135deg,#edf4ff,#f3efff);
    color:#245ad7;
    box-shadow:0 4px 12px rgba(52,93,188,.08);
  }

  .page-home .main-content{padding-top:22px}
}

@media (min-width:821px) and (max-width:1120px){
  .page-home .topbar{
    grid-template-columns:minmax(190px,.55fr) minmax(340px,1fr) auto;
    column-gap:12px;
    width:calc(100% - 20px);
    padding-left:18px;
    padding-right:18px;
  }
  .page-home .topbar:after{left:18px;right:18px}
  .page-home .topbar .brand:before{display:none}
  .page-home .topbar .brand:after{font-size:15px}
  .page-home .topbar .brand-image{max-width:44px;max-height:40px}
  .page-home .topbar .desktop-nav{margin-left:-18px;margin-right:-18px;padding-left:18px;padding-right:18px}
  .page-home .topbar .desktop-nav a{padding-left:9px;padding-right:9px;font-size:10px}
  .page-home .profile-top-link .hello{display:none}
  .page-home .topbar-actions .inline-form .ghost-button{padding-left:9px;padding-right:9px}
  .page-home .topbar-actions .admin-link{display:none}
}

/* Stage 14.3 R2 · Desktop Header Nav Clip Fix
   Keep mobile <=820px untouched. Give the second desktop nav row real vertical room. */
@media (min-width:821px){
  .page-home .topbar{
    height:auto;
    min-height:128px;
    grid-template-rows:76px 50px;
    overflow:hidden;
  }
  .page-home .topbar:after{
    bottom:49px;
  }
  .page-home .topbar .desktop-nav{
    align-self:stretch;
    min-height:50px;
    height:50px;
    padding-top:4px;
    padding-bottom:4px;
    overflow-x:auto;
    overflow-y:hidden;
  }
  .page-home .topbar .desktop-nav a{
    min-height:32px;
    line-height:1.2;
  }
  .page-home .main-content{
    padding-top:24px;
  }
}

@media (min-width:821px) and (max-width:1120px){
  .page-home .topbar{
    min-height:124px;
    grid-template-rows:74px 48px;
  }
  .page-home .topbar:after{
    bottom:47px;
  }
  .page-home .topbar .desktop-nav{
    min-height:48px;
    height:48px;
    padding-top:3px;
    padding-bottom:3px;
  }
}


/* Stage 14.5 · Admin-driven Main Banner Restore */
.tc-home-brand-banner{position:relative;overflow:hidden}
.tc-home-brand-banner-track{display:flex;width:100%;align-items:flex-start;transition:transform .55s cubic-bezier(.22,.72,.22,1);will-change:transform}
.tc-home-brand-banner-slide{display:block;flex:0 0 100%;min-width:100%;color:inherit;text-decoration:none}
.tc-home-brand-banner-slide picture{display:block;width:100%}
.tc-home-brand-banner-slide img{display:block;width:100%;height:auto!important;aspect-ratio:auto!important;object-fit:contain!important;background:#eef4ff}
.tc-home-brand-banner-dots{position:absolute;left:50%;bottom:12px;z-index:3;display:flex;align-items:center;gap:6px;padding:6px 8px;border-radius:999px;background:rgba(18,32,67,.28);backdrop-filter:blur(10px);transform:translateX(-50%)}
.tc-home-brand-banner-dots button{width:7px;height:7px;padding:0;border:0;border-radius:999px;background:rgba(255,255,255,.55);cursor:pointer;transition:.2s ease}
.tc-home-brand-banner-dots button.is-active{width:20px;background:#fff}
@media(max-width:820px){.tc-home-brand-banner-dots{bottom:7px;padding:5px 7px}.tc-home-brand-banner-dots button{width:6px;height:6px}.tc-home-brand-banner-dots button.is-active{width:16px}}
@media(prefers-reduced-motion:reduce){.tc-home-brand-banner-track{transition:none}}
