:root {
  --ink: #0a0a0a;
  --paper: #fff;
  --soft: #efefef;
  --mid: #a9a9a9;
  --quiet: #595959;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { position: relative; margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.4 Arial, Helvetica, sans-serif; }
.site-shell { display: grid; grid-template-columns: 210px minmax(0, 1fr); max-width: 1440px; min-height: 100vh; margin: 0 auto; }
.rail { position: sticky; top: 0; display: flex; flex-direction: column; height: 100vh; padding: 30px 25px; border-right: 1px solid var(--ink); }
.wordmark { color: var(--ink); font-size: 1.1rem; font-weight: 900; letter-spacing: -.09em; line-height: .82; text-decoration: none; }
.wordmark span { font-size: 2rem; line-height: 0; }
.rail nav { display: grid; gap: 12px; margin-top: 72px; }
.rail nav a, .text-button { width: max-content; color: var(--ink); font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-decoration: none; text-transform: uppercase; }
.rail nav a:hover, .text-button:hover, footer a:hover { opacity: .5; }
.rail-note { margin: auto 0 0; font-size: .72rem; line-height: 1.35; }
.content { min-width: 0; padding: 0 clamp(36px, 4.6vw, 72px); }
.topline { display: flex; align-items: center; justify-content: space-between; min-height: 64px; border-bottom: 1px solid var(--ink); font-size: .68rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.topline p { margin: 0; }

/* Desktop hero: deliberate left alignment avoids the empty half-screen composition. */
.hero { position: relative; display: flex; align-items: center; min-height: 610px; border-bottom: 1px solid var(--ink); }
.hero-number { position: absolute; top: 24px; left: 0; font-size: .72rem; font-weight: 700; }
.hero-copy { position: relative; z-index: 1; width: min(100%, 650px); padding: 84px 0 74px; }
.eyebrow { margin: 0 0 16px; font-size: .69rem; font-weight: 700; letter-spacing: .08em; }
.hero h1 { margin: 0; font-size: clamp(4.6rem, 8.2vw, 8.1rem); font-weight: 900; letter-spacing: -.1em; line-height: .76; }
.intro { max-width: 380px; margin: 34px 0 0; color: var(--quiet); font-size: 1.05rem; }
.hero-foot { position: absolute; right: 0; bottom: 21px; display: flex; align-items: center; gap: 32px; font-size: .69rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.hero-foot span:last-child { font-size: 1.35rem; }

.access-grid { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--ink); }
.access-panel { display: flex; flex-direction: column; min-height: 468px; padding: 25px 28px 28px; }
.tap-panel { background: var(--ink); color: var(--paper); }
.login-panel { border-left: 1px solid var(--ink); }
.section-marker { display: flex; gap: 30px; font-size: .69rem; font-weight: 700; letter-spacing: .08em; }
.access-panel h2, .section-heading h2, .control h2 { margin: 76px 0 14px; font-size: clamp(2.25rem, 4vw, 3.7rem); font-weight: 900; letter-spacing: -.07em; line-height: .88; }
.access-panel p { max-width: 300px; margin: 0; color: inherit; }
.panel-action, .compact-form { margin-top: auto; }
.form { display: grid; gap: 20px; }
.form label { display: grid; gap: 8px; font-size: .68rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.form input, .form select { width: 100%; appearance: none; padding: 9px 0; border: 0; border-bottom: 1px solid var(--ink); border-radius: 0; outline: 0; background: transparent; color: var(--ink); font: inherit; font-size: 1rem; }
.form input:focus, .form select:focus { border-bottom-width: 3px; }
.note { min-height: 1.1em; margin: 11px 0 0 !important; color: var(--quiet) !important; font-size: .75rem !important; }
.tap-panel .note { color: #bcbcbc !important; }
.button { padding: 13px 16px; border: 1px solid var(--ink); border-radius: 0; background: var(--ink); color: var(--paper); font: 700 .69rem/1 Arial, Helvetica, sans-serif; letter-spacing: .06em; text-align: left; text-transform: uppercase; cursor: pointer; transition: background .14s, color .14s; }
.button span { float: right; margin-top: -3px; font-size: 1.05rem; }
.button:hover { background: var(--paper); color: var(--ink); }
.button.inverse { border-color: var(--paper); background: var(--paper); color: var(--ink); }
.button.inverse:hover { background: transparent; color: var(--paper); }
.member-card { display: flex; align-items: flex-end; justify-content: space-between; padding: 27px 0; border-bottom: 1px solid var(--ink); }
.member-card.hidden, .hidden { display: none; }
.member-card h2 { margin: 4px 0; font-size: 2rem; font-weight: 900; letter-spacing: -.06em; }
.member-card p { margin: 0; font-size: .8rem; }
.balance { text-align: right; }
.balance strong { display: block; font-size: clamp(3rem, 6vw, 5rem); font-weight: 900; letter-spacing: -.09em; line-height: .8; }
.balance span { font-size: .68rem; font-weight: 700; letter-spacing: .08em; }
.prizes { padding: 125px 0 0; }
.prize-heading { max-width: 540px; margin-bottom: 42px; }
.prize-heading h2 { margin: 0 0 20px; font-size: clamp(3rem, 6vw, 5.5rem); font-weight: 900; letter-spacing: -.09em; line-height: .8; }
.prize-heading > p:last-child { max-width: 250px; margin: 0; color: var(--quiet); }
.prize-grid { display: grid; grid-template-columns: 1fr 1fr; border-top: 3px solid var(--ink); border-bottom: 1px solid var(--ink); }
.prize-card { position: relative; display: flex; min-height: 440px; overflow: hidden; padding: 26px 28px; }
.prize-card + .prize-card { border-left: 1px solid var(--ink); }
.prize-copy { position: relative; z-index: 1; max-width: 220px; }
.prize-photo { position: absolute; right: 4%; bottom: 8%; width: min(53%, 280px); height: auto; object-fit: contain; }
.laptop-prize .prize-photo { right: -1%; bottom: 11%; width: min(62%, 315px); }
.prize-time { margin: 0 0 74px; font-size: .68rem; font-weight: 700; letter-spacing: .08em; }
.prize-card h3 { margin: 0 0 11px; font-size: clamp(1.9rem, 3vw, 3rem); font-weight: 900; letter-spacing: -.075em; line-height: .9; }
.prize-card p:last-child { margin: 0; font-size: .9rem; }
.laptop-prize { background: var(--ink); color: var(--paper); }
.standings { position: relative; padding: 125px 0 0; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; padding-bottom: 19px; border-bottom: 3px solid var(--ink); }
.section-heading h2 { margin: 0; }
.count { margin: 0; font-size: .72rem; font-weight: 700; letter-spacing: .05em; }
.table-shell { overflow: auto; }
table { width: 100%; border-collapse: collapse; text-align: left; }
th, td { padding: 21px 10px; border-bottom: 1px solid var(--mid); white-space: nowrap; }
th { font-size: .67rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
td { font-size: .95rem; }
td small { color: var(--quiet); font-size: .72rem; }
td:last-child, th:last-child { text-align: right; }
tbody tr:first-child td { font-weight: 900; }
tbody tr:first-child td:first-child { font-size: 1.2rem; }
.control { position: relative; margin: 145px calc(-1 * clamp(36px, 4.6vw, 72px)) 0; padding: 0 clamp(36px, 4.6vw, 72px) 88px; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); background: var(--soft); overflow: hidden; }
.control-intro { position: relative; z-index: 1; max-width: 680px; padding: 78px 0 50px; }
.control-intro h2 { margin: 0 0 21px; }
.control-intro > p:last-child { max-width: 435px; margin: 0; color: var(--quiet); }
.admin-gate { max-width: 470px; padding-top: 22px; border-top: 3px solid var(--ink); }
.workspace-head { display: flex; justify-content: space-between; padding: 17px 0; border-top: 3px solid var(--ink); }
.workspace-head p { margin: 0; font-size: .68rem; font-weight: 700; letter-spacing: .07em; }
.text-button { padding: 0; border: 0; background: transparent; cursor: pointer; }
.admin-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; padding-top: 25px; }
.admin-form { padding-top: 18px; border-top: 1px solid var(--ink); }
.admin-form h3 { margin: 0 0 22px; font-size: 1.2rem; letter-spacing: -.04em; }
.admin-form .button { margin-top: 8px; }
.admin-table { margin-top: 64px; border-top: 3px solid var(--ink); }
footer { display: flex; justify-content: space-between; gap: 20px; padding: 23px 0; font-size: .68rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
footer a { color: var(--ink); }
.sticker-overlay { position: absolute; inset: 0; z-index: 20; min-height: 100%; pointer-events: none; }
.draggable-sticker { position: absolute; z-index: 1; display: block; width: clamp(100px, 13vw, 190px); margin: 0; padding: 0; border: 0; background: transparent; cursor: grab; pointer-events: auto; touch-action: none; user-select: none; -webkit-user-select: none; }
.draggable-sticker:active { cursor: grabbing; }
.draggable-sticker:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
.draggable-sticker img { display: block; width: 100%; height: auto; pointer-events: none; }
.sticker-printer.one { top: 15vh; left: 2vw; width: clamp(95px, 10vw, 145px); transform: rotate(-9deg); }
.sticker-laptop.one { top: 12vh; right: 3vw; transform: rotate(8deg); }
.sticker-printer.two { right: 4vw; bottom: 9vh; width: clamp(90px, 9vw, 130px); transform: rotate(7deg); }
.sticker-laptop.two { bottom: 4vh; left: 17vw; width: clamp(105px, 12vw, 175px); transform: rotate(-7deg); }
.sticker-sour { top: 38vh; left: 4vw; width: clamp(100px, 12vw, 170px); transform: rotate(5deg); }
.sticker-usb { top: 39vh; right: 6vw; width: clamp(75px, 8vw, 115px); transform: rotate(-16deg); }
.sticker-kitkat { top: 63vh; left: 37vw; width: clamp(88px, 10vw, 145px); transform: rotate(-5deg); }
.sticker-gift { top: 7vh; right: 24vw; width: clamp(85px, 10vw, 145px); transform: rotate(8deg); }
.sticker-sour.second { top: 102vh; left: 72vw; width: clamp(95px, 11vw, 155px); transform: rotate(-7deg); }
.sticker-usb.second { top: 148vh; left: 6vw; width: clamp(70px, 8vw, 108px); transform: rotate(13deg); }
.sticker-kitkat.second { top: 190vh; right: 8vw; width: clamp(85px, 10vw, 135px); transform: rotate(6deg); }
.sticker-gift.second { top: 245vh; left: 61vw; width: clamp(80px, 9vw, 128px); transform: rotate(-10deg); }
.message { position: fixed; right: 20px; bottom: 20px; z-index: 30; padding: 14px 17px; transform: translateY(10px); background: var(--ink); color: var(--paper); font-size: .75rem; opacity: 0; pointer-events: none; transition: .18s; }
.message.show { transform: translateY(0); opacity: 1; }

@media (max-width: 760px) {
  .site-shell { display: block; }
  .rail { position: static; display: flex; flex-direction: row; align-items: center; min-height: 64px; height: auto; padding: 15px 20px; border-right: 0; border-bottom: 1px solid var(--ink); }
  .wordmark { font-size: 1rem; }
  .rail nav { display: flex; gap: 14px; margin: 0 0 0 auto; }
  .rail nav a { font-size: .62rem; }
  .rail-note { display: none; }
  .content { padding: 0 20px; }
  .topline { min-height: 48px; font-size: .57rem; }
  .hero { min-height: 520px; }
  .hero-copy { padding: 60px 0 75px; }
  .hero h1 { font-size: clamp(4.1rem, 19vw, 6.5rem); }
  .intro { margin-top: 27px; font-size: .95rem; }
  .hero-foot { right: 0; left: 0; justify-content: space-between; font-size: .57rem; }
  .access-grid, .admin-grid { grid-template-columns: 1fr; }
  .access-panel { min-height: 405px; padding: 22px 20px; }
  .login-panel { border-top: 1px solid var(--ink); border-left: 0; }
  .access-panel h2 { margin-top: 63px; }
  .prizes { padding-top: 78px; }
  .prize-heading h2 { font-size: 3.5rem; }
  .prize-grid { grid-template-columns: 1fr; }
  .prize-card { min-height: 390px; padding: 22px 20px; }
  .prize-card + .prize-card { border-top: 1px solid var(--ink); border-left: 0; }
  .prize-time { margin-bottom: 56px; }
  .prize-photo { width: min(52%, 240px); }
  .laptop-prize .prize-photo { width: min(58%, 280px); }
  .standings { padding-top: 78px; }
  .section-heading { display: block; }
  .section-heading h2 { font-size: 3rem; }
  .count { margin-top: 17px; }
  .control { margin: 80px -20px 0; padding: 0 20px 55px; }
  .sticker-printer.one { top: 13vh; left: -15px; width: 88px; }
  .sticker-laptop.one { top: 8vh; right: -15px; width: 120px; }
  .sticker-printer.two { right: -10px; bottom: 8vh; width: 82px; }
  .sticker-laptop.two { bottom: 3vh; left: -13px; width: 110px; }
  .sticker-sour { top: 35vh; left: -19px; width: 105px; }
  .sticker-usb { top: 42vh; right: -11px; width: 72px; }
  .sticker-kitkat { top: 66vh; left: 31vw; width: 98px; }
  .sticker-gift { top: 5vh; right: 21vw; width: 105px; }
  .sticker-sour.second { top: 102vh; left: 61vw; width: 98px; }
  .sticker-usb.second { top: 148vh; left: -8px; width: 72px; }
  .sticker-kitkat.second { top: 190vh; right: -10px; width: 90px; }
  .sticker-gift.second { top: 245vh; left: 52vw; width: 98px; }
  .control-intro { padding: 55px 0 40px; }
  .control h2 { font-size: 3rem; }
  .admin-grid { gap: 40px; }
  .member-card { display: block; }
  .balance { margin-top: 28px; text-align: left; }
  footer { display: grid; gap: 12px; }
  .table-shell { margin-right: -20px; }
  th, td { padding: 16px 8px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .button, .message { transition: none; } }
