:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: 2px solid #ffe27a;
  outline-offset: 3px;
}

html[data-input='pointer'] :is(a, button, input, select, textarea, summary, [tabindex], [role='dialog']):focus {
  outline: none !important;
  box-shadow: none !important;
}

#app {
  overflow: clip;
}

html {
  scroll-padding-top: 0.75rem;
}

.pfp-preview-button {
  inset-block-start: 0.375rem;
  inset-inline-end: 0.375rem;
}

.site-directory { margin: 1.5rem auto 0; max-width: 48rem; color: #efd780; }
.site-directory summary { cursor: pointer; width: fit-content; margin-inline: auto; font-size: .875rem; }
.site-directory nav { display: grid; grid-template-columns: repeat(auto-fit,minmax(8.75rem,1fr)); gap: 1rem; margin: 1rem 0; text-align: left; }
.site-directory h2 { margin-bottom: .4rem; font-size: .875rem; font-weight: 700; }
.site-directory li { margin-top: .35rem; font-size: .8125rem; color: #dfd6be; }
.site-directory a:hover, .sprite-source:hover { text-decoration: underline; }

.arcade-launch, .trailer-preview {
  position: relative;
  display: grid;
  place-items: center;
  background-color: #000;
  background-image: radial-gradient(1px 1px at 19px 26px,#fff9,transparent), radial-gradient(1.5px 1.5px at 117px 109px,#fffa,transparent), radial-gradient(1px 1px at 74px 73px,#fff7,transparent);
  background-size: 179px 173px, 233px 213px, 138px 157px;
}
.arcade-launch { min-height: 100dvh; padding: 1.5rem 1.5rem 3.5rem; }
.arcade-stage { display: grid; gap: 1.1rem; place-items: center; text-align: center; }
.arcade-stage header > p { color: #f8cd4d; font: .75rem var(--font-impact), sans-serif; letter-spacing: .3em; text-transform: uppercase; margin-bottom: .5rem; }
.arcade-stage h1, .arcade-title {
  border: 3px solid #dcb321;
  background: linear-gradient(130deg,#9b280d,#7f1b08);
  box-shadow: 0 0 0 2px #57200a;
  padding: .7rem 1rem;
  color: #ffe364;
  font-family: 'Bebas Neue',sans-serif;
  font-size: clamp(2.8rem,8vw,6.1rem);
  line-height: .85;
  text-transform: uppercase;
  text-shadow: 2px 3px 0 #a8280c, 3px 5px 0 #53150b;
  text-align: left;
}
.arcade-stage h1 span, .arcade-title span { display: block; }
.arcade-title { font-size: clamp(1.4rem,6vw,6.4rem); }
.arcade-start, .arcade-home, .arcade-more summary { text-transform: uppercase; font-family: 'Bebas Neue',sans-serif; letter-spacing: .13em; color: #ffdb42; }
.arcade-start { display: block; background: #932911; border: 3px solid #f7d13a; padding: .65rem 1.7rem .55rem; font-size: 1.35rem; }
.arcade-start:hover { background: #b73917; }
.arcade-home { position: absolute; left: .85rem; bottom: .65rem; padding: .3rem; }
.arcade-destination { font-size: .8125rem; color: #d5c499; }
.arcade-sleigher {
  background: linear-gradient(#02170cd9,#160503be), url('/assets/father-rizz.webp') 62% 42% / cover no-repeat #000;
  background-attachment: local;
}
.arcade-sleigher h1 { background: none; box-shadow: none; border: 0; font-size: clamp(4rem,15vw,10rem); }
.arcade-more { display: grid; gap: .5rem; width: min(19rem,80vw); }
.arcade-more details { background: #070b09e8; border: 1px solid #9e896c; border-radius: .4rem; }
.arcade-more summary { cursor: pointer; padding: .3rem .8rem; }
.arcade-more p { font-size: .875rem; padding: 0 .75rem .6rem; color: #f6e4bc; }

.admin-sign-in { display: inline-flex; justify-content: center; border-radius: .375rem; background: #ea082f; color: white; padding: .55rem 1rem; font-size: .875rem; font-weight: 600; }
.admin-sign-in:hover { background: #c60a2b; }
.sprite-tool { min-height: 100dvh; background: #06130f; color: #fff8e3; padding: clamp(1rem,3vw,2rem); }
.sprite-tool h1 { font-size: 1.6rem; line-height: 1.2; font-weight: 700; }
.sprite-tool h2 { font-size: 1rem; font-weight: 700; margin: .75rem 0 .5rem; }
.sprite-tool p { color: #cfcbb6; margin-top: .35rem; }
.sprite-tool label { font-size: .875rem; color: #e8e4ce; }
.sprite-tool button, .sprite-tool select, .sprite-tool input:not([type='checkbox'],[type='range'],[type='file']), .sprite-tool textarea {
  border: 1px solid #23513f; border-radius: .3rem; padding: .4rem .55rem; background: #08251c; color: #fff8e3; font-size: .875rem;
}
.sprite-tool button:hover:not(:disabled) { border-color: #dbc46a; }
.sprite-tool button:disabled { opacity: .5; cursor: default; }
.sprite-tool .sprite-primary { background: #d31438; border-color: #d31438; }
.sprite-tool-layout { display: grid; grid-template-columns: minmax(0,1.2fr) minmax(0,1fr); align-items: start; max-width: 75rem; gap: 1rem; }
.sprite-tool-layout section, .sprite-sheet-area, .sprite-sheet-empty { background: #04140d; border: 1px solid #184031; border-radius: .25rem; padding: .65rem; }
.sprite-sheet-empty { min-height: 16rem; display: grid; place-items: center; color: #d4cfb5; text-align: center; }
.sprite-sheet-area canvas { height: auto; display: block; max-width: 100%; cursor: crosshair; }
.sprite-fields { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.sprite-fields label { display: grid; gap: .2rem; }
.sprite-fields input, .sprite-fields select { min-width: 0; width: 100%; }
.sprite-file, .sprite-grid-controls, .sprite-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .7rem; margin: .8rem 0; }
.sprite-file input { max-width: 100%; }
.sprite-grid-controls input { width: 4rem; margin-left: .2rem; }
.sprite-tool textarea { display: block; width: 100%; font-family: monospace; }
.sprite-source { display: inline-block; color: #efd780; margin-top: 1rem; font-size: .875rem; }
.sprite-slicer-empty { max-width: 52rem; }
.sprite-frames { display: flex; flex-wrap: wrap; align-items: flex-start; gap: .75rem; }
.sprite-frames canvas, .sprite-hero canvas { image-rendering: pixelated; display: block; max-width: min(10rem,100%); max-height: 10rem; object-fit: contain; background: #08251c; }
.sprite-frames button { margin-top: .35rem; }
.sprite-hero h1 { font-family: 'Bebas Neue',sans-serif; color: #ffd700; }

@media (max-width: 640px) {
  .sprite-tool-layout { grid-template-columns: minmax(0,1fr); }
}

.holder-calendar-intro { display: grid; gap: 2rem; align-items: end; margin-bottom: 2rem; }
.holder-lead { margin-top: 1.25rem; max-width: 35rem; color: #e9dfc7; font-size: 1rem; line-height: 1.6; }
.holder-rules { border-top: 1px solid #826e38; padding-top: 1rem; }
.holder-rules ol { list-style: decimal inside; margin-top: .5rem; color: #e9dfc7; }
.holder-rules li { border-bottom: 1px solid #ffffff24; padding: .65rem 0; line-height: 1.45; }
.holder-season-status, .holder-countdown { display: flex; align-items: center; gap: .55rem; }
.holder-season-status { justify-content: space-between; flex-wrap: wrap; padding-bottom: 1rem; margin-bottom: 1.25rem; border-bottom: 1px solid #826e38; color: #e9dfc7; font-size: .875rem; }
.holder-countdown { color: #ffe29b; font-weight: 700; font-variant-numeric: tabular-nums; }
.holder-footnote { margin-top: 1.5rem; color: #e9dfc7; font-size: .875rem; }
.holder-footnote svg, .holder-countdown svg { flex-shrink: 0; }
.holder-load-error { margin: 0 0 1rem; color: #ffe29b; }
.holder-result { width: calc(100% - 1.5rem); max-width: 40rem; max-height: 90dvh; grid-template-rows: auto minmax(0, 1fr); overflow: hidden; padding: 0; gap: 0; }
.holder-result-head, .holder-result-body { padding: clamp(1rem, 4vw, 2rem); }
.holder-result-head { padding-right: 3rem; }
.holder-result-body { overflow-y: auto; overscroll-behavior: contain; }
.holder-result > [aria-label="Close"] { color: #35190c; }
.holder-result > [aria-label="Close"]:focus-visible { outline-color: #35190c; }
.holder-result-head h2 { margin: .45rem 0; font-size: clamp(2rem, 6vw, 3rem); }
.holder-result-head [data-slot='dialog-description'], .holder-result-head p { color: inherit; }
.holder-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: .55rem; }
.holder-metrics > div { border: 1px solid #826e3880; border-radius: .35rem; padding: .7rem; }
.holder-metrics dt, .holder-hashes dt { color: #e5c677; font-size: .875rem; }
.holder-metrics dd { margin-top: .25rem; color: #fff9e8; font-weight: 700; }
.holder-proof { margin-top: 1rem; border: 1px solid #826e3880; border-radius: .35rem; padding: .65rem; }
.holder-proof summary { cursor: pointer; color: #ffe29b; font-size: .875rem; font-weight: 700; }
.holder-proof table { width: 100%; margin: .75rem 0; font-size: .875rem; text-align: left; }
.holder-proof th, .holder-proof td { padding: .35rem .25rem; border-bottom: 1px solid #ffffff24; }
.holder-proof th:nth-child(n+2), .holder-proof td:nth-child(n+2) { text-align: right; }
.holder-hashes > div { margin-top: .55rem; }
.holder-hashes dd { color: #e9dfc7; overflow-wrap: anywhere; font-size: .75rem; }
.holder-proof-json { width: 100%; margin-top: .8rem; padding: .45rem; background: #06120e; color: #e9dfc7; font-family: monospace; font-size: .75rem; }
.holder-proof-actions { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 1rem; }
.holder-verify-status { margin-top: .7rem; color: #ffe29b; font-size: .875rem; }
@media (min-width: 900px) {
  .holder-calendar-intro { grid-template-columns: 1.4fr 1fr; }
}

.holder-pot {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem 2rem;
  margin-bottom: 1rem;
  padding: clamp(1rem, 3vw, 1.75rem);
  border: 1px solid #ae894d;
  border-radius: .75rem;
  background: linear-gradient(125deg, #152d21, #101a12 70%, #2c2211);
  color: #e9dfc7;
}
.holder-pot-kicker { margin-bottom: .4rem; color: #ffe29b; font-size: .875rem; font-weight: 700; }
.holder-pot h3 { margin-bottom: .35rem; color: #fff9e8; font-size: clamp(1.7rem, 4vw, 2.5rem); }
.holder-pot-total { display: grid; gap: .25rem; min-width: 0; color: #e9dfc7; }
.holder-pot-total strong { color: #ffe29b; font-size: clamp(1.8rem, 5vw, 3rem); line-height: 1.1; font-variant-numeric: tabular-nums; }
.holder-pot-total span { font-size: .875rem; }
.holder-pot progress { grid-column: 1 / -1; width: 100%; height: .45rem; border: 0; accent-color: #d9af62; }
.holder-pot progress::-webkit-progress-bar { background: #ffffff20; border-radius: 1rem; }
.holder-pot progress::-webkit-progress-value { background: #d9af62; border-radius: 1rem; }
.holder-pot-modal { padding: 1rem 0; border-block: 1px solid #826e38; }
.holder-gifts {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .45rem .75rem;
  margin-bottom: 1.25rem;
  padding: .85rem clamp(1rem, 3vw, 1.75rem);
  border: 1px solid #826e38;
  border-radius: .65rem;
  background: #0e2118;
  color: #ffe29b;
}
.holder-gifts h3 { font-size: .9rem; }
.holder-gifts p { display: flex; align-items: baseline; gap: .65rem; margin-left: auto; }
.holder-gifts strong { font-size: 1.15rem; font-variant-numeric: tabular-nums; }
.holder-gifts span { color: #e9dfc7; font-size: .8rem; }
.holder-sealed .holder-countdown { justify-content: center; }
@media (max-width: 620px) {
  .holder-pot { grid-template-columns: minmax(0, 1fr); }
}
.holder-payout-link { color: #ffe29b; text-decoration: underline; text-underline-offset: .2em; }
.holder-payout-link:hover { color: #fff9e8; }

.holder-share { display: grid; gap: .6rem; margin-top: .65rem; }
.holder-share form { display: grid; gap: .55rem; text-align: left; }
.holder-share label { font-size: .875rem; color: #e9dfc7; }
.holder-share input {
  width: 100%;
  min-width: 0;
  padding: .6rem .75rem;
  border: 1px solid #826e38;
  border-radius: .35rem;
  background: #071610;
  color: #fff9e8;
  font: inherit;
}
.holder-share-amount { color: #ffe29b; font-weight: 700; font-variant-numeric: tabular-nums; }
