:root {
  color-scheme: dark;
  --bg: #0e0e16;
  --fg: #faf9fc;
  --low: #b8b5c8;
  --purple: #834cff;
  --gold: #ffd764;
  font:
    16px/1.4 system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Hiragino Kaku Gothic ProN",
    "Yu Gothic",
    sans-serif;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
}
button,
input,
a {
  font: inherit;
  color: inherit;
}
button,
a {
  touch-action: manipulation;
}
button {
  border: 0;
  background: none;
  cursor: pointer;
  padding: 0;
}
button:disabled {
  cursor: default;
  opacity: 0.52;
}
a {
  text-decoration: none;
}
button:hover,
a:hover {
  color: #d0bfff;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
canvas:focus-visible,
summary:focus-visible {
  outline: 2px solid #b89bff;
  outline-offset: 3px;
}
button[hidden],
[hidden] {
  display: none !important;
}
.sr,
.skip:not(:focus) {
  position: absolute;
  clip-path: inset(50%);
  width: 1px;
  height: 1px;
  overflow: hidden;
  white-space: nowrap;
}
.skip:focus {
  position: absolute;
  z-index: 9;
  background: #222;
  padding: 12px;
}
.narrow {
  display: none !important;
}
header {
  background: #101019;
}
.bar,
.shell {
  max-width: 1440px;
  margin: auto;
  padding-inline: clamp(22px, 2.9vw, 42px);
}
.bar,
nav,
.brand,
.switch,
footer,
.library,
.starter,
.benefits button,
.filters,
#sort {
  display: flex;
  align-items: center;
}
.bar {
  height: clamp(54px, 5.1vw, 68px);
  justify-content: space-between;
}
.brand {
  gap: 9px;
  font-size: clamp(25px, 2.5vw, 35px);
  font-weight: 760;
  letter-spacing: -0.055em;
}
.brand img {
  width: 1.05em;
  height: 1.05em;
  object-fit: contain;
}
nav {
  gap: clamp(16px, 3vw, 42px);
  font-weight: 560;
}
nav > a {
  display: inline-flex;
  align-items: center;
}
nav > a,
nav > button,
.switch button,
.library,
.link,
footer button {
  min-height: 40px;
}
.switch {
  gap: 6px;
  margin-left: 4px;
}
.switch i {
  color: #7c798d;
  font-style: normal;
}
.switch button {
  color: #a29fb1;
  font-size: 0.94rem;
}
.switch button[aria-pressed="true"] {
  color: white;
  font-weight: 690;
}
.hero {
  background: #160b22;
  max-width: 1600px;
  margin: auto;
}
.hero img {
  width: 100%;
  height: auto;
  display: block;
}
.shell {
  padding-block: clamp(24px, 3.1vw, 46px) 16px;
}
h2 {
  font-size: clamp(32px, 3.75vw, 55px);
  font-weight: 730;
  line-height: 1.08;
  letter-spacing: -0.047em;
  margin: 0;
}
.creation-title {
  display: flex;
  align-items: center;
  gap: clamp(18px, 4vw, 68px);
  margin-bottom: 22px;
}
.library {
  gap: 10px;
  font-weight: 500;
}
.icon {
  width: 1.25em;
  height: 1.25em;
  display: block;
  flex: none;
}
i[data-icon] {
  display: inline-flex;
}
#composer {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas: "field create" "starter claim";
  gap: 18px 14px;
  align-items: center;
}
input {
  min-width: 0;
  width: 100%;
  border: 0;
  border-radius: 9px;
  background: #292838;
  padding: 0 19px;
  height: 48px;
}
input::placeholder {
  color: #c1bccc;
  font-style: italic;
}
#prompt {
  grid-area: field;
  height: clamp(50px, 4.6vw, 62px);
  font-size: 1.15rem;
}
.primary,
.secondary,
.dialog-action {
  font-weight: 650;
  border-radius: 8px;
  padding: 12px 24px;
  min-height: 44px;
}
.primary,
.dialog-action {
  background: #793ff3;
  color: white;
}
.primary:hover,
.dialog-action:hover {
  background: #8854fb;
  color: white;
}
.secondary {
  background: #59427b;
  color: white;
}
.secondary:hover {
  background: #725994;
  color: white;
}
#create-button {
  grid-area: create;
  font-size: 1.2rem;
  height: 100%;
  min-width: 175px;
}
.starter {
  grid-area: starter;
  gap: 14px;
  text-align: left;
  justify-self: start;
  min-width: 0;
}
.starter img {
  width: clamp(84px, 11vw, 148px);
  aspect-ratio: 2.55;
  object-fit: cover;
  border-radius: 6px;
}
.link {
  color: #e6e2ed;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.link:hover {
  text-decoration-thickness: 2px;
}
#claim {
  grid-area: claim;
  justify-self: end;
}
.benefits {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  margin: clamp(24px, 3vw, 44px) 0;
}
.benefits button {
  gap: 10px;
  min-height: 40px;
  font-size: clamp(15px, 1.65vw, 23px);
  font-weight: 650;
  text-align: left;
}
.benefits button:first-child {
  color: var(--gold);
}
#entry-form {
  display: flex;
  gap: 12px;
  align-items: center;
}
#entry-form label {
  font-weight: 650;
}
#entry-form label,
#entry-form button {
  flex: none;
}
#entry-url {
  flex: 1 1 240px;
}
#entry-error {
  color: #ffb2c2;
  font-size: 0.94rem;
}
#mine {
  margin-top: 7px;
}
#entries {
  margin-top: clamp(36px, 3.7vw, 60px);
}
.filters {
  gap: 36px;
  margin: 15px 0 24px;
}
.filters strong {
  font-weight: 600;
}
.filters #sort {
  gap: clamp(12px, 2.5vw, 32px);
}
#sort button {
  font-weight: 520;
  min-height: 40px;
  position: relative;
}
#sort button[aria-pressed="true"] {
  color: #b58cff;
}
#sort button[aria-pressed="true"]:after {
  content: "";
  position: absolute;
  bottom: 1px;
  left: 0;
  right: 0;
  height: 3px;
  border-radius: 3px;
  background: #985bff;
}
.grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.game-card {
  min-width: 0;
  text-align: left;
}
.game-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  object-fit: contain;
  border-radius: 10px;
  transition: filter 0.15s;
}
.game-card:hover img {
  filter: brightness(1.12);
}
.card-name {
  overflow-wrap: anywhere;
  margin: 7px 2px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  font-weight: 650;
  font-size: clamp(15px, 1.6vw, 22px);
}
.card-name i {
  font-size: 0.75em;
}
footer {
  gap: 24px;
  margin-top: clamp(36px, 4vw, 64px);
}
footer .brand {
  font-size: 22px;
  margin-right: 12px;
}
section {
  scroll-margin-top: 18px;
}
dialog {
  width: min(560px, calc(100% - 28px));
  max-height: 86dvh;
  border: 1px solid #454052;
  border-radius: 16px;
  background: #1c1a26;
  color: #faf8ff;
  padding: 24px;
  box-shadow: 0 14px 65px #0009;
  overflow: auto;
}
dialog::backdrop {
  background: #090812bd;
  backdrop-filter: blur(5px);
}
body:has(dialog[open]) {
  overflow: hidden;
}
.dialog-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 12px;
}
.dialog-top h2 {
  font-size: clamp(24px, 3vw, 32px);
}
#close {
  width: 40px;
  min-width: 40px;
  height: 40px;
  border-radius: 50%;
  font: 30px/1 Arial;
  background: #332f40;
}
#dialog-body p {
  margin: 10px 0;
  color: #dedbe7;
}
#dialog-body .subtle {
  font-size: 0.9rem;
  color: #b4afc3;
}
#dialog-body .dialog-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 12px;
}
#dialog-body details {
  padding: 9px 0;
}
#dialog-body summary {
  cursor: pointer;
  font-weight: 650;
}
.idea-list {
  display: grid;
  gap: 5px;
  margin-top: 12px;
}
.idea-option {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 8px;
  text-align: left;
  border-radius: 8px;
}
.idea-option:hover {
  background: #302b3d;
}
.idea-option img {
  width: 96px;
  border-radius: 5px;
  aspect-ratio: 1.8;
  object-fit: cover;
}
.idea-option small {
  display: block;
  color: var(--low);
  margin-top: 4px;
}
.dialog-list {
  padding-left: 1.25rem;
}
.dialog-list li {
  margin: 6px 0;
}
.submitted-item {
  overflow-wrap: anywhere;
  padding: 8px 0;
}
.menu-links {
  display: grid;
  gap: 8px;
}
.menu-links > * {
  text-align: left;
  padding: 8px 0;
}
blockquote {
  margin: 14px 0;
  padding: 14px 18px;
  background: #292535;
  border-radius: 8px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.form-note {
  font-size: 0.95rem;
  color: #d4c6ef;
  margin: 8px 0;
}
@media (max-width: 899px) {
  #entry-form {
    flex-wrap: wrap;
  }
  #entry-form .link {
    font-size: 0.94rem;
  }
  .benefits {
    flex-wrap: wrap;
  }
  nav {
    gap: 18px;
  }
}
@media (max-width: 680px) {
  .wide {
    display: none !important;
  }
  .narrow {
    display: inline !important;
  }
  .bar,
  .shell {
    padding-inline: clamp(17px, 5.6vw, 32px);
  }
  .bar {
    height: 48px;
    padding-inline: 15px;
  }
  .brand {
    font-size: 23px;
  }
  nav {
    font-size: 0.9rem;
    gap: 12px;
  }
  .switch {
    gap: 3px;
    margin: 0;
  }
  .menu-button {
    width: 24px;
  }
  .switch button {
    min-height: 42px;
  }
  .shell {
    padding-top: 20px;
  }
  h2 {
    font-size: clamp(25px, 6vw, 36px);
  }
  .creation-title {
    margin-bottom: 14px;
  }
  #composer {
    grid-template-columns: auto 1fr;
    grid-template-areas: "field field" "lib starter" "create create" "claim claim";
    gap: 8px 14px;
  }
  #prompt {
    height: 45px;
    font-size: 1rem;
    padding: 0 13px;
  }
  .library.narrow {
    grid-area: lib;
    display: flex !important;
    gap: 5px;
    font-size: 0.9rem;
  }
  .starter {
    gap: 8px;
    font-size: 0.9rem;
    min-height: 44px;
  }
  .starter img {
    width: clamp(38px, 11vw, 65px);
    aspect-ratio: 1.7;
  }
  .starter .narrow {
    line-height: 1.1;
  }
  .primary {
    font-size: 1rem;
  }
  #create-button {
    font-size: 1.09rem;
    min-height: 46px;
  }
  #claim {
    justify-self: center;
    min-height: 38px;
  }
  .benefits {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px 12px;
    margin: 14px 0 20px;
  }
  .benefits button {
    font-size: 0.93rem;
    gap: 7px;
    min-height: 36px;
  }
  #entry-form {
    display: grid;
    grid-template-columns: 1fr;
    gap: 7px;
  }
  #entry-form label {
    font-size: 1.08rem;
  }
  #entry-url {
    height: 43px;
    padding: 0 12px;
  }
  #entry-form .link {
    justify-self: center;
    min-height: 36px;
  }
  .secondary {
    padding-block: 9px;
  }
  #entries {
    margin-top: 25px;
  }
  .filters {
    display: block;
    margin: 8px 0 9px;
  }
  .filters strong {
    font-size: 0.93rem;
  }
  .filters #sort {
    gap: 21px;
  }
  #sort button {
    font-size: 0.92rem;
  }
  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 13px 10px;
  }
  .card-name {
    font-size: 1rem;
    margin-top: 4px;
  }
  .game-card img {
    border-radius: 7px;
  }
  .card-name i {
    font-size: 0.7rem;
  }
  footer {
    margin-top: 28px;
    gap: 16px;
  }
  footer .brand {
    font-size: 18px;
  }
  .idea-option img {
    width: 73px;
  }
  dialog {
    padding: 18px;
  }
}
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

#more {
  margin-top: 16px;
}
.grid a {
  display: block;
}
.game-card img {
  background: #272431;
}
.gallery-status {
  color: var(--low);
}
.switch a[aria-current="false"] {
  color: var(--low);
}
.switch a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.grid .cover {
  aspect-ratio: 16 / 9;
  background: #262232;
  border-radius: 9px;
  overflow: hidden;
}
.cover img {
  height: 100%;
}
.card-name svg {
  flex-shrink: 0;
  width: 0.8em;
  height: 0.8em;
}
.idea-search {
  display: flex;
  gap: 8px;
}
.idea-search input {
  flex: 1;
}
#claim,
#mine {
  align-content: center;
}
.gallery-status[hidden] {
  display: none;
}
#sort {
  flex-wrap: wrap;
}
#claim {
  display: inline-flex;
  align-items: center;
}
@media (max-width: 680px) {
  .filters #sort {
    gap: 4px 14px;
  }
  #sort button {
    white-space: nowrap;
  }
}

/* A single editorial strip; each cover and sentence are one selectable idea. */
.idea-rail {
  grid-column: 1/-1;
  grid-row: 2;
  min-width: 0;
}
.rail-head,
.rail-tools,
.rail-card {
  display: flex;
  align-items: center;
}
.rail-head {
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 4px;
}
.rail-head strong {
  font-size: 0.98rem;
}
.rail-tools {
  gap: 14px;
  color: var(--low);
  font-size: 0.88rem;
}
.rail-tools button {
  min-height: 40px;
}
.rail-tools #idea-shuffle {
  color: #c0a7ff;
  font-weight: 620;
}
#idea-position {
  font-variant-numeric: tabular-nums;
}
.rail-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.rail-card:hover {
  background: #ffffff05;
}
.rail-card {
  min-width: 0;
  gap: 12px;
  text-align: left;
  border-radius: 8px;
  min-height: 82px;
}
.rail-card img {
  width: clamp(78px, 8vw, 110px);
  flex: none;
  aspect-ratio: 4 / 3;
  height: auto;
  object-fit: cover;
  border-radius: 7px;
  background: #242231;
}
.rail-card span {
  min-width: 0;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  line-height: 1.35;
  font-size: 0.96rem;
}
#rail-notice {
  display: block;
  color: var(--low);
}
#composer #claim {
  grid-column: 2;
  grid-row: 3;
}
@media (max-width: 899px) {
  .rail-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 680px) {
  #composer {
    grid-template-areas: "field field" "create create" "lib lib" "starter starter" "claim claim";
  }
  .idea-rail {
    grid-area: starter;
  }
  .rail-cards {
    grid-template-columns: 1fr;
  }
  .rail-card {
    min-height: 72px;
  }
  .rail-card img {
    width: 86px;
  }
  .rail-tools {
    gap: 10px;
  }
  .rail-head {
    flex-wrap: wrap;
    row-gap: 0;
  }
  .rail-tools button {
    min-height: 44px;
  }
  #composer #claim {
    grid-area: claim;
  }
}
/* Single-page participation: personal data and its module are loaded on interaction only. */
#participate{scroll-margin-top:24px;border-block:1px solid #ffffff14;padding:28px 0}
#participation-summary,.jam-actions,.jam-detail-head{display:flex;align-items:center;justify-content:space-between;gap:20px}
.jam-actions{justify-content:flex-start;flex-wrap:wrap}
.jam-summary-copy{min-width:0}.jam-summary-copy h2{font-size:26px;letter-spacing:-.03em}
.jam-summary-copy p,#participation-details>p{color:var(--low);font-size:14px;margin:8px 0 0}
#participation-notice{color:#b8e6d0;font-size:14px}#participation-notice:empty{display:none}
#participation-details{margin-top:25px}.jam-detail-head h3{font-size:19px}
.jam-record{display:flex;align-items:start;gap:18px;padding:20px 0;border-bottom:1px solid #ffffff12}
.jam-record>div{min-width:0}.jam-record h3{font-size:17px;margin:0 0 10px;overflow-wrap:anywhere}
.jam-record img{width:128px;height:auto;aspect-ratio:16/9;object-fit:cover;border-radius:6px;flex:none}
.jam-record p{margin:7px 0;font-size:14px}.jam-record .subtle{color:var(--low);font-size:13px}
.jam-record a{margin-right:20px}.jam-badge{display:inline-block;padding:4px 9px;font-size:12px;border-radius:5px;background:#30243f;color:#d0b8ff}
.jam-badge.ok{background:#19362d;color:#a5e6c5}.jam-badge.wait{background:#3d321c;color:#f5d697}.jam-badge.bad{background:#3d2230;color:#ffb8c8}
.jam-panel h3{margin:12px 0;font-size:22px}.jam-panel .jam-form{display:grid;gap:20px}
.jam-field{display:grid;gap:8px;font-size:14px}.jam-field small{color:var(--low);font-size:12px}
.jam-panel textarea{font:inherit;color:inherit;background:#292838;border:0;border-radius:8px;width:100%;padding:12px 15px;resize:vertical;min-height:110px}
.jam-panel textarea:focus-visible{outline:2px solid #b89bff;outline-offset:3px}
.jam-panel .jam-agree{display:flex;align-items:start;gap:10px;font-size:14px}
.jam-agree input{width:18px;height:18px;margin-top:3px;accent-color:var(--purple);flex:none;padding:0}
#dialog-body .jam-error{color:#ffb8c8}.jam-error:empty{display:none}.jam-error button{margin-left:12px}
.jam-picker{display:grid;gap:6px;max-height:48dvh;overflow:auto;overscroll-behavior:contain}
.jam-choice{display:flex;align-items:center;gap:14px;padding:12px;border:1px solid transparent;border-radius:8px;text-align:left;width:100%}
.jam-choice[aria-pressed=true]{background:#312340;border-color:var(--purple)}.jam-choice:hover{background:#2b2437}
.jam-choice img{width:106px;height:auto;aspect-ratio:16/9;object-fit:cover;flex:none;border-radius:5px}
.jam-choice span{min-width:0}.jam-choice strong{display:block;overflow-wrap:anywhere}.jam-choice small{display:block;color:var(--low);font-size:12px;margin-top:5px}
.jam-wide{width:100%;margin-top:20px}.jam-confirm-cover{width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;border-radius:9px}
#dialog-body .jam-warning{padding:15px;border-radius:8px;background:#342b20;color:#ead5b7;font-size:14px}
.jam-info{margin:64px 0 0;scroll-margin-top:24px}.jam-info h2{font-size:36px;margin-bottom:24px}
.jam-faq-grid{display:grid;grid-template-columns:1fr 1fr;gap:30px 50px}.jam-faq-grid h3{font-size:18px;line-height:1.4;margin:0 0 10px}
.jam-faq-grid p,#rules-schedule,#configured-rules p{color:var(--low);font-size:15px;line-height:1.65;overflow-wrap:anywhere}
#rules-schedule{margin-bottom:24px}.rail-head{margin-bottom:12px}.rail-cards{min-height:82px}
body:has(dialog[open]){overflow:hidden}
@media(max-width:680px){
  dialog[open]{display:flex;flex-direction:column;overflow:hidden;position:fixed;bottom:auto;top:calc(var(--jam-dialog-bottom,100dvh) - 8px);transform:translateY(-100%);max-height:min(90dvh,calc(var(--jam-dialog-height,100dvh) - 16px));margin:0;}
  .dialog-top{flex-shrink:0;}
  #dialog-body{min-height:0;overflow:auto;overscroll-behavior:contain;}
  /* Keep iOS focus from zooming the form beyond the dialog viewport. */
  .jam-field input,.jam-field textarea{font-size:16px;}
}
@media(max-width:680px){#participation-summary{align-items:start;flex-direction:column;gap:18px}.jam-summary-copy h2{font-size:23px}.jam-record img{width:90px}.jam-record{gap:12px}.jam-record h3{font-size:15px}.jam-faq-grid{grid-template-columns:1fr;gap:25px}.jam-info{margin-top:44px}.jam-info h2{font-size:29px}.jam-faq-grid p{font-size:14px}.jam-actions{gap:12px}.jam-actions>.primary,.jam-actions>.secondary{flex:1}.jam-choice img{width:86px}.jam-choice{gap:10px;padding:10px 6px}.jam-choice strong{font-size:14px}dialog{width:100%;max-width:100%;max-height:90dvh;margin:auto 0 0;top:auto;bottom:0;border-radius:18px 18px 0 0;padding:24px 20px max(24px,env(safe-area-inset-bottom))}.dialog-top h2{font-size:25px}.jam-panel .jam-actions{flex-direction:column;align-items:stretch}.jam-picker{max-height:48dvh}}

.jam-record[aria-current="true"]{background:#834cff0b;border-radius:8px;padding-inline:14px;outline:1px solid #b89bff55}

.jam-theme,.jam-steps{margin-bottom:1.5rem}.jam-theme h2,.jam-steps h2{font-size:1.5rem;margin:0 0 .45rem}.jam-theme p,.jam-steps ol{margin:0;line-height:1.55}.jam-steps ol{padding-inline-start:1.4rem}.jam-steps li{margin-block:.3rem}.jam-info a,.jam-steps a,.jam-consent a{color:#c2a1ff;text-decoration:underline;text-underline-offset:.15em}.jam-info .rules-full{display:inline-block;border-radius:.5rem;padding:.6rem 1rem;background:#55329a;color:white;margin-top:1rem;text-decoration:none}.jam-consent{font-size:.875rem;line-height:1.5}#dialog-body>p{white-space:pre-line}footer{flex-wrap:wrap}

/* Event frame follows the preheat page: one wordmark, one reading width, full artwork. */
@font-face {
  font-family: Outfit;
  src: url("/events/retry-jam/outfit.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
body {
  --bg: #111114;
  background: var(--bg);
  font-family: Outfit, "PingFang SC", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
}
.event-wrap, .shell.event-wrap {
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 40px);
}
.event-header { background: var(--bg); }
.event-bar, .event-brand, .event-links, .event-langs, .event-footer-inner, .event-footer nav {
  display: flex;
  align-items: center;
}
.event-bar { justify-content: space-between; height: 68px; gap: 24px; }
.event-brand { flex: none; gap: 10px; }
.event-brand .platform-mark { width: 32px; height: 32px; }
.event-brand .brand-wordmark { height: 24px; width: auto; }
.event-links { gap: 30px; color: #cfc8dd; font-size: 15px; font-weight: 400; }
.event-langs { gap: 14px; color: #aaa4b9; }
.event-langs a { display: inline-flex; align-items: center; min-height: 44px; padding-inline: 6px; font-size: 13px; }
.event-langs a[aria-current="true"] { color: white; border-bottom: 1px solid white; }
.event-menu { display: none; }
.hero {
  max-width: none;
  background: radial-gradient(70% 60% at 50% 30%, #2b1652 0%, #170c26 55%, var(--bg) 100%);
}
.event-hero-art {
  display: block;
  margin: 0 auto;
  width: min(100%, 1900px, calc((100svh - 340px) * 2.408));
  min-width: min(100%, 960px);
  -webkit-mask-image: linear-gradient(180deg,#000 94%,transparent), linear-gradient(90deg,transparent 0,#000 3%,#000 97%,transparent);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(180deg,#000 94%,transparent), linear-gradient(90deg,transparent 0,#000 3%,#000 97%,transparent);
  mask-composite: intersect;
}
.launch-wrap { padding-top: 18px; }
.event-launch {
  display: grid;
  grid-template-columns: 1.12fr 1fr 1.08fr;
  align-items: center;
  border: 1px solid rgba(201,182,255,.16);
  border-radius: 28px;
  background: linear-gradient(180deg,rgba(34,28,52,.92),rgba(22,20,30,.96));
  box-shadow: 0 40px 80px -40px rgba(124,92,255,.65),inset 0 1px 0 rgba(255,255,255,.06);
}
.event-launch > div { min-width: 0; padding: 24px 32px; }
.event-launch > div + div { border-left: 1px solid rgba(255,255,255,.08); }
.launch-label { font: 700 11.5px/1.55 ui-monospace,monospace; letter-spacing: .16em; text-transform: uppercase; color: #aaa4b9; margin: 0 0 8px; }
.launch-clock { display: flex; align-items: baseline; gap: clamp(6px,1vw,14px); font-variant-numeric: tabular-nums; }
.launch-clock span { white-space: nowrap; }
.launch-clock b, .launch-pool > strong { font-size: clamp(30px,3.4vw,46px); line-height: 1; letter-spacing: -.03em; font-weight: 800; }
.launch-clock small { font-size: 13px; margin-left: 2px; color: #aaa4b9; }
.launch-clock span:last-child b, .launch-pool > strong { color: #ffd764; }
.launch-ended { font-size: clamp(20px,2.6vw,34px); line-height: 1.2; }
.launch-date, .launch-note { color: #aaa4b9; font-size: 13px; margin: 10px 0 0; }
.launch-perks { display: grid; gap: 6px; margin-top: 12px; color: #ded9e8; font-size: 14px; }
.launch-perks span { display: flex; align-items: center; gap: 8px; }
.launch-perks svg { width: 18px; height: 18px; flex: none; shape-rendering: crispEdges; }
.launch-action { text-align: center; }
.launch-claim {
  width: 100%; min-height: 62px; display: flex; align-items: center; justify-content: center; gap: 12px;
  padding: 10px; border-radius: 16px; color: white; font-size: 18px; font-weight: 700;
  background: linear-gradient(180deg,#9677ff,#6a46f2);
  box-shadow: 0 14px 36px -12px rgba(124,92,255,.85),inset 0 1px 0 rgba(255,255,255,.3),inset 0 -3px 0 rgba(0,0,0,.18);
}
.launch-claim:hover { color: white; background: linear-gradient(180deg,#a58bff,#7857fb); }
.launch-claim svg { width: 20px; height: 20px; flex: none; }
.launch-share { margin-top: 8px; border-radius: 12px; color: #c9b6ff; background: #30243f; padding: 8px 14px; font-size: 13px; min-height: 40px; }
.launch-feedback { display: block; font-size: 13px; color: #c9b6ff; }
.launch-feedback input { width: 100%; }
footer.event-footer { display: block; padding: 56px 0 calc(48px + env(safe-area-inset-bottom)); margin: 0; color: #aaa4b9; font-size: 14px; }
.event-footer-inner { flex-wrap: wrap; gap: 16px; justify-content: space-between; }
.event-footer img { display: block; width: auto; height: 20px; opacity: .75; }
.event-footer nav { flex-wrap: wrap; gap: 16px; font-size: 14px; font-weight: 400; }
@media(max-width:1080px) {
  .event-links { display: none; }
  .event-menu { display: inline-flex; align-items:center; justify-content:center; min-height:44px; width:36px; }
  .event-menu svg { width: 20px; height: 20px; }
  .event-launch > div { padding: 18px; }
  .launch-clock { gap: 4px; }
  .launch-clock b { font-size: 29px; }
  .launch-clock small { font-size: 11px; }
}
@media(max-width:760px) {
  .event-bar { gap:12px; }
  .event-brand { gap:8px; }
  .event-brand .platform-mark { width:26px; height:26px; }
  .event-brand .brand-wordmark { height:clamp(15px,4.6vw,20px); }
  .event-langs { gap:4px; }
  .event-langs a { font-size:12px; padding-inline:4px; }
  .event-hero-art { width:100%; min-width:0; -webkit-mask-image:linear-gradient(180deg,#000 92%,transparent); mask-image:linear-gradient(180deg,#000 92%,transparent); }
  .launch-wrap { padding-top:6px; }
  .event-launch { grid-template-columns:1fr; border-radius:22px; }
  .event-launch > div { padding:16px 20px; }
  .event-launch > div + div { border-left:0; }
  .launch-action { grid-row:1; }
  .launch-deadline, .launch-pool { border-top:1px solid rgba(255,255,255,.08); }
  .launch-claim { min-height:50px; font-size:16px; }
  .launch-clock { gap:14px; }
  .event-footer-inner, .event-footer nav { gap:12px; }
}
@media(min-width:761px) and (max-height:620px) {
  .event-hero-art { min-width:0; width:min(100%,calc((100svh - 180px) * 2.408)); }
}
@media(max-width:760px) and (max-height:700px) {
  .event-hero-art { width:min(100%,calc((100svh - 175px) * 1.524)); }
}

html:lang(zh) body { font-family: "Jam SC UI", "Jam SC Rules", Outfit, var(--sc-system); }
.rail-card[data-theme-idea] { padding: 12px 16px; background: #211d2c; }
.rail-card[data-theme-idea]:hover { background: #322940; }
.rail-card[data-theme-idea] span { display: block; overflow: visible; }
#direct-submit { min-height: 44px; width: 100%; margin: 6px 0; }

.event-stats{margin:18px 0 0;text-align:center;color:var(--muted,#bbb5c9);font-size:16px;line-height:1.6;font-variant-numeric:tabular-nums}
.entries-page main{padding-block:36px 64px}.entries-page h1{font-size:clamp(28px,4vw,48px);margin:0 0 12px}.entries-page #gallery-status{margin-bottom:24px}.entries-page #more{display:block;margin:28px auto 0}.entries-page #more[hidden]{display:none}
[data-jam-consent] { position:fixed; z-index:100; bottom:12px; left:50%; transform:translateX(-50%); width:max-content; max-width:94vw; padding:12px 16px; display:flex; flex-wrap:wrap; align-items:center; gap:12px; background:#262332; border:1px solid #777285; border-radius:10px; color:#fff; font:14px/1.5 system-ui,sans-serif; }
[data-jam-consent] button, [data-jam-consent] a { color:inherit; text-decoration:underline; cursor:pointer; }

.game-examples{margin:28px 0 12px}.example-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px}.example-heading h3{margin:0;font-size:20px;line-height:1.4}.example-heading button{font-size:13px;white-space:nowrap}.example-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.example-media{display:block;overflow:hidden;aspect-ratio:720/406;border-radius:16px;background:#100d21}.example-media video{display:block;width:100%;height:100%;object-fit:cover}.example-caption{display:flex;gap:12px;justify-content:space-between;align-items:center;margin:14px 0 8px}.example-caption h4{font-size:20px;margin:0}.example-caption a{display:inline-flex;align-items:center;gap:5px;font-size:14px;white-space:nowrap}.example-caption svg{width:14px;height:14px}.game-example p{font-size:15px;line-height:1.6;margin:0;color:#c0bbcb}.example-media:focus-visible{outline:2px solid #b996ff;outline-offset:4px}@media(max-width:700px){.example-grid{grid-template-columns:1fr;gap:24px}.example-heading h3{font-size:18px}.example-caption h4{font-size:18px}}
