body.page-score {box-sizing:border-box;margin:0;padding:0}body.page-score {--g:#1F4D3A;--r:#F4EFE4;--red:#C8402F;--y:#F2C14E;--m:#A8D5BA;--ink:#1B1B1B;--paper:#fff8ea;--soju:#3E7CB1;--mak:#D9822B}body.page-score,
body.page-score {height:100%}body.page-score {background:var(--r);font-family:Inter,'Noto Sans KR',system-ui,sans-serif;color:var(--ink);font-size:16px;line-height:1.3;overflow:hidden}body.page-score button {font:inherit;color:inherit;cursor:pointer}body.page-score .app {max-width:480px;margin:0 auto;height:100vh;height:100dvh;display:flex;flex-direction:column}body.page-score .app>* {flex:none}body.page-score /* header: one band,
body.page-score three columns */
.abar {background:var(--g);color:var(--r);padding:6px 12px 7px;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:8px}body.page-score .abar .who {font:500 11px 'DM Mono',monospace;letter-spacing:1px;line-height:1.55;white-space:nowrap}body.page-score .abar .who b {display:block;font-weight:500;color:var(--y)}body.page-score .abar .hn {text-align:center;font:900 40px Fraunces,serif;line-height:.86;color:var(--y)}body.page-score .abar .hn small {display:block;font:500 10px 'DM Mono',monospace;color:var(--r);letter-spacing:2px;margin-bottom:2px}body.page-score .abar .meta {text-align:right;font:500 12px 'DM Mono',monospace;line-height:1.55;letter-spacing:.5px;white-space:nowrap}body.page-score /* match bar */
.lstrip {position:relative;display:block;text-align:center;background:var(--ink);color:#fff;text-decoration:none;padding:7px 10px 7px;border-top:2px solid var(--ink)}body.page-score .lstrip .ln {display:flex;justify-content:center;align-items:center;gap:6px;font:800 clamp(15px,4.6vw,19px) Inter,sans-serif;white-space:nowrap;overflow:hidden}body.page-score .lstrip b {font:900 clamp(28px,8.6vw,34px) Fraunces,serif;color:var(--y);line-height:1}body.page-score .lstrip .dash {font:900 22px Fraunces,serif;color:var(--y);margin:0 -2px}body.page-score .tdot {display:inline-block;width:12px;height:12px;border-radius:50%;border:2px solid #fff;flex:none}body.page-score .tdot.soju {background:var(--soju)}body.page-score .tdot.mak {background:var(--mak)}body.page-score .lstrip .tn {border-bottom:3px solid;padding-bottom:1px;line-height:1.1}body.page-score .lstrip .tn.soju {border-color:var(--soju)}body.page-score .lstrip .tn.mak {border-color:var(--mak)}body.page-score .lstrip .go {position:absolute;right:9px;top:50%;transform:translateY(-52%);font:400 26px Inter,sans-serif;color:#8d8d8d;line-height:1}body.page-score .lsub {display:block;font:500 10.5px 'DM Mono',monospace;letter-spacing:1px;color:#cfcfcf;margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}body.page-score /* hole strip + legend */
.strip {display:flex;gap:3px;padding:6px 8px;background:var(--paper);border-top:2px solid var(--ink)}body.page-score .strip span, body.page-score .strip button {flex:1 1 0;min-width:0;height:26px;border-radius:6px;border:2px solid var(--ink);font:500 11px 'DM Mono',monospace;display:flex;align-items:center;justify-content:center;background:#fffdf7;overflow:hidden}body.page-score .strip span, body.page-score .strip button {position:relative}body.page-score .strip span, body.page-score .strip button.sp {overflow:visible}body.page-score .strip span, body.page-score .strip button.sp em {position:absolute;top:-9px;left:50%;transform:translateX(-50%);font:800 8px/1 Inter,sans-serif;font-style:normal;letter-spacing:0;padding:1px 2px 1px;border-radius:3px;background:var(--ink);color:var(--y);border:1px solid var(--paper);white-space:nowrap;z-index:1}body.page-score .strip span, body.page-score .strip button.sp.c em {background:var(--red);color:#fff}body.page-score .strip.has-sp {padding-top:10px!important}body.page-score .strip .done {background:var(--g);color:var(--y);border-color:var(--g)}body.page-score .strip .c {background:var(--y);box-shadow:2px 2px 0 var(--ink);font-weight:700;border-width:3px}body.page-score .legend {display:flex;align-items:center;gap:8px;padding:3px 6px 3px 8px;background:var(--paper);border-bottom:2px solid var(--ink);font:700 10px Inter,sans-serif;white-space:nowrap}body.page-score .legend i {display:inline-block;width:12px;height:12px;border-radius:3px;border:1.5px solid var(--ink);margin-right:4px;vertical-align:-2px}body.page-score .legend i.done {background:var(--g);border-color:var(--g)}body.page-score .legend i.pending {background:#8fce9f;border-color:#1f6b3a}body.page-score .legend i.c {background:var(--y);box-shadow:2px 2px 0 var(--ink)}body.page-score .legend .sp {flex:1}body.page-score .card-chip {flex:none;display:inline-flex;align-items:center;gap:5px;height:32px;padding:0 11px 0 9px;border-radius:999px;border:2px solid var(--ink);background:var(--g);color:var(--r);font:800 12px Inter,sans-serif;box-shadow:2px 2px 0 var(--ink);text-decoration:none}body.page-score .card-chip svg {width:16px;height:16px;fill:none;stroke:var(--y);stroke-width:2;stroke-linejoin:round}body.page-score /* host notice (always shown) */
.note {margin:6px 8px 0;display:flex;align-items:center;gap:6px;background:var(--y);border:2px solid var(--ink);border-radius:10px;padding:3px 8px 3px 6px;font-size:12px;min-height:30px}body.page-score .note .kim {flex:none}body.page-score .note .av {width:20px;height:20px;border-radius:50%;background:var(--m);border:1.5px solid var(--ink);flex:none;display:flex;align-items:center;justify-content:center;font-size:11px}body.page-score .note span {flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}body.page-score .note button {flex:none;width:32px;height:26px;border:0;background:transparent;font:800 16px Inter,sans-serif}body.page-score .note.gone {display:none}body.page-score /* 2x2 grid */
.grid {flex:1 1 auto;min-height:0;display:grid;grid-template-columns:1fr 1fr;grid-template-rows:repeat(2,minmax(0,170px));align-content:start;gap:8px;padding:8px}body.page-score .tile {--tc:var(--soju);border-left:8px solid var(--tc)!important;min-width:0;min-height:0;background:#fffdf7;border:2px solid var(--ink);border-radius:14px;box-shadow:3px 3px 0 var(--ink);padding:8px 8px 7px;display:flex;flex-direction:column;justify-content:space-between;overflow:hidden}body.page-score .tile .nm {display:flex;align-items:center;gap:5px;min-width:0}body.page-score .tile .nm b {font:800 16px Inter,sans-serif;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}body.page-score .tile.mak {--tc:var(--mak)}body.page-score .tm {display:block;font:800 9.5px Inter,sans-serif;letter-spacing:1.2px;text-transform:uppercase;color:var(--tc);line-height:1.1;margin-bottom:1px;filter:brightness(.85)}body.page-score .mk {flex:none;width:10px;height:10px;border-radius:50%;background:var(--tc);border:1.5px solid var(--ink)}body.page-score .tile .info {display:flex;justify-content:space-between;gap:6px;font:500 10px 'DM Mono',monospace;letter-spacing:.2px;line-height:1.35;margin-top:2px;white-space:nowrap}body.page-score .tile .tp {color:var(--red);font:800 17px Inter,sans-serif;letter-spacing:0;margin-top:3px;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}body.page-score .tile .tp.e {color:var(--ink)}body.page-score .tile .tp.u {color:var(--g)}body.page-score .ctr {display:flex;align-items:center;justify-content:space-between;gap:4px;margin-top:4px}body.page-score .ctr button {flex:none;width:44px;height:44px;border-radius:12px;border:2px solid var(--ink);background:var(--r);box-shadow:2px 2px 0 var(--ink);font:800 24px Inter,sans-serif;line-height:1;display:flex;align-items:center;justify-content:center}body.page-score .ctr button.p {background:var(--y)}body.page-score .sc {flex:1;min-width:0;text-align:center;position:relative;line-height:1}body.page-score .sc .st {display:block;height:7px;line-height:7px;font-size:0}body.page-score .sc .st i {display:inline-block;width:5px;height:5px;border-radius:50%;background:var(--g);margin:0 1px}body.page-score .sc .v {display:block;font:900 32px Fraunces,serif;color:var(--g);line-height:1}body.page-score .sc small {display:block;font:500 10px 'DM Mono',monospace;margin-top:1px}body.page-score /* bottom dock */
.sub {display:grid;grid-template-columns:48px minmax(0,1fr) 48px;gap:8px;align-items:center;padding:8px 10px;border-top:2px solid var(--ink);background:var(--r)}body.page-score .circ {width:48px;height:48px;border-radius:50%;border:2px solid var(--ink);background:#fffdf7;font:600 22px Inter,sans-serif;display:flex;align-items:center;justify-content:center}body.page-score .btn.green {min-height:48px;border-radius:999px;border:2px solid var(--ink);background:var(--g);color:var(--r);font:700 16px Inter,sans-serif;box-shadow:3px 3px 0 var(--ink);white-space:nowrap}body.page-score .tabbar {display:grid;grid-template-columns:repeat(4,1fr);background:var(--ink);border-top:3px solid var(--y);padding-bottom:env(safe-area-inset-bottom)}body.page-score .tabbar a {display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-height:clamp(52px,7.5dvh,64px);color:#fff;text-decoration:none;font:700 12.5px Inter,sans-serif}body.page-score .tabbar a svg {width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}body.page-score .tabbar a.on {background:var(--y);color:var(--ink)}

@media (min-height:760px) {body.page-score .tile {padding:10px 10px 9px}body.page-score .tile .nm b {font-size:17px}body.page-score .tile .info {font-size:11px}body.page-score .tile .tp {font-size:20px}body.page-score .ctr button {width:52px;height:52px;font-size:28px}body.page-score .sc .v {font-size:40px}body.page-score .sc small {font-size:11px}
}
@media (max-width:370px) {body.page-score .lstrip .ln {font-size:16px;gap:5px}}
/* short screens (e.g. 360x640): trim chrome slightly so tiles keep their room */
@media (max-height:700px) {body.page-score .lstrip {padding:4px 22px 5px}body.page-score .lstrip .ln {height:30px}body.page-score .lstrip .go {position:absolute;right:9px;top:50%;transform:translateY(-52%);font:400 26px Inter,sans-serif;color:#8d8d8d;line-height:1}body.page-score .lsub {margin-top:0}body.page-score .tile .tp {margin-top:1px;line-height:1.2}body.page-score .ctr {margin-top:2px}body.page-score .legend {padding:2px 6px 2px 8px}body.page-score .lstrip b {font-size:28px}body.page-score .lstrip .go {position:absolute;right:9px;top:50%;transform:translateY(-52%);font:400 26px Inter,sans-serif;color:#8d8d8d;line-height:1}body.page-score .lsub {font-size:9.5px}body.page-score .strip {padding:5px 6px}body.page-score .strip span, body.page-score .strip button {height:24px;font-size:10px}body.page-score .grid {gap:6px;padding:6px 6px 7px}body.page-score .tile {padding:6px 7px}body.page-score .tile .nm b {font-size:15px}body.page-score .sc .v {font-size:28px}body.page-score .sub {padding:6px 10px}body.page-score .circ {width:44px;height:44px}body.page-score .sub {grid-template-columns:44px minmax(0,1fr) 44px}body.page-score .btn.green {min-height:44px;font-size:15px}
}body.page-score /* ===== v8 (Andy feedback round 8) ===== */
.abar {padding:10px 14px;align-items:center;grid-template-columns:1fr auto 1fr}body.page-score .abar .who,
body.page-score .abar .meta {font:500 11.5px/17px 'DM Mono',monospace;letter-spacing:.8px;white-space:nowrap;align-self:center}body.page-score .abar .who b {display:block;font-weight:500;color:var(--y);line-height:17px}body.page-score .abar .meta {text-align:right}body.page-score .abar .hn {font:900 38px/1 Fraunces,serif;padding-top:1px}body.page-score .abar .hn small {font:500 10px/12px 'DM Mono',monospace;margin:0 0 1px;letter-spacing:2px}body.page-score .lstrip {padding:8px 34px}body.page-score .lstrip .ln {height:auto;gap:7px;font:800 17px Inter,sans-serif}body.page-score .lstrip .ln .nm2 {line-height:1}body.page-score .lstrip b {font:900 26px/1 Fraunces,serif;color:var(--y)}body.page-score .lstrip .dash {font:900 20px/1 Fraunces,serif;color:var(--y);margin:0}body.page-score .lstrip .tdot {width:13px;height:13px}body.page-score .lstrip .go {right:12px;font-size:28px;color:#bdbdbd}body.page-score .strip,
body.page-score .strip.has-sp {gap:3px;padding:14px 8px 6px!important}body.page-score .strip span, body.page-score .strip button {height:26px;border-width:1.5px;border-radius:6px;font:600 11px/1 'DM Mono',monospace;font-variant-numeric:tabular-nums;letter-spacing:-.3px;padding:0}body.page-score .strip .c {border-width:1.5px;box-shadow:inset 0 0 0 1.5px var(--ink);outline:0;font-weight:800;background:var(--y)}body.page-score .strip span, body.page-score .strip button.sp em {top:-12px;font:800 8.5px/1 Inter,sans-serif;padding:1.5px 3px;border-radius:3px;border:0;letter-spacing:.2px}body.page-score .strip span, body.page-score .strip button.done.sp em {background:var(--ink)}body.page-score .note {margin:7px 8px 0}body.page-score .note span {white-space:normal;overflow:visible;text-overflow:clip;line-height:1.25}body.page-score .grid {grid-template-rows:repeat(2,minmax(0,200px));align-content:space-evenly;gap:0 8px;padding:6px 8px}body.page-score .tile {padding:11px 9px 8px;justify-content:flex-start;gap:0}body.page-score .tile .tm {font-size:10px;margin-bottom:2px}body.page-score .tile .nm b {font-size:17px;line-height:1.15}body.page-score .tile .info {font-size:10.5px;margin-top:2px}body.page-score .tile .tp {font:800 19px/1.15 Inter,sans-serif;margin-top:3px;text-align:center}body.page-score .ctr {justify-content:center;gap:8px;margin-top:auto;padding-top:4px;align-items:center}body.page-score .ctr button {width:44px;height:44px}body.page-score .sc {flex:0 0 auto;min-width:40px}body.page-score .sc .st {height:6px;line-height:6px;margin-bottom:3px}body.page-score .sc .v {font:900 36px/1 Fraunces,serif;color:var(--g);font-variant-numeric:tabular-nums}body.page-score .sc small {font:500 10.5px/1.2 'DM Mono',monospace;margin-top:2px;white-space:nowrap}body.page-score .ro {margin-top:auto}
@media (min-height:760px) {body.page-score .abar {padding:12px 14px}body.page-score .lstrip {padding:10px 34px}body.page-score .lstrip .ln {font-size:18px}body.page-score .lstrip b {font-size:28px}body.page-score .strip,
body.page-score .strip.has-sp {padding:15px 8px 7px!important}body.page-score .strip span, body.page-score .strip button {height:28px;font-size:12px}body.page-score .note {margin-top:8px}body.page-score .grid {grid-template-rows:repeat(2,minmax(0,206px));row-gap:10px;padding:8px}body.page-score .tile {padding:14px 11px 10px}body.page-score .tile .tm {font-size:10.5px;margin-bottom:3px}body.page-score .tile .nm b {font-size:20px}body.page-score .tile .info {font-size:11.5px;margin-top:3px}body.page-score .tile .tp {font-size:23px;margin-top:6px}body.page-score .ctr {gap:10px}body.page-score .ctr button {width:52px;height:52px;font-size:28px}body.page-score .sc .v {font-size:46px}body.page-score .sc .st {margin-bottom:4px}body.page-score .sc small {font-size:11.5px}
}
@media (max-height:700px) {body.page-score .abar {padding:8px 12px}body.page-score .abar .hn {font-size:34px}body.page-score .lstrip {padding:6px 32px}body.page-score .lstrip .ln {height:auto;font-size:16px}body.page-score .lstrip b {font-size:24px}body.page-score .strip,
body.page-score .strip.has-sp {padding:13px 7px 5px!important}body.page-score .strip span, body.page-score .strip button {height:24px;font-size:10.5px}body.page-score .legend {padding:2px 6px 2px 8px}body.page-score .card-chip,
body.page-score .kp-pill {height:30px}body.page-score .note {margin-top:6px;min-height:28px;padding:2px 8px 2px 6px}body.page-score .grid {grid-template-rows:repeat(2,minmax(0,1fr));align-content:stretch;gap:7px 6px;padding:10px 6px 7px}body.page-score .tile {padding:8px 8px 6px}body.page-score .tile .tm {font-size:9.5px;margin-bottom:1px}body.page-score .tile .nm b {font-size:16px}body.page-score .tile .info {margin-top:1px}body.page-score .tile .tp {font-size:17px;margin-top:1px}body.page-score .ctr {padding-top:2px;gap:6px}body.page-score .ctr button {width:42px;height:42px;font-size:22px}body.page-score .sc .v {font-size:32px}body.page-score .sc .st {height:5px;margin-bottom:2px}body.page-score .sc small {font-size:10px;margin-top:1px}
}
@media (max-width:370px) {body.page-score .lstrip .ln {font-size:16px}}

/* Reset globals that share class names with the mock. */
body.page-score .tile .tp{border:0;padding:0;margin-top:3px;background:transparent;box-shadow:none;border-radius:0;min-height:0;display:block;width:auto;color:var(--red)}
body.page-score .tile .tp.e{color:var(--ink)}
body.page-score .tile .tp.u{color:var(--g)}
body.page-score .tile .sc{width:auto;height:auto;min-width:40px;max-width:none;overflow:visible;border-radius:0;box-shadow:none;position:relative;display:block;flex:0 0 auto;background:transparent;font:inherit;color:inherit;padding:0}
body.page-score .lstrip{min-height:0;display:block;grid-template-columns:none}
body.page-score .grid{flex:1 1 auto;min-height:0;overflow:auto}
body.page-score .app{flex:1 1 auto;min-height:0;display:flex;flex-direction:column;overflow:hidden;max-width:480px;margin:0 auto;width:100%}
body.page-score .legend.is-special > span:not(.kp-pill):not(.sp){display:none}
body.page-score .kp-pill{flex:none;display:inline-flex;align-items:center;gap:5px;height:30px;padding:0 10px 0 8px;border-radius:999px;border:2px solid var(--ink);background:var(--y);font:800 12px Inter,sans-serif;box-shadow:2px 2px 0 var(--ink);white-space:nowrap}
body.page-score .kp-pill b{font:800 10px 'DM Mono',monospace;letter-spacing:.5px;background:var(--ink);color:var(--y);border-radius:4px;padding:2px 4px}
body.page-score .abar .meta .l1,body.page-score .abar .meta .l2{display:block}
body.page-score .lstrip{height:auto;max-height:48px;overflow:hidden}
@media(max-height:700px){
  body.page-score .abar{padding:8px 12px !important}
  body.page-score .legend{padding:2px 8px !important}
  body.page-score .note{margin-top:4px !important;min-height:28px}
  body.page-score .grid{padding:6px 8px 4px !important;gap:6px !important}
  body.page-score .tile{padding:4px 8px 0 !important}
  body.page-score .ctr{padding-top:0 !important;margin-top:0 !important}
}
body.page-score .lstrip .ln{display:flex;flex-direction:row;flex-wrap:nowrap;align-items:center;height:auto;width:100%}
body.page-score .lstrip b,body.page-score .lstrip .dash,body.page-score .lstrip .nm2,body.page-score .lstrip .tn{display:inline;white-space:nowrap}
