@layer reset, base, components, responsive;
@layer reset {
  *, *::before, *::after { box-sizing: border-box; }
  body, h1, h2, h3, p { margin: 0; }
  button, input, select { font: inherit; }
  button, a, input, select, summary { -webkit-tap-highlight-color: transparent; }
  button, summary { cursor: pointer; }
  button { border: 0; }
  a { color: inherit; text-decoration: none; }
  img { display: block; max-width: 100%; }
  [hidden] { display: none !important; }
}
@layer base {
  :root { color-scheme: dark; --bg: #121212; --surface: #1b1b1c; --surface-high: #252526; --cream: #f6f0e3; --muted: #aaa8a3; --red: #e3424a; --yellow: #ffd05e; --line: #353536; --radius: 16px; }
  html { scroll-behavior: smooth; scroll-padding-top: 24px; }
  body { background: var(--bg); color: var(--cream); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.5; font-size: 15px; }
  body:has(dialog[open]) { overflow: hidden; }
  main, .site-header, .site-footer { max-width: 1184px; padding-inline: 32px; margin-inline: auto; }
  h1, h2, h3 { line-height: 1.08; letter-spacing: -.045em; font-weight: 850; text-wrap: balance; }
  h1 { font-size: clamp(40px, 5vw, 66px); }
  h2 { font-size: clamp(25px, 3vw, 36px); }
  h3 { font-size: 19px; letter-spacing: -.025em; }
  p { text-wrap: pretty; }
  p + p { margin-top: 12px; }
  input, select { color: var(--cream); background: #151516; border: 1px solid #474748; border-radius: 9px; min-height: 48px; padding: 11px 14px; width: 100%; min-width: 0; }
  input::placeholder { color: #8d8d8d; }
  select { padding-right: 28px; }
  label { display: block; font-size: 14px; font-weight: 650; margin-bottom: 8px; }
  form > label:not(:first-child) { margin-top: 20px; }
  input + button { margin-top: 16px; }
  input[type=number] { max-width: 150px; }
  button { color: inherit; }
  button:disabled { cursor: not-allowed; opacity: .45; }
  :focus-visible { outline: 3px solid var(--yellow); outline-offset: 4px; }
  ::selection { background: var(--yellow); color: var(--bg); }
  summary { min-height: 44px; padding-block: 10px; font-weight: 650; }
  details > p { margin-block: 10px; }
  .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); border: 0; white-space: nowrap; }
  .skip-link { position: fixed; top: -100px; left: 16px; padding: 12px 20px; background: var(--yellow); color: var(--bg); z-index: 100; border-radius: 8px; }
  .skip-link:focus { top: 12px; }
  .eyebrow { font-size: 10px; font-weight: 800; letter-spacing: .17em; color: var(--yellow); line-height: 1.5; }
  .muted { color: var(--muted); font-size: 13px; line-height: 1.6; }
  .button { display: inline-flex; align-items: center; justify-content: center; gap: 22px; min-height: 49px; padding: 13px 21px; border-radius: 8px; font-size: 14px; font-weight: 750; line-height: 1.35; transition: background .15s ease, transform .15s ease; }
  .button:not(:disabled):active { transform: translateY(1px); }
  .primary { background: var(--yellow); color: #201a0b; }
  .secondary { border: 1px solid #515152; color: var(--cream); background: #242425; }
  .danger-outline { background: #351e23; border: 1px solid #a3525c; color: #ffb4bb; }
  .text-button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 8px; color: var(--cream); font-size: 13px; font-weight: 650; background: transparent; }
  .full { width: 100%; }
  .button-row { display: flex; flex-wrap: wrap; gap: 12px; margin-block: 18px; }
}
@layer components {
  .site-header { height: 94px; display: flex; align-items: center; gap: 24px; border-bottom: 1px solid #29292a; }
  .brand { display: inline-flex; align-items: center; gap: 9px; font-size: 27px; font-weight: 900; letter-spacing: -.075em; }
  .brand-accent { color: var(--cream); }
  .brand-dot { color: var(--red); }
  .header-tag { color: #92918c; font-size: 9px; font-weight: 700; letter-spacing: .16em; padding-left: 24px; border-left: 1px solid var(--line); }
  .small-link { margin-left: auto; color: #d8d5ce; font-size: 12px; font-weight: 600; padding-block: 12px; }
  .small-link span { padding-left: 12px; color: var(--yellow); }
  .hero { display: grid; grid-template-columns: 1.08fr 1fr; min-height: 486px; align-items: center; gap: 20px; padding-block: 38px 34px; }
  .hero-copy { position: relative; z-index: 1; }
  .hero h1 { margin-top: 21px; line-height: .99; font-size: clamp(44px, 5.4vw, 70px); letter-spacing: -.058em; }
  .hero h1 > span { color: var(--yellow); }
  .hero-description { color: #bdbab3; margin-top: 22px; font-size: 15px; line-height: 1.75; }
  .hero-cta { margin-top: 26px; min-width: 197px; }
  .hero-footnote { color: #8e8b85; font-size: 10px; margin-top: 13px; }
  .live-dot { display: inline-block; background: currentColor; width: 6px; height: 6px; border-radius: 50%; margin-right: 7px; vertical-align: 1px; }
  .hero-visual { position: relative; height: 400px; display: grid; place-items: center; }
  .hero-visual > img { position: relative; width: 420px; height: auto; z-index: 1; transform: rotate(-5deg); }
  .visual-circle { position: absolute; width: 345px; height: 345px; border-radius: 50%; background: radial-gradient(circle at 50% 55%, #482224, #271a1d 65%, #1a1516); }
  .visual-circle::after { content: ''; position: absolute; inset: -17px; border: 1px dashed #5b3c35; border-radius: 50%; }
  .visual-stamp { position: absolute; right: -1px; top: 38px; width: 98px; height: 98px; border: 1px solid #7b6652; border-radius: 50%; color: var(--yellow); font-size: 10px; font-weight: 800; letter-spacing: .08em; text-align: center; padding-top: 21px; line-height: 1.6; transform: rotate(16deg); z-index: 2; }
  .visual-stamp > span { display: block; font-size: 16px; }
  .floating-ticket { position: absolute; z-index: 2; bottom: 18px; left: 14px; width: 174px; background: var(--cream); color: #28221e; padding: 13px 20px; transform: rotate(-11deg); border-radius: 5px; box-shadow: 0 8px 32px #0005; text-align: center; }
  .floating-ticket::before, .floating-ticket::after { content: ''; position: absolute; width: 12px; height: 12px; border-radius: 50%; top: calc(50% - 6px); background: #181515; }
  .floating-ticket::before { left: -6px; }.floating-ticket::after { right: -6px; }
  .floating-ticket span { display: block; font-size: 7px; font-weight: 800; letter-spacing: .13em; }
  .floating-ticket strong { display: block; font-family: Georgia, serif; font-size: 22px; font-style: italic; letter-spacing: -.06em; margin-block: 2px; }
  .how-it-works { background: #1c1b1a; border: 1px solid #39352e; border-radius: 12px; padding: 23px 27px; display: grid; grid-template-columns: .7fr 1fr 1.15fr 1.15fr; gap: 20px; align-items: center; }
  .how-label { font-size: 9px; color: #aaa69f; letter-spacing: .1em; line-height: 1.6; }
  .how-label strong { color: var(--cream); font-size: 12px; letter-spacing: .02em; }
  .how-it-works > div:not(:first-child) { display: flex; gap: 13px; align-items: flex-start; }
  .step-number { font-family: Georgia, serif; font-size: 23px; color: var(--yellow); line-height: 1.2; }
  .how-it-works strong { display: block; font-size: 11px; }
  .how-it-works p span { display: block; color: #a5a19a; font-size: 10px; margin-top: 3px; }
  .join-existing { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 16px; font-size: 12px; margin-top: 22px; color: #aaa69f; }
  .join-existing form { display: flex; gap: 8px; align-items: center; }
  .join-existing input { width: 206px; min-height: 40px; padding: 8px 12px; font-size: 11px; }
  .join-existing button { margin: 0; gap: 10px; }
  .catalogue { margin-top: 62px; padding-bottom: 36px; }
  .section-heading { display: flex; align-items: end; justify-content: space-between; gap: 14px; }
  .section-heading h2 { margin-top: 8px; }
  .count-tag { border: 1px solid #484339; color: #c3b9a5; font-size: 9px; padding: 6px 10px; border-radius: 6px; font-weight: 700; letter-spacing: .07em; white-space: nowrap; }
  .section-intro { color: #aaa7a0; font-size: 13px; margin-top: 14px; }
  .filters { display: flex; gap: 12px; margin-top: 25px; }
  .search-field { flex: 1; position: relative; margin-bottom: 0; font-weight: 400; }
  .search-field > span { position: absolute; left: 15px; top: 7px; font-size: 25px; color: #9a9892; line-height: 1; }
  .search-field input { padding-left: 42px; background: #1c1c1d; border-color: #333334; min-height: 44px; font-size: 12px; }
  .duration-filter { width: 197px; margin: 0; }
  .duration-filter select { min-height: 44px; background: #1c1c1d; border-color: #333334; font-size: 12px; }
  .genre-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-block: 16px 24px; }
  .genre-chip { border: 1px solid #3a3a3b; background: transparent; min-height: 40px; padding: 8px 15px; border-radius: 7px; font-size: 11px; color: #bbb8b0; }
  .genre-chip.active { border-color: var(--yellow); background: var(--yellow); color: #2a200c; font-weight: 750; }
  .movie-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px 18px; }
  .movie-card { min-width: 0; overflow: hidden; border: 1px solid #353536; background: var(--surface); border-radius: 11px; display: flex; flex-direction: column; }
  .movie-card.selected { border: 2px solid var(--yellow); }
  .movie-body { padding: 16px; flex: 1; display: flex; flex-direction: column; }
  .movie-meta { display: flex; flex-wrap: wrap; gap: 6px; font-size: 10px; color: #b7b2a8; }
  .movie-card h3 { margin-top: 8px; line-height: 1.15; }
  .genre-label { color: #c9aa6f; font-size: 9px; margin-top: 7px; }
  .synopsis { font-size: 11px; color: #aaa8a3; line-height: 1.65; margin-top: 12px; margin-bottom: 14px; }
  .movie-links { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 7px; flex-wrap: wrap; }
  .trailer-link { display: inline-flex; align-items: center; min-height: 44px; gap: 5px; font-size: 10px; font-weight: 700; color: #eee5d5; text-decoration: underline; text-underline-offset: 4px; }
  .trailer-link > span:first-child { color: var(--red); font-size: 17px; }
  .platform { color: #9b9994; font-size: 8px; border: 1px solid #414142; padding: 3px 5px; border-radius: 4px; }
  .content-note { color: #e6cba6; font-size: 10px; margin-bottom: 8px; }
  .pick-button { margin-top: 10px; background: #303031; color: #dedad0; display: flex; align-items: center; justify-content: space-between; gap: 7px; width: 100%; min-height: 45px; padding: 10px 12px; border-radius: 6px; font-size: 11px; font-weight: 650; }
  .pick-button.is-picked { background: #41381e; border: 1px solid #a58a3f; color: var(--yellow); }
  .pick-button.is-picked > span:last-child { font-size: 9px; text-decoration: underline; }
  .film-art { min-width: 0; isolation: isolate; aspect-ratio: 1.1; position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; padding: 18px; background: radial-gradient(circle at 70% 30%, #c47c34, #2d1a0c 75%); color: #ffecce; }
  .art-year, .art-caption { position: relative; font-size: 7px; font-weight: 700; letter-spacing: .18em; z-index: 1; }
  .art-caption { font-size: 6px; opacity: .75; }
  .art-name { position: relative; z-index: 1; font-size: clamp(23px, 2.7vw, 33px); font-family: Georgia, 'Times New Roman', serif; line-height: 1; letter-spacing: -.06em; font-weight: 700; max-width: 95%; margin-top: auto; margin-bottom: 16px; text-shadow: 0 2px 14px #0008; text-wrap: balance; }
  .art-orbit { position: absolute; width: 135%; height: 75%; border: 1px solid #fff3; border-radius: 50%; left: 5%; top: -12%; transform: rotate(-35deg); z-index: -1; }
  .film-art::after { content: ''; position: absolute; z-index: -1; width: 75%; height: 140%; left: 45%; top: -15%; background: linear-gradient(90deg, #fff0, #fff2, #0005); transform: rotate(29deg); }
  .art-oppenheimer { background: radial-gradient(ellipse at 52% 27%, #ffc659 0, #bc5321 20%, #34140d 56%, #090a0c 89%); }
  .art-oppenheimer .art-name { font-family: inherit; font-weight: 900; text-transform: uppercase; font-size: clamp(22px, 2.35vw, 28px); letter-spacing: -.075em; overflow-wrap: anywhere; }
  .art-suenos-de-trenes { background: linear-gradient(160deg, #b8c0ab 5%, #738771 35%, #324936 50%, #13241c 80%); }
  .art-suenos-de-trenes::after { background: #08190b80; clip-path: polygon(10% 100%,40% 0,65% 0,100% 100%); transform: rotate(10deg); }
  .art-anatomia-de-una-caida { background: linear-gradient(130deg, #a8a999 0%, #e8e6d3 43%, #59625c 44%, #17251f); }
  .art-anatomia-de-una-caida .art-name { color: #181a17; text-shadow: 0 0 14px #fffa; }
  .art-una-batalla-tras-otra { background: repeating-linear-gradient(110deg, #a67b3530 0 2px, #0000 2px 15px), linear-gradient(150deg, #8a4a22, #3b2b17 50%, #0c1717); }
  .art-una-batalla-tras-otra .art-name { color: #ffdb55; text-transform: uppercase; font-family: inherit; font-weight: 900; }
  .art-pobres-criaturas { background: radial-gradient(circle at 90% 10%, #77a2b4, #203c58 37%, #17283e 52%, #872a3a); }
  .art-blackberry { background: repeating-linear-gradient(0deg, #fff1 0 1px, #0000 1px 14px), linear-gradient(150deg, #436b7c, #152d39 50%, #080e13); }
  .art-blackberry .art-name { font-family: inherit; letter-spacing: -.07em; }
  .art-desconocidos { background: linear-gradient(130deg, #bf4c83, #704d78 40%, #23364e); }
  .art-weapons { background: radial-gradient(ellipse at 45% 15%, #d44b24, #4a1819 40%, #0d1115 80%); }
  .art-weapons .art-name { color: #ffda7e; text-transform: uppercase; font-family: inherit; letter-spacing: .04em; }
  .art-un-dolor-real { background: linear-gradient(135deg, #c0a78c, #846d53 50%, #3e4c35); }
  .art-nimona { background: linear-gradient(130deg, #ff6587, #a51958 40%, #212251); }
  .art-nimona .art-name { text-transform: uppercase; font-family: inherit; font-weight: 900; color: #fff0ad; }
  .art-los-pecadores { background: radial-gradient(ellipse at top, #c95c34, #671e20 45%, #130e15); }
  .art-la-sustancia { background: radial-gradient(ellipse at 75% 20%, #c2ef3b, #547a17 25%, #142711 60%, #111); color: #f3ffa8; }
  .art-el-clan-de-hierro { background: linear-gradient(150deg, #8e91a3, #3e4757 40%, #151c24); }
  .art-el-chico-y-la-garza { background: linear-gradient(135deg, #8ebbb5, #4d85a1 40%, #243b50); }
  .art-hoppers { background: radial-gradient(circle at 70% 25%, #f1db71, #71914c 35%, #1f5145 70%); }
  .art-la-joven-y-el-mar { background: linear-gradient(170deg, #b6d8e1, #437e9c 40%, #153549); }
  .art-rebel-ridge { background: linear-gradient(125deg, #ccbb7e, #837b45 40%, #23392c); }
  .art-las-guerreras-k-pop { background: linear-gradient(140deg, #ea69f2, #7b3dba 40%, #201b5b); }
  .art-send-help { background: linear-gradient(140deg, #c7c29c, #4a9299 40%, #193c43); }
  .art-el-asesino { background: linear-gradient(140deg, #cda844, #7b5e23 40%, #231c13); }
  .catalogue-note { border-top: 1px solid var(--line); margin-top: 30px; padding-top: 12px; font-size: 11px; color: #aaa69e; }
  .catalogue-note summary { color: #c2beb5; }
  .empty { padding: 40px 20px; color: var(--muted); text-align: center; }
  .site-footer { display: flex; justify-content: space-between; align-items: center; gap: 15px; border-top: 1px solid #303031; margin-top: 40px; padding-block: 25px; color: #97948d; font-size: 10px; }
  .footer-brand { color: #b9b4a9; font-size: 20px; }
  .site-footer > span:last-child { font-size: 8px; letter-spacing: .1em; }
  .site-footer > span:last-child span { color: var(--yellow); margin-left: 6px; }
  .room-heading { padding-block: 32px 24px; display: flex; justify-content: space-between; align-items: end; gap: 20px; }
  .back-link { color: var(--muted); font-size: 11px; display: inline-flex; min-height: 44px; align-items: center; margin-bottom: 14px; }
  .room-heading h1 { margin-top: 12px; font-size: clamp(32px, 4vw, 48px); overflow-wrap: anywhere; }
  .room-code { color: #c0b8a8; letter-spacing: .1em; border-left: 1px solid #6c5d3c; margin-left: 8px; padding-left: 10px; }
  .room-progress { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 21px 23px; }
  .room-progress > div { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
  .status-pill { color: var(--yellow); font-size: 9px; font-weight: 800; letter-spacing: .12em; }
  .status-pill.closed { color: #a2c6a2; }
  .room-progress strong { font-size: 23px; line-height: 1; }
  .room-progress strong > span { color: #aca79d; font-weight: 400; font-size: 12px; }
  progress { appearance: none; border: none; display: block; width: 100%; height: 5px; border-radius: 8px; overflow: hidden; margin-block: 17px 10px; background: #363637; }
  progress::-webkit-progress-bar { background: #363637; border-radius: 8px; }
  progress::-webkit-progress-value { background: var(--yellow); border-radius: 8px; }
  progress::-moz-progress-bar { background: var(--yellow); border-radius: 8px; }
  .room-progress > p { color: #a39e95; font-size: 11px; }
  .admin-panel { margin-top: 14px; background: #211c17; border: 1px solid #4b3d27; border-radius: 10px; padding: 3px 18px; font-size: 12px; }
  .admin-panel summary > span:first-child { color: var(--yellow); }
  .badge { float: right; border: 1px solid #645233; border-radius: 3px; font-size: 8px; color: #d3b77d; padding: 3px 6px; letter-spacing: .05em; }
  .admin-body { padding-block: 12px 15px; }
  .join-panel { margin-top: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); padding: 30px; }
  .join-panel h2 { margin-block: 10px 13px; }
  .join-panel p { color: #b5b0a6; font-size: 13px; }
  .join-panel > form { margin-top: 24px; }
  .input-row { display: flex; gap: 10px; }
  .input-row input { flex: 1; }
  .input-row button { margin: 0; }
  .join-panel > details { margin-top: 12px; font-size: 12px; color: var(--muted); }
  .recover-form { max-width: 460px; padding-block: 15px; }
  .recover-form p { margin-bottom: 20px; }
  .picks-section { margin-top: 36px; }
  .picks-section h2 { margin-top: 9px; }
  .preference-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; margin-block: 20px 12px; }
  .preference-slots:has(> :only-child) { grid-template-columns: minmax(0, 500px); }
  .preference-slot { display: flex; align-items: center; gap: 12px; border: 1px dashed #6f6244; background: #201d17; text-align: left; border-radius: 9px; min-height: 78px; padding: 13px 16px; min-width: 0; }
  .preference-slot.active { outline: 2px solid var(--yellow); outline-offset: 2px; }
  .preference-slot.filled { border-style: solid; }
  .slot-number { color: var(--yellow); font-size: 28px; font-weight: 850; line-height: 1; }
  .slot-number > span { font-size: 13px; vertical-align: super; }
  .slot-title { font-size: 12px; font-weight: 650; line-height: 1.25; flex: 1; min-width: 0; overflow-wrap: anywhere; }
  .slot-title small { display: block; color: #b4a077; font-size: 8px; letter-spacing: .08em; margin-top: 6px; }
  .slot-edit { color: var(--yellow); font-size: 18px; }
  .recovery-note { margin-block: 22px 5px; font-size: 11px; color: #aaa59b; }
  .recovery-note code { display: block; font-size: 17px; color: var(--yellow); letter-spacing: .08em; margin-block: 14px; overflow-wrap: anywhere; }
  .ballot-tray { position: fixed; z-index: 10; bottom: 18px; left: 50%; transform: translateX(-50%); width: min(760px, calc(100% - 32px)); padding: 15px 21px; background: #282522f5; border: 1px solid #6a5737; border-radius: 13px; box-shadow: 0 8px 60px #0009; backdrop-filter: blur(14px); display: flex; justify-content: space-between; align-items: center; gap: 16px; }
  .ballot-tray > div { display: flex; align-items: center; gap: 18px; }
  .tray-score { font-size: 25px; color: var(--yellow); font-weight: 800; white-space: nowrap; }
  .tray-score > span { font-size: 15px; color: #bfb4a0; }
  .tray-caption { font-size: 12px; }
  .has-tray { padding-bottom: 108px; }
  dialog { color: var(--cream); background: #202021; border: 1px solid #5e5341; border-radius: 17px; padding: 34px; width: min(500px, calc(100% - 28px)); max-height: calc(100dvh - 30px); overflow: auto; box-shadow: 0 28px 100px #000a; }
  dialog::backdrop { background: #080809ce; backdrop-filter: blur(6px); }
  dialog h2 { margin-block: 10px 16px; padding-right: 20px; }
  dialog p { color: #b8b2a7; font-size: 13px; margin-bottom: 20px; }
  dialog form > button { margin-top: 22px; }
  .modal-close { position: absolute; top: 10px; right: 10px; background: transparent; color: #c8c0b2; font-size: 28px; width: 44px; height: 44px; border-radius: 7px; }
  .review-list { list-style: none; margin: 24px 0; padding: 0; }
  .review-list li { display: flex; align-items: center; gap: 12px; padding: 16px 0; border-bottom: 1px solid #44403a; }
  .review-number { font-size: 25px; color: var(--yellow); font-weight: 850; }
  .review-title { flex: 1; font-weight: 650; font-size: 14px; overflow-wrap: anywhere; }
  .review-title small { display: block; font-size: 11px; font-weight: 400; color: #b9ab8d; margin-top: 3px; }
  .reorder-buttons { display: flex; gap: 4px; }
  .reorder-buttons button { height: 44px; width: 35px; border-radius: 6px; background: #383633; color: var(--yellow); }
  .recovery-code { display: block; color: var(--yellow); background: #141414; border: 1px dashed #73623f; border-radius: 8px; padding: 20px 15px; font-size: 24px; text-align: center; letter-spacing: .08em; margin-bottom: 20px; overflow-wrap: anywhere; }
  .toast { position: fixed; z-index: 100; top: 16px; left: 50%; transform: translateX(-50%); width: max-content; max-width: calc(100% - 30px); background: var(--cream); color: #241f16; border: 1px solid #fff; border-radius: 10px; padding: 13px 20px; font-size: 13px; box-shadow: 0 8px 45px #0007; animation: appear .2s ease; }
  #connection { background: #4a361d; color: #ffe6b1; padding: 12px 20px; text-align: center; font-size: 12px; }
  .submitted-panel { max-width: 760px; margin: 40px auto; border: 1px solid #5d533b; border-radius: var(--radius); padding: 35px; text-align: center; background: linear-gradient(135deg, #25221b, #1a1a1b); }
  .submitted-icon { display: grid; place-items: center; width: 56px; height: 56px; border: 1px solid #b8a166; border-radius: 50%; color: var(--yellow); font-size: 28px; margin: 0 auto 20px; }
  .submitted-panel h2 { margin-block: 12px 17px; }
  .submitted-panel > p { color: #b8b0a1; font-size: 13px; }
  .submitted-choices { list-style: none; text-align: left; margin: 27px 0; padding: 0; }
  .submitted-choices li { display: flex; align-items: center; gap: 15px; padding: 16px 0; border-bottom: 1px dashed #514938; font-size: 14px; }
  .submitted-choices li > span:first-child { color: var(--yellow); font-weight: 800; }
  .submitted-choices li > strong { flex: 1; }
  .submitted-choices li > span:last-child { color: #bda675; white-space: nowrap; }
  .winner-banner { margin-block: 34px 42px; border-radius: var(--radius); border: 1px solid #74613e; background: radial-gradient(ellipse at 90% 20%, #44301f, #221e18 70%); padding: 34px; display: grid; grid-template-columns: 220px 1fr; gap: 35px; align-items: center; }
  .winner-banner .film-art { border: 1px solid #af8d4f; border-radius: 7px; aspect-ratio: .72; }
  .winner-banner h2 { font-size: clamp(30px, 4vw, 46px); margin-block: 15px 18px; }
  .winner-banner h2 > span { color: var(--yellow); }
  .winner-banner > div > p:not(.eyebrow) { color: #c7bba5; font-size: 12px; }
  .winner-points { display: flex; gap: 14px; align-items: center; margin-block: 22px 10px; }
  .winner-points strong { font-size: 49px; line-height: 1; color: var(--yellow); letter-spacing: -.06em; }
  .winner-points span { font-size: 10px; letter-spacing: .1em; font-weight: 800; color: #e4cba0; }
  .winner-points small { display: block; letter-spacing: 0; font-weight: 400; margin-top: 3px; color: #b2a58d; }
  .result-banner { padding: 35px; margin-block: 34px; border: 1px solid #76623c; border-radius: 14px; background: #252117; }
  .result-banner h2 { margin-block: 12px 18px; }
  .result-banner p { color: #bfb6a3; font-size: 13px; }
  .result-banner .button { margin-top: 24px; }
  .result-banner .muted { margin-top: 18px; }
  .results-section { margin-top: 28px; }
  .ranking-table { margin-block: 24px 18px; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
  .ranking-row { display: grid; grid-template-columns: minmax(0, 1fr) 84px repeat(3, 55px); align-items: center; gap: 6px; padding: 15px 20px; font-size: 13px; border-bottom: 1px solid #303031; }
  .ranking-row:has(> :nth-child(2):last-child) { grid-template-columns: minmax(0, 1fr) 84px; }
  .ranking-row > :not(:first-child) { text-align: center; }
  .ranking-row:last-child { border: none; }
  .ranking-head { background: #202021; font-size: 9px; color: #bab1a0; font-weight: 750; letter-spacing: .08em; }
  .ranking-title { display: flex; align-items: center; gap: 18px; min-width: 0; overflow-wrap: anywhere; }
  .ranking-title small { display: block; color: #928d83; font-size: 9px; margin-top: 2px; }
  .ranking-position { color: #978a71; font-size: 12px; min-width: 20px; }
  .winning-row { background: #30291c; }
  .winning-row strong, .winning-row .ranking-position { color: var(--yellow); }
  .history { margin-top: 44px; }
  .history h2 { font-size: 25px; margin-bottom: 16px; }
  .history details { border-top: 1px solid var(--line); font-size: 12px; }
  .notice { border: 1px solid #7b6338; padding: 17px; border-radius: 9px; margin-block: 20px; font-size: 13px; background: #302719; }
  .error-panel { padding-block: 70px 100px; max-width: 760px; }
  .error-panel h1 { margin-block: 20px; }
  .error-panel > p { margin-bottom: 25px; color: #b7ac98; }
  .error-panel .text-button { padding-inline: 25px; }
  .loading { min-height: 400px; display: flex; align-items: center; justify-content: center; gap: 14px; color: #bdb19a; }
  .loader { width: 20px; height: 20px; border: 2px solid #665535; border-top-color: var(--yellow); border-radius: 50%; animation: spin .8s linear infinite; }
  @keyframes spin { to { transform: rotate(360deg); } }
  @keyframes appear { from { opacity: 0; } to { opacity: 1; } }
}
@layer responsive {
  @media (hover: hover) { .primary:not(:disabled):hover { background: #ffdc84; } .pick-button:not(.is-picked):hover { background: #434039; } .secondary:hover { background: #363432; } .trailer-link:hover { color: var(--yellow); } }
  @media (max-width: 1000px) {
    .movie-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .hero h1 { font-size: 54px; }
    .hero-visual { height: 350px; }
    .visual-circle { width: 280px; height: 280px; }
    .visual-stamp { width: 80px; height: 80px; font-size: 8px; top: 16px; padding-top: 16px; }
    .how-it-works { gap: 16px; padding: 22px 20px; grid-template-columns: .55fr 1fr 1fr 1.1fr; }
    .how-it-works > div:not(:first-child) { gap: 8px; }
    .how-it-works p span { line-height: 1.55; }
    .art-name { font-size: 30px; }
  }
  @media (max-width: 760px) {
    main, .site-header, .site-footer { padding-inline: 20px; }
    .site-header { height: 78px; }
    .header-tag { display: none; }
    .hero { gap: 0; min-height: 390px; padding-block: 28px 24px; }
    .hero h1 { font-size: 44px; }
    .hero-description { font-size: 12px; }
    .hero-visual { height: 300px; margin-right: -8px; }
    .visual-circle { width: 220px; height: 220px; }
    .hero-visual > img { width: 300px; }
    .visual-stamp { right: -2px; top: 28px; width: 68px; height: 68px; padding-top: 13px; font-size: 7px; }
    .visual-stamp > span { font-size: 12px; }
    .floating-ticket { width: 136px; padding: 9px 16px; left: 4px; bottom: 27px; }
    .floating-ticket strong { font-size: 18px; }
    .floating-ticket span { font-size: 5px; }
    .how-it-works { grid-template-columns: 1fr 1fr 1fr; padding: 19px 16px; gap: 12px; }
    .how-label { display: none; }
    .how-it-works > div:not(:first-child) { display: block; }
    .step-number { display: inline-block; margin-bottom: 6px; }
    .how-it-works strong { font-size: 10px; }
    .how-it-works p span { font-size: 9px; }
    .movie-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 12px; }
    .movie-body { padding: 14px; }
    .art-name { font-size: 30px; }
    .movie-links { display: block; }
    .platform { display: inline-block; margin-top: 2px; }
    .movie-links .trailer-link { display: flex; }
    .site-footer { flex-wrap: wrap; }
    .site-footer > span:last-child { width: 100%; }
    .preference-slot { padding: 12px 10px; gap: 8px; }
    .slot-number { font-size: 22px; }
    .slot-title { font-size: 10px; }
    .slot-edit { display: none; }
    .preference-slots { gap: 9px; }
    .room-heading .button { font-size: 12px; gap: 8px; padding: 12px 14px; }
    .room-heading { align-items: start; }
    .room-heading > .button { margin-top: 58px; flex-shrink: 0; }
    .room-heading .eyebrow { font-size: 8px; }
    .room-code { margin-left: 3px; padding-left: 6px; }
    .room-heading h1 { font-size: 32px; }
    .join-panel { padding: 24px; }
    .winner-banner { grid-template-columns: 160px 1fr; gap: 24px; padding: 25px; }
    .winner-banner h2 { font-size: 32px; }
    .winner-banner .art-name { font-size: 26px; }
  }
  @media (max-width: 520px) {
    main, .site-header, .site-footer { padding-inline: 18px; }
    .site-header { height: 72px; }
    .brand { font-size: 25px; }.brand img { width: 31px; height: 31px; }
    .small-link { font-size: 11px; }
    .hero { grid-template-columns: 1fr; padding-top: 31px; }
    .hero .eyebrow { font-size: 8px; }
    .hero h1 { font-size: clamp(43px, 12.5vw, 63px); margin-top: 17px; line-height: 1.02; }
    .hero-description { font-size: 13px; margin-top: 18px; line-height: 1.7; max-width: 340px; }
    .hero-cta { margin-top: 22px; width: 100%; justify-content: space-between; min-height: 52px; padding-inline: 19px; }
    .hero-footnote { text-align: center; font-size: 10px; }
    .hero-visual { height: 244px; margin: 16px 0 0; }
    .hero-visual > img { width: 280px; height: 268px; }
    .visual-circle { width: 208px; height: 208px; }
    .visual-stamp { right: 10px; top: 14px; }
    .floating-ticket { left: 8px; bottom: 16px; width: 145px; }
    .desktop-only { display: none; }
    .how-it-works { margin-top: 5px; padding-inline: 14px; }
    .how-it-works strong { line-height: 1.35; }
    .join-existing { flex-direction: column; gap: 5px; margin-top: 20px; }
    .join-existing form { width: 100%; justify-content: center; }
    .join-existing input { max-width: 230px; width: 100%; font-size: 12px; min-height: 44px; }
    .catalogue { margin-top: 40px; }
    .section-heading { align-items: center; gap: 8px; }
    .section-heading h2 { font-size: 27px; }
    .eyebrow { font-size: 9px; }
    .count-tag { font-size: 7px; padding: 6px; }
    .filters { flex-direction: column; gap: 9px; margin-top: 20px; }
    .search-field input { min-height: 46px; font-size: 14px; }
    .duration-filter { width: 100%; }
    .genre-filters { gap: 6px; margin-block: 13px 20px; }
    .genre-chip { font-size: 11px; min-height: 44px; padding: 8px 12px; }
    .movie-grid { grid-template-columns: minmax(0, 1fr); gap: 15px; }
    .movie-card { display: grid; grid-template-columns: 100px minmax(0, 1fr); border-radius: 10px; }
    .film-art { height: 100%; min-height: 225px; aspect-ratio: auto; padding: 13px 10px; }
    .art-name, .art-oppenheimer .art-name { font-size: 22px; overflow-wrap: anywhere; line-height: 1.05; margin-bottom: 12px; }
    .art-year { font-size: 6px; letter-spacing: .08em; }
    .art-caption { font-size: 5px; letter-spacing: .05em; }
    .movie-body { padding: 14px 13px; }
    .movie-card h3 { font-size: 18px; margin-top: 6px; }
    .synopsis { font-size: 11px; margin-top: 10px; margin-bottom: 5px; line-height: 1.55; }
    .genre-label { font-size: 9px; }
    .movie-links { display: flex; }
    .trailer-link { font-size: 10px; }
    .platform { font-size: 7px; margin: 0; }
    .pick-button { margin-top: 5px; min-height: 46px; font-size: 11px; padding: 9px; }
    .site-footer { justify-content: center; text-align: center; padding-block: 24px; gap: 8px; }
    .site-footer > span { width: 100%; }
    .footer-brand { font-size: 22px; }
    .room-heading { display: block; padding-top: 15px; }
    .back-link { margin-bottom: 6px; }
    .room-heading > .button { margin-top: 18px; width: 100%; justify-content: space-between; }
    .room-heading h1 { font-size: 34px; }
    .room-progress { padding: 18px 16px; }
    .room-progress > div { flex-wrap: wrap; gap: 11px; }
    .room-progress strong { font-size: 22px; }
    .status-pill { font-size: 8px; letter-spacing: .06em; }
    .room-progress strong > span { font-size: 11px; }
    .room-progress > p { font-size: 10px; }
    .admin-panel { padding-inline: 12px; font-size: 11px; }
    .join-panel { padding: 24px 19px; }
    .join-panel h2 { font-size: 28px; }
    .input-row { flex-direction: column; }
    .input-row button { justify-content: space-between; }
    .join-panel p { font-size: 12px; }
    input { font-size: 16px; }
    .preference-slots { grid-template-columns: minmax(0, 1fr); gap: 11px; margin-top: 21px; }
    .preference-slot { min-height: 66px; padding: 13px 17px; gap: 14px; }
    .slot-title { font-size: 13px; }
    .slot-title small { font-size: 8px; margin-top: 3px; }
    .slot-edit { display: inline; }
    .slot-number { font-size: 26px; }
    .ballot-tray { bottom: 0; border-radius: 13px 13px 0 0; width: 100%; padding: 13px 16px calc(13px + env(safe-area-inset-bottom)); }
    .ballot-tray .button { font-size: 12px; padding: 12px 15px; gap: 12px; }
    .ballot-tray > div { display: block; }
    .tray-score { font-size: 23px; }
    .tray-caption { display: block; color: #c8bdab; font-size: 9px; margin-top: 1px; }
    dialog { padding: 31px 22px 22px; max-height: calc(100dvh - 24px); }
    dialog h2 { font-size: 29px; }
    .review-list li { gap: 10px; }
    .review-title { font-size: 13px; }
    .reorder-buttons { flex-direction: column; }
    .reorder-buttons button { width: 40px; height: 40px; }
    .submitted-panel { padding: 30px 20px; margin-block: 28px; }
    .submitted-panel h2 { font-size: 28px; }
    .submitted-choices li { gap: 11px; font-size: 12px; }
    .winner-banner { grid-template-columns: 90px minmax(0, 1fr); gap: 18px; padding: 23px 17px; }
    .winner-banner .film-art { min-height: 205px; }
    .winner-banner h2 { font-size: 29px; margin-block: 10px 14px; overflow-wrap: anywhere; }
    .winner-banner .art-name { font-size: 20px; }
    .winner-banner .eyebrow { font-size: 7px; letter-spacing: .07em; }
    .winner-banner > div > p:not(.eyebrow) { font-size: 10px; }
    .winner-points { gap: 11px; margin-block: 18px 5px; }
    .winner-points strong { font-size: 38px; }
    .winner-points span { font-size: 8px; }
    .winner-points small { font-size: 8px; }
    .result-banner { padding: 26px 22px; }
    .ranking-row { grid-template-columns: minmax(0, 1fr) 44px repeat(3, 25px); padding: 13px 9px; gap: 3px; font-size: 11px; }
    .ranking-row:has(> :nth-child(2):last-child) { grid-template-columns: minmax(0, 1fr) 44px; }
    .ranking-head { font-size: 7px; letter-spacing: 0; }
    .ranking-title { gap: 8px; font-size: 11px; }
    .ranking-position { min-width: 15px; font-size: 10px; }
    .results-section .section-heading h2 { font-size: 26px; }
  }
  @media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
}
