/* 會考倒數. The countdown stage is the hero; it stays readable from a phone held upright to a classroom projector. */
:root[data-hk-theme=light]{--a:#4152D6;--b:#7B4BD6;--on-a:#fff;--bg:#F3F4FA;--bg2:#E9EBF6;--panel:#fff;--line:#D8DBEA;--text:#191C32;--dim:#5A5F80;color-scheme:light}
:root[data-hk-theme=dark]{--a:#8E9BFF;--b:#B58CFF;--on-a:#0B0F24;--bg:#070A18;--bg2:#0E1328;--panel:#0E1328;--line:#262D4D;--text:#E9ECFA;--dim:#A3A9C8;color-scheme:dark}
/* Stage palettes, the same four as the story card (STYLES in huikao.js). */
:root,:root[data-hk-style="0"]{--stage1:#161C45;--stage2:#3B2A7C;--glow:rgba(110,130,255,.35);--st:#fff;--st-dim:rgba(255,255,255,.74);--st-grid:rgba(255,255,255,.05);--st-soft:rgba(255,255,255,.1);--st-soft2:rgba(255,255,255,.18);--st-line:rgba(255,255,255,.22);--st-glow:rgba(140,160,255,.45);--gold:#FFD36E;--gold-glow:rgba(255,211,110,.35);--on-gold:#2A1E00;--bar1:#7C8CFF}
:root[data-hk-theme=dark]:not([data-hk-style]),:root[data-hk-theme=dark][data-hk-style="0"]{--stage1:#0B0F24;--stage2:#1F1748;--glow:rgba(90,110,255,.28)}
:root[data-hk-style="1"]{--stage1:#FFF6E5;--stage2:#FFD3C0;--glow:rgba(255,170,90,.35);--st:#2A1E3D;--st-dim:rgba(42,30,61,.72);--st-grid:rgba(42,30,61,.06);--st-soft:rgba(42,30,61,.07);--st-soft2:rgba(42,30,61,.13);--st-line:rgba(42,30,61,.2);--st-glow:transparent;--gold:#E5552D;--gold-glow:rgba(229,85,45,.18);--on-gold:#fff;--bar1:#FFA36B}
:root[data-hk-style="2"]{--stage1:#E4FAF1;--stage2:#AEE8D6;--glow:rgba(60,200,160,.3);--st:#0F3D33;--st-dim:rgba(15,61,51,.72);--st-grid:rgba(15,61,51,.06);--st-soft:rgba(15,61,51,.07);--st-soft2:rgba(15,61,51,.13);--st-line:rgba(15,61,51,.2);--st-glow:transparent;--gold:#0B8A6A;--gold-glow:rgba(11,138,106,.18);--on-gold:#fff;--bar1:#5FD3B0}
:root[data-hk-style="3"]{--stage1:#FFEAF1;--stage2:#FFC3D6;--glow:rgba(255,120,160,.3);--st:#4A1D2E;--st-dim:rgba(74,29,46,.7);--st-grid:rgba(74,29,46,.06);--st-soft:rgba(74,29,46,.07);--st-soft2:rgba(74,29,46,.13);--st-line:rgba(74,29,46,.2);--st-glow:transparent;--gold:#D63E6E;--gold-glow:rgba(214,62,110,.18);--on-gold:#fff;--bar1:#FF8FB0}
.hk-body{background:var(--bg)}
.hk{max-width:1120px;margin:0 auto;padding:4px 20px 56px}
.hk-crumb{display:flex;gap:8px;font-size:13px;color:var(--dim);padding:4px 0 12px}
.hk-crumb a{color:inherit;text-decoration:none}.hk-crumb a:hover{color:var(--a)}

/* Stage */
.hk-stage{position:relative;overflow:hidden;color:var(--st);border-radius:24px;padding:clamp(20px,3.4vw,40px);background:radial-gradient(120% 90% at 50% 38%,var(--glow),transparent 62%),linear-gradient(150deg,var(--stage1),var(--stage2));box-shadow:0 18px 50px -24px rgba(20,24,70,.55);isolation:isolate}
.hk-stage:before{content:'';position:absolute;inset:0;z-index:-1;background-image:linear-gradient(var(--st-grid) 1px,transparent 1px),linear-gradient(90deg,var(--st-grid) 1px,transparent 1px);background-size:44px 44px;mask-image:radial-gradient(ellipse at 50% 45%,#000 30%,transparent 78%)}
.hk-top{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.hk-heading h1{margin:0;font-size:clamp(22px,3vw,32px);font-weight:900;letter-spacing:.02em}
.hk-kicker{margin:4px 0 0;font-size:clamp(13px,1.5vw,15px);color:var(--st-dim)}
.hk-icons{display:flex;gap:6px;flex:none}
.hk-icon{width:44px;height:44px;display:grid;place-items:center;border-radius:12px;border:1px solid var(--st-line);background:var(--st-soft);color:inherit;cursor:pointer;padding:0}
.hk-icon:hover{background:var(--st-soft2)}
.hk-icon svg,.hk-btn svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.hk-icon[aria-pressed=true]{background:var(--st-soft2);border-color:var(--gold);color:var(--gold)}
.hk-goal{margin:6px 0 0;text-align:center;font-weight:700;font-size:clamp(15px,1.9vw,19px);color:var(--st-dim)}
.hk-goal b{color:var(--st)}
.hk-class{margin:14px 0 0;text-align:center;font-weight:900;font-size:clamp(18px,2.6vw,26px);color:var(--gold);letter-spacing:.06em}

.hk-count{display:flex;align-items:flex-end;justify-content:center;gap:clamp(10px,2.2vw,28px);margin:clamp(18px,3vw,34px) 0 clamp(12px,2vw,22px);font-family:var(--tech);font-variant-numeric:tabular-nums}
.hk-hms{display:flex;gap:clamp(10px,2.2vw,28px)}
.hk-cell{display:flex;align-items:baseline;gap:.18em}
.hk-cell b{font-weight:700;line-height:.9;font-size:clamp(56px,9.5vw,128px);letter-spacing:-.02em;text-shadow:0 0 34px var(--st-glow)}
.hk-hms .hk-cell b{min-width:2ch;text-align:center}
.hk-days b{font-size:clamp(84px,15vw,200px);color:var(--gold);text-shadow:0 0 40px var(--gold-glow)}
.hk-cell span{font-family:var(--sans);font-weight:700;font-size:clamp(16px,2vw,24px);color:var(--st-dim)}
.hk-days span{font-size:clamp(20px,2.6vw,32px);color:var(--gold)}

.hk-live{text-align:center;margin:clamp(18px,3vw,32px) 0 6px}
.hk-live-title{margin:0;font-size:clamp(40px,7vw,88px);font-weight:900;color:var(--gold);line-height:1.15}
.hk-live-sub{margin:10px 0 0;font-size:clamp(18px,2.6vw,28px);font-weight:700}
.hk-live-sub a{color:inherit}
.hk-live-note{margin:6px 0 0;font-size:13px;color:var(--st-dim)}
.hk-live-note:empty,.hk-live-sub:empty{display:none}

.hk-bar{height:8px;border-radius:99px;background:var(--st-soft);overflow:hidden;max-width:760px;margin:0 auto}
.hk-bar i{display:block;height:100%;width:0;border-radius:inherit;background:linear-gradient(90deg,var(--bar1),var(--gold));transition:width .6s}
.hk-meta{display:flex;justify-content:center;flex-wrap:wrap;gap:4px 18px;margin:10px 0 0;font-size:14px;color:var(--st-dim)}
.hk-meta span:empty{display:none}
.hk-line{max-width:760px;margin:clamp(18px,2.6vw,28px) auto 0;text-align:center;font-size:clamp(17px,2.2vw,22px);font-weight:700;line-height:1.6}
.hk-line small{display:block;font-size:12px;font-weight:700;letter-spacing:.2em;color:var(--gold);margin-bottom:4px}

.hk-actions{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin-top:clamp(18px,2.6vw,28px)}
.hk-gap{flex:1}
.hk-btn{min-height:44px;display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:8px 16px;border-radius:12px;border:1px solid var(--line);background:var(--panel);color:var(--text);font:inherit;font-weight:700;font-size:15px;cursor:pointer;text-decoration:none;white-space:nowrap}
.hk-btn:hover{border-color:var(--a)}
.hk-btn.primary{background:var(--a);border-color:var(--a);color:var(--on-a)}
.hk-stage .hk-btn{background:var(--st-soft);border-color:var(--st-line);color:var(--st)}
.hk-stage .hk-btn:hover{background:var(--st-soft2)}
.hk-stage .hk-btn-story{background:linear-gradient(135deg,#FF7A59,#D63E9A 55%,#7B4BD6);border-color:transparent}
.hk-check[aria-pressed=true]{background:var(--gold)!important;color:var(--on-gold)!important;border-color:var(--gold)!important}
.hk-check.hk-pop{animation:hk-pop .45s ease}
@keyframes hk-pop{40%{transform:scale(1.08)}100%{transform:none}}
.hk-streak{font-size:14px;color:var(--st-dim)}
.hk-sync{margin:14px 0 0;font-size:12px;color:var(--st-dim)}
.hk-sync[data-state=ok]:before{content:'● ';color:#5CFF9D}

/* Settings below the stage */
.hk-panel{display:grid;grid-template-columns:1.1fr 1fr 1.1fr 1fr;gap:16px;margin-top:16px}
.hk-field{display:flex;flex-direction:column;gap:8px;padding:18px;border:1px solid var(--line);border-radius:16px;background:var(--panel)}
.hk-field label,.hk-label{font-weight:900;font-size:15px}
.hk-field small{color:var(--dim);font-size:12.5px;line-height:1.6}
.hk-field .field{max-width:none;font-size:16px}
.hk-row{display:flex;gap:8px;align-items:center}
.hk-row .field{flex:1;min-width:0}
.hk-row-end{justify-content:flex-end}
.hk-link{background:none;border:0;padding:6px 0;color:var(--a);font:inherit;font-size:14px;font-weight:700;cursor:pointer;text-align:left;width:fit-content;min-height:36px}

/* Reference sections */
.hk-info{max-width:820px;margin:28px auto 0;line-height:1.85}
.hk-info h2{font-size:22px;margin:40px 0 12px}
.hk-info h3{font-size:16px;margin:0 0 8px}
.hk-info p{color:var(--text)}
.hk-note{font-size:13px;color:var(--dim)!important}
.hk-table{overflow-x:auto;border:1px solid var(--line);border-radius:12px;background:var(--panel)}
.hk-table table{width:100%;border-collapse:collapse;font-size:15px}
.hk-table th,.hk-table td{padding:10px 14px;text-align:left;border-bottom:1px solid var(--line);vertical-align:top}
.hk-table th{font-size:13px;color:var(--dim);background:var(--bg2)}
.hk-table tr:last-child td{border-bottom:0}
.hk-days-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.hk-links{list-style:none;padding:0;margin:0;display:grid;gap:8px}
.hk-links li{display:flex;flex-wrap:wrap;gap:4px 12px;align-items:baseline;padding:12px 16px;border:1px solid var(--line);border-radius:12px;background:var(--panel)}
.hk-links a{font-weight:700;color:var(--a)}
.hk-links span{font-size:13px;color:var(--dim)}
.hk-info details{border-bottom:1px solid var(--line);padding:6px 0}
.hk-info summary{cursor:pointer;font-weight:700;min-height:44px;display:flex;align-items:center}
.hk-help{margin-top:40px;padding:20px 22px;border-radius:16px;background:var(--bg2);border:1px solid var(--line)}
.hk-help h2{margin-top:0}
.hk-help ul{list-style:none;padding:0;margin:0;display:grid;gap:10px}
.hk-help li{display:flex;flex-wrap:wrap;gap:4px 14px;align-items:baseline}
.hk-help a{font:700 20px var(--tech);color:var(--a);text-decoration:none}
.hk-help span{font-size:13px;color:var(--dim)}

/* Dialogs */
.hk-dialog{border:0;border-radius:20px;padding:20px;width:min(440px,calc(100vw - 24px));background:var(--panel);color:var(--text);box-shadow:0 30px 80px rgba(0,0,0,.35)}
.hk-dialog::backdrop{background:rgba(8,10,30,.55);backdrop-filter:blur(3px)}
.hk-dialog-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}
.hk-dialog-head h2{margin:0;font-size:19px}
.hk-dialog .hk-icon{border-color:var(--line);background:var(--bg2)}
.hk-qr{display:flex;flex-direction:column;align-items:center;gap:6px;margin-bottom:14px}
.hk-qr canvas{width:220px;height:220px;border-radius:12px;border:1px solid var(--line)}
.hk-qr small{color:var(--dim)}
.hk-apps{display:grid;grid-template-columns:repeat(2,1fr);gap:8px;margin-top:12px}
.hk-app{min-height:48px;display:flex;align-items:center;justify-content:center;border-radius:12px;font-weight:900;font-size:15px;text-decoration:none;color:#fff;border:0;cursor:pointer;font-family:inherit}
.hk-app-line{background:#06C755}.hk-app-fb{background:#1877F2}.hk-app-threads{background:#111}
#hk-to-more{background:var(--bg2);color:var(--text);border:1px solid var(--line)}
.hk-story-dialog{width:min(760px,calc(100vw - 24px))}
.hk-story-body{display:grid;grid-template-columns:minmax(0,260px) 1fr;gap:20px;align-items:start}
.hk-story-body img{width:100%;height:auto;border-radius:14px;background:var(--bg2);border:1px solid var(--line)}
.hk-story-side{display:flex;flex-direction:column;gap:12px}
.hk-story-side small{color:var(--dim);line-height:1.7}
.hk-chips{display:flex;flex-wrap:wrap;gap:8px}
.hk-chip{min-height:40px;padding:6px 14px;border-radius:99px;border:1px solid var(--line);background:var(--bg2);color:var(--text);font:inherit;font-weight:700;cursor:pointer}
.hk-chip[aria-pressed=true]{background:var(--a);border-color:var(--a);color:var(--on-a)}
.hk-check-row{display:flex;align-items:center;gap:8px;font-weight:700;min-height:40px}
.hk-check-row input{width:20px;height:20px}

/* Fullscreen and the window-sized fallback: only the countdown, sized to the screen. */
.hk-stage:fullscreen,.hk-focus .hk-stage{border-radius:0;display:flex;flex-direction:column;justify-content:center;padding:4vmin 5vmin}
.hk-focus .hk-stage{position:fixed;inset:0;z-index:100;height:100vh;height:100dvh}
.hk-focus body{overflow:hidden}
.hk-stage:fullscreen .hk-actions,.hk-stage:fullscreen .hk-sync,.hk-stage:fullscreen #hk-share-top,.hk-stage:fullscreen #hk-theme,
.hk-focus .hk-actions,.hk-focus .hk-sync,.hk-focus #hk-share-top,.hk-focus #hk-theme{display:none}
.hk-stage:fullscreen .hk-top,.hk-focus .hk-top{position:absolute;top:3vmin;left:5vmin;right:5vmin}
.hk-stage:fullscreen .hk-cell b,.hk-focus .hk-cell b{font-size:min(10vw,24vh)}
.hk-stage:fullscreen .hk-days b,.hk-focus .hk-days b{font-size:min(15vw,32vh)}
.hk-stage:fullscreen .hk-cell span,.hk-focus .hk-cell span{font-size:min(2.4vw,4.5vh)}
.hk-stage:fullscreen .hk-count,.hk-focus .hk-count,.hk-stage:fullscreen .hk-hms,.hk-focus .hk-hms{gap:min(2.4vw,4vh)}
.hk-stage:fullscreen .hk-goal,.hk-focus .hk-goal{font-size:min(2.6vw,4vh)}
.hk-stage:fullscreen .hk-line,.hk-focus .hk-line{font-size:min(3vw,4.4vh);max-width:80vw}
.hk-stage:fullscreen .hk-class,.hk-focus .hk-class{font-size:min(4vw,6vh)}

/* Phones held upright: days on their own line, hours to seconds below. */
/* Classroom projectors are mostly 4:3 or 5:4: stack days over hours to seconds so the digits use the height. */
@media (max-aspect-ratio:3/2) and (min-width:701px){
  .hk-stage:fullscreen .hk-count,.hk-focus .hk-count{flex-direction:column;align-items:center;gap:3vh}
  .hk-stage:fullscreen .hk-days b,.hk-focus .hk-days b{font-size:min(30vw,33vh)}
  .hk-stage:fullscreen .hk-hms .hk-cell b,.hk-focus .hk-hms .hk-cell b{font-size:min(16vw,19vh)}
  .hk-stage:fullscreen .hk-cell span,.hk-focus .hk-cell span{font-size:min(3.4vw,3.6vh)}
  .hk-stage:fullscreen .hk-days span,.hk-focus .hk-days span{font-size:min(5vw,5vh)}
  .hk-stage:fullscreen .hk-hms,.hk-focus .hk-hms{gap:min(4vw,4vh)}
  .hk-stage:fullscreen .hk-line,.hk-focus .hk-line{font-size:min(3.6vw,3.6vh)}
}
@media (max-width:1000px){.hk-panel{grid-template-columns:1fr 1fr}}
@media (max-width:700px){
  .hk{padding:0 12px 40px}
  .hk-stage{border-radius:20px}
  .hk-count{flex-direction:column;align-items:center;gap:10px}
  .hk-days b{font-size:min(34vw,170px)}
  .hk-hms .hk-cell b{font-size:min(15vw,76px)}
  .hk-actions{gap:8px}
  .hk-gap{display:none}
  .hk-streak{order:5;width:100%;text-align:center}
  .hk-actions .hk-btn{flex:1 1 auto}
  .hk-check{flex-basis:100%!important}
  .hk-panel{grid-template-columns:1fr}
  .hk-days-grid{grid-template-columns:1fr}
  .hk-story-body{grid-template-columns:1fr}
  .hk-story-body img{max-width:220px;margin:0 auto}
  .hk-stage:fullscreen .hk-count,.hk-focus .hk-count{gap:3vh}
  .hk-stage:fullscreen .hk-days b,.hk-focus .hk-days b{font-size:min(36vw,30vh)}
  .hk-stage:fullscreen .hk-hms .hk-cell b,.hk-focus .hk-hms .hk-cell b{font-size:min(16vw,14vh)}
  .hk-stage:fullscreen .hk-line,.hk-focus .hk-line{font-size:min(4.6vw,3vh)}
  .hk-stage:fullscreen .hk-cell span,.hk-focus .hk-cell span{font-size:min(5vw,3vh)}
  .hk-stage:fullscreen .hk-days span,.hk-focus .hk-days span{font-size:min(7vw,4vh)}
}

/* Phones on their side: little height, so everything sits on one row and the extras step aside. */
@media (orientation:landscape) and (max-height:520px){
  .hk-stage{padding:14px 20px}
  .hk-count{flex-direction:row;align-items:flex-end;margin:10px 0}
  .hk-days b{font-size:min(14.5vw,36vh)}
  .hk-hms .hk-cell b{font-size:min(9.5vw,26vh)}
  .hk-line{margin-top:10px;font-size:15px}
  .hk-kicker{display:none}
  .hk-stage:fullscreen .hk-count,.hk-focus .hk-count{flex-direction:row}
  .hk-stage:fullscreen .hk-days b,.hk-focus .hk-days b{font-size:min(14.5vw,40vh)}
  .hk-stage:fullscreen .hk-hms .hk-cell b,.hk-focus .hk-hms .hk-cell b{font-size:min(9.5vw,28vh)}
  .hk-stage:fullscreen .hk-line,.hk-focus .hk-line{display:none}
}

@media (prefers-reduced-motion:reduce){.hk-bar i{transition:none}}
.hk-swatch{display:inline-block;width:14px;height:14px;border-radius:50%;margin-right:6px;vertical-align:-2px;border:1px solid rgba(0,0,0,.12)}
.hk-swatch-0{background:linear-gradient(135deg,#161C45,#3B2A7C)}.hk-swatch-1{background:linear-gradient(135deg,#FFF6E5,#FFD3C0)}.hk-swatch-2{background:linear-gradient(135deg,#E4FAF1,#AEE8D6)}.hk-swatch-3{background:linear-gradient(135deg,#FFEAF1,#FFC3D6)}
.hk-swatch-custom{background:conic-gradient(#ff5f5f,#ffd54f,#7ee081,#5fc8ff,#a98bff,#ff7ab8,#ff5f5f)}
.hk-custom{display:flex;flex-direction:column;gap:10px}
.hk-swatches{display:grid;grid-template-columns:repeat(6,1fr);gap:8px;max-width:300px}
.hk-swatch-btn{aspect-ratio:1;min-width:36px;border-radius:10px;border:1px solid rgba(0,0,0,.15);cursor:pointer;padding:0}
.hk-swatch-btn[aria-pressed=true]{outline:3px solid var(--a);outline-offset:2px}
.hk-picker{display:flex;align-items:center;gap:10px;font-size:14px;font-weight:700;cursor:pointer;min-height:44px}
.hk-picker input{width:48px;height:40px;padding:0;border:1px solid var(--line);border-radius:10px;background:none;cursor:pointer}
/* Phones with a large font setting (LINE and other in-app browsers enlarge text): the title stays on one line and the buttons move below it when there is no room. */
.hk-top{flex-wrap:wrap}.hk-heading{min-width:0;flex:1 1 160px}.hk-heading h1{white-space:nowrap}.hk-icons{margin-left:auto}
.hk-goal-picks{gap:6px}.hk-goal-picks .hk-chip{min-height:34px;padding:4px 12px;font-size:13.5px}
/* Phones without <dialog> (iOS before 15.4) show the panels as fixed boxes. */
dialog.hk-dialog:not([open]){display:none}
dialog.hk-dialog[open]{position:fixed;inset:0;margin:auto;max-height:90vh;overflow:auto;z-index:200}
.hk-small-chips{gap:6px}.hk-small-chips .hk-chip{min-height:36px;padding:4px 12px;font-size:13.5px}
.hk-stickers .hk-chip{min-width:44px;font-size:20px;padding:4px 8px}
.hk-story-side{max-height:min(78vh,760px);overflow-y:auto;padding-right:4px}
.hk-disclaimer{margin-top:40px;padding-top:18px;border-top:1px solid var(--line)}.hk-disclaimer h2{font-size:14px;margin:0 0 8px;color:var(--dim)}.hk-disclaimer p{font-size:12.5px;line-height:1.8;color:var(--dim)!important;margin:0 0 6px}
.hk-install-row{display:flex;flex-wrap:wrap;align-items:center;gap:4px 12px;margin:10px 4px 0}.hk-install-row .hk-link{display:inline-flex;align-items:center;gap:6px}.hk-install-row svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.hk-install-row small{color:var(--dim);font-size:13px}
/* Links to the other exam pages and the study timer, under the panel. */
.hk-more{margin:14px 0 0}.hk-more .hk-links{grid-template-columns:repeat(auto-fit,minmax(240px,1fr))}
.hk-follow{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px 20px;margin:14px 0 0;padding:16px 18px;border:1px solid var(--line);border-radius:16px;background:var(--panel)}.hk-follow h2{font-size:17px;margin:0}.hk-follow p{margin:2px 0 0;font-size:13px;color:var(--dim)}.hk-follow ul{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:8px}.hk-follow a{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:6px 14px 6px 10px;border-radius:999px;color:#fff;text-decoration:none;line-height:1.2}.hk-follow a:hover{filter:brightness(1.1)}.hk-follow a:focus-visible{outline:3px solid var(--a);outline-offset:2px}.hk-follow svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:none}.hk-follow b{display:block;font-size:14px}.hk-follow small{display:block;font-size:12px;opacity:.85}.hk-follow-facebook{background:#1877F2}.hk-follow-instagram{background:linear-gradient(45deg,#F58529,#DD2A7B 55%,#8134AF)}.hk-follow-threads{background:#111}
/* Days-left column of the schedule (學測 page). */
.hk-table td[data-left-at]{white-space:nowrap;font-variant-numeric:tabular-nums;font-weight:700;color:var(--a)}
.hk-table td[data-state="now"]{color:var(--text)}
.hk-table tr:has(td[data-state="past"]){opacity:.55}.hk-table td[data-state="past"]{font-weight:400;color:var(--dim)}
#hk-card-colors{display:flex;flex-direction:column;gap:8px}#hk-card-colors[hidden]{display:none}
/* 大字款 on the page: a left-aligned poster with one huge number, a colour stripe and answer-sheet dots. */
.hk-color-mode[hidden]{display:none}
:root[data-hk-layout=big] .hk-stage{box-shadow:inset 14px 0 0 var(--gold),0 18px 50px -24px rgba(20,24,70,.55);padding-left:calc(clamp(20px,3.4vw,40px) + 14px)}
:root[data-hk-layout=big] .hk-stage:before{background-image:radial-gradient(circle,transparent 9px,var(--st-soft) 10px,var(--st-soft) 12px,transparent 13px);background-size:46px 46px;mask-image:linear-gradient(225deg,rgba(0,0,0,.9) 0,rgba(0,0,0,.35) 25%,transparent 45%);-webkit-mask-image:linear-gradient(225deg,rgba(0,0,0,.9) 0,rgba(0,0,0,.35) 25%,transparent 45%)}
:root[data-hk-layout=big] .hk-count{flex-direction:column;align-items:flex-start;gap:4px}
:root[data-hk-layout=big] .hk-days b{font-size:clamp(120px,22vw,300px);color:var(--st);text-shadow:none;letter-spacing:-.03em}
:root[data-hk-layout=big] .hk-days span{font-size:clamp(28px,4vw,52px);color:var(--gold)}
:root[data-hk-layout=big] .hk-hms .hk-cell b{font-size:clamp(40px,6.5vw,88px);text-shadow:none}
:root[data-hk-layout=big] .hk-class,:root[data-hk-layout=big] .hk-goal,:root[data-hk-layout=big] .hk-line,:root[data-hk-layout=big] .hk-live{text-align:left}
:root[data-hk-layout=big] .hk-meta{justify-content:flex-start}
:root[data-hk-layout=big] .hk-bar{margin:0;max-width:none}
:root[data-hk-layout=big] .hk-line{margin-left:0;max-width:none;border-left:6px solid var(--gold);padding-left:16px}
:root[data-hk-layout=big] .hk-line small{letter-spacing:.1em}
:root[data-hk-layout=big] .hk-stage:fullscreen .hk-days b,:root[data-hk-layout=big].hk-focus .hk-days b{font-size:min(30vw,42vh)}
:root[data-hk-layout=big] .hk-stage:fullscreen .hk-hms .hk-cell b,:root[data-hk-layout=big].hk-focus .hk-hms .hk-cell b{font-size:min(10vw,15vh)}
@media (max-width:700px){:root[data-hk-layout=big] .hk-days b{font-size:min(44vw,220px)}:root[data-hk-layout=big] .hk-hms .hk-cell b{font-size:min(13vw,64px)}}
:root[data-hk-days-only] .hk-hms{display:none}
