.subpage-main{min-height:calc(100vh - 190px);padding-top:26px;padding-bottom:74px}.subpage-crumb{display:flex;gap:10px;align-items:center;color:var(--muted);font-size:12px;margin-bottom:20px}.subpage-crumb strong{color:var(--green2)}.page-hero{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;padding:24px 0 30px}.eyebrow{display:inline-block;color:var(--green2);font-size:11px;font-weight:900;letter-spacing:1.8px}.page-hero h1{font-size:clamp(34px,4vw,55px);letter-spacing:-2.8px;margin:13px 0 10px}.page-hero p{color:var(--muted);font-size:15px;margin:0;line-height:1.7}.outline-button,.primary-button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 18px;border-radius:8px;font-size:13px;font-weight:850;cursor:pointer}.outline-button{border:1px solid var(--green);color:var(--green2);background:#fff}.primary-button{border:0;color:#fff;background:var(--green);box-shadow:0 8px 18px rgba(198,47,53,.18)}.daily-stamp,.game-pill{font-size:12px;font-weight:900;color:var(--green2);background:var(--mint2);border:1px solid var(--line);border-radius:999px;padding:10px 14px}.subpage-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:18px;align-items:start}.rank-table,.community-board,.form-panel,.content-copy{background:#fff;border:1px solid var(--line);border-radius:14px;box-shadow:var(--shadow)}.rank-table{overflow:hidden}.rank-row{min-height:86px;display:grid;grid-template-columns:50px 54px minmax(0,1fr) auto 24px;align-items:center;gap:16px;padding:12px 20px;border-bottom:1px solid var(--line);transition:.2s}.rank-row:last-child{border-bottom:0}.rank-row:hover{background:var(--mint)}.rank-number{font-size:21px;color:var(--green)}.rank-row-art{height:62px;border-radius:6px}.rank-row span{display:flex;flex-direction:column;gap:6px;min-width:0}.rank-row strong{font-size:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.rank-row small,.rank-row em{font-size:11px;color:var(--muted);font-style:normal}.row-arrow{color:var(--green2);font-size:18px}.side-card{background:linear-gradient(150deg,#fff,#fff8f8);border:1px solid var(--line);border-radius:14px;padding:23px;box-shadow:var(--shadow)}.side-card h2{font-size:20px;margin:0 0 9px;letter-spacing:-1px}.side-card>p{font-size:13px;color:var(--muted);line-height:1.6;margin:0 0 18px}.tag-cloud{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:24px}.tag-cloud a{border:1px solid var(--line);background:#fff;border-radius:999px;padding:8px 11px;color:var(--green2);font-size:12px;font-weight:750}.text-link{color:var(--green2);font-size:13px;font-weight:800}.subpage-toolbar{height:55px;display:flex;align-items:center;justify-content:space-between;margin-bottom:14px;color:var(--muted);font-size:13px}.subpage-toolbar strong{color:var(--ink)}.subpage-toolbar label{display:flex;align-items:center;gap:8px}.subpage-toolbar select,.form-row select{border:1px solid var(--line);border-radius:7px;padding:7px 10px;background:#fff;color:var(--ink)}.subpage-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.page-card{background:#fff;border:1px solid var(--line);border-radius:14px;overflow:hidden;box-shadow:var(--shadow);transition:.22s}.page-card:hover{transform:translateY(-4px);box-shadow:0 14px 28px rgba(116,24,30,.14)}.page-card-art{height:215px;position:relative}.page-card-art>span{position:absolute;top:11px;right:11px;background:var(--green);color:#fff;border-radius:5px;padding:5px 7px;font-size:10px;font-weight:900}.page-card-body{padding:16px}.page-card h3{font-size:17px;margin:0 0 7px}.page-card p{font-size:12px;color:var(--muted);margin:0 0 17px}.page-card small{font-size:12px;color:var(--green2);font-weight:850}.page-card small b{font-size:17px;margin-left:4px}.recommend-banner{display:flex;align-items:center;justify-content:space-between;min-height:160px;margin-bottom:22px;border-radius:14px;padding:25px 34px;background:linear-gradient(115deg,#fff1f1,#f8dfe0);border:1px solid #eac7c8}.recommend-banner b{color:var(--green2);font-size:12px}.recommend-banner h2{margin:9px 0 7px;font-size:25px;letter-spacing:-1.2px}.recommend-banner p{margin:0;color:var(--muted);font-size:13px}.recommend-banner>span{font-size:92px;line-height:1;color:var(--green);font-weight:950;opacity:.22}.form-panel{padding:25px}.subpage-form label{display:block;color:var(--ink);font-size:12px;font-weight:800;margin-bottom:16px}.subpage-form input,.subpage-form textarea{display:block;width:100%;margin-top:7px;border:1px solid var(--line);border-radius:8px;background:#fff;padding:12px 13px;color:var(--ink);outline-color:var(--green)}.subpage-form textarea{resize:vertical;min-height:125px}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:14px}.form-status{min-height:20px;color:var(--green2);font-size:12px;font-weight:750;margin:12px 0 0}.status-list{list-style:none;padding:0;margin:0 0 16px}.status-list li{display:flex;justify-content:space-between;gap:12px;border-bottom:1px solid var(--line);padding:12px 0;font-size:12px}.status-list li:last-child{border-bottom:0}.status-list b{color:var(--green2);font-size:11px;white-space:nowrap}.side-card>small{font-size:11px;line-height:1.5;color:var(--muted)}.game-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.game-card{display:grid;grid-template-rows:170px 1fr;background:#fff;border:1px solid var(--line);border-radius:14px;overflow:hidden;box-shadow:var(--shadow)}.game-visual{display:grid;place-items:center;color:#fff;font-size:50px;font-weight:950}.game-visual span{border:2px solid rgba(255,255,255,.8);width:80px;height:80px;display:grid;place-items:center;border-radius:25px;transform:rotate(-8deg)}.game-1{background:linear-gradient(135deg,#a52127,#eb777b)}.game-2{background:linear-gradient(135deg,#5b2435,#c62f35)}.game-3{background:linear-gradient(135deg,#8b4035,#e28e65)}.game-card>div:last-child{padding:19px}.game-card small{font-size:10px;color:var(--green2);letter-spacing:1.3px;font-weight:900}.game-card h2{font-size:20px;margin:8px 0 7px}.game-card p{font-size:12px;color:var(--muted);line-height:1.6;min-height:38px;margin:0 0 18px}.community-board{overflow:hidden}.board-tabs{display:flex;gap:7px;padding:17px 20px;border-bottom:1px solid var(--line)}.board-tabs button{border:0;background:transparent;color:var(--muted);border-radius:7px;padding:8px 13px;font-size:12px;font-weight:750;cursor:pointer}.board-tabs button.active{background:var(--green);color:#fff}.notice-list{padding:0 20px}.notice-row{min-height:65px;display:grid;grid-template-columns:70px minmax(0,1fr) 58px 20px;align-items:center;gap:12px;border-bottom:1px solid var(--line);font-size:13px}.notice-row:last-child{border-bottom:0}.notice-row>span{justify-self:start;color:var(--green2);background:var(--mint2);border-radius:5px;padding:5px 7px;font-size:10px;font-weight:850}.notice-row strong{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.notice-row time{font-size:11px;color:var(--muted)}.notice-row>b{color:var(--green2);font-size:16px}.board-footer{display:flex;justify-content:space-between;align-items:center;padding:18px 20px;background:#fffafa;border-top:1px solid var(--line)}.board-footer small{font-size:11px;color:var(--muted)}.content-copy{max-width:920px;padding:31px 34px}.content-copy h2{font-size:20px;letter-spacing:-.7px;margin:0 0 10px}.content-copy p{font-size:14px;line-height:1.9;color:var(--muted);margin:0 0 28px}.content-copy p:last-child{margin-bottom:0}.content-copy .notice-list{padding:0}.content-copy .notice-row{grid-template-columns:80px minmax(0,1fr) 58px}.content-copy a{color:var(--green2)}
@media(max-width:900px){.subpage-layout{grid-template-columns:1fr}.side-card{order:2}.game-grid{grid-template-columns:1fr 1fr}.page-hero{align-items:flex-start;flex-direction:column}.page-hero .outline-button,.page-hero .daily-stamp,.page-hero .game-pill{align-self:flex-start}.subpage-cards{grid-template-columns:repeat(2,1fr)}}
@media(max-width:620px){.subpage-main{padding-top:18px;padding-bottom:52px}.page-hero{padding:15px 0 24px}.page-hero h1{font-size:36px;letter-spacing:-2px}.page-hero p{font-size:13px}.rank-row{grid-template-columns:38px 46px minmax(0,1fr) 20px;gap:10px;padding-inline:13px}.rank-row-art{height:55px}.rank-row em{display:none}.subpage-cards{grid-template-columns:1fr 1fr;gap:9px}.page-card-art{height:150px}.page-card-body{padding:12px}.page-card h3{font-size:14px}.page-card p{font-size:10px;margin-bottom:12px}.recommend-banner{padding:22px;min-height:145px}.recommend-banner h2{font-size:20px}.recommend-banner>span{font-size:66px}.form-panel{padding:18px}.form-row{grid-template-columns:1fr}.game-grid{grid-template-columns:1fr}.game-card{grid-template-rows:145px 1fr}.notice-list{padding-inline:13px}.notice-row{grid-template-columns:50px minmax(0,1fr) 18px;gap:8px}.notice-row time{display:none}.notice-row strong{font-size:12px}.board-footer{display:block}.board-footer .text-link{display:block;margin-top:10px}.content-copy{padding:24px 20px}.content-copy h2{font-size:18px}.content-copy p{font-size:13px}.content-copy .notice-row{grid-template-columns:58px minmax(0,1fr)}}
:root{--mint:#f1f3f5;--mint2:#e9ecef;--line:#d2d6db;--shadow:0 10px 30px rgba(31,41,55,.07)}
body{background:linear-gradient(180deg,#f1f3f5 0%,#fafbfc 64%)}
.side-card{background:linear-gradient(150deg,#fff,#f7f8fa)}
.recommend-banner{background:linear-gradient(115deg,#f8f9fa,#eceff2);border-color:var(--line)}
.board-footer{background:#f7f8fa}
.subpage-cards{grid-template-columns:repeat(auto-fill,minmax(180px,260px));justify-content:start}
.page-card-art{height:auto;aspect-ratio:300/430}
.rank-row-art{width:60px;height:auto;aspect-ratio:300/430}
.rank-row{min-height:110px}
.subpage-form input,.subpage-form textarea,.subpage-toolbar select,.form-row select{border-color:var(--line)}
@media(max-width:620px){.subpage-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.page-card-art{height:auto;aspect-ratio:300/430}.rank-row-art{width:46px;height:auto;aspect-ratio:300/430}.rank-row{min-height:92px}}

/* New comics keep three cards per row on phones. */
@media(max-width:620px){
  #subpageRoot[data-view="new"] .subpage-cards{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
  #subpageRoot[data-view="new"] .page-card-body{padding:10px 8px}
  #subpageRoot[data-view="new"] .page-card{min-width:0}
}

/* Latest and completed collections use a compact six-column desktop rail. */
@media(min-width:901px){
  #subpageRoot[data-view="new"] .subpage-cards,
  #subpageRoot[data-view="latest"] .subpage-cards,
  #subpageRoot[data-view="completed"] .subpage-cards,
  #subpageRoot[data-view="recommend"] .subpage-cards{grid-template-columns:repeat(6,minmax(0,1fr));gap:14px}
  #subpageRoot[data-view="new"] .page-card-art,
  #subpageRoot[data-view="latest"] .page-card-art,
  #subpageRoot[data-view="completed"] .page-card-art,
  #subpageRoot[data-view="recommend"] .page-card-art{aspect-ratio:300/410}
}

/* Account, wallet, notification, coupon, and arcade surfaces. */
.account-layout,.notification-layout,.wallet-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:18px;align-items:start}.account-card,.profile-panel,.wallet-balance,.progress-card{background:#fff;border:1px solid var(--line);border-radius:14px;box-shadow:var(--shadow)}.account-card{padding:23px}.account-card-head{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin-bottom:18px}.account-card-head h2{margin:7px 0 0;font-size:22px;letter-spacing:-1px}.account-count,.notification-badge{color:var(--green2);font-size:13px;font-weight:800}.notification-badge{padding:6px 9px;border-radius:999px;background:var(--mint2)}.library-list{display:grid;gap:10px}.library-row{display:grid;grid-template-columns:76px minmax(0,1fr);gap:14px;align-items:center;padding:10px;border:1px solid var(--line);border-radius:10px;transition:.2s}.library-row:hover{border-color:var(--green);background:var(--mint)}.library-art{width:76px;height:104px;border-radius:6px}.library-row>span{display:flex;flex-direction:column;gap:6px}.library-row strong{font-size:16px}.library-row small{color:var(--muted);font-size:13px}.library-row em{font-style:normal;color:var(--green2);font-size:13px;font-weight:800}.account-link{display:block;margin-top:16px}.notification-list{display:grid}.notification-row{width:100%;display:grid;grid-template-columns:40px minmax(0,1fr) auto;gap:12px;align-items:center;padding:14px 0;text-align:left;background:none;border:0;border-bottom:1px solid var(--line);color:var(--ink);cursor:pointer}.notification-row:last-child{border-bottom:0}.notification-row.is-new strong:before{content:"";display:inline-block;width:7px;height:7px;margin:0 7px 2px 0;border-radius:50%;background:var(--orange)}.notification-icon{width:36px;height:36px;display:grid;place-items:center;border-radius:10px;background:var(--mint2);color:var(--green2)}.notification-icon svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.notification-row span:nth-child(2){display:flex;flex-direction:column;gap:4px}.notification-row strong{font-size:15px}.notification-row small{font-size:13px;color:var(--muted)}.notification-row time{font-size:13px;color:var(--muted);white-space:nowrap}.toggle-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:15px 0;border-bottom:1px solid var(--line);cursor:pointer}.toggle-row:last-child{border-bottom:0}.toggle-row span{display:flex;flex-direction:column;gap:4px;font-size:14px;font-weight:800}.toggle-row b{font-size:13px;color:var(--muted);font-weight:500}.toggle-row input{position:absolute;opacity:0}.toggle-row i{width:42px;height:24px;border-radius:999px;background:#d9dde1;position:relative;transition:.2s}.toggle-row i:after{content:"";position:absolute;left:3px;top:3px;width:18px;height:18px;border-radius:50%;background:#fff;transition:.2s;box-shadow:0 2px 4px #0002}.toggle-row input:checked+i{background:var(--orange)}.toggle-row input:checked+i:after{transform:translateX(18px)}.profile-panel{padding:25px}.profile-head{display:flex;align-items:center;gap:15px;padding-bottom:22px;border-bottom:1px solid var(--line)}.profile-head>div:nth-child(2){flex:1}.profile-head h2{margin:5px 0;font-size:23px}.profile-head p{margin:0;color:var(--muted);font-size:13px}.profile-avatar{width:58px;height:58px;display:grid;place-items:center;border-radius:16px;background:var(--orange);color:#fff;font-weight:950;font-size:21px}.metric-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;padding-top:22px}.metric-grid div{padding:13px 14px;border-left:2px solid var(--orange);background:var(--soft)}.metric-grid strong{display:block;font-size:21px;color:var(--orange-dark)}.metric-grid span{display:block;margin-top:5px;color:var(--muted);font-size:13px}.account-nav{display:grid}.account-nav a{display:flex;justify-content:space-between;padding:14px 0;border-bottom:1px solid var(--line);font-size:14px;font-weight:800}.account-nav a:last-child{border-bottom:0}.account-nav b{color:var(--orange);font-size:18px}.wallet-layout{grid-template-columns:300px minmax(0,1fr)}.wallet-balance{padding:25px;background:linear-gradient(145deg,#fff,#fff5f6)}.wallet-balance>strong{display:block;margin:15px 0 6px;color:var(--orange);font-size:37px;letter-spacing:-2px}.wallet-balance>strong small{font-size:18px}.wallet-balance>p{margin:0 0 20px;color:var(--muted);font-size:13px;line-height:1.6}.pack-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.pack-card{min-height:150px;padding:18px;text-align:left;border:1px solid var(--line);border-radius:10px;background:#fff;cursor:pointer;transition:.2s}.pack-card:hover{border-color:var(--orange);transform:translateY(-2px)}.pack-card strong{display:block;font-size:23px;color:var(--orange-dark)}.pack-card span{display:block;margin-top:7px;font-size:14px}.pack-card small{display:block;margin-top:19px;color:var(--muted);font-size:13px}.helper-copy{margin:16px 0 0;color:var(--muted);font-size:13px}.mission-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.mission-card{position:relative;padding:24px;background:#fff;border:1px solid var(--line);border-radius:14px;box-shadow:var(--shadow)}.mission-index{position:absolute;right:18px;top:18px;color:#c7cbd0;font-size:18px;font-weight:900}.mission-icon{width:44px;height:44px;display:grid;place-items:center;border-radius:12px;background:var(--mint2);color:var(--green2)}.mission-icon svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.mission-card h2{margin:20px 0 8px;font-size:20px}.mission-card p{min-height:46px;margin:0;color:var(--muted);font-size:13px;line-height:1.6}.mission-card>strong{display:block;margin:18px 0;color:var(--orange-dark);font-size:18px}.mission-button{width:100%}.mission-button:disabled,.coupon-use:disabled{opacity:.45;cursor:default}.progress-card{display:flex;align-items:center;gap:24px;margin-top:18px;padding:22px}.progress-card>div:first-child{flex:0 0 300px}.progress-card h2{margin:7px 0 0;font-size:20px}.progress-track{height:12px;flex:1;overflow:hidden;border-radius:999px;background:#eceef1}.progress-track i{display:block;height:100%;border-radius:999px;background:var(--orange)}.ledger-card{padding-bottom:10px}.ledger-table{border-top:1px solid var(--line)}.ledger-head,.ledger-row{display:grid;grid-template-columns:150px minmax(0,1fr) 100px 70px;gap:12px;align-items:center;padding:14px 0;border-bottom:1px solid var(--line)}.ledger-head{color:var(--muted);font-size:13px;font-weight:800}.ledger-row{font-size:14px}.ledger-row time,.ledger-row>span{color:var(--muted);font-size:13px}.ledger-row b.plus{color:var(--orange)}.ledger-row b.minus{color:var(--ink)}.coupon-card{padding:24px}.coupon-form{padding-bottom:22px;border-bottom:1px solid var(--line)}.coupon-form label{display:block;margin-bottom:8px;font-size:14px;font-weight:800}.coupon-form>div{display:flex;gap:8px}.coupon-form input{height:44px;flex:1;border:1px solid var(--line);border-radius:7px;padding:0 12px;outline-color:var(--orange);font-size:14px}.coupon-form button{min-width:76px}.coupon-grid{display:grid;gap:12px;padding-top:20px}.coupon-grid article{display:grid;grid-template-columns:52px minmax(0,1fr) auto;gap:14px;align-items:center;padding:16px;border:1px dashed #cfd4da;border-radius:10px;background:var(--soft)}.coupon-mark{width:44px;height:44px;display:grid;place-items:center;border-radius:10px;background:var(--orange);color:#fff;font-weight:950}.coupon-grid h2{margin:5px 0;font-size:16px}.coupon-grid strong{color:var(--orange-dark);font-size:14px;letter-spacing:1px}.coupon-grid p{margin:0;color:var(--muted);font-size:13px}.arcade-toolbar{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:18px}.arcade-filters{display:flex;flex-wrap:wrap;gap:7px}.arcade-filter{min-height:34px;padding:0 14px;border:1px solid var(--line);border-radius:999px;background:#fff;color:var(--muted);font-size:13px;cursor:pointer}.arcade-filter.active,.arcade-filter:hover{border-color:var(--orange);background:var(--orange);color:#fff}.arcade-catalog{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.arcade-card{overflow:hidden;background:#fff;border:1px solid var(--line);border-radius:14px;box-shadow:var(--shadow)}.arcade-art{height:150px;display:flex;align-items:flex-end;justify-content:space-between;padding:18px;color:#fff}.arcade-art>span{font-size:28px;font-weight:950;opacity:.8}.game-art-1{background:linear-gradient(135deg,#e50020,#ff7384)}.game-art-2{background:linear-gradient(135deg,#2e3d87,#4f8cff)}.game-art-3{background:linear-gradient(135deg,#4b2a61,#b06fe8)}.game-art-4{background:linear-gradient(135deg,#0f665e,#48b19b)}.arcade-card-body{padding:17px}.arcade-card-body>div{display:flex;justify-content:space-between;align-items:center}.arcade-category{color:var(--orange-dark);font-size:13px;font-weight:850}.arcade-card-body>div small{color:var(--muted);font-size:13px}.arcade-card h2{margin:10px 0 8px;font-size:18px;line-height:1.3}.arcade-card p{min-height:42px;margin:0 0 16px;color:var(--muted);font-size:13px;line-height:1.6}.arcade-game-shell{margin-top:18px}.game-instruction,.game-status{color:var(--muted);font-size:14px}.match-board{display:grid;grid-template-columns:repeat(4,100px);gap:12px;margin:22px 0}.match-tile{height:100px;border:0;border-radius:12px;background:var(--orange);color:#fff;font-size:30px;font-weight:900;cursor:pointer}.match-tile.is-open,.match-tile.is-match{background:var(--mint2);color:var(--orange-dark);border:1px solid var(--orange)}.quiz-question{padding:18px;border-radius:10px;background:var(--soft);font-size:19px;font-weight:800}.quiz-options{display:flex;flex-wrap:wrap;gap:10px;margin:16px 0}.quiz-option{min-height:42px;padding:0 18px;border:1px solid var(--line);border-radius:8px;background:#fff;cursor:pointer;font-size:14px}.quiz-option:hover{border-color:var(--orange);color:var(--orange-dark)}
@media(max-width:900px){.account-layout,.notification-layout,.wallet-layout{grid-template-columns:1fr}.arcade-catalog,.mission-grid{grid-template-columns:repeat(2,1fr)}.progress-card{display:block}.progress-card>div:first-child{width:auto}.progress-track{margin-top:16px}.pack-grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:620px){.account-card,.profile-panel,.wallet-balance{padding:18px}.profile-head{align-items:flex-start;flex-wrap:wrap}.profile-head .outline-button{margin-left:73px}.metric-grid{gap:7px}.metric-grid div{padding:11px 9px}.metric-grid strong{font-size:18px}.pack-grid,.mission-grid,.arcade-catalog{grid-template-columns:1fr}.ledger-head{display:none}.ledger-row{grid-template-columns:1fr auto;gap:6px}.ledger-row time{grid-column:1/-1}.ledger-row>span{justify-self:end}.coupon-grid article{grid-template-columns:44px minmax(0,1fr)}.coupon-use{grid-column:2;justify-self:start}.arcade-toolbar{display:block}.arcade-toolbar>.text-link{display:inline-block;margin-top:10px}.match-board{grid-template-columns:repeat(4,1fr);gap:7px}.match-tile{height:70px}}

/* Readability floor for the collection, ranking, request, game, and community views. */
body :where(.subpage-crumb,.subpage-crumb span,.eyebrow,.daily-stamp,.game-pill,.rank-row small,.rank-row em,.side-card>small,.tag-cloud a,.page-card-art>span,.page-card p,.page-card small,.page-card small b,.subpage-toolbar,.subpage-toolbar label,.subpage-form label,.form-status,.status-list li,.status-list b,.game-card small,.game-card p,.board-tabs button,.notice-row,.notice-row>span,.notice-row time,.board-footer small,.recommend-banner b,.recommend-banner p){font-size:max(13px,1em)!important}

/* The complete genre catalog also uses the six-column cover rail. */
@media(min-width:901px){
  #subpageRoot[data-view="genre"] .subpage-cards{grid-template-columns:repeat(6,minmax(0,1fr));gap:14px}
  #subpageRoot[data-view="genre"] .page-card-art{aspect-ratio:300/410}
  #subpageRoot[data-view="popular"] .rank-row{grid-template-columns:50px 76px minmax(0,1fr) auto 24px;min-height:132px}
  #subpageRoot[data-view="popular"] .rank-row-art{width:76px;height:105px}
}

/* Community post detail view. */
.community-detail{background:#fff;border:1px solid var(--line);border-radius:14px;box-shadow:var(--shadow);overflow:hidden}
.community-detail-head{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;padding:27px 30px 23px;border-bottom:1px solid var(--line)}
.community-label{display:inline-flex;padding:5px 8px;border-radius:5px;background:var(--mint2);color:var(--green2);font-size:12px;font-weight:850}
.community-detail-head h2{margin:13px 0 9px;font-size:25px;letter-spacing:-1.1px}
.community-detail-head p{margin:0;color:var(--muted);font-size:13px}
.community-detail-body{max-width:820px;min-height:260px;padding:32px 30px;color:var(--ink);font-size:15px;line-height:1.9}
.community-detail-body p{margin:0 0 20px}
.community-detail-foot{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:18px 30px;background:var(--soft);border-top:1px solid var(--line)}
@media(max-width:620px){
  .community-detail-head{display:block;padding:22px 20px}
  .community-detail-head h2{font-size:21px}
  .community-detail-head .text-link{display:inline-block;margin-top:14px}
  .community-detail-body{min-height:220px;padding:25px 20px;font-size:14px}
  .community-detail-foot{padding:15px 20px}
}

/* Search results keep the query, match count, and related work metadata easy to scan. */
.search-summary{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;padding:22px 24px;margin-bottom:20px;background:#fff;border:1px solid var(--line);border-radius:14px;box-shadow:var(--shadow)}
.search-summary h2{margin:8px 0 7px;font-size:25px;letter-spacing:-1.1px}
.search-summary p{margin:0;color:var(--muted);line-height:1.6}
.search-summary p strong{color:var(--orange-dark)}
.search-summary-stats{display:flex;gap:12px;flex:0 0 auto}
.search-summary-stats div{min-width:100px;padding:13px 16px;border-left:2px solid var(--orange);background:var(--soft)}
.search-summary-stats b{display:block;font-size:22px;color:var(--orange-dark)}
.search-summary-stats span{display:block;margin-top:3px;color:var(--muted);font-size:13px}
.search-empty{padding:52px 24px;text-align:center;background:#fff;border:1px solid var(--line);border-radius:14px;box-shadow:var(--shadow)}
.search-empty h2{margin:0 0 9px;font-size:22px}.search-empty p{margin:0 0 20px;color:var(--muted)}
@media(max-width:620px){.search-summary{display:block;padding:18px}.search-summary h2{font-size:22px}.search-summary-stats{margin-top:18px}.search-summary-stats div{flex:1;min-width:0}.search-summary-stats b{font-size:20px}}
.api-cover{background-repeat:no-repeat!important;background-size:cover!important;background-position:center!important;background-color:#f1f2f4}
#subpageRoot[aria-busy="true"]{opacity:.7;transition:opacity .2s}

/* Collection card titles stay on one line; the line below is reserved for genres. */
.page-card h3{display:block;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.page-card p{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

/* Profile editing keeps the live preview and form visually connected. */
.profile-edit-layout{display:grid;grid-template-columns:290px minmax(0,1fr);gap:18px;align-items:start}
.profile-edit-preview{position:sticky;top:190px;display:flex;flex-direction:column;align-items:center;min-height:390px;padding:34px 26px;text-align:center;background:linear-gradient(155deg,#fff 45%,#fff3f5);border:1px solid var(--line);border-radius:14px;box-shadow:var(--shadow)}
.profile-preview-label{color:var(--green2);font-size:13px;font-weight:900;letter-spacing:1.4px}
.profile-edit-avatar{width:92px;height:92px;display:grid;place-items:center;margin:25px 0 18px;border-radius:28px;background:linear-gradient(145deg,#e50020,#ff4f66);color:#fff;font-size:30px;font-weight:950;box-shadow:0 14px 28px rgba(229,0,32,.24)}
.profile-edit-preview h2{max-width:100%;margin:0;font-size:25px;letter-spacing:-1px;overflow-wrap:anywhere}
.profile-edit-preview p{min-height:50px;margin:12px 0 17px;color:var(--muted);font-size:14px;line-height:1.7}
.profile-edit-preview>small{margin-top:18px;color:var(--muted);font-size:13px}
.profile-genre-pill{display:inline-flex;align-items:center;min-height:34px;padding:0 14px;border-radius:999px;background:#fff;border:1px solid rgba(229,0,32,.2);color:var(--green2);font-size:13px;font-weight:850}
.profile-edit-card{padding:28px}
.profile-edit-form{display:grid;gap:20px}
.profile-field-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.profile-field{display:flex;flex-direction:column;gap:8px;color:var(--ink);font-size:14px;font-weight:850}
.profile-field input,.profile-field select,.profile-field textarea{width:100%;border:1px solid var(--line);border-radius:9px;background:#fff;color:var(--ink);font:inherit;font-weight:500;outline:none;transition:border-color .2s,box-shadow .2s}
.profile-field input,.profile-field select{height:48px;padding:0 13px}
.profile-field textarea{min-height:112px;padding:13px;resize:vertical;line-height:1.6}
.profile-field input:focus,.profile-field select:focus,.profile-field textarea:focus{border-color:var(--green);box-shadow:0 0 0 3px rgba(229,0,32,.09)}
.profile-field>small{color:var(--muted);font-size:13px;font-weight:500}
.profile-field>small b{color:var(--green2)}
.profile-actions{display:flex;justify-content:flex-end;gap:9px;padding-top:3px}
.profile-actions .primary-button{min-width:138px}
.profile-save-status{min-height:21px;margin:0;color:var(--green2);font-size:13px;font-weight:800;text-align:right}
@media(max-width:900px){.profile-edit-layout{grid-template-columns:1fr}.profile-edit-preview{position:static;min-height:0}.profile-field-grid{grid-template-columns:1fr 1fr}}
@media(max-width:620px){.profile-edit-preview{padding:26px 20px}.profile-edit-avatar{width:78px;height:78px;margin:20px 0 15px;border-radius:23px;font-size:26px}.profile-edit-card{padding:20px}.profile-field-grid{grid-template-columns:1fr}.profile-actions{display:grid;grid-template-columns:1fr 1fr}.profile-actions>*{width:100%}.profile-save-status{text-align:left}}

/* Arcade cards open a focused in-page game player. */
.arcade-popup-guide{color:var(--muted);font-size:13px;font-weight:750}
.arcade-card{transition:transform .2s,border-color .2s,box-shadow .2s}
.arcade-card:hover{transform:translateY(-4px);border-color:rgba(229,0,32,.35);box-shadow:0 16px 32px rgba(31,41,55,.13)}
.arcade-card-trigger{display:block;width:100%;padding:0;border:0;background:#fff;color:var(--ink);text-align:left;cursor:pointer;font:inherit}
.arcade-card-trigger:focus-visible{outline:3px solid rgba(229,0,32,.28);outline-offset:-3px}
.arcade-card[hidden]{display:none}
.arcade-cover{position:relative;isolation:isolate;overflow:hidden;background:#17181c}
.arcade-cover>img{position:absolute;inset:0;z-index:-2;width:100%;height:100%;object-fit:cover;transition:transform .35s ease}
.arcade-card-trigger:hover .arcade-cover>img{transform:scale(1.045)}
.arcade-card-body{display:block;padding:17px}
.arcade-card-meta{display:flex;align-items:center;justify-content:space-between;gap:12px}
.arcade-card-meta small{color:var(--muted);font-size:13px}
.arcade-card-body>strong{display:block;margin:10px 0 8px;font-size:18px;line-height:1.35;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.arcade-card-body>em{display:block;min-height:42px;margin-bottom:16px;color:var(--muted);font-size:13px;font-style:normal;line-height:1.6}
.arcade-play-cta{display:flex;align-items:center;justify-content:space-between;min-height:44px;padding:0 14px;border-radius:8px;background:#e50020;color:#fff;font-size:13px;font-weight:900}
.arcade-play-cta svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;transition:transform .2s}
.arcade-card-trigger:hover .arcade-play-cta svg{transform:translateX(3px)}
.arcade-source-controls{display:flex;align-items:center;justify-content:space-between;gap:18px;min-height:76px;padding-top:18px}
.arcade-source-controls>span{color:var(--muted);font-size:13px;font-weight:700}
.arcade-load-more{min-width:210px;min-height:46px;display:inline-flex;align-items:center;justify-content:center;gap:9px;padding:0 20px;border:1px solid #e50020;border-radius:9px;background:#fff;color:#c9001c;font-size:14px;font-weight:900;cursor:pointer;transition:background .2s,color .2s,transform .2s}
.arcade-load-more:hover:not(:disabled){background:#e50020;color:#fff;transform:translateY(-2px)}
.arcade-load-more:disabled{opacity:.55;cursor:wait}
.arcade-load-more[hidden]{display:none}
.arcade-modal-open{overflow:hidden}
.arcade-game-dialog{width:min(720px,calc(100vw - 32px));max-width:none;max-height:calc(100dvh - 32px);padding:0;border:0;border-radius:18px;background:transparent;box-shadow:0 30px 90px rgba(0,0,0,.35);overflow:hidden}
.arcade-game-dialog.is-remote{width:min(980px,calc(100vw - 32px))}
.arcade-game-dialog::backdrop{background:rgba(18,18,22,.72);backdrop-filter:blur(5px)}
.arcade-modal-shell{display:grid;grid-template-rows:auto minmax(0,1fr) auto;max-height:calc(100dvh - 32px);background:#fff}
.arcade-modal-head{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:24px 26px;background:linear-gradient(128deg,#e50020,#b30019);color:#fff}
.arcade-modal-head>div{min-width:0}
.arcade-modal-head>div>span{display:flex;align-items:center;gap:7px;font-size:13px;font-weight:850;letter-spacing:1px;opacity:.88}
.arcade-modal-head>div>span i{width:8px;height:8px;border-radius:50%;background:#fff;box-shadow:0 0 0 5px rgba(255,255,255,.15)}
.arcade-modal-head h2{margin:8px 0 3px;color:#fff;font-size:25px;line-height:1.25;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.arcade-modal-head p{margin:0;color:rgba(255,255,255,.78);font-size:13px}
.arcade-modal-close{width:44px;height:44px;display:grid;place-items:center;flex:0 0 auto;padding:0;border:1px solid rgba(255,255,255,.34);border-radius:12px;background:rgba(255,255,255,.12);color:#fff;cursor:pointer}
.arcade-modal-close:hover{background:rgba(255,255,255,.22)}
.arcade-modal-close svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}
.arcade-game-body{min-height:300px;padding:30px;overflow-y:auto;background:linear-gradient(180deg,#fff,#f7f8fa)}
.arcade-game-body .game-instruction{margin:0 0 20px;color:var(--ink);font-size:15px;font-weight:750;text-align:center}
.arcade-game-body .match-board{grid-template-columns:repeat(4,minmax(72px,100px));justify-content:center;margin:20px auto 24px}
.arcade-game-body .game-status{min-height:48px;display:flex;align-items:center;justify-content:center;margin:0;padding:12px 16px;border:1px solid var(--line);border-radius:9px;background:#fff;color:var(--green2);font-size:14px;font-weight:800;text-align:center}
.arcade-game-body .quiz-question{border:1px solid var(--line);background:#fff;text-align:center}
.arcade-game-body .quiz-options{justify-content:center}
.arcade-game-body .quiz-option{min-width:126px;background:#fff;font-weight:750}
.arcade-game-body .quiz-option:hover,.arcade-game-body .quiz-option:focus-visible{border-color:#e50020;background:#fff5f6;color:#c9001c;outline:none}
.arcade-mode-switch{display:grid;grid-template-columns:1fr 1fr;gap:5px;padding:8px;background:#eef0f3;border-bottom:1px solid var(--line)}
.arcade-mode-switch button{min-height:43px;border:1px solid transparent;border-radius:9px;background:transparent;color:#6f747c;font-size:14px;font-weight:850;cursor:pointer;transition:.2s}
.arcade-mode-switch button.active{border-color:#e50020;background:#fff;color:#d4001d;box-shadow:0 4px 12px rgba(31,41,55,.08)}
.arcade-game-body.has-compat{min-height:0;padding:0;background:#f3f5f7;overflow-y:auto}
.arcade-compat-game{padding:22px 24px 24px}
.arcade-compat-game>header{display:flex;align-items:flex-end;justify-content:space-between;gap:18px}
.arcade-compat-game>header>div:first-child>span{color:#d4001d;font-size:13px;font-weight:900;letter-spacing:.7px}
.arcade-compat-game h3{margin:4px 0 0;font-size:24px;letter-spacing:-.8px}
.arcade-compat-hud{display:flex;align-items:center;gap:8px}
.arcade-compat-hud>span{min-height:40px;display:flex;align-items:center;gap:6px;padding:0 13px;border:1px solid var(--line);border-radius:9px;background:#fff;color:#555b63;font-size:13px;font-weight:750;white-space:nowrap}
.arcade-compat-hud b{color:#d4001d;font-size:17px}
.arcade-compat-game>p{margin:13px 0 16px;color:var(--muted);font-size:13px;line-height:1.6}
.arcade-compat-field{position:relative;height:min(390px,45vh);min-height:290px;overflow:hidden;border-radius:15px;background:radial-gradient(circle at 75% 22%,rgba(255,81,105,.36),transparent 24%),linear-gradient(145deg,#14151b,#282b36 58%,#111217);box-shadow:inset 0 0 0 1px rgba(255,255,255,.08)}
.arcade-compat-field::before{content:"TOONPOP";position:absolute;right:-12px;bottom:-22px;color:rgba(255,255,255,.045);font-size:90px;font-weight:950;letter-spacing:-7px}
.arcade-compat-start{position:absolute;inset:0;z-index:3;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:9px;padding:24px;background:rgba(12,13,17,.45);color:#fff;text-align:center;backdrop-filter:blur(3px)}
.arcade-compat-start[hidden],.arcade-compat-target[hidden]{display:none}
.arcade-compat-start>b{font-size:30px;letter-spacing:1px}
.arcade-compat-start>span{color:rgba(255,255,255,.72);font-size:13px}
.arcade-compat-start>button{min-width:172px;min-height:48px;margin-top:7px;border:0;border-radius:999px;background:#e50020;color:#fff;font-size:15px;font-weight:900;cursor:pointer;box-shadow:0 10px 24px rgba(229,0,32,.34)}
.arcade-compat-target{position:absolute;z-index:2;width:76px;height:76px;display:flex;align-items:center;justify-content:center;flex-direction:column;border:3px solid rgba(255,255,255,.82);border-radius:50%;background:linear-gradient(145deg,#ff2444,#c5001c);color:#fff;cursor:pointer;box-shadow:0 10px 24px rgba(229,0,32,.4),inset 0 0 0 5px rgba(255,255,255,.12);transition:left .16s ease,top .16s ease,transform .16s ease}
.arcade-compat-target:hover,.arcade-compat-target:focus-visible{outline:4px solid rgba(255,255,255,.4);outline-offset:3px}
.arcade-compat-target i{font-size:18px;font-style:normal;font-weight:950;line-height:1}
.arcade-compat-target strong{font-size:13px;letter-spacing:.7px}
.arcade-compat-status{min-height:42px;display:flex;align-items:center;justify-content:center;margin-top:12px;border:1px solid var(--line);border-radius:9px;background:#fff;color:#d4001d;font-size:13px;font-weight:800;text-align:center}
.arcade-game-dialog.is-remote .arcade-modal-shell{height:min(900px,calc(100dvh - 32px))}
.arcade-game-dialog.is-remote .arcade-modal-head{padding:14px 20px}
.arcade-game-dialog.is-remote .arcade-modal-head h2{font-size:21px;line-height:26px;margin-top:5px}
.arcade-game-dialog.is-remote .arcade-modal-foot{padding:10px 16px}
.arcade-game-body.has-remote{display:flex;flex-direction:column;min-height:0;padding:0;background:#090a0d;overflow:auto}
.arcade-game-body.has-remote .arcade-mode-switch{flex:0 0 auto}
.arcade-original-wrap{position:relative;display:flex;flex-direction:column;flex:1;min-height:0;background:#090a0d}
.arcade-game-dialog.is-remote .arcade-embed-frame{flex:1;min-height:220px;width:100%;aspect-ratio:auto;background:#090a0d}
.arcade-embed-frame iframe{display:block;width:100%;height:100%;border:0;background:#090a0d}
.arcade-original-notice{display:flex;flex:0 0 auto;align-items:center;justify-content:space-between;gap:15px;padding:10px 14px;background:#1a1b20;color:rgba(255,255,255,.85);font-size:13px}
.arcade-original-notice strong{font-size:13px;line-height:20px}
.arcade-key-guide{display:block;margin-top:4px;font-size:13px;line-height:20px;color:#d5d7dc}
.arcade-key-guide kbd{font:inherit;color:#fff;font-weight:700}
.arcade-original-notice details{margin-top:4px;font-size:13px;line-height:18px}
.arcade-original-notice summary{cursor:pointer;color:#d5d7dc}
.arcade-original-notice p{max-width:640px;margin:7px 0 0;line-height:1.6}
.arcade-original-notice>a{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;min-height:36px;padding:0 12px;border:1px solid #737680;border-radius:7px;color:#fff;font-size:13px;font-weight:700;white-space:nowrap}
.arcade-original-notice>a:hover{background:#343741}
.arcade-game-body.has-remote>.arcade-game-loading,.arcade-game-body.has-remote>.arcade-game-error{flex:1;min-height:200px}
.arcade-original-notice button{min-height:36px;padding:0 13px;border:1px solid rgba(255,255,255,.32);border-radius:7px;background:#fff;color:#bd001b;font-size:13px;font-weight:850;cursor:pointer;white-space:nowrap}
.arcade-game-loading,.arcade-game-error{min-height:min(62vh,610px);display:flex;align-items:center;justify-content:center;flex-direction:column;gap:10px;padding:30px;color:#fff;text-align:center}
.arcade-game-loading>span{width:36px;height:36px;border:3px solid rgba(255,255,255,.22);border-top-color:#fff;border-radius:50%;animation:popular-spin .8s linear infinite}
.arcade-game-loading strong,.arcade-game-error strong{font-size:18px}
.arcade-game-loading small,.arcade-game-error p{margin:0;color:rgba(255,255,255,.7);font-size:13px;line-height:1.6}
.arcade-game-error>b{width:46px;height:46px;display:grid;place-items:center;border:1px solid rgba(255,255,255,.28);border-radius:50%;color:#fff;font-size:22px}
.arcade-game-error .outline-button{margin-top:8px;background:#fff}
.arcade-modal-foot{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:16px 24px;border-top:1px solid var(--line);background:#fff}
.arcade-modal-foot>span{color:var(--muted);font-size:13px}
.arcade-modal-foot>span a{color:#c9001c;font-weight:850;text-decoration:underline;text-underline-offset:3px}
.arcade-modal-foot .outline-button{flex:0 0 auto}
@media(max-width:620px){.arcade-popup-guide{display:block;margin-top:12px}.arcade-source-controls{align-items:stretch;flex-direction:column;min-height:0;padding:18px 0 8px}.arcade-load-more{width:100%}.arcade-game-dialog,.arcade-game-dialog.is-remote{width:calc(100vw - 20px);max-height:calc(100dvh - 20px);border-radius:14px}.arcade-modal-shell{max-height:calc(100dvh - 20px)}.arcade-modal-head{padding:16px}.arcade-modal-head h2{font-size:19px}.arcade-game-body{min-height:280px;padding:22px 16px}.arcade-game-body.has-remote,.arcade-game-body.has-compat{min-height:0;padding:0}.arcade-compat-game{padding:17px 14px}.arcade-compat-game>header{align-items:flex-start;flex-direction:column}.arcade-compat-game h3{font-size:21px}.arcade-compat-hud{width:100%}.arcade-compat-hud>span{flex:1;justify-content:center}.arcade-compat-field{height:330px;min-height:0}.arcade-compat-target{width:68px;height:68px}.arcade-original-notice{align-items:stretch;flex-direction:column}.arcade-embed-frame{aspect-ratio:4/3}.arcade-game-loading,.arcade-game-error{min-height:55vh}.arcade-game-body .match-board{grid-template-columns:repeat(4,1fr);gap:8px}.arcade-game-body .match-tile{height:68px}.arcade-game-body .quiz-options{display:grid;grid-template-columns:1fr}.arcade-game-body .quiz-option{width:100%}.arcade-modal-foot{align-items:stretch;flex-direction:column;padding:12px 16px}.arcade-modal-foot .outline-button{width:100%}}

/* Popular ranking reveals 30 items at a time, then hands control to a deliberate load-more action. */
.popular-feed{width:100%}
.popular-feed-toolbar strong b{color:var(--green2);font-size:inherit}
.popular-feed-controls{display:grid;justify-items:center;padding:22px 0 4px}
.popular-load-more[hidden],.popular-scroll-sentinel[hidden],.popular-feed-end[hidden]{display:none}
.popular-scroll-sentinel{display:grid;justify-items:center;gap:7px;min-height:92px;padding:17px 24px;color:var(--muted);text-align:center}
.popular-scroll-sentinel strong{font-size:14px;color:var(--ink)}
.popular-scroll-sentinel small{font-size:13px}
.popular-loading-spinner{width:25px;height:25px;border:2px solid #e3e5e8;border-top-color:#e50020;border-radius:50%;animation:popular-spin .75s linear infinite;animation-play-state:paused}
.popular-scroll-sentinel.is-loading .popular-loading-spinner{animation-play-state:running}
.popular-load-more{min-width:260px;min-height:50px;display:inline-flex;align-items:center;justify-content:center;gap:10px;padding:0 24px;border:1px solid #e50020;border-radius:10px;background:#fff;color:#c9001c;font-size:14px;font-weight:900;cursor:pointer;transition:background .2s,color .2s,transform .2s}
.popular-load-more:hover:not(:disabled){background:#e50020;color:#fff;transform:translateY(-2px)}
.popular-load-more:disabled{border-color:var(--line);color:var(--muted);cursor:default}
.popular-load-more svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.popular-load-more.is-loading svg{animation:popular-bounce .8s ease-in-out infinite alternate}
.popular-feed-end{margin:0;padding:18px;color:var(--muted);font-size:13px;text-align:center}
@keyframes popular-spin{to{transform:rotate(360deg)}}
@keyframes popular-bounce{to{transform:translateY(3px)}}

/* Address notice uses the same full content width as the other subpages. */
#subpageRoot[data-view="notice"] .content-copy{width:100%;max-width:none}
#subpageRoot[data-view="notice"] .content-copy .notice-list{width:100%}

@media(max-width:620px){.popular-feed-controls{padding-top:14px}.popular-scroll-sentinel{min-height:78px;padding-inline:12px}.popular-load-more{width:100%;min-width:0}}

/* Arcade catalog: six compact boxed games per desktop row. */
.arcade-catalog{grid-template-columns:repeat(6,minmax(0,1fr));gap:14px}
.arcade-art{height:128px;padding:13px}
.arcade-card-body{padding:14px}
.arcade-card-body>strong{font-size:15px}
.arcade-card-body>em{min-height:40px;font-size:13px}
.arcade-play-cta{min-height:40px;padding-inline:11px}
@media(max-width:1100px){.arcade-catalog{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:720px){.arcade-catalog{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.arcade-art{height:112px}.arcade-card-body>em{display:none}.arcade-play-cta{margin-top:12px}}

/* Shared six-cover library, switched by two accessible tabs. */
.library-tabs{display:flex;gap:8px;padding-bottom:18px;border-bottom:1px solid var(--line)}
.library-tabs button{display:flex;align-items:center;gap:9px;min-height:46px;padding:0 21px;border:1px solid #dfe3e8;border-radius:24px;background:#fff;color:#747d88;font-size:15px;font-weight:700;cursor:pointer}
.library-tabs button span{font-size:13px;opacity:.8;font-variant-numeric:tabular-nums}
.library-tabs button[aria-selected="true"]{background:#e50020;border-color:#e50020;color:#fff}
.library-tabs button:focus-visible,.library-card:focus-visible,.library-card a:focus-visible{outline:2px solid #e50020;outline-offset:3px}
.library-panel[hidden]{display:none!important}
.library-toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px;min-height:70px;color:var(--muted);font-size:13px}
.library-toolbar p{margin:0}.library-toolbar>span{white-space:nowrap}
.library-toolbar button[hidden]{display:none}.library-toolbar button:disabled{opacity:.45;cursor:not-allowed}
.library-card-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:24px 16px}
.library-card-grid>.favorite-empty{grid-column:1/-1;padding:52px 20px;font-size:14px;line-height:1.7}
.library-card-grid .library-card{position:relative;display:block;min-width:0;margin:0;padding:0;border:1px solid #e0e3e8;border-radius:12px;overflow:hidden;background:#fff;transition:border-color .2s,box-shadow .2s}
.library-card-grid .library-card:hover{background:#fff;border-color:#e50020;box-shadow:0 6px 20px #1b243012}
.library-card-grid .favorite-link{display:block;padding:0;min-width:0}
.library-cover{width:100%;aspect-ratio:3/4.3;border-radius:0;background-size:58% auto!important}
.library-card-grid .library-card-copy{display:flex;min-width:0;flex-direction:column;gap:7px;padding:14px}
.library-card-copy strong{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:15px;font-weight:800;line-height:1.5}
.library-card-copy small{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;color:var(--muted);font-size:13px;line-height:1.5}
.library-card-copy em{margin-top:6px;color:#e50020;font-size:13px;font-style:normal;font-weight:800}
.library-collection .favorite-select[hidden]{display:none}
.library-collection .favorite-card.is-editing .favorite-row{display:block}
.library-collection .favorite-card.is-editing .favorite-select{position:absolute;z-index:2;top:12px;left:12px;width:22px;height:22px;margin:0;opacity:1;accent-color:#e50020;cursor:pointer}
.library-collection .favorite-card.is-editing .favorite-select:checked + .favorite-link{box-shadow:inset 0 0 0 2px #e50020;background:#fff3f5}
.library-collection .favorite-actions{margin-top:24px;padding-top:20px}
.library-collection .favorite-actions button:disabled{opacity:.45;cursor:not-allowed}
@media(max-width:1000px){.library-card-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:620px){.library-tabs{gap:6px}.library-tabs button{padding:0 15px;font-size:14px;gap:7px}.library-toolbar{min-height:66px;gap:8px}.library-toolbar p{font-size:13px;line-height:1.5}.library-card-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 12px}.library-card-grid .library-card-copy{padding:12px}.library-card-copy strong{font-size:14px}}

/* Editorial popular chart: top-three stage followed by a precise live ranking list. */
#subpageRoot[data-view="popular"]{--popular-red:#e50020;--popular-ink:#111217;--popular-gold:#f2c469}
#subpageRoot[data-view="popular"] .popular-showcase{position:relative;isolation:isolate;overflow:hidden;margin:2px 0 42px;padding:44px clamp(24px,4vw,58px) 42px;border-radius:18px;background:#101115;color:#fff;box-shadow:0 24px 64px rgba(17,18,23,.18)}
#subpageRoot[data-view="popular"] .popular-showcase::before{content:"";position:absolute;inset:0;z-index:-2;background-image:var(--popular-hero);background-size:cover;background-position:center 24%;filter:grayscale(1) contrast(1.1);opacity:.16;transform:scale(1.04)}
#subpageRoot[data-view="popular"] .popular-showcase::after{content:"TOONPOP";position:absolute;right:-22px;top:48px;z-index:-1;color:rgba(255,255,255,.035);font-size:clamp(100px,17vw,245px);font-weight:950;letter-spacing:-.08em;line-height:.78;pointer-events:none}
.popular-showcase-head{display:flex;align-items:flex-start;justify-content:space-between;gap:30px;margin-bottom:30px}
.popular-showcase-head h1{margin:0 0 12px;color:#fff;font-size:clamp(42px,5vw,68px);font-weight:950;letter-spacing:-.055em;line-height:1}
.popular-showcase-head p{max-width:520px;margin:0;color:rgba(255,255,255,.7);font-size:15px;line-height:1.7}
.popular-live-count{display:grid;grid-template-columns:auto auto;align-items:baseline;gap:3px 8px;padding-top:4px;text-align:right}
.popular-live-count>span{color:rgba(255,255,255,.62);font-size:13px;font-weight:750}.popular-live-count>strong{color:#fff;font-size:19px;font-weight:900}.popular-live-count>strong b{color:#ff2443;font-size:inherit}.popular-live-count>small{grid-column:1/-1;color:rgba(255,255,255,.45);font-size:12px;font-weight:700;letter-spacing:.08em}
.popular-podium{display:grid;grid-template-columns:minmax(0,.92fr) minmax(0,1.22fr) minmax(0,.92fr);align-items:end;gap:clamp(18px,3vw,42px);max-width:1040px;margin:0 auto}
.popular-podium-card{position:relative;display:grid;grid-template-columns:minmax(118px,.9fr) minmax(118px,1fr);align-items:end;gap:18px;min-width:0;color:#fff;transition:transform .25s ease}.popular-podium-card:hover{transform:translateY(-7px)}.popular-podium-card.rank-1{grid-template-columns:minmax(160px,1.08fr) minmax(145px,.92fr)}
.popular-podium-cover{position:relative;width:100%;aspect-ratio:300/430;overflow:hidden;border:1px solid rgba(255,255,255,.28);border-radius:12px;background:#292b31 url('./assets/toonpop-loading.svg') center/58% auto no-repeat;box-shadow:0 18px 44px rgba(0,0,0,.35)}
.popular-podium-card.rank-1 .popular-podium-cover{border-color:rgba(242,196,105,.72);box-shadow:0 20px 54px rgba(0,0,0,.42),0 0 0 1px rgba(242,196,105,.18)}
.popular-podium-copy{display:flex;min-width:0;flex-direction:column;align-items:flex-start;padding-bottom:10px}.popular-podium-rank{display:block;color:#fff;font-size:44px;font-weight:950;letter-spacing:-.07em;line-height:1;font-variant-numeric:tabular-nums}.rank-1 .popular-podium-rank{color:var(--popular-gold);font-size:58px}.rank-2 .popular-podium-rank{color:#c9ced6}.rank-3 .popular-podium-rank{color:#d99460}.popular-crown{width:32px;height:24px;margin:0 0 7px 2px;fill:var(--popular-gold)}
.popular-podium-copy h2{max-width:100%;overflow:hidden;margin:11px 0 6px;color:#fff;font-size:clamp(17px,1.7vw,25px);font-weight:900;letter-spacing:-.04em;line-height:1.25;text-overflow:ellipsis;white-space:nowrap}.popular-podium-copy p{max-width:100%;overflow:hidden;margin:0 0 13px;color:rgba(255,255,255,.5);font-size:13px;text-overflow:ellipsis;white-space:nowrap}.popular-podium-copy>strong{color:rgba(255,255,255,.85);font-size:14px;font-weight:750}
.popular-podium-copy>span{display:inline-flex;align-items:center;gap:8px;min-height:40px;margin-top:17px;padding:0 15px;border:1px solid rgba(255,255,255,.32);border-radius:22px;color:#fff;font-size:13px;font-weight:850;transition:background .2s,border-color .2s}.rank-1 .popular-podium-copy>span,.popular-podium-card:hover .popular-podium-copy>span{border-color:var(--popular-red);background:var(--popular-red)}.popular-podium-copy>span svg,.popular-row-cta svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.popular-feed{width:100%;max-width:1160px;margin:0 auto}.popular-list-head{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:18px;padding:0 2px}.popular-list-head span{color:var(--popular-red);font-size:11px;font-weight:900;letter-spacing:.18em}.popular-list-head h2{margin:7px 0 0;font-size:28px;font-weight:950;letter-spacing:-.045em}.popular-list-head p{margin:0;color:var(--muted);font-size:13px}
#subpageRoot[data-view="popular"] .rank-table{border:1px solid #e1e4e8;border-radius:14px;box-shadow:0 12px 34px rgba(25,31,40,.06)}#subpageRoot[data-view="popular"] .rank-row{grid-template-columns:58px 66px minmax(0,1fr) auto 118px;gap:18px;min-height:104px;padding:12px 22px;background:#fff}#subpageRoot[data-view="popular"] .rank-row:hover{background:#fafbfc}#subpageRoot[data-view="popular"] .rank-number{color:var(--popular-red);font-size:20px;font-variant-numeric:tabular-nums}#subpageRoot[data-view="popular"] .rank-row-art{width:56px;height:auto;aspect-ratio:300/430;border-radius:6px;box-shadow:0 4px 12px rgba(22,27,34,.12)}#subpageRoot[data-view="popular"] .rank-row strong{font-size:16px;font-weight:850;letter-spacing:-.02em}#subpageRoot[data-view="popular"] .rank-row small{font-size:13px!important}#subpageRoot[data-view="popular"] .rank-row em{font-size:13px!important;font-weight:700;font-variant-numeric:tabular-nums}
.rank-row .popular-row-cta{display:inline-flex;flex-direction:row;align-items:center;justify-content:center;gap:6px;min-height:40px;padding:0 14px;border:1px solid #dfe2e6;border-radius:21px;color:var(--ink);font-size:13px;font-weight:850;white-space:nowrap;transition:border-color .2s,color .2s,transform .2s}.rank-row:hover .popular-row-cta{border-color:var(--popular-red);color:var(--popular-red);transform:translateX(2px)}.popular-feed-controls{display:grid;justify-items:center;padding:28px 0 4px}
@media(max-width:1000px){.popular-podium{gap:18px}.popular-podium-card,.popular-podium-card.rank-1{grid-template-columns:1fr}.popular-podium-copy{padding-bottom:0}.popular-podium-rank{font-size:34px}.rank-1 .popular-podium-rank{font-size:42px}.popular-podium-copy h2{margin-top:7px}.popular-podium-copy>span{margin-top:12px}}
@media(max-width:700px){#subpageRoot[data-view="popular"] .popular-showcase{margin:0 -4px 28px;padding:28px 18px 24px;border-radius:14px}.popular-showcase-head{display:block;margin-bottom:24px}.popular-showcase-head h1{font-size:42px}.popular-showcase-head p{font-size:13px}.popular-live-count{position:absolute;right:18px;top:32px}.popular-live-count>span,.popular-live-count>small{display:none}.popular-podium{grid-template-columns:1.22fr .9fr;align-items:start;gap:14px}.popular-podium-card{display:block}.popular-podium-card.rank-1{grid-column:1;grid-row:1/3}.popular-podium-card.rank-2{grid-column:2;grid-row:1}.popular-podium-card.rank-3{grid-column:2;grid-row:2}.popular-podium-card.rank-2,.popular-podium-card.rank-3{display:grid;grid-template-columns:62px minmax(0,1fr);gap:10px;align-items:center}.popular-podium-card.rank-2 .popular-podium-cover,.popular-podium-card.rank-3 .popular-podium-cover{border-radius:7px}.popular-podium-copy{padding-top:10px}.rank-2 .popular-podium-copy,.rank-3 .popular-podium-copy{padding:0}.popular-podium-rank{font-size:27px}.rank-1 .popular-podium-rank{font-size:38px}.popular-crown{width:25px;height:18px;margin-bottom:4px}.popular-podium-copy h2{font-size:15px}.popular-podium-copy p{font-size:12px;margin-bottom:6px}.popular-podium-copy>strong{font-size:12px}.rank-2 .popular-podium-copy>span,.rank-3 .popular-podium-copy>span{display:none}.popular-podium-copy>span{min-height:38px;margin-top:10px;padding-inline:13px}.popular-list-head{align-items:flex-start;flex-direction:column;gap:6px}.popular-list-head h2{font-size:23px}.popular-list-head p{font-size:12px}#subpageRoot[data-view="popular"] .rank-row{grid-template-columns:38px 48px minmax(0,1fr) 22px;gap:10px;min-height:88px;padding:10px 12px}#subpageRoot[data-view="popular"] .rank-row-art{width:44px}.popular-row-cta{min-width:22px;width:22px;height:38px;min-height:38px;padding:0;border:0;font-size:0}.popular-row-cta svg{width:19px;height:19px}.rank-row em{display:none}}
@media(prefers-reduced-motion:reduce){.popular-podium-card,.popular-row-cta{transition:none}}
.arcade-back-to-top{position:fixed;right:max(16px,calc((100vw - 1440px)/2));bottom:32px;z-index:35;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;width:56px;height:58px;border:1px solid #e5e7eb;border-radius:14px;background:#fff;box-shadow:0 4px 20px #17203312;color:#6b7280;font:inherit;font-size:10px;font-weight:600;cursor:pointer}
.arcade-back-to-top[hidden],body.arcade-modal-open .arcade-back-to-top{display:none}
.arcade-back-to-top svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.arcade-back-to-top:hover{background:#fff3f5;color:#e50020}
.arcade-back-to-top:focus-visible{outline:2px solid #e50020;outline-offset:3px}
@media(max-width:720px){.arcade-back-to-top{right:12px;bottom:calc(20px + env(safe-area-inset-bottom));width:48px;height:50px;border-radius:12px}}
