@import url('https://fonts.googleapis.com/css2?family=Huninn&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Chiron+GoRound+TC:wght@400;700;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@600;700&display=swap');
/* Site theme: the cute adventure-notebook look, loaded after style.css.
   Part 1 keeps the rules from the earlier Y2K skin that are still in effect (dialog, editor, login and cover
   layouts); declarations the notebook look overrides were removed. Part 2 is the notebook look itself. */

/* Anything marked hidden stays hidden, even when a class gives it a display value. */
[hidden]{display:none!important}
/* Part 1 · structural rules kept from the Y2K skin */
.demo-bar{letter-spacing:1.5px}
.header{margin-top:18px;margin-bottom:20px;max-width:var(--width)}
.brand{letter-spacing:1px}
.hero{min-height:440px;isolation:isolate}
.hero-copy{padding-bottom:40px}
.hero h1{font-size:48px}
.hero-art{position:relative}
.hero-art:before{position:absolute;left:5%;transform:rotate(13deg)}
.hero-art:after{position:absolute;right:0;bottom:8%}
.hero-art svg{max-height:380px}
.floating-tag{font-weight:bold}
.ticker{margin-top:24px}
.ticker span{color:var(--ink)}
.day{padding-top:12px}
.day-top{padding-bottom:7px}
.today-dot{font-family:inherit}
.day-illustration{color:var(--accent)}
.game-title h3{font-size:18px}
.wish-symbol{font-size:40px}
.note:before{border-left:1px dotted var(--accent);border-right:1px dotted var(--accent)}
.rank-number{font-style:normal;font-weight:bold}
dialog{background:var(--card);padding-top:20px}
.dialog-head{padding:6px 10px;margin:-20px -28px 20px}
.dialog-head .icon{font-size:22px;width:25px;height:25px}
.settings-actions{border-color:var(--ink)}
footer{padding-top:25px}
.media-setting{border:1px solid var(--line);padding:13px;margin:12px 0;background:var(--bg)}
.media-setting strong{font-size:12px}
.media-setting .small{margin:4px 0 8px}
.media-row{display:flex;gap:12px;align-items:center}
.media-thumb{width:74px;height:64px;object-fit:contain;background:repeating-conic-gradient(#eee 0 25%,#fff 0 50%) 0/14px 14px;border:1px solid #aaa}
.media-row input[type=file]{width:100%;font-size:11px}
.media-row>div{flex:1;min-width:0}
.custom-hero-image{position:relative;width:90%;height:360px;object-fit:contain;z-index:1}
.custom-game-image{width:100%;height:100%;object-fit:cover}
.image-position{margin:8px 0 0!important}
.replace-art-hint{font-size:9px;font-family:monospace}
.hero.has-custom-bg{background-size:cover;background-position:center}
.hero.has-custom-bg .hero-copy{background:color-mix(in srgb,var(--card) 90%,transparent);border-radius:var(--radius);margin:12px}
.hero.has-custom-bg .hero-art{background:none}
@media(max-width:1260px){
.header{margin-left:30px;margin-right:30px}
.hero h1{font-size:40px}
}
@media(max-width:950px){
.hero h1{font-size:32px}
.hero{min-height:375px}
.custom-hero-image{height:310px}
}
@media(max-width:600px){
.header{margin:15px 18px 22px}
.hero{min-height:0}
.hero h1{font-size:35px}
.hero-copy{padding:27px 23px 8px}
.hero-art{height:270px}
.hero-art svg{height:280px}
.custom-hero-image{height:260px;width:85%}
.ticker{margin-top:21px}
.calendar .day:last-child{grid-column:1/-1}
.settings-dialog{padding:22px}
.dialog-head{margin:-22px -22px 18px}
.hero.has-custom-bg .hero-copy{margin:8px}
.media-row{align-items:start;flex-wrap:wrap}
}
/* Weekly wish pool result and played-games history. */
.result-banner{margin:0 0 20px;padding:18px 22px}
.result-banner h3{margin:6px 0 8px}
.result-list{margin:0 0 8px 22px;padding:0;font-size:17px;line-height:1.8}
.played-list .ranking-row small{display:block;margin-top:3px}
#recommend-error{color:#b3261e;min-height:1em}
.steam-cover{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.steam-cover[hidden]{display:none}
.kind-editor{margin:14px 0;border:1px solid var(--line);padding:10px 12px;background:var(--bg)}
.kind-editor summary{cursor:pointer;font-weight:700}
.kind-row{display:grid;grid-template-columns:52px 1fr 92px auto;gap:8px;align-items:center;margin:8px 0}
.kind-row input,.kind-row select{margin:0}
.kind-icon{text-align:center}
.played-admin{margin-top:20px}
.played-admin h3{margin:18px 0 6px}
.played-toggle{display:flex;gap:8px;align-items:center;margin:6px 0}
.played-form{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:10px;align-items:end}
.played-admin .ranking-row{grid-template-columns:auto 1fr auto}
.content-editor{margin-top:16px}
.content-actions{position:sticky;bottom:0;display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:18px -4px 0;padding:12px 4px;background:var(--card);border-top:1px dashed var(--line)}
.moved-notice{display:flex;flex-wrap:wrap;gap:6px;align-items:center;margin:0 0 14px}
.game-card.ranked{position:relative}
.rank-badge{position:absolute;z-index:3;padding:7px 10px}
/* Played games: one row per game, Steam cover on the left of a prominent title. */
.played-week{padding:14px 0}
.played-week:last-child{border:0}
.played-week-date{display:flex;align-items:center;gap:10px;font:700 13px/1.2 monospace;color:var(--muted);margin-bottom:10px}
.played-week-date .rank-number{width:auto;font-size:18px}
.played-games{list-style:none;margin:0;padding:0;display:grid;gap:10px}
.played-game{display:flex;align-items:center;gap:16px}
.played-cover{position:relative;flex:0 0 160px;aspect-ratio:460/215;overflow:hidden;background:repeating-linear-gradient(45deg,var(--yellow,#fff2ac) 0 8px,var(--card) 8px 16px)}
.played-title{font-size:20px;font-weight:800;line-height:1.3;color:var(--ink);overflow-wrap:anywhere}
@media(max-width:600px){
.played-cover{flex-basis:112px}
.played-title{font-size:16px}
}
/* Ranking rows: Steam cover between the rank and the game name. */
.rank-cover{position:relative;flex:0 0 120px;aspect-ratio:460/215;overflow:hidden;background:repeating-linear-gradient(45deg,var(--yellow,#fff2ac) 0 8px,var(--card) 8px 16px)}
.rank-name{flex:1;min-width:0}
.rank-name strong{overflow-wrap:anywhere}
.large-ranking .rank-cover{flex-basis:170px}
.ranking-board{padding-top:10px;padding-bottom:10px}
/* Header account area and sign-in dialog. */
.account-area{display:flex;align-items:center;gap:10px;margin-left:auto}
.account-button{max-width:180px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.login-dialog{max-width:460px}
.login-dialog h2{margin:6px 0 8px}
.login-dialog h3{font-size:14px;margin:0 0 8px}
.login-providers{display:grid;gap:10px;margin:16px 0}
.login-providers .button{justify-content:center;text-align:center;text-decoration:none;font-weight:700}
.login-twitch{background:#9146ff;color:#fff;border-color:#4b2a99}
.login-google{background:#fff;color:#1f1f1f}
.login-providers .disabled{opacity:.45;cursor:not-allowed}
.login-divider{border:0;margin:18px 0}
.login-note{padding:8px 12px;font-weight:700}
.login-admin-actions{display:flex;flex-wrap:wrap;gap:8px}
@media(max-width:600px){
.rank-cover{flex-basis:84px}
.large-ranking .rank-cover{flex-basis:96px}
.large-ranking .ranking-row{flex-wrap:wrap}
.account-area{gap:6px}
.account-area .button{padding:8px 12px;font-size:10px}
}

/* Part 2 · cute adventure-notebook look */
/* D+ cute adventure-notebook skin, loaded after y2k.css. Theme colors and radius remain editable;
   lilac, honey and blush are fixed companions to the editable accent. */
:root{--font-head-weight:400;--font-head:'Huninn','Chiron GoRound TC','Noto Sans TC',sans-serif;--font-body:'Chiron GoRound TC','Noto Sans TC','PingFang TC','Microsoft JhengHei',sans-serif;--font-num:'Quicksand','Chiron GoRound TC','Noto Sans TC',sans-serif;--lilac:#63649e;--on-lilac:#fff4da;--honey:#e5be6b;--honey-deep:#d6a84f;--blush:#f6d3de;--rose-soft:#ffe1ea;--butter:#fff6d6;--muted:#7a6577;--line:#f0d9b0}
body{font-family:var(--font-body);background-color:var(--bg);background-image:radial-gradient(ellipse at 50% 0,color-mix(in srgb,var(--accent) 14%,transparent),transparent 60%),radial-gradient(color-mix(in srgb,var(--accent) 16%,transparent) 1.4px,transparent 1.6px);background-size:100% 900px,26px 26px;background-repeat:no-repeat,repeat}
body:before{display:none}
h1,h2,.brand,.footer-logo,.day-date,.signature{font-family:var(--font-head);font-weight:var(--font-head-weight,400)}
.demo-bar{background:var(--lilac);color:var(--on-lilac);font-family:inherit;border-bottom:3px solid var(--honey)}
.demo-bar span{color:var(--on-lilac)}
.header{background:var(--card);border:3px solid var(--honey);border-radius:28px;box-shadow:0 4px 0 var(--honey-deep);padding:12px 24px}
.brand-logo{display:block;width:140px;height:auto;margin:-20px -8px}
.brand small{font-family:inherit;letter-spacing:2px;color:var(--muted);font-weight:700}
nav{gap:6px}
nav a{padding:8px 16px;border-radius:999px;font-weight:700;white-space:nowrap}
.header{flex-wrap:wrap}
.account-area{flex-wrap:wrap;justify-content:flex-end}
nav a.active{background:var(--rose-soft);color:var(--ink)}
nav a.active:after{display:none}
.button,.filter,.vote-button,.admin-tabs button{border:3px solid var(--honey)!important;border-radius:999px;box-shadow:0 4px 0 var(--honey-deep);font-weight:700;font-family:inherit}
.button:hover,.vote-button:hover,.filter:hover{transform:translateY(-2px);box-shadow:0 6px 0 var(--honey-deep)}
.button:active,.vote-button:active{transform:translateY(3px);box-shadow:0 1px 0 var(--honey-deep)}
.button.primary{background:var(--lilac);color:var(--on-lilac)}
.button.light{background:var(--rose-soft);color:var(--ink)}
.button.dark{background:var(--accent);color:#fff}
.filter{background:var(--card)}
.filter.active,.admin-tabs button.active{background:var(--lilac);color:var(--on-lilac)}
.vote-button{background:var(--rose-soft);color:var(--ink);padding:7px 16px}
.vote-button.voted{background:var(--accent);color:#fff}
.icon{border:3px solid var(--honey);border-radius:50%;background:var(--card);box-shadow:0 2px 0 var(--honey-deep)}
.avatar{border:3px solid var(--honey);border-radius:50%;background:var(--rose-soft);box-shadow:none}
/* Panels share one notebook frame: honey border, inner blush stitch. */
.hero,.paper{border:3px solid var(--honey);border-radius:28px;box-shadow:inset 0 0 0 6px var(--card),inset 0 0 0 8px var(--blush),0 12px 30px color-mix(in srgb,var(--accent) 15%,transparent)}
.hero{background:radial-gradient(ellipse at 75% 60%,var(--rose-soft),transparent 60%),var(--card);padding-top:0}
.hero:before,.hero:after{content:none}
.hero-copy{padding-top:48px}
.pill{border:2px solid var(--line);border-radius:999px;background:#fff;font:700 12px/1.4 var(--font-body);letter-spacing:1px;box-shadow:none;padding:6px 14px;color:var(--ink)}
.hero h1{font-weight:500;letter-spacing:2px;text-shadow:none}
.hero h1 em{color:var(--accent);text-shadow:none}
.hero p{color:var(--muted);opacity:1}
.hero-art{background:radial-gradient(ellipse,color-mix(in srgb,var(--rose-soft) 80%,transparent),transparent 70%)}
.hero-art:before{content:'✦';color:var(--honey);text-shadow:none;font-size:70px;top:6%}
.hero-art:after{content:'♡';color:var(--accent);opacity:.45;font-size:90px}
.hero-art svg{filter:none}
.floating-tag{border:2px solid var(--line);border-radius:20px 20px 20px 4px;background:#fff;box-shadow:0 4px 12px color-mix(in srgb,var(--accent) 15%,transparent);font-family:inherit;font-size:13px;color:var(--ink)}
.floating-tag.right{background:var(--rose-soft);border-radius:20px 20px 4px 20px}
.art-note{font-family:inherit;color:var(--muted);font-size:11px;font-weight:700}
.custom-hero-image{filter:none}
.ticker{border:2px solid var(--line);border-radius:999px;background:var(--card);box-shadow:none;padding:10px 12px}
.ticker b{background:var(--lilac);color:var(--on-lilac);border-radius:999px;padding:3px 12px;font-family:inherit}
/* Ribbon labels with notched ends, like the notebook's green ribbon. */
.eyebrow{display:inline-block;background:var(--accent);color:#fff;font-family:inherit;font-size:11px;letter-spacing:1.5px;padding:3px 18px;clip-path:polygon(8px 0,calc(100% - 8px) 0,100% 50%,calc(100% - 8px) 100%,8px 100%,0 50%)}
.dialog-head .eyebrow{background:none;clip-path:none;padding:0;color:var(--on-lilac)}
.section-head h2{font-weight:500}
.section-head h2:before{content:'♡ ';color:var(--accent)}
.day{border:2px solid var(--blush);border-radius:22px;box-shadow:0 6px 16px color-mix(in srgb,var(--accent) 10%,transparent);background:var(--card)}
.day-top{font-family:inherit;font-weight:700;border-bottom:2px dotted var(--blush);color:var(--muted)}
.day-date{font-size:26px}
.day.today{border:3px solid var(--accent);background:var(--rose-soft);box-shadow:0 0 0 4px #fff,0 8px 20px color-mix(in srgb,var(--accent) 20%,transparent)}
.today-dot{background:var(--accent);color:#fff;border-radius:999px;padding:1px 9px;font-size:10px}
.day.rest{background:repeating-linear-gradient(135deg,var(--card) 0 8px,#f6eef1 8px 16px)}
.day-illustration{width:44px;height:44px;display:grid;place-items:center;border-radius:50%;background:#e4e1f5;border:2px solid #fff;box-shadow:0 0 0 2px var(--honey);font-size:22px}
.calendar .day:nth-child(7n+1) .day-illustration{background:#ffd6e0}
.calendar .day:nth-child(7n+3) .day-illustration{background:#cdefe0}
.calendar .day:nth-child(7n+4) .day-illustration{background:#ffe6b3}
.calendar .day:nth-child(7n+5) .day-illustration{background:#d9ecfa}
.calendar .day:nth-child(7n+6) .day-illustration{background:#ffd6e0}
.tag{border:0;border-radius:999px;background:#e4e1f5;color:#3f4073;font-family:inherit;font-weight:700;padding:3px 10px}
.tag.pink{background:var(--rose-soft);color:var(--ink)}
.tag.yellow{background:#ffe6b3;color:#6a4a12}
.game-card{border:3px solid var(--honey);border-radius:26px;padding:10px;box-shadow:0 8px 22px color-mix(in srgb,var(--accent) 12%,transparent)}
.game-card:before{content:none}
.game-art{border-bottom:0;border-radius:16px}
.game-title h3{font-family:var(--font-head);font-weight:400}
.game-bottom{border-top:2px dashed var(--blush)}
.rank-badge{top:18px;right:18px;background:var(--lilac);color:var(--on-lilac);border:3px solid var(--honey);border-radius:999px;box-shadow:0 3px 0 var(--honey-deep);font:700 15px/1 var(--font-body)}
.game-card.rank-1 .rank-badge{background:var(--accent);color:#fff}
.wish-banner{border:3px dashed color-mix(in srgb,var(--accent) 45%,#fff);background:var(--rose-soft);box-shadow:none;border-radius:28px}
.note{background:var(--butter);box-shadow:0 8px 20px color-mix(in srgb,var(--honey) 35%,transparent)}
.note:before{background:color-mix(in srgb,var(--accent) 35%,transparent);border:0;border-radius:4px}
.note p{color:#5e4e5c}
.signature{color:var(--accent)}
.rank-number{flex:none;display:grid;place-items:center;width:40px;height:40px;border-radius:50%;background:#ffe6a0;border:2px solid #fff;box-shadow:0 0 0 2px var(--honey);font:700 16px/1 var(--font-body);color:var(--ink)}
.large-ranking .rank-number{width:48px;height:48px;font-size:18px}
.played-week-date .rank-number{background:none;border:0;box-shadow:none;height:auto}
.ranking-row{border-bottom:2px dashed var(--blush)}
.rank-cover,.played-cover{border:2px solid var(--blush);border-radius:14px}
.large-ranking .rank-cover,.played-cover{box-shadow:none}
.played-week{border-bottom:2px dashed var(--blush)}
.played-week-date{font-family:inherit}
.progress{height:12px;border-radius:999px;background:#f3e3ea;border:2px solid #e8cfda}
.progress i{border-radius:999px;background:color-mix(in srgb,var(--accent) 55%,#fff)}
.info-box{background:var(--butter);border:2px solid var(--honey);border-radius:18px;box-shadow:none}
.search{border:2px solid var(--honey)!important;border-radius:999px!important}
.admin-item{border:2px solid var(--blush);border-radius:20px;box-shadow:none}
.result-banner{background:var(--butter)}
dialog{border:3px solid var(--honey);border-radius:28px;box-shadow:inset 0 0 0 6px var(--card),inset 0 0 0 8px var(--blush),0 24px 60px color-mix(in srgb,var(--ink) 30%,transparent)}
.dialog-head{background:var(--lilac);border-bottom:3px solid var(--honey)}
.dialog-head .icon{color:var(--ink)}
.preset{border:2px solid var(--line);border-radius:999px;box-shadow:none}
.login-note{border:2px solid var(--honey);border-radius:14px;background:var(--butter)}
.login-divider{border-top:2px dashed var(--blush)}
/* Footer: a lilac band with a scalloped top edge. */
footer{position:relative;max-width:none;margin:40px 0 0;padding:32px 24px 36px;background:var(--lilac);color:#f1e9f5;border-top:0}
footer:before{content:'';position:absolute;left:0;right:0;top:-17px;height:18px;background:radial-gradient(circle at 12px 18px,var(--lilac) 11px,transparent 12px) 0 0/24px 18px repeat-x}
.footer-logo{color:var(--on-lilac)}
.footer-logo span{font-family:var(--font-body);color:var(--rose-soft)}
footer p,footer small{color:#f1e9f5}
@media(max-width:600px){
.header{border-radius:22px}
/* Phones: 外觀設定 and 後台 live in the 帳號 dialog, so the header keeps a single account button. */
#appearance-open,#admin-open{display:none}
/* Until the first full draw the page content and account button stay invisible, so half-built states never flash. */
.booting #app,.booting #account-area{visibility:hidden}
.brand-logo{width:104px;margin:-14px -6px}
nav{flex-wrap:wrap;justify-content:center;gap:4px}
nav a{padding:6px 12px;white-space:nowrap}
.hero-copy{padding-top:28px}
.day-illustration{width:38px;height:38px;font-size:19px}
.ticker{border-radius:22px}
}
/* 04 notebook TOP: profile · character arch · weekly schedule panel. */
.hero.top-notebook{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.85fr) minmax(0,1.1fr);grid-template-areas:"profile art week" "extra art week";gap:18px 28px;align-items:center;min-height:0;padding:12px 0 8px;border:0;border-radius:0;background:none;box-shadow:none;overflow:visible}
.nb-profile{grid-area:profile;align-self:end;display:flex;flex-direction:column;align-items:flex-start;gap:14px}
.nb-extra{grid-area:extra;align-self:start;display:flex;flex-direction:column;align-items:flex-start;gap:10px}
.nb-art{grid-area:art}
.nb-week{grid-area:week}
.top-notebook h1{margin:4px 0 0;font-size:40px;line-height:1.35}
.top-notebook p{margin:0;color:var(--muted);font-size:14px;line-height:1.9}
.nb-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;width:100%}
.nb-stats div{background:var(--card);border:2px solid var(--line);border-radius:18px;padding:8px 14px;display:flex;flex-direction:column}
.nb-stats small,.nb-label{font-size:12px;font-weight:700;color:var(--muted)}
.nb-stats b{font-size:20px;font-weight:900}
.nb-kinds{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;width:100%}
.nb-kinds li{display:flex;align-items:center;gap:8px;padding:6px 14px;border-radius:999px;background:#fff;border:2px solid var(--blush);font-weight:700;font-size:13px;min-width:0}
.nb-kinds li span{color:var(--accent);font-size:16px}
.nb-kinds li b{margin-left:auto;font-size:17px}
.nb-art{position:relative;display:flex;justify-content:center}
.nb-arch{width:100%;max-width:300px;aspect-ratio:3/5;border-radius:150px 150px 40px 40px;border:3px dashed color-mix(in srgb,var(--accent) 45%,#fff);background:color-mix(in srgb,#fff 55%,transparent);overflow:hidden;display:grid;place-items:center}
.nb-arch img,.nb-arch svg{width:100%;height:100%}
.nb-art .floating-tag{top:24px;right:-6px;left:auto;transform:rotate(4deg)}
.nb-week{position:relative;display:flex;flex-direction:column;gap:12px;padding:0 20px 22px;background:var(--card);border:3px solid var(--honey);border-radius:28px;box-shadow:inset 0 0 0 6px var(--card),inset 0 0 0 8px var(--blush),0 12px 30px color-mix(in srgb,var(--accent) 15%,transparent);margin-top:22px}
.nb-week:before,.nb-week:after{content:'';position:absolute;top:-21px;width:30px;height:26px;background:var(--lilac);clip-path:polygon(50% 0,100% 100%,0 100%)}
.nb-week:before{left:calc(50% - 88px)}
.nb-week:after{left:calc(50% + 58px)}
.nb-ribbon{align-self:center;margin:-3px 0 0;background:var(--lilac);color:var(--on-lilac);font-size:19px;letter-spacing:3px;padding:8px 48px 10px;border-radius:0 0 22px 22px}
.nb-today{align-self:center;max-width:100%;background:var(--accent);color:#fff;font-size:13px;font-weight:700;padding:5px 26px;clip-path:polygon(10px 0,calc(100% - 10px) 0,100% 50%,calc(100% - 10px) 100%,10px 100%,0 50%);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.nb-days{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:6px}
.nb-days li{display:flex;align-items:center;gap:10px;padding:5px 8px;border-radius:999px;background:#fff;border:2px solid #f3e3ea}
.nb-days li.today{background:var(--rose-soft);border-color:var(--accent)}
.nb-gem{flex:none;width:32px;height:32px;display:grid;place-items:center;border-radius:50%;background:#e4e1f5;border:2px solid #fff;box-shadow:0 0 0 2px var(--honey);font-weight:900;font-size:13px}
.nb-days li:nth-child(7n+1) .nb-gem,.nb-days li:nth-child(7n+6) .nb-gem{background:#ffd6e0}
.nb-days li:nth-child(7n+3) .nb-gem{background:#cdefe0}
.nb-days li:nth-child(7n+4) .nb-gem{background:#ffe6b3}
.nb-days li:nth-child(7n+5) .nb-gem{background:#d9ecfa}
.nb-days li.past .nb-gem{background:#ede6e9}
.nb-days li.today .nb-gem{box-shadow:0 0 0 2px var(--accent)}
.nb-title{flex:1;min-width:0;font-weight:700;font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.nb-time{flex:none;min-width:58px;text-align:center;background:var(--lilac);color:var(--on-lilac);font-size:12px;font-weight:700;padding:2px 10px;border-radius:999px}
.nb-progress{display:flex;justify-content:space-between;font-size:13px;font-weight:700;color:var(--muted)}
.nb-week .progress{width:100%;max-width:none;margin:0}
.nb-week .progress i{background:#7fd1ae}
.nb-range{align-self:center;margin-top:-6px;font-size:12px;font-weight:700;color:var(--muted)}
.nb-week-nav{display:flex;align-items:center;justify-content:center;gap:12px}
.nb-week-nav .button{min-width:180px}
.nb-week-nav .icon{width:40px;height:40px;font-size:22px;display:grid;place-items:center;padding:0}
/* Wish-pool cards: vote count with a meter, as in the design. */
.vote-meter{display:flex;justify-content:space-between;font-size:12px;font-weight:700;color:var(--muted)}
.vote-meter b{color:var(--ink)}
.game-body .progress{width:100%;max-width:none;margin:4px 0 14px}
/* Panels hang their first label as a lilac tab from the top border. */
.bottom-grid .paper>.eyebrow:first-child,.ranking-board>.eyebrow:first-child{display:table;margin:-29px auto 14px;clip-path:none;border-radius:0 0 18px 18px;background:var(--lilac);color:var(--on-lilac);padding:6px 28px 8px}
.bottom-grid .note>.eyebrow:first-child{background:var(--accent);color:#fff}
@media(max-width:950px){
.hero.top-notebook{grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-areas:"profile art" "extra art" "week week"}
}
@media(max-width:600px){
.hero.top-notebook{grid-template-columns:minmax(0,1fr);grid-template-areas:"profile" "art" "week" "extra";gap:18px}
.nb-week-nav .button{min-width:0;flex:1}
.top-notebook h1{font-size:32px}
.nb-arch{max-width:240px}
.nb-art .floating-tag{right:0}
}
/* Round icon buttons: centre the glyph; the dialog close button draws its × from two bars so it is exactly centred. */
.icon{display:inline-grid;place-items:center;padding:0;line-height:1}
.close-dialog,.dialog-head .close-dialog{position:relative;width:34px;height:34px;flex:none;font-size:0;color:var(--ink)}
.close-dialog:before,.close-dialog:after{content:'';position:absolute;left:50%;top:50%;width:15px;height:2.5px;border-radius:2px;background:currentColor;transform:translate(-50%,-50%) rotate(45deg)}
.close-dialog:after{transform:translate(-50%,-50%) rotate(-45deg)}
/* Numbers and short English labels use Quicksand; Chinese characters in the same text fall back to the body font. */
.day-date,.day time,.nb-time,.nb-stats b,.nb-progress span:last-child,.rank-number,.rank-votes,.vote-meter b,.time,.brand small,.eyebrow,.pill,.ticker b,.footer-logo span{font-family:var(--font-num)}

/* 直播中: a red LIVE pill in the header and a banner at the top of the homepage while the channel is live. */
.live-dot{width:9px;height:9px;flex:none;border-radius:50%;background:currentColor;box-shadow:0 0 0 0 currentColor}
@media (prefers-reduced-motion:no-preference){.live-dot{animation:live-pulse 1.6s ease-out infinite}}
@keyframes live-pulse{0%{box-shadow:0 0 0 0 color-mix(in srgb,currentColor 60%,transparent)}100%{box-shadow:0 0 0 8px transparent}}
.live-badge{display:inline-flex;align-items:center;gap:8px;padding:8px 16px;border-radius:999px;background:#d7263d;color:#fff;font-weight:900;font-size:14px;text-decoration:none;white-space:nowrap;box-shadow:0 3px 0 #9e1428}
.live-badge:hover{color:#fff;filter:brightness(1.08)}
.live-banner{display:flex;flex-wrap:wrap;align-items:center;gap:6px 14px;margin:0 0 18px;padding:12px 20px;border-radius:22px;background:#fff0f2;border:3px solid #d7263d;color:#4a1420;text-decoration:none;box-shadow:0 8px 20px color-mix(in srgb,#d7263d 18%,transparent)}
.live-banner .live-dot{color:#d7263d}
.live-banner b{font-size:16px;color:#b5172e}
.live-title{flex:1;min-width:12em;font-weight:700;overflow-wrap:anywhere}
.live-meta{font-size:13px;color:#7a3a46}
.live-go{margin-left:auto;font-weight:900;color:#b5172e;white-space:nowrap}
@media(max-width:600px){.live-badge{padding:6px 12px;font-size:12px}.live-go{margin-left:0}}
