body {
  min-width: 320px;
  overflow-x: clip;
  background-color: var(--ui-paper);
  background-image:
    radial-gradient(ellipse at 18% 26%, rgba(86,60,34,.065) 0 .55px, transparent .75px),
    radial-gradient(ellipse at 72% 68%, rgba(17,20,28,.05) 0 .45px, transparent .7px),
    repeating-linear-gradient(7deg, rgba(82,60,38,.018) 0 1px, transparent 1px 5px),
    linear-gradient(93deg, rgba(255,255,255,.16), transparent 24%, rgba(96,68,39,.025) 70%, transparent);
  background-size: 4px 5px, 7px 6px, 11px 13px, 100% 100%;
}

html { scrollbar-width: thin; scrollbar-color: var(--ui-blue) var(--ui-paper-deep); }
html::-webkit-scrollbar { width: 12px; }
html::-webkit-scrollbar-track { border-left: 2px solid var(--ui-ink); background: var(--ui-paper-deep); }
html::-webkit-scrollbar-thumb { border: 2px solid var(--ui-ink); border-radius: 1px; background: linear-gradient(180deg,var(--ui-blue) 0 72%,var(--ui-red) 72% 100%); }
html::-webkit-scrollbar-thumb:hover { background: linear-gradient(180deg,var(--ui-blue-dark) 0 68%,var(--ui-red-dark) 68% 100%); }

body.is-editing { padding-bottom: 76px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

h1, h2, h3, p, figure { margin-top: 0; }

.site-header,
main,
.site-footer {
  width: 100%;
  margin-inline: auto;
}

.site-header {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  grid-template-areas: "brand nav socials support";
  align-items: center;
  gap: 18px;
  min-height: clamp(92px, 12svh, 124px);
  padding: 10px 3%;
  border-right: 2px solid var(--ui-ink);
  border-bottom: 3px solid var(--ui-ink);
  border-left: 2px solid var(--ui-ink);
  background-color: var(--ui-ink);
  background-image:
    radial-gradient(circle at 30% 30%, rgba(243,234,216,.16) 0 .45px, transparent .65px),
    repeating-linear-gradient(2deg, transparent 0 5px, rgba(243,234,216,.025) 6px 7px);
  background-size: 5px 5px, 100% 11px;
  color: var(--ui-white);
}

.header-support {
  grid-area: support;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 7px 9px 7px 12px;
  border: 2px solid var(--ui-white);
  color: var(--ui-white);
  font-family: var(--ui-font-display);
  font-size: 15px;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  box-shadow: 3px 3px 0 var(--ui-red);
  transition: color var(--ui-motion-fast), background var(--ui-motion-fast), transform var(--ui-motion-fast), box-shadow var(--ui-motion-fast);
}
.header-support small { display: block; margin-bottom: 3px; color: #c9c1b3; font-family: var(--ui-font-mono); font-size: 11px; letter-spacing: .04em; }
.header-support svg { width: 34px; height: 34px; color: var(--ui-red); }
.header-support:hover { background: var(--ui-white); color: var(--ui-ink); transform: translate(2px,2px); box-shadow: 1px 1px 0 var(--ui-red); }
.header-support:hover small { color: var(--ui-muted); }
.header-support:active { transform: translate(3px,3px); box-shadow: none; }

.brand-shell {
  grid-area: brand;
  position: relative;
  display: inline-flex;
  align-items: center;
  min-width: max-content;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  min-width: max-content;
  text-decoration: none;
}
.brand-live { display: inline-flex; align-items: center; gap: 5px; align-self: flex-start; margin: 8px 0 0 -4px; padding: 5px 7px 4px; border: 2px solid var(--ui-white); background: var(--ui-red); color: var(--ui-white); font-family: var(--ui-font-mono); font-size: 11px; font-weight: 900; letter-spacing: .08em; text-decoration: none; text-transform: uppercase; box-shadow: 2px 2px 0 var(--ui-blue); transition: transform var(--ui-motion-fast),box-shadow var(--ui-motion-fast); }
.brand-live[hidden] { display: none; }
.brand-live:hover { transform: translate(-1px,-1px) rotate(-2deg); box-shadow: 4px 4px 0 var(--ui-blue); }
.brand-live i,.live-dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 3px rgba(255,255,255,.18); animation: live-pulse 1.3s ease-in-out infinite; }
@keyframes live-pulse { 50% { opacity: .35; transform: scale(.78); } }

.brand-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: clamp(62px, 6.2vw, 92px);
  height: clamp(62px, 6.2vw, 92px);
  overflow: hidden;
  border: 2px solid var(--ui-white);
  border-radius: 50%;
  background: #111522;
}

.brand-mark::before,
.brand-mark::after {
  content: "";
  position: absolute;
  inset: -2px;
  z-index: 0;
  border: 2px solid;
  border-radius: 50%;
  opacity: .8;
}

.brand-mark::before { border-color: var(--ui-red); transform: translate(-2px, 1px); }
.brand-mark::after { border-color: #3b65ca; transform: translate(2px, -1px); }

.brand-mark img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-name {
  color: var(--ui-white);
  font-family: var(--ui-font-display);
  font-size: clamp(30px, 3.3vw, 52px);
  font-stretch: condensed;
  font-weight: 900;
  line-height: .9;
  letter-spacing: -.045em;
  text-transform: uppercase;
}

.site-header nav {
  grid-area: nav;
  display: flex;
  justify-content: center;
  align-self: stretch;
}

.site-header nav a {
  display: inline-flex;
  align-items: center;
  min-height: var(--ui-control-min);
  padding: 0 12px;
  border-bottom: 4px solid transparent;
  color: #d7d0c3;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  text-transform: uppercase;
  transition: border-color var(--ui-motion-fast), color var(--ui-motion-fast);
}

.site-header nav a:hover {
  border-bottom-color: var(--ui-red);
  color: var(--ui-white);
}

.header-socials {
  grid-area: socials;
  display: flex;
  align-items: center;
  gap: 5px;
}

.header-socials a {
  position: relative;
  display: grid;
  place-items: center;
  align-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid #625f59;
  color: #c8c0b3;
  text-decoration: none;
  transition: color var(--ui-motion-fast), background var(--ui-motion-fast), transform var(--ui-motion-fast), border-color var(--ui-motion-fast);
}

.header-socials a:hover { z-index: 1; border-color: var(--ui-white); background: var(--ui-blue); color: var(--ui-white); transform: translateY(-2px) rotate(-2deg); }
.header-socials a:nth-child(even):hover { background: var(--ui-red); transform: translateY(-2px) rotate(2deg); }
.header-socials svg { width: 20px; height: 20px; }

.admin-bar { position: fixed; right: 18px; bottom: 18px; z-index: 70; display: block; width: max-content; transition: bottom var(--ui-motion-fast); }
.admin-bar[hidden] { display: none; }
.is-editing .admin-bar { bottom: 80px; }
.admin-dock-toggle { position: relative; z-index: 2; display: flex; align-items: center; gap: 7px; min-width: 48px; min-height: 48px; margin-left: auto; padding: 7px 10px; border: 2px solid var(--ui-ink); border-radius: 50% 44% 48% 42%; background: var(--ui-red); color: var(--ui-white); box-shadow: 4px 4px 0 var(--ui-ink),-2px -2px 0 var(--ui-blue); transform: rotate(-1deg); }
.admin-dock-toggle span { font-size: 20px; line-height: 1; }
.admin-dock-toggle b { max-width: 0; overflow: hidden; font-family: var(--ui-font-mono); font-size: 10px; letter-spacing: .04em; opacity: 0; text-transform: uppercase; transition: max-width var(--ui-motion-fast),opacity var(--ui-motion-fast); }
.admin-bar:hover .admin-dock-toggle b,.admin-bar.is-open .admin-dock-toggle b { max-width: 60px; opacity: 1; }
.admin-dock-menu { position: absolute; right: 0; bottom: calc(100% + 8px); display: grid; gap: 7px; width: min(250px,calc(100vw - 36px)); padding: 12px; border: 2px solid var(--ui-ink); background-color: rgba(243,234,216,.98); background-image: radial-gradient(circle,rgba(17,20,28,.09) 0 .45px,transparent .7px); background-size: 5px 5px; box-shadow: 5px 5px 0 rgba(17,20,28,.22),-3px -2px 0 rgba(23,79,201,.3); opacity: 0; pointer-events: none; transform: translateY(10px) rotate(.7deg); transition: opacity var(--ui-motion-fast),transform var(--ui-motion-fast),visibility var(--ui-motion-fast); visibility: hidden; }
.admin-dock-menu::after { content: ""; position: absolute; right: 19px; bottom: -10px; width: 16px; height: 16px; border-right: 2px solid var(--ui-ink); border-bottom: 2px solid var(--ui-ink); background: var(--ui-paper-light); transform: rotate(45deg); }
.admin-bar:hover .admin-dock-menu,.admin-bar.is-open .admin-dock-menu { opacity: 1; pointer-events: auto; transform: translateY(0) rotate(-.3deg); visibility: visible; }
.admin-dock-menu a { display: grid; align-items: center; min-height: 40px; padding: 7px 11px; border: 2px solid var(--ui-ink); background: var(--ui-blue); color: var(--ui-white); font-family: var(--ui-font-mono); font-size: 11px; font-weight: 900; text-decoration: none; text-transform: uppercase; box-shadow: 2px 2px 0 var(--ui-ink); }
.admin-dock-menu form { margin: 0; }
.admin-dock-menu button { width: 100%; }

.admin-bar button,
.inline-editor button,
.edit-actions button {
  min-height: 40px;
  padding: 6px 12px;
  border: 2px solid var(--ui-ink);
  border-radius: var(--ui-radius-sm);
  background: var(--ui-paper-light);
  color: var(--ui-ink);
  font-weight: 800;
  box-shadow: 2px 2px 0 var(--ui-ink);
  cursor: pointer;
}

.admin-bar button:hover,
.inline-editor button:hover,
.edit-actions button:hover { transform: translate(1px,1px); box-shadow: 1px 1px 0 var(--ui-ink); }

.crown { width: 70px; height: 48px; }

.front-page {
  position: relative;
  display: grid;
  grid-template-columns: 34% 31% 35%;
  grid-template-rows: minmax(365px, 58fr) minmax(230px, 42fr);
  min-height: calc(100svh - clamp(92px, 12svh, 124px));
  border-bottom: 3px solid var(--ui-ink);
  background-color: #eee5d4;
  background-image:
    radial-gradient(ellipse at 22% 30%, rgba(72,55,37,.075) 0 .55px, transparent .8px),
    radial-gradient(ellipse at 76% 66%, rgba(17,20,28,.055) 0 .45px, transparent .75px),
    repeating-linear-gradient(8deg, rgba(82,60,38,.02) 0 1px, transparent 1px 6px),
    linear-gradient(92deg, rgba(255,255,255,.14), transparent 28%, rgba(71,57,41,.035) 72%, transparent);
  background-size: 5px 6px, 8px 7px, 13px 15px, 100% 100%;
}

.front-page > * {
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: hidden;
}

.front-portrait { grid-column: 1; grid-row: 1; border-right: 3px solid var(--ui-ink); border-bottom: 3px solid var(--ui-ink); background: var(--ui-ink); }
.front-portrait::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg,rgba(23,79,201,.18),transparent 55%,rgba(223,61,40,.12)); opacity: .72; mix-blend-mode: screen; }
.front-portrait img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 44%; filter: saturate(.96) contrast(1.08); transform: scale(1.12); }
.portrait-mark { position: absolute; left: 5%; bottom: 10%; z-index: 3; width: 115px; height: 46px; border-top: 5px solid var(--ui-blue); border-radius: 50%; transform: rotate(-15deg); }

.front-manifest { grid-column: 2; grid-row: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 34px 24px 20px; border-right: 3px solid var(--ui-ink); border-bottom: 3px solid var(--ui-ink); background: rgba(243,234,216,.68); }
.front-manifest::before,.front-manifest::after { content: ""; position: absolute; top: 16px; bottom: 16px; z-index: 2; width: 1px; pointer-events: none; opacity: .5; }
.front-manifest::before { left: 12px; background: var(--ui-blue); box-shadow: 2px 0 0 rgba(223,61,40,.22); }
.front-manifest::after { right: 12px; background: var(--ui-red); box-shadow: -2px 0 0 rgba(23,79,201,.22); }
.front-manifest h1 { width: min(100%,500px); margin: 0; font-family: var(--ui-font-display); font-size: clamp(36px,2.9vw,52px); font-stretch: condensed; font-weight: 900; line-height: .86; letter-spacing: -.07em; text-align: center; text-transform: uppercase; }
.front-manifest h1 span { display: block; white-space: nowrap; }
.front-manifest h1 i { color: var(--ui-red); font-style: normal; }
.front-manifest h1 span:last-child i { color: var(--ui-blue); }
.front-manifest .print-shift { text-shadow: 1px .5px 0 var(--ui-red),-1px -.5px 0 var(--ui-blue); }
.front-manifest .print-shift::before,.front-manifest .print-shift::after { display: none; }
.front-manifest > p { margin: 19px 0 17px; padding: 7px 14px 6px; background: var(--ui-ink); color: var(--ui-white); font-size: clamp(14px,1.15vw,17px); font-weight: 900; font-style: italic; text-align: center; text-transform: lowercase; transform: rotate(-1deg); }
.front-crown { position: relative; top: auto; left: auto; z-index: 3; flex: 0 0 auto; width: 62px; height: 40px; margin: 0 0 3px; color: var(--ui-blue); transform: rotate(-7deg); }
.front-manifest-ink { position: absolute; z-index: 0; width: 150px; height: 86px; color: var(--ui-ink); pointer-events: none; }
.front-manifest-ink-left { bottom: 9px; left: 2%; opacity: .17; transform: rotate(5deg); }
.front-manifest-ink-right { top: 10px; right: 1%; opacity: .13; transform: scaleX(-1) rotate(-7deg); }
.manifest-symbols { display: flex; gap: clamp(18px,2.5vw,42px); }
.manifest-symbols span { position: relative; display: grid; place-items: center; width: 38px; height: 38px; transform: rotate(-2deg); }
.manifest-symbols span:nth-child(even) { transform: rotate(2deg); }
.manifest-symbols span::before { content: ""; position: absolute; inset: 2px; border: 1px solid rgba(17,20,28,.34); box-shadow: 1px 1px 0 rgba(223,61,40,.42),-1px -1px 0 rgba(23,79,201,.42); transform: translate(2px,2px); }
.manifest-symbols svg { position: relative; z-index: 1; width: 34px; height: 34px; color: var(--ui-ink); filter: none; }
.panel-ref { position: absolute; top: 9px; right: 13px; z-index: 7; display: inline-flex; align-items: center; min-height: 18px; padding: 3px 5px 2px; border-top: 1px solid rgba(17,20,28,.34); border-bottom: 1px solid rgba(17,20,28,.2); background: rgba(243,234,216,.52); color: rgba(17,20,28,.58); font-family: var(--ui-font-mono); font-size: 8px; font-weight: 900; line-height: 1; letter-spacing: .075em; white-space: nowrap; opacity: .88; transform: rotate(.3deg); }
.panel-ref::after { content: ""; position: absolute; right: 5px; bottom: -3px; width: 19px; border-bottom: 1px solid rgba(223,61,40,.62); transform: translateX(1px) rotate(-2deg); }

.front-video { grid-column: 3; grid-row: 1; padding: 75px 3% 20px; border-bottom: 3px solid var(--ui-ink); background: rgba(243,234,216,.62); color: var(--ui-white); }
.front-video > header { top: 19px; left: 8%; }
.front-video-visual { position: relative; display: grid; grid-template-rows: auto 42px; height: auto; overflow: hidden; border: 7px solid var(--ui-ink); background: #22252d; color: var(--ui-white); text-decoration: none; box-shadow: 3px 3px 0 rgba(17,20,28,.24); cursor: pointer; transition: transform var(--ui-motion-fast), box-shadow var(--ui-motion-fast), border-color var(--ui-motion-fast); }
.front-video-visual::before { content: ""; display: block; min-height: 0; aspect-ratio: 16/9; background-color: #22252d; background-image: var(--video-thumbnail,none); background-position: center; background-size: contain; background-repeat: no-repeat; }
.front-video-visual:not(.disabled):hover { border-color: var(--ui-white); box-shadow: 6px 6px 0 var(--ui-blue), -3px -3px 0 var(--ui-red); transform: translate(-2px,-2px); }
.front-video-visual:not(.disabled):active { box-shadow: 2px 2px 0 var(--ui-blue); transform: translate(1px,1px); }
.front-video-visual.disabled { cursor: default; }
.front-video-controls { position: relative; z-index: 2; display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: center; gap: 8px; width: 100%; padding: 4px 7px; border-top: 2px solid var(--ui-ink); background: #171a22; }
.front-video-play { display: grid; place-items: center; width: 30px; aspect-ratio: 1; border: 2px solid var(--ui-white); border-radius: 50%; background: var(--ui-ink); color: var(--ui-white); font-size: 13px; line-height: 1; text-indent: 2px; box-shadow: 1px 1px 0 var(--ui-red); }
.front-video-progress { height: 5px; overflow: hidden; background: rgba(255,255,255,.22); }
.front-video-progress i { display: block; width: 38%; height: 100%; background: var(--ui-red); }
.front-video-duration { min-width: 38px; font-family: var(--ui-font-mono); font-size: var(--ui-text-xs); font-weight: 900; text-align: right; }
.front-video-visual.disabled .front-video-controls { opacity: .45; }
.front-stream small { display: block; margin-bottom: 5px; color: #d0c7b7; font-family: var(--ui-font-mono); font-size: var(--ui-text-xs); font-weight: 800; text-transform: uppercase; }
.front-video-arrow { position: absolute; right: 145px; top: 18px; z-index: 5; width: 70px; height: 50px; color: var(--ui-ink); transform: rotate(105deg); }

.front-stream { grid-column: 1; grid-row: 2; padding: 70px 3% 24px; border-right: 3px solid var(--ui-ink); background: rgba(243,234,216,.68); color: var(--ui-ink); }
.front-stream > header { top: 18px; left: 4%; }
.front-stream-body { display: grid; grid-template-columns: 78px auto minmax(110px,1fr); align-items: center; gap: 12px; height: 100%; padding: 8px; border: 2px solid var(--ui-ink); color: inherit; text-decoration: none; transition: background var(--ui-motion-fast),box-shadow var(--ui-motion-fast),transform var(--ui-motion-fast); }
.front-stream-body.is-live-link { cursor: pointer; }
.front-stream-body.is-live-link:hover { background: rgba(223,61,40,.1); box-shadow: 4px 4px 0 rgba(223,61,40,.35); transform: translate(-1px,-1px); }
.front-stream time { display: grid; align-content: center; justify-items: center; text-transform: uppercase; }
.front-stream time strong { font-family: var(--ui-font-display); font-size: clamp(45px,4vw,68px); line-height: .75; }
.front-stream time span { margin-top: 12px; font-family: var(--ui-font-mono); font-size: var(--ui-text-xs); font-weight: 900; }
.front-stream time b { margin-top: 8px; color: var(--ui-red); font-family: var(--ui-display); font-size: 20px; }
.front-stream-poster { position: relative; width: clamp(112px,10vw,148px); aspect-ratio: 1; overflow: hidden; border: 3px solid var(--ui-ink); background: var(--ui-paper); }
.auction-wheel::before { content: ""; position: absolute; top: 2px; left: 50%; z-index: 3; width: 0; height: 0; border-right: 8px solid transparent; border-left: 8px solid transparent; border-top: 18px solid var(--ui-ink); transform: translateX(-50%); }
.auction-wheel-disc { position: absolute; inset: 11px; border: 3px solid var(--ui-ink); border-radius: 50%; background: repeating-conic-gradient(var(--ui-red) 0 30deg,var(--ui-paper-light) 30deg 60deg,var(--ui-blue) 60deg 90deg,var(--ui-paper-deep) 90deg 120deg); box-shadow: 0 0 0 5px var(--ui-paper),0 0 0 7px var(--ui-ink); animation: auction-wheel-spin 18s linear infinite; }
.auction-wheel-disc::before { content: ""; position: absolute; inset: 18%; border: 2px solid var(--ui-ink); border-radius: 50%; background: var(--ui-paper-light); }
.auction-wheel-disc::after { content: ""; position: absolute; top: 50%; left: 50%; width: 30%; aspect-ratio: 1; border: 2px solid var(--ui-ink); border-radius: 50%; background: var(--ui-paper-light); transform: translate(-50%,-50%); }
.auction-wheel-movie { position: absolute; top: 50%; left: 50%; z-index: 5; width: 35px; height: 25px; border: 3px solid var(--ui-ink); background: var(--ui-paper-light); transform: translate(-50%,-44%) rotate(-3deg); }
.auction-wheel-movie::before { content: ""; position: absolute; right: -3px; bottom: 6px; left: -3px; border-top: 3px solid var(--ui-ink); }
.auction-wheel-movie span { position: absolute; right: -3px; bottom: 100%; left: -3px; height: 9px; border: 3px solid var(--ui-ink); background: repeating-linear-gradient(135deg,var(--ui-ink) 0 5px,var(--ui-paper-light) 5px 10px); transform: rotate(-9deg); transform-origin: left bottom; }
.auction-wheel > i { position: absolute; right: 10px; bottom: 9px; z-index: 4; width: 24px; height: 6px; background: var(--ui-ink); transform: rotate(-25deg); }
@keyframes auction-wheel-spin { to { transform: rotate(360deg); } }
.game-stream-poster { background: linear-gradient(145deg,var(--ui-blue) 0 48%,var(--ui-paper-light) 48% 100%); }
.game-stream-screen { position: absolute; top: 13px; right: 15px; left: 15px; height: 56%; overflow: hidden; border: 3px solid var(--ui-ink); background: var(--ui-ink); box-shadow: 4px 4px 0 var(--ui-red); }
.game-stream-screen::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(0deg,transparent 0 5px,rgba(255,255,255,.07) 5px 6px); animation: game-scan 2.8s linear infinite; }
.game-stream-screen i { position: absolute; right: 18%; bottom: 17%; width: 19%; aspect-ratio: 1; background: var(--ui-red); box-shadow: -27px -13px 0 var(--ui-paper-light),-14px -26px 0 var(--ui-blue),14px -13px 0 var(--ui-paper-deep); animation: game-pixels 1.8s steps(2,end) infinite; }
.game-stream-screen b { position: absolute; bottom: 0; left: 12%; width: 28%; height: 40%; border-right: 9px solid transparent; border-bottom: 25px solid var(--ui-paper-light); border-left: 9px solid transparent; transform: skew(-8deg); }
.game-stream-controller { position: absolute; right: 12px; bottom: 13px; left: 12px; z-index: 3; height: 35%; border: 3px solid var(--ui-ink); border-radius: 45% 45% 28% 28%; background: var(--ui-paper-light); box-shadow: 4px 4px 0 rgba(17,20,28,.24); animation: controller-float 2.4s ease-in-out infinite; }
.game-stream-controller::before,.game-stream-controller::after { content: ""; position: absolute; bottom: -14px; width: 30%; height: 29px; border: 3px solid var(--ui-ink); background: var(--ui-paper-light); }
.game-stream-controller::before { left: 5px; border-radius: 0 0 65% 38%; transform: rotate(13deg); }
.game-stream-controller::after { right: 5px; border-radius: 0 0 38% 65%; transform: rotate(-13deg); }
.game-stream-controller i { position: absolute; top: 13px; left: 21px; width: 25px; height: 7px; background: var(--ui-ink); }
.game-stream-controller i::after { content: ""; position: absolute; top: -9px; left: 9px; width: 7px; height: 25px; background: var(--ui-ink); }
.game-stream-controller b,.game-stream-controller em { position: absolute; width: 11px; height: 11px; border: 2px solid var(--ui-ink); border-radius: 50%; background: var(--ui-red); }
.game-stream-controller b { top: 11px; right: 27px; }
.game-stream-controller em { top: 25px; right: 13px; background: var(--ui-blue); }
.game-stream-pixels { position: absolute; top: 7px; right: 6px; width: 7px; height: 7px; background: var(--ui-red); box-shadow: -9px 9px 0 var(--ui-paper-light),0 18px 0 var(--ui-ink); animation: game-pixels 1.8s steps(2,end) infinite reverse; }
@keyframes game-scan { to { transform: translateY(6px); } }
@keyframes game-pixels { 50% { transform: translate(4px,-4px); } }
@keyframes controller-float { 50% { transform: translateY(-4px) rotate(-1deg); } }
.watching-stream-poster { background: linear-gradient(150deg,var(--ui-paper-light) 0 54%,var(--ui-blue) 54% 100%); }
.watching-stream-screen { position: absolute; top: 12%; right: 10%; left: 10%; height: 57%; overflow: hidden; border: 3px solid var(--ui-ink); background: var(--ui-ink); box-shadow: 4px 4px 0 var(--ui-red); }
.watching-stream-screen::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(0deg,transparent 0 5px,rgba(255,255,255,.08) 5px 6px); animation: watching-scan 3s linear infinite; }
.watching-stream-screen i { position: absolute; inset: 12% 8%; background: linear-gradient(145deg,var(--ui-blue) 0 43%,var(--ui-red) 43% 64%,var(--ui-paper-light) 64%); transform: skew(-7deg); animation: watching-frame 3.6s steps(2,end) infinite; }
.watching-stream-screen b { position: absolute; right: 11%; bottom: 12%; width: 28%; height: 9%; background: var(--ui-paper-light); box-shadow: -34px 0 0 var(--ui-paper-light); }
.watching-stream-play { position: absolute; top: 40%; left: 50%; z-index: 3; width: 32%; aspect-ratio: 1; border: 3px solid var(--ui-ink); border-radius: 50%; background: var(--ui-paper-light); transform: translate(-50%,-50%); animation: watching-play 2.2s ease-in-out infinite; }
.watching-stream-play::before { content: ""; position: absolute; top: 50%; left: 55%; border-top: 8px solid transparent; border-bottom: 8px solid transparent; border-left: 13px solid var(--ui-red); transform: translate(-50%,-50%); }
.watching-stream-queue { position: absolute; right: 9%; bottom: 9%; left: 9%; height: 17%; border: 3px solid var(--ui-ink); background: var(--ui-paper-light); transform: rotate(-2deg); }
.watching-stream-queue i,.watching-stream-queue b,.watching-stream-queue em { position: absolute; top: 28%; height: 44%; background: var(--ui-ink); }
.watching-stream-queue i { left: 8%; width: 31%; }
.watching-stream-queue b { left: 45%; width: 18%; background: var(--ui-red); }
.watching-stream-queue em { right: 8%; width: 23%; background: var(--ui-blue); }
@keyframes watching-scan { to { transform: translateY(6px); } }
@keyframes watching-frame { 50% { transform: translate(3px,-2px) skew(-7deg); } }
@keyframes watching-play { 50% { transform: translate(-50%,-50%) scale(1.08) rotate(2deg); } }
.lot-auction-poster { background: var(--ui-paper-light); }
.lot-auction-poster svg { display: block; width: 100%; height: 100%; }
.lot-auction-backdrop { fill: var(--ui-blue); }
.lot-auction-ticket-shadow { fill: var(--ui-red); }
.lot-auction-paper { fill: var(--ui-paper-light); stroke: var(--ui-ink); stroke-width: 2.5; }
.lot-auction-rule { fill: none; stroke: var(--ui-ink); stroke-width: 1.5; }
.lot-auction-label { fill: var(--ui-red-dark); font: 900 11px var(--ui-font-mono); letter-spacing: 1.5px; }
.lot-auction-number { fill: var(--ui-ink); font: 900 27px var(--ui-font-mono); }
.lot-auction-shadow { fill: var(--ui-ink); opacity: .2; }
.lot-auction-base { fill: var(--ui-paper-deep); stroke: var(--ui-ink); stroke-width: 2.5; stroke-linejoin: round; }
.lot-auction-base-highlight { fill: none; stroke: var(--ui-paper-light); stroke-width: 2; stroke-linecap: round; }
.lot-auction-hammer { transform-box: view-box; transform-origin: 140px 94px; transform: rotate(36deg); animation: lot-hammer-strike 3.2s infinite; }
.lot-auction-hammer rect,.lot-auction-handle { stroke: var(--ui-ink); stroke-width: 2.5; stroke-linejoin: round; }
.lot-auction-handle { fill: var(--ui-red); }
.lot-auction-head { fill: var(--ui-red-dark); }
.lot-auction-cap { fill: var(--ui-red); }
.lot-auction-handle-highlight,.lot-auction-head-highlight { fill: none; stroke: var(--ui-paper-light); stroke-width: 2; stroke-linecap: round; }
.lot-auction-strike { fill: none; stroke: var(--ui-paper-light); stroke-width: 2.5; stroke-linecap: round; opacity: 0; animation: lot-strike-lines 3.2s infinite; }
@keyframes lot-hammer-strike {
  0%,38%,100% { transform: rotate(36deg); animation-timing-function: ease-in; }
  48% { transform: rotate(0deg); animation-timing-function: ease-out; }
  55% { transform: rotate(9deg); animation-timing-function: ease-in; }
  61%,68% { transform: rotate(0deg); animation-timing-function: ease-in-out; }
  88% { transform: rotate(36deg); }
}
@keyframes lot-strike-lines { 0%,46%,57%,100% { opacity: 0; } 48%,52% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .lot-auction-hammer { animation: none; transform: rotate(24deg); }
  .lot-auction-strike { animation: none; }
}
.other-stream-poster { background: repeating-radial-gradient(circle at 50% 48%,var(--ui-paper-light) 0 11%,var(--ui-paper-deep) 12% 18%,var(--ui-blue) 19% 22%,var(--ui-paper-light) 23% 31%); }
.other-stream-mic { position: absolute; top: 18%; left: 50%; z-index: 3; width: 27%; height: 48%; border: 3px solid var(--ui-ink); border-radius: 48% 48% 42% 42%; background: var(--ui-red); transform: translateX(-50%); animation: mic-bob 2.2s ease-in-out infinite; }
.other-stream-mic::before { content: ""; position: absolute; inset: 16% 22%; background: repeating-linear-gradient(0deg,var(--ui-ink) 0 2px,transparent 2px 6px); }
.other-stream-mic::after { content: ""; position: absolute; top: 68%; left: 50%; width: 145%; height: 55%; border: 3px solid var(--ui-ink); border-top: 0; border-radius: 0 0 50% 50%; transform: translateX(-50%); }
.other-stream-mic i { position: absolute; top: 118%; left: 50%; width: 3px; height: 34%; background: var(--ui-ink); transform: translateX(-50%); }
.other-stream-mic i::after { content: ""; position: absolute; bottom: -3px; left: 50%; width: 35px; height: 3px; background: var(--ui-ink); transform: translateX(-50%); }
.other-stream-wave { position: absolute; top: 32%; width: 18%; height: 34%; border: 4px solid var(--ui-blue); border-top-color: transparent; border-bottom-color: transparent; border-radius: 50%; animation: broadcast-wave 1.7s ease-in-out infinite; }
.other-stream-wave.wave-one { left: 12%; border-left: 0; }
.other-stream-wave.wave-two { right: 12%; border-right: 0; animation-delay: -.85s; }
.other-stream-star { position: absolute; top: 5%; right: 7%; color: var(--ui-red); font-size: clamp(18px,2vw,29px); animation: stream-star 1.9s ease-in-out infinite; }
@keyframes mic-bob { 50% { transform: translate(-50%,-4px) rotate(1deg); } }
@keyframes broadcast-wave { 50% { opacity: .3; transform: scale(1.16); } }
@keyframes stream-star { 50% { transform: rotate(35deg) scale(1.15); } }
.front-stream-copy { display: flex; flex-direction: column; justify-content: center; }
.front-stream-copy small { margin-bottom: 8px; color: var(--ui-red-dark); font-size: 11px; line-height: 1.2; letter-spacing: .04em; }
.front-stream-copy small:has(.live-dot) { display: flex; align-items: center; gap: 7px; color: var(--ui-red); }
.front-stream-copy p { display: -webkit-box; margin: 7px 0 0; overflow: hidden; color: var(--ui-muted); font-size: var(--ui-text-sm); line-height: 1.3; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.front-stream h2 { margin: 0; font-family: var(--ui-font-display); font-size: clamp(17px,1.65vw,26px); font-weight: 900; line-height: .98; text-transform: uppercase; }
.front-stream.is-live .front-block-title { background: var(--ui-red); }
.front-stream-action { position: absolute; left: 6%; bottom: 12px; z-index: 5; min-width: 140px; padding: 10px 15px; background: var(--ui-blue); color: var(--ui-white); font-family: var(--ui-font-mono); font-size: var(--ui-text-xs); font-weight: 900; text-align: center; text-decoration: none; text-transform: uppercase; }
.front-stream-action.is-live-link { background: var(--ui-red); }

.front-more-videos { grid-column: 2 / 4; grid-row: 2; display: grid; padding: 70px 3% 24px; background: rgba(243,234,216,.62); color: var(--ui-ink); }
.front-more-videos > header { top: 18px; left: 4%; }
.front-video-list { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); align-items: center; gap: 12px; height: 100%; min-height: 0; padding: 4px 8px 0; }
.front-more-video { position: relative; display: block; width: 100%; height: auto; min-height: 0; aspect-ratio: 16/9; overflow: hidden; border: 0; background: var(--ui-ink) center/cover no-repeat; box-shadow: 3px 3px 0 rgba(17,20,28,.18); cursor: pointer; transition: transform var(--ui-motion-fast), box-shadow var(--ui-motion-fast); }
.front-more-video:hover { z-index: 2; box-shadow: 5px 5px 0 rgba(23,79,201,.42); transform: translate(-2px,-2px) rotate(-.5deg); }
.front-more-video:nth-child(2):hover { transform: translate(-2px,-2px) rotate(.5deg); }
.front-more-video:active { box-shadow: 2px 2px 0 var(--ui-blue); transform: translate(1px,1px); }
.front-more-videos > .panel-ref { top: 9px; right: 1.5%; }
.front-stream .front-block-title h2,.front-more-videos .front-block-title h2 { font-size: clamp(22px,2vw,31px); }
.front-empty { display: grid; place-items: center; min-height: 130px; margin: 0; font-family: var(--ui-font-mono); font-size: var(--ui-text-xs); text-transform: uppercase; }

.section {
  position: relative;
  padding: var(--ui-section-pad-block) var(--ui-section-pad-inline);
  border-right: 2px solid var(--ui-ink);
  border-bottom: 3px solid var(--ui-ink);
  border-left: 2px solid var(--ui-ink);
  scroll-margin-top: 56px;
  background-color: rgba(243,234,216,.28);
  background-image:
    radial-gradient(circle at 15% 24%, rgba(17,20,28,.095) 0 .45px, transparent .7px),
    repeating-linear-gradient(7deg, transparent 0 8px, rgba(77,56,33,.025) 9px 10px),
    linear-gradient(92deg, rgba(255,255,255,.16), transparent 24%, rgba(91,65,39,.045) 72%, transparent);
  background-size: 5px 5px, 19px 23px, 100% 100%;
}

.section-schedule,
.telegram-section { padding-top: 24px; }
.section-schedule { overflow: hidden; }
.section > :not(.print-frame) { position: relative; z-index: 2; }
.game-auction > :not(.print-frame) { position: relative; z-index: 2; }

.section-head {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 21px;
  z-index: 6;
}
.section-head::after { content: ""; position: absolute; right: 88px; bottom: -10px; left: 0; height: 3px; background: linear-gradient(90deg,var(--ui-ink) 0 11%,transparent 11% 13%,var(--ui-blue) 13% 17%,transparent 17% 76%,var(--ui-red) 76% 81%,transparent 81%); clip-path: polygon(0 25%,100% 0,100% 58%,0 100%); opacity: .5; transform: rotate(-.12deg); }

.section-head h2 {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--ui-white);
  font-family: var(--ui-font-display);
  font-size: clamp(28px, 3.6vw, 40px);
  font-stretch: condensed;
  font-weight: 900;
  line-height: .95;
  letter-spacing: -.035em;
  text-transform: uppercase;
}

.front-block-title {
  position: absolute;
  z-index: 4;
  padding: 7px 16px 6px;
}

.front-block-title h2 {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--ui-white);
  font-family: var(--ui-font-display);
  font-size: clamp(19px,1.75vw,28px);
  font-weight: 900;
  line-height: .95;
  letter-spacing: -.02em;
  text-transform: uppercase;
  white-space: nowrap;
}

.section-head > .panel-ref {
  position: absolute;
  top: 0;
  right: 0;
  box-shadow: none;
  transform: rotate(.3deg);
}

.section-arrow {
  position: absolute;
  right: 150px;
  bottom: -14px;
  width: 70px;
  height: 46px;
  color: var(--ui-ink);
  transform: rotate(9deg);
}

.arrow-flipped { transform: scaleX(-1) rotate(7deg); }
.section-intro { margin: -9px 0 17px; color: var(--ui-muted); font-size: var(--ui-text-sm); }

.video-editor-only { margin: 18px 22px; }

.schedule-layout { display: grid; grid-template-columns: minmax(420px,.95fr) minmax(0,1.05fr); gap: 14px; }

.calendar,.events { border: 2px solid var(--ui-ink); border-radius: 0; box-shadow: 4px 4px 0 rgba(17,20,28,.13),-2px -1px 0 rgba(23,79,201,.23),2px 1px 0 rgba(223,61,40,.2); }
.calendar { padding: 14px; background: rgba(243,234,216,.86); }
.calendar-head { display: grid; grid-template-columns: 42px minmax(0,1fr) auto 42px; align-items: center; gap: 12px; margin-bottom: 12px; }
.calendar-head strong { font-family: var(--ui-font-display); font-size: clamp(22px,2.1vw,32px); font-weight: 900; text-align: center; text-transform: uppercase; }
.calendar-head span { padding: 6px 9px; background: var(--ui-red); color: var(--ui-white); font-family: var(--ui-font-mono); font-size: var(--ui-text-xs); font-weight: 900; text-transform: uppercase; }
.calendar-head button { width: var(--ui-control-min); height: var(--ui-control-min); padding: 0; border: 0; background: var(--ui-ink); color: var(--ui-white); font-size: 27px; cursor: pointer; }
.calendar-head button:hover { background: var(--ui-blue); }
.calendar-grid { display: grid; grid-template-columns: repeat(7,1fr); border-top: 1px solid var(--ui-ink); border-left: 1px solid var(--ui-ink); }
.weekday { padding: 9px 2px; border-right: 1px solid var(--ui-ink); border-bottom: 1px solid var(--ui-ink); color: var(--ui-ink); font-family: var(--ui-font-display); font-size: var(--ui-text-sm); font-weight: 900; text-align: center; text-transform: uppercase; }
.calendar-day,.calendar-blank { min-height: clamp(54px,4vw,64px); border-right: 1px solid var(--ui-ink); border-bottom: 1px solid var(--ui-ink); }
.calendar-day { display: grid; place-items: center; align-content: center; color: var(--ui-ink); font-family: var(--ui-font-display); }
button.calendar-day { margin: 0; padding: 0; border-top: 0; border-left: 0; border-radius: 0; font: inherit; appearance: none; }
.calendar-day.is-editable { position: relative; cursor: pointer; transition: filter var(--ui-motion-fast),transform var(--ui-motion-fast),box-shadow var(--ui-motion-fast); }
.calendar-day.is-editable:hover { z-index: 2; filter: saturate(1.2); box-shadow: inset 0 0 0 3px var(--ui-red); transform: translateY(-1px); }
.calendar-day.is-editable:focus-visible { z-index: 3; outline: 4px solid var(--ui-red); outline-offset: -4px; }
.calendar-day.is-selected { z-index: 2; box-shadow: inset 0 0 0 4px var(--ui-ink),inset 0 0 0 7px var(--ui-paper-light); }
.calendar-blank { display: block; background: rgba(216,205,184,.28); }
.calendar-day b { font-size: clamp(21px,1.8vw,28px); line-height: 1; }
.calendar-day small { margin-top: 3px; font-family: var(--ui-font-mono); font-size: 11px; font-weight: 900; }
.calendar-day .calendar-add { color: var(--ui-red); font-size: 16px; line-height: .7; }
.calendar-day.today { outline: 3px solid var(--ui-ink); outline-offset: -5px; }
.calendar-day.stream-upcoming { background: var(--ui-blue); color: var(--ui-white); }
.calendar-day.stream-next { background: var(--ui-red); color: var(--ui-white); }
.calendar-day.stream-past { background: rgba(181,170,150,.38); color: rgba(17,20,28,.52); }
.calendar-day.is-live { outline: 4px solid var(--ui-red); outline-offset: -5px; animation: live-calendar 1.4s ease-in-out infinite; }
@keyframes live-calendar { 50% { outline-color: var(--ui-white); } }

.events { display: flex; flex-direction: column; min-height: 300px; overflow: hidden; background: var(--ui-ink); color: var(--ui-paper-light); }
.events::before { content: "Ближайшие эфиры"; display: block; width: fit-content; margin: 14px 16px 5px; padding: 7px 14px 6px; background: var(--ui-red); color: var(--ui-white); font-family: var(--ui-font-display); font-size: 24px; font-weight: 900; text-transform: uppercase; transform: rotate(-.5deg); }
.event { position: relative; display: grid; flex: 1 1 0; grid-template-columns: 72px minmax(0,1fr) 24px; align-items: center; gap: 16px; min-height: 112px; padding: 14px 18px; border-bottom: 1px solid rgba(243,234,216,.8); color: inherit; text-decoration: none; }
a.event:hover { background: rgba(41,85,174,.34); }
.event.is-editable { width: 100%; border-top: 0; border-right: 0; border-left: 0; border-radius: 0; background-color: transparent; color: inherit; font: inherit; text-align: left; cursor: pointer; appearance: none; }
.event.is-editable:hover { background-color: rgba(41,85,174,.34); }
.event.is-editable::after { content: "редактировать"; position: absolute; top: 8px; right: 11px; color: #86aaff; font-family: var(--ui-font-mono); font-size: 9px; font-weight: 900; text-transform: uppercase; }
.event.is-editable.is-selected { box-shadow: inset 5px 0 0 var(--ui-red); }
.event:last-child { border-bottom: 0; }
.event time { display: grid; justify-items: center; padding-right: 14px; border-right: 2px solid var(--ui-paper); }
.event time b { font-family: var(--ui-font-display); font-size: 36px; font-weight: 900; line-height: .9; }
.event time span,.event-copy > span { color: #86aaff; font-family: var(--ui-font-mono); font-size: var(--ui-text-xs); font-weight: 900; text-transform: uppercase; }
.event-copy > span:has(.live-dot) { display: flex; align-items: center; gap: 8px; color: #ff6d5f; }
.event.is-live { background: linear-gradient(90deg,rgba(213,50,35,.35),transparent 75%); }
.event.is-live time { border-right-color: var(--ui-red); }
.event.is-next:not(.is-live) { background: linear-gradient(90deg,rgba(223,61,40,.2),transparent 76%); }
.event.is-next:not(.is-live) time { border-right-color: var(--ui-red); }
.event.is-past { background: repeating-linear-gradient(-8deg,transparent 0 9px,rgba(243,234,216,.035) 10px 11px); }
.event.is-past time,.event.is-past .event-copy > *,.event.is-past > span { opacity: .5; }
.event.is-past .event-copy > span { color: #aaa397; }
.event h3 { margin: 5px 0 0; font-family: var(--ui-font-display); font-size: clamp(18px,1.7vw,25px); font-weight: 900; line-height: .95; text-transform: uppercase; }
.event p { margin: 7px 0 0; overflow: hidden; color: #d4cec2; font-size: var(--ui-text-sm); line-height: 1.3; text-overflow: ellipsis; white-space: nowrap; }

.events-note { display: flex; flex: 1 1 72px; align-items: flex-end; justify-content: space-between; gap: 20px; min-height: 72px; padding: 18px; color: #bdb6aa; font-family: var(--ui-font-hand); font-size: clamp(21px,1.7vw,28px); line-height: 1; }
.events-note::after { content: "↗"; color: var(--ui-red); font-family: var(--ui-font-display); font-size: 32px; transform: rotate(-12deg); }

.empty { display: flex; flex-direction: column; justify-content: center; min-height: 300px; padding: 34px; }
.empty strong { font-family: var(--ui-font-display); font-size: 25px; font-weight: 900; text-transform: uppercase; }
.empty p { margin-bottom: 0; color: var(--ui-muted); font-size: 12px; }

.game-auction { position: relative; padding: 22px 0 15px; overflow: hidden; border: 2px solid var(--ui-ink); border-top: 0; background-color: rgba(243,234,216,.32); background-image: radial-gradient(circle,rgba(17,20,28,.085) 0 .45px,transparent .7px),repeating-linear-gradient(7deg,transparent 0 8px,rgba(77,56,33,.025) 9px 10px); background-size: 5px 5px,19px 23px; scroll-margin-top: 56px; }
.game-auction-head { margin: 0 clamp(36px,3vw,48px) 16px; }
.game-auction-head .section-arrow { right: 150px; }
.game-auction-viewport { width: 100%; padding: 4px clamp(30px,4vw,68px) 6px; overflow-x: auto; overflow-y: hidden; overscroll-behavior-inline: contain; scrollbar-width: none; cursor: grab; }
.game-auction-viewport.is-dragging { cursor: grabbing; user-select: none; }
.game-auction-viewport.is-dragging * { pointer-events: none; }
.game-auction-viewport::-webkit-scrollbar { display: none; }
.game-auction-track { display: flex; gap: 14px; width: max-content; min-width: 100%; }
.auction-game { flex: 0 0 clamp(210px,17vw,278px); display: grid; grid-template-rows: auto auto; height: auto; overflow: hidden; border: 2px solid var(--ui-ink); border-radius: var(--ui-radius-sm); outline: 1px solid rgba(23,79,201,.28); outline-offset: 2px; background: var(--ui-paper); box-shadow: 3px 3px 0 rgba(17,20,28,.16),-2px -1px 0 rgba(223,61,40,.22); }
.auction-game-cover { position: relative; display: grid; place-items: center; min-height: 0; aspect-ratio: var(--auction-cover-ratio,3/4); overflow: hidden; background: var(--ui-ink); color: var(--ui-paper); font-family: var(--ui-font-display); font-size: 32px; font-weight: 900; }
.auction-game-cover::before { content: ""; position: absolute; inset: -18px; background: var(--auction-cover,none) center/cover no-repeat; filter: blur(14px) saturate(.72); opacity: .55; transform: scale(1.08); }
.auction-game-cover img { position: absolute; inset: 0; z-index: 1; display: block; width: 100%; height: 100%; object-fit: contain; object-position: center; filter: drop-shadow(0 0 7px rgba(17,20,28,.55)); }
.auction-game.completed .auction-game-cover::after { content: ""; position: absolute; inset: 0; z-index: 2; background: rgba(17,20,28,.58); }
.auction-game.completed .auction-game-cover img { filter: grayscale(.5) contrast(.9) brightness(.72); }
.auction-game-completed { position: absolute; top: 50%; left: 50%; z-index: 3; width: 78%; padding: 8px 5px 6px; border: 4px double var(--ui-paper-light); color: var(--ui-paper-light); font-family: var(--ui-font-display); font-size: clamp(24px,2.2vw,36px); font-weight: 900; line-height: .9; letter-spacing: .04em; text-align: center; text-transform: uppercase; text-shadow: 2px 2px 0 var(--ui-ink); box-shadow: inset 0 0 0 2px rgba(243,234,216,.28); transform: translate(-50%,-50%) rotate(-9deg); }
.auction-game.completed .auction-game-copy { background: repeating-linear-gradient(-8deg,rgba(17,20,28,.035) 0 8px,transparent 9px 12px); }
.auction-game-copy { display: grid; grid-template-columns: 1fr; gap: 7px; min-height: 138px; padding: 12px 11px 11px; border-top: 2px solid var(--ui-ink); }
.auction-game h3 { display: -webkit-box; min-height: 2em; margin: 0; overflow: hidden; font-family: var(--ui-font-display); font-size: clamp(19px,1.45vw,24px); font-stretch: condensed; font-weight: 900; line-height: 1; text-transform: uppercase; white-space: normal; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.auction-game-meter { height: 12px; overflow: hidden; border: 1px solid rgba(17,20,28,.18); border-radius: 1px; background: rgba(17,20,28,.14); }
.auction-game-meter span { display: block; height: 100%; border-radius: 0; background: var(--ui-blue); }
.auction-game-copy > b { color: var(--ui-blue-dark); font-family: var(--ui-font-mono); font-size: clamp(21px,1.75vw,28px); font-weight: 900; line-height: 1; letter-spacing: -.04em; }
.auction-game-copy p { margin: 0; font-family: var(--ui-font-mono); font-size: clamp(12px,1vw,16px); line-height: 1; white-space: nowrap; }
.game-auction-empty { min-width: calc(100vw - 40px); min-height: 330px; margin: 0; display: grid; place-items: center; font-family: var(--ui-font-display); font-size: 30px; text-transform: uppercase; }
.game-auction-controls { display: grid; grid-template-columns: 48px minmax(0,1fr) 48px; align-items: center; gap: 16px; padding: 10px 2.5% 0; }
.game-auction-button { display: grid; place-items: center; width: 48px; height: 44px; border: 0; border-radius: var(--ui-radius-sm); background: var(--ui-ink); color: var(--ui-white); font-family: Arial,sans-serif; font-size: 34px; line-height: 1; cursor: pointer; }
.game-auction-button:hover:not(:disabled) { background: var(--ui-blue); }
.game-auction-button:disabled { opacity: .35; cursor: default; }
.game-auction-scroll { display: flex; align-items: center; height: var(--ui-control-min); cursor: ew-resize; }
.game-auction-scroll input { width: 100%; height: var(--ui-control-min); margin: 0; appearance: none; background: transparent; cursor: grab; }
.game-auction-scroll input:active { cursor: grabbing; }
.game-auction-scroll input::-webkit-slider-runnable-track { height: 4px; border: 1px solid var(--ui-ink); border-radius: 4px; background: rgba(17,20,28,.22); }
.game-auction-scroll input::-webkit-slider-thumb { width: 24px; height: 18px; margin-top: -8px; appearance: none; border: 2px solid var(--ui-ink); border-radius: 4px; background: var(--ui-blue); box-shadow: 2px 2px 0 rgba(17,20,28,.28); }
.game-auction-scroll input::-moz-range-track { height: 3px; border: 1px solid var(--ui-ink); border-radius: 4px; background: rgba(17,20,28,.22); }
.game-auction-scroll input::-moz-range-thumb { width: 22px; height: 16px; border: 2px solid var(--ui-ink); border-radius: 4px; background: var(--ui-blue); box-shadow: 2px 2px 0 rgba(17,20,28,.28); }
.game-auction-scroll input:focus-visible { outline: 2px solid var(--ui-red); outline-offset: 3px; }

.catalog-section { padding: 22px 0 16px; overflow: hidden; }
.catalog-section .catalog-head { position: relative; display: block; margin: 0 3% 12px; }
.catalog-head > div { position: relative; width: fit-content; max-width: calc(100% - 58px); }
.catalog-head .eyebrow { margin: 0 0 2px 5px; color: var(--ui-red-dark); font-size: var(--ui-text-xs); }
.catalog-head h2 { position: relative; z-index: 1; margin: 0; padding: 0 10px 10px 3px; color: var(--ui-ink); font-family: var(--ui-font-display); font-size: clamp(44px,4.8vw,72px); font-weight: 900; line-height: .86; letter-spacing: -.025em; text-transform: uppercase; white-space: nowrap; text-shadow: 2px 1px 0 var(--ui-red),-1px -1px 0 var(--ui-blue); }
.catalog-head h2::after { content: ""; position: absolute; right: 0; bottom: 1px; left: 0; height: 3px; background: var(--ui-ink); transform: rotate(-.25deg); }
.catalog-head > .panel-ref { position: absolute; top: 0; right: 0; }
.catalog-crown { position: absolute; top: -22px; right: 7%; width: clamp(45px,5vw,76px); height: 50px; color: var(--ui-blue); transform: rotate(7deg); }
.catalog-store-link { position: absolute; top: 5px; right: 170px; display: flex; align-items: center; justify-content: flex-end; gap: 9px; width: clamp(220px,20vw,278px); min-height: 58px; padding: 5px 8px 5px 11px; border: 1px solid rgba(17,20,28,.58); border-left: 3px solid var(--ui-blue); background-color: rgba(239,226,202,.84); background-image: radial-gradient(circle,rgba(17,20,28,.1) 0 .45px,transparent .7px); background-size: 5px 5px; color: var(--ui-ink); text-decoration: none; box-shadow: 2px 2px 0 rgba(223,61,40,.48); transform: rotate(.25deg); transition: transform var(--ui-motion-fast),box-shadow var(--ui-motion-fast),background var(--ui-motion-fast); }
.catalog-store-link span { display: grid; flex: 1 1 auto; gap: 3px; min-width: 0; font-family: var(--ui-font-mono); font-weight: 900; line-height: 1; text-align: right; text-transform: uppercase; }
.catalog-store-link small { color: rgba(17,20,28,.58); font-size: 8px; letter-spacing: .07em; white-space: nowrap; }
.catalog-store-link b { color: var(--ui-blue-dark); font-size: 9px; letter-spacing: .035em; white-space: nowrap; }
.catalog-store-link img { display: block; width: clamp(86px,7.5vw,108px); max-height: 48px; object-fit: contain; }
.catalog-store-link:hover { z-index: 3; background-color: var(--ui-paper-light); box-shadow: 3px 3px 0 rgba(23,79,201,.4),-1px -1px 0 rgba(223,61,40,.42); transform: translate(-1px,-1px) rotate(-.2deg); }
.catalog-store-link:active { box-shadow: 1px 1px 0 var(--ui-blue); transform: translate(1px,1px); }
.catalog-viewport { width: 100%; overflow-x: auto; overflow-y: hidden; padding: 0 3% 4px; scroll-padding-left: 3%; scrollbar-width: none; }
.catalog-viewport::-webkit-scrollbar { display: none; }
.catalog-grid { display: grid; grid-auto-columns: clamp(180px,18vw,260px); grid-auto-flow: column; grid-template-rows: repeat(2,265px); gap: 12px clamp(34px,5vw,78px); width: max-content; }
.catalog-card { position: relative; display: grid; grid-template-rows: 203px 62px; min-width: 0; height: 265px; color: var(--ui-ink); text-decoration: none; cursor: pointer; animation: catalog-card-in .22s ease both; transition: transform .18s ease,filter .18s ease; }
.catalog-card:nth-child(2n) { animation-delay: 35ms; }
@keyframes catalog-card-in { from { opacity: 0; transform: translateY(7px); } to { opacity: 1; transform: translateY(0); } }
.catalog-card:hover { z-index: 2; }
.catalog-card figure { position: relative; display: flex; align-items: flex-end; justify-content: center; height: 203px; margin: 0; perspective: 900px; }
.catalog-card figure::before { content: ""; position: absolute; right: -22px; bottom: 0; left: -22px; border-bottom: 2px solid rgba(17,20,28,.82); }
.catalog-card figure::after { content: ""; position: absolute; right: -10px; bottom: -5px; left: -10px; height: 7px; background: linear-gradient(180deg,rgba(17,20,28,.22),transparent); filter: blur(2px); }
.catalog-book { position: relative; display: block; width: min(74%,176px); height: 194px; margin-bottom: 4px; transform: rotateY(-4deg) rotateZ(-.35deg); transform-origin: center bottom; transform-style: preserve-3d; filter: drop-shadow(8px 8px 5px rgba(17,20,28,.22)); transition: transform .2s ease,filter .2s ease; }
.catalog-card:nth-child(4n+2) .catalog-book,.catalog-card:nth-child(4n+3) .catalog-book { transform: rotateY(-4deg) rotateZ(.35deg); }
.catalog-book::before,.catalog-book::after { display: none; }
.catalog-book-back-cover { position: absolute; right: 0; bottom: 0; left: 0; z-index: 1; display: block; height: 2px; background: var(--ui-ink); }
.catalog-book-bottom-pages { position: absolute; right: 0; bottom: 2px; left: 2px; z-index: 2; display: block; height: 3px; border-right: 1px solid rgba(17,20,28,.48); border-left: 1px solid rgba(17,20,28,.48); background: repeating-linear-gradient(0deg,#cfc2ab 0 1px,#aa9b84 1px 2px,#c8baa3 2px 3px); }
.catalog-book-tail { position: absolute; bottom: 0; left: 0; z-index: 3; display: block; width: 2px; height: 5px; background: var(--ui-ink); }
.catalog-book-cover { position: absolute; inset: 0 0 5px; z-index: 4; display: block; overflow: hidden; border: 2px solid rgba(17,20,28,.94); background: var(--ui-paper-deep); box-shadow: 0 1px 0 rgba(17,20,28,.18),-1px 0 0 rgba(223,61,40,.35),1px 0 0 rgba(23,79,201,.35); }
.catalog-book img { display: block; width: 100%; height: 100%; background: var(--ui-paper-deep); object-fit: cover; object-position: center; }
.catalog-card:hover .catalog-book { filter: drop-shadow(11px 11px 3px rgba(23,79,201,.28)); transform: translateY(-5px) rotateY(-3deg) rotateZ(-.55deg); }
.catalog-card h3 { display: -webkit-box; margin: 0; padding: 9px 3px 0; overflow: hidden; font-family: var(--ui-font-display); font-size: clamp(16px,1.25vw,20px); font-weight: 900; line-height: 1.02; text-align: center; text-transform: uppercase; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.catalog-card.catalog-title-long h3 { font-size: clamp(14px,1.02vw,17px); line-height: 1.04; }
.catalog-scroll { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 20px; margin: 8px 4% 0; }
.catalog-scroll input { width: 100%; height: var(--ui-control-min); margin: 0; appearance: none; background: transparent; cursor: grab; }
.catalog-scroll input:active { cursor: grabbing; }
.catalog-scroll input::-webkit-slider-runnable-track { height: 5px; border-radius: 0; background: var(--ui-ink); }
.catalog-scroll input::-webkit-slider-thumb { width: clamp(90px,16vw,220px); height: 22px; margin-top: -9px; appearance: none; border: 3px solid var(--ui-ink); border-radius: 2px; background: var(--ui-blue); box-shadow: 2px 2px 0 rgba(17,20,28,.25); }
.catalog-scroll input::-moz-range-track { height: 5px; border-radius: 0; background: var(--ui-ink); }
.catalog-scroll input::-moz-range-thumb { width: clamp(90px,16vw,220px); height: 18px; border: 3px solid var(--ui-ink); border-radius: 2px; background: var(--ui-blue); box-shadow: 2px 2px 0 rgba(17,20,28,.25); }
.catalog-scroll input:disabled { opacity: .35; cursor: default; }
.catalog-scroll em { color: var(--ui-blue-dark); font-family: var(--ui-font-hand); font-size: clamp(21px,1.65vw,27px); font-weight: 700; white-space: nowrap; transform: rotate(-3deg); }

.telegram-section { padding-bottom: 24px; overflow: hidden; }
.telegram-posts { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; min-height: 360px; }
.telegram-post { position: relative; display: grid; min-width: 0; min-height: 380px; overflow: hidden; border: 2px solid var(--ui-ink); border-radius: var(--ui-radius-sm); outline: 1px solid rgba(223,61,40,.25); outline-offset: 2px; background: rgba(243,234,216,.74); color: var(--ui-ink); box-shadow: -2px -1px 0 rgba(23,79,201,.22),3px 3px 0 rgba(17,20,28,.13); transition: transform .15s ease,box-shadow .15s ease; }
.telegram-post:hover { box-shadow: 5px 5px 0 var(--ui-blue); transform: translate(-2px,-2px); }
.telegram-post.text-expanded:hover { box-shadow: none; transform: none; }
.telegram-post.media-vertical { grid-template-columns: 48% 52%; }
.telegram-post.media-horizontal { grid-template-rows: minmax(205px,1.15fr) minmax(150px,.85fr); }
.telegram-media-link { display: block; min-width: 0; min-height: 0; color: inherit; text-decoration: none; }
.telegram-media { position: relative; width: 100%; height: 100%; min-height: 0; overflow: hidden; background-color: var(--ui-ink); background-position: center; background-size: cover; background-repeat: no-repeat; }
.telegram-play,.telegram-duration { z-index: 3; }
.telegram-play { position: absolute; top: 50%; left: 50%; display: grid; place-items: center; width: 56px; height: 56px; padding-left: 4px; border: 3px solid var(--ui-white); border-radius: 50%; background: rgba(17,20,28,.62); color: var(--ui-white); font-size: 22px; transform: translate(-50%,-50%); }
.telegram-duration { position: absolute; right: 8px; bottom: 7px; z-index: 4; padding: 4px 6px; background: var(--ui-ink); color: var(--ui-white); font-family: var(--ui-font-mono); font-size: var(--ui-text-xs); }
.telegram-video-fallback { position: absolute; inset: 0; z-index: 1; display: none; flex-direction: column; justify-content: flex-end; gap: 7px; padding: 18px; background: linear-gradient(145deg,rgba(41,85,174,.9),rgba(17,20,28,.96) 57%,rgba(213,50,35,.88)); color: var(--ui-white); }
.telegram-video-fallback::before { content: ""; position: absolute; top: 15%; right: 10%; width: 44%; aspect-ratio: 1; border: 3px solid rgba(255,255,255,.34); border-radius: 50%; box-shadow: 0 0 0 13px rgba(255,255,255,.07),0 0 0 27px rgba(255,255,255,.04); }
.telegram-video-fallback b { position: relative; font-family: var(--ui-font-mono); font-size: var(--ui-text-xs); text-transform: uppercase; }
.telegram-video-fallback small { position: relative; display: -webkit-box; overflow: hidden; font-family: var(--ui-font-display); font-size: clamp(18px,1.6vw,25px); font-weight: 900; line-height: 1; text-transform: uppercase; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.telegram-media.preview-fallback { background-image: none !important; }
.telegram-media.preview-fallback .telegram-video-fallback { display: flex; }
.telegram-media.preview-fallback .telegram-play { z-index: 3; }
.telegram-copy { position: relative; display: flex; flex-direction: column; justify-content: flex-start; min-width: 0; padding: 16px 20px; }
.telegram-copy time { align-self: flex-start; margin-bottom: 10px; padding-bottom: 4px; border-bottom: 3px solid var(--ui-red); color: var(--ui-blue-dark); font-family: var(--ui-font-display); font-size: 21px; font-weight: 900; text-transform: uppercase; }
.telegram-copy h3 { display: -webkit-box; margin: 0; overflow: hidden; font-family: var(--ui-font-display); font-size: clamp(21px,1.7vw,28px); font-weight: 900; line-height: 1; text-transform: uppercase; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.telegram-copy p { display: -webkit-box; margin: 12px 0 10px; overflow: hidden; font-size: 15px; line-height: 1.42; -webkit-box-orient: vertical; -webkit-line-clamp: 4; }
.telegram-post.media-vertical .telegram-copy h3 { font-size: clamp(18px,1.45vw,23px); -webkit-line-clamp: 6; }
.telegram-post.media-vertical .telegram-copy p { -webkit-line-clamp: 7; }
.telegram-open-mark { position: absolute; right: 8px; bottom: 4px; display: grid; place-items: center; width: var(--ui-control-min); height: var(--ui-control-min); color: var(--ui-blue); font-size: 28px; font-weight: 900; text-decoration: none; }
.telegram-more { position: relative; z-index: 4; align-self: flex-start; min-height: var(--ui-control-min); margin-top: auto; padding: 8px 12px 7px; border: 2px solid var(--ui-ink); border-radius: var(--ui-radius-sm); background: var(--ui-paper-light); color: var(--ui-ink); font-family: var(--ui-font-mono); font-size: var(--ui-text-xs); font-weight: 900; text-transform: uppercase; box-shadow: 2px 2px 0 var(--ui-red); cursor: pointer; transition: transform .15s ease,box-shadow .15s ease,opacity .15s ease; }
.telegram-more:hover { background: var(--ui-blue); color: var(--ui-white); box-shadow: 2px 2px 0 var(--ui-ink); transform: translate(-1px,-1px); }
.telegram-post.text-expanded .telegram-more { opacity: 0; pointer-events: none; }
.telegram-expanded { position: absolute; inset: 0; z-index: 8; padding: 20px 22px 22px; overflow: auto; overscroll-behavior: contain; background: linear-gradient(rgba(243,234,216,.98),rgba(238,226,204,.98)); color: var(--ui-ink); animation: telegram-text-in .2s ease both; scrollbar-width: thin; scrollbar-color: var(--ui-red) var(--ui-paper-deep); }
.telegram-expanded::-webkit-scrollbar { width: 8px; }
.telegram-expanded::-webkit-scrollbar-track { background: var(--ui-paper-deep); }
.telegram-expanded::-webkit-scrollbar-thumb { border: 1px solid var(--ui-ink); background: var(--ui-red); }
.telegram-expanded[hidden] { display: none; }
.telegram-expanded-close { position: sticky; top: 0; float: right; width: var(--ui-control-min); height: var(--ui-control-min); margin: -8px -9px 5px 10px; padding: 0; border: 2px solid var(--ui-ink); border-radius: 50%; background: var(--ui-ink); color: transparent; font-size: 0; cursor: pointer; }
.telegram-expanded-close::before,.telegram-expanded-close::after { content: ""; position: absolute; top: 50%; left: 50%; width: 17px; height: 3px; border-radius: 2px; background: var(--ui-white); transform: translate(-50%,-50%) rotate(45deg); }
.telegram-expanded-close::after { transform: translate(-50%,-50%) rotate(-45deg); }
.telegram-expanded time { display: block; margin-bottom: 8px; color: var(--ui-red-dark); font-family: var(--ui-font-mono); font-size: var(--ui-text-xs); font-weight: 900; text-transform: uppercase; }
.telegram-expanded h3 { margin: 0 42px 12px 0; font-family: var(--ui-font-display); font-size: clamp(21px,1.8vw,28px); font-weight: 900; line-height: 1; text-transform: uppercase; }
.telegram-expanded p { margin: 0 0 18px; font-size: 15px; line-height: 1.5; white-space: pre-line; }
.telegram-expanded > a { display: inline-flex; align-items: center; min-height: var(--ui-control-min); padding: 8px 12px; border: 2px solid var(--ui-ink); background: var(--ui-blue); color: var(--ui-white); font-family: var(--ui-font-mono); font-size: var(--ui-text-xs); font-weight: 900; text-decoration: none; text-transform: uppercase; }
@keyframes telegram-text-in { from { opacity: 0; transform: translateY(9px); } to { opacity: 1; transform: translateY(0); } }
.telegram-loading { grid-column: 1/-1; display: grid; place-items: center; min-height: 240px; margin: 0; border: 2px dashed var(--ui-ink); font-family: var(--ui-font-display); font-size: 24px; text-transform: uppercase; }
.telegram-channel-link { display: flex; align-items: center; gap: 8px; width: fit-content; min-height: var(--ui-control-min); margin: 12px 0 22px auto; color: var(--ui-blue-dark); font-family: var(--ui-font-display); font-size: 20px; font-weight: 900; text-decoration: none; text-transform: uppercase; }
.telegram-channel-link span { font-size: 23px; }

.supporters { margin: 0 -22px -24px; padding: 14px 0 16px; border-top: 3px solid var(--ui-ink); }
.supporters-head { position: relative; display: flex; align-items: center; gap: 15px; padding: 0 5% 12px; }
.supporters-head > span { color: var(--ui-red); font-size: 39px; }
.supporters-head h2 { margin: 0; font-family: var(--ui-font-display); font-size: clamp(32px,4vw,54px); font-weight: 900; line-height: .9; text-transform: uppercase; }
.supporters-head svg { width: 70px; height: 45px; color: var(--ui-ink); transform: rotate(14deg); }
.supporter-row { width: 100%; overflow: hidden; border-top: 2px solid var(--ui-ink); border-bottom: 2px solid var(--ui-ink); }
.supporter-row-dark { background: var(--ui-ink); color: var(--ui-paper-light); }
.supporter-row-light { margin-top: 9px; background: rgba(243,234,216,.6); color: var(--ui-ink); }
.supporter-track { display: flex; align-items: center; width: max-content; padding: 10px 0; will-change: transform; }
.supporter-sequence { display: flex; align-items: center; gap: 38px; padding-right: 38px; }
.supporter-track .supporter-name { display: inline-flex; align-items: center; gap: 12px; font-family: var(--ui-font-display); font-size: 22px; font-weight: 900; white-space: nowrap; }
.supporter-track i { color: var(--ui-red); font-family: Arial,sans-serif; font-style: normal; font-size: 21px; }
.supporter-name:nth-child(3n) i { color: var(--ui-blue); }
.supporter-track-left { animation: supporter-left 42s linear infinite; }
.supporter-track-right { animation: supporter-right 46s linear infinite; }
.supporter-row:hover .supporter-track { animation-play-state: paused; }
.supporters-note { margin: 11px 0 0; color: var(--ui-blue-dark); font-family: var(--ui-font-hand); font-size: 26px; font-weight: 700; text-align: center; transform: rotate(-1deg); }
.supporters-note i { font-family: Arial,sans-serif; font-style: normal; }
@keyframes supporter-left { to { transform: translateX(-50%); } }
@keyframes supporter-right { from { transform: translateX(-50%); } to { transform: translateX(0); } }

.inline-editor { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 13px; margin-top: 16px; padding: 20px; border: 3px solid var(--ui-ink); border-radius: var(--ui-radius-sm); background: var(--ui-paper-light); box-shadow: var(--ui-shadow-print); }
.inline-editor[hidden] { display: none; }
.inline-editor h3, .inline-editor .editor-title { grid-column: 1/-1; }
.inline-editor h3 { font-family: var(--ui-font-display); font-size: 23px; text-transform: uppercase; }
.inline-editor label { display: grid; gap: 6px; color: var(--ui-muted); font-size: var(--ui-text-xs); font-weight: 800; }
.inline-editor label.wide { grid-column: 1/-1; }
.inline-editor input, .inline-editor textarea, .inline-editor select { width: 100%; padding: 9px 10px; border: 2px solid var(--ui-ink); border-radius: 0; outline: none; background: #fff9eb; color: var(--ui-ink); resize: vertical; }
.inline-editor input:focus, .inline-editor textarea:focus, .inline-editor select:focus { box-shadow: 3px 3px 0 var(--ui-blue); }
.inline-action { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 8px; }
.editor-title { display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.editor-title h3 { margin: 0; }
.editor-title p { max-width: 690px; margin: 5px 0 0; color: var(--ui-muted); font-size: 13px; line-height: 1.4; }
.editor-title > span { flex: 0 0 auto; padding: 7px 10px; background: var(--ui-blue); color: var(--ui-white); font-family: var(--ui-font-mono); font-size: var(--ui-text-xs); font-weight: 900; text-transform: uppercase; transform: rotate(1deg); }
.schedule-editor { max-width: 980px; margin: 16px auto 0; padding: 15px 17px 17px; border-color: var(--ui-ink); background: var(--ui-ink); color: var(--ui-paper-light); box-shadow: 7px 7px 0 var(--ui-red); }
.schedule-editor .editor-title p { color: #c9c2b6; }
.schedule-editor .editor-title > span { background: var(--ui-red); }
#streamEditors { grid-column: 1/-1; display: grid; gap: 10px; }
.stream-editor { display: grid; grid-template-columns: minmax(185px,.8fr) minmax(185px,.8fr) minmax(230px,1fr); gap: 10px 12px; padding: 13px; border: 3px solid var(--ui-red); background: var(--ui-paper); color: var(--ui-ink); }
.stream-editor-head { display: flex; grid-column: 1/-1; align-items: center; justify-content: space-between; gap: 14px; padding-bottom: 10px; border-bottom: 2px solid var(--ui-ink); }
.stream-editor-head small { color: var(--ui-red-dark); font-family: var(--ui-font-mono); font-size: var(--ui-text-xs); font-weight: 900; text-transform: uppercase; }
.stream-editor-head h4 { margin: 4px 0 0; font-family: var(--ui-font-display); font-size: clamp(20px,2vw,28px); line-height: 1; text-transform: uppercase; }
.stream-editor-head .close-stream-editor { flex: 0 0 auto; }
.stream-description-field { grid-column: 1/3; }
.stream-url-field { grid-column: 3; }
.stream-editor-actions { display: flex; grid-column: 1/-1; justify-content: flex-end; gap: 9px; padding-top: 2px; }
.stream-editor .remove-stream { border-color: var(--ui-danger); color: var(--ui-danger); }
.stream-editor .save-stream { background: var(--ui-red); color: var(--ui-white); }
.stream-editor.is-draft { border-color: var(--ui-blue); }
.stream-editor-empty { display: grid; place-items: center; min-height: 118px; padding: 20px; border: 2px dashed var(--ui-ink); background: rgba(216,205,184,.24); text-align: center; }
.schedule-editor .stream-editor-empty { border-color: #d4cec2; background: rgba(243,234,216,.08); }
.stream-editor-empty strong { color: var(--ui-paper-light); font-family: var(--ui-font-display); font-size: 23px; text-transform: uppercase; }
.stream-editor-empty p { max-width: 620px; margin: 6px 0 0; color: #c9c2b6; font-size: 13px; line-height: 1.45; }

.edit-actions { position: fixed; right: 0; bottom: 0; left: 0; z-index: 60; display: flex; align-items: center; justify-content: flex-end; gap: 10px; min-height: 62px; padding: 8px max(20px,calc((100% - 1180px)/2)); border-top: 3px solid var(--ui-ink); background: rgba(243,234,216,.98); box-shadow: 0 -5px 0 rgba(17,20,28,.13); }
.edit-actions[hidden] { display: none; }
.edit-actions span { margin-right: auto; color: var(--ui-muted); font-size: 13px; }
.edit-actions .primary { background: var(--ui-red); color: var(--ui-white); }

.site-footer { display: flex; align-items: center; gap: 11px; min-height: 82px; padding: 13px 20px; background: var(--ui-ink); color: var(--ui-white); }
.site-footer img { width: 42px; height: 42px; border-radius: 50%; }
.site-footer span { font-family: var(--ui-font-display); font-size: 20px; font-weight: 900; text-transform: uppercase; }
.site-footer i { flex: 1; border-top: 1px solid #625e56; }
.site-footer small { color: #bdb5a7; font-family: var(--ui-font-mono); font-size: var(--ui-text-xs); text-transform: uppercase; }

@media (max-width: 1279px) {
  .site-header {
    grid-template-columns: auto 1fr auto;
    grid-template-areas: "brand socials support";
  }
  .site-header nav { display: none; }
}

@media (max-width: 900px) {
  .front-page { grid-template-columns: 1fr 1fr; grid-template-rows: 410px 380px 320px; min-height: auto; }
  .front-portrait { grid-column: 1; grid-row: 1; }
  .front-manifest { grid-column: 2; grid-row: 1; border-right: 0; }
  .front-video { grid-column: 1; grid-row: 2; }
  .front-stream { grid-column: 2; grid-row: 2; border-right: 0; }
  .front-more-videos { grid-column: 1 / 3; grid-row: 3; }
  .front-video-arrow { top: 54px; right: 26%; }
  .schedule-layout { grid-template-columns: 1fr; }
  .telegram-posts { grid-template-columns: 1fr 1fr; }
  .telegram-post:last-child { grid-column: 1/-1; min-height: 300px; }
  .telegram-post.media-horizontal:last-child { grid-template-columns: 1fr 1fr; grid-template-rows: none; min-height: 300px; }
  .auction-game { flex-basis: 220px; height: auto; }
  .catalog-head h2 { white-space: normal; }
  .catalog-store-link { position: relative; top: auto; right: auto; width: min(100%,278px); min-height: 58px; margin: 11px 0 0 auto; }
  .catalog-store-link img { width: 104px; max-height: 48px; }
  .catalog-grid { grid-auto-columns: 180px; grid-template-columns: none; grid-template-rows: repeat(2,265px); gap: 12px 42px; }
  .catalog-card { grid-template-rows: 203px 62px; height: 265px; }
  .catalog-card figure { height: 203px; }
  .catalog-book { width: 145px; height: 194px; }
}

@media (max-width: 760px) {
  .site-header {
    grid-template-columns: minmax(0,1fr) auto;
    grid-template-areas:
      "brand support"
      "socials socials";
    gap: 7px 10px;
    padding: 8px 12px 0;
  }
  .brand { min-width: 0; }
  .brand-mark { flex: 0 0 auto; width: 52px; height: 52px; }
  .brand-name { overflow: hidden; font-size: clamp(22px,4.4vw,28px); text-overflow: ellipsis; white-space: nowrap; }
  .header-socials { justify-content: center; padding: 5px 0 7px; border-top: 1px solid #55534f; }
}

@media (max-width: 650px) {
  .site-header, main, .site-footer { width: 100%; }
  .site-header {
    grid-template-columns: minmax(0,1fr) auto;
    grid-template-areas:
      "brand support"
      "socials socials";
    gap: 7px 9px;
    min-height: 66px;
    padding: 7px 10px 0;
  }
  .site-header nav { display: none; }
  .brand { min-width: 0; gap: 9px; }
  .brand-mark { width: 48px; height: 48px; }
  .brand-name { font-size: 24px; }
  .brand-live { position: absolute; top: 1px; right: -4px; margin: 0; padding: 4px 5px 3px; font-size: 10px; }
  .header-support { justify-content: center; width: 78px; height: 44px; gap: 5px; padding: 5px 7px; font-size: 12px; box-shadow: 2px 2px 0 var(--ui-red); }
  .header-support > span { display: block; }
  .header-support small { display: none; }
  .header-support svg { width: 19px; height: 19px; }
  .header-socials {
    justify-content: center;
    gap: 7px;
    padding: 5px 0 7px;
    border-top: 1px solid #55534f;
  }
  .header-socials a { width: var(--ui-control-min); height: var(--ui-control-min); }
  .header-socials svg { width: 20px; height: 20px; }
  .admin-bar { right: 12px; bottom: 12px; }
  .is-editing .admin-bar { bottom: 74px; }
  .front-page { display: flex; flex-direction: column; }
  .front-portrait { min-height: 340px; border-right: 0; border-bottom: 3px solid var(--ui-ink); }
  .front-portrait img { position: absolute; inset: 0; }
  .front-portrait img { object-position: 50% 46%; transform: scale(1.02); }
  .front-manifest { min-height: 280px; padding-top: 45px; border-right: 0; border-left: 0; }
  .front-manifest h1 { font-size: clamp(28px,8vw,33px); }
  .front-crown { width: 56px; height: 35px; }
  .front-video { min-height: 350px; padding: 70px 12px 18px; }
  .front-video-arrow { top: 54px; right: 26%; }
  .front-video-visual { min-height: 215px; }
  .front-stream { min-height: 245px; padding: 66px 12px 18px; border-right: 0; border-bottom: 3px solid var(--ui-ink); }
  .front-stream-body { grid-template-columns: 55px 94px minmax(0,1fr); gap: 9px; padding: 7px; }
  .front-stream-poster { flex: 0 0 94px; width: 94px; min-width: 94px; height: 94px; aspect-ratio: 1 / 1; }
  .front-stream time strong { font-size: 42px; }
  .front-stream time b { font-size: 18px; }
  .front-stream-copy small { font-size: 11px; }
  .front-stream-copy p { display: none; }
  .front-stream-action { min-height: var(--ui-control-min); padding-block: 12px; }
  .front-more-videos { min-height: 285px; padding: 70px 14px 16px; }
  .front-video-list { display: flex; align-items: center; gap: 12px; height: 190px; padding: 7px 10px; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .front-video-list::-webkit-scrollbar { display: none; }
  .front-more-video { flex: 0 0 min(78vw,304px); width: auto; height: auto; aspect-ratio: 16/9; background-size: cover; scroll-snap-align: start; }
  .game-auction { padding-top: 18px; }
  .game-auction-head { margin: 0 36px 16px; }
  .game-auction-viewport { padding: 4px 22px 6px; scroll-padding-left: 22px; }
  .game-auction-track { gap: 12px; }
  .auction-game { flex-basis: min(72vw,252px); height: auto; }
  .auction-game-copy { min-height: 138px; padding: 11px 10px 10px; }
  .auction-game h3 { min-height: 2em; font-size: 20px; }
  .auction-game-meter { height: 11px; }
  .auction-game-copy > b { font-size: 23px; }
  .auction-game-copy p { font-size: 14px; }
  .game-auction-controls { grid-template-columns: 44px minmax(0,1fr) 44px; gap: 10px; padding: 9px 14px 0; }
  .game-auction-button { width: 44px; height: 44px; font-size: 29px; }
  .section { padding: 34px 12px; }
  .section-schedule,.telegram-section { padding-top: 22px; }
  .section-head { margin-bottom: 18px; }
  .section-head h2 { font-size: 27px; }
  .marker-title { padding: 7px 12px 6px; }
  .front-block-title { padding: 7px 14px 6px; }
  .front-block-title h2 { font-size: 21px; }
  .section-arrow { display: none; }
  .video-editor-only { margin: 14px 12px; }
  .calendar { padding: 11px 7px; }
  .calendar-head { grid-template-columns: 44px minmax(0,1fr) 44px; gap: 7px; }
  .calendar-head strong { font-size: 22px; }
  .calendar-head span { grid-column: 1/-1; grid-row: 2; justify-self: center; }
  .calendar-head button { grid-row: 1; width: 44px; height: 44px; }
  .calendar-head button:last-child { grid-column: 3; }
  .calendar-day,.calendar-blank { min-height: 48px; }
  .calendar-day b { font-size: 18px; }
  .calendar-day small { font-size: 11px; }
  .events, .empty { min-height: 190px; }
  .events::before { font-size: 20px; }
  .event { grid-template-columns: 48px minmax(0,1fr) 14px; gap: 9px; min-height: 86px; padding: 11px 9px; }
  .event time { padding-right: 8px; }
  .event time b { font-size: 28px; }
  .event p { font-size: 13px; }
  .events-note { display: none; }
  .catalog-section { padding-top: 21px; padding-bottom: 18px; }
  .catalog-section .catalog-head { margin: 0 14px 14px; }
  .catalog-head > div { max-width: calc(100% - 46px); }
  .catalog-head h2 { padding-bottom: 8px; font-size: clamp(40px,12vw,50px); line-height: .86; }
  .catalog-head h2 { white-space: normal; }
  .catalog-head h2::after { height: 5px; }
  .catalog-crown { top: -14px; right: -5px; width: 44px; height: 35px; }
  .catalog-store-link { width: min(100%,278px); min-height: 56px; margin-top: 10px; padding: 4px 7px 4px 10px; }
  .catalog-store-link img { width: 100px; max-height: 46px; }
  .catalog-viewport { padding-inline: 18px; scroll-padding-left: 18px; }
  .catalog-grid { grid-auto-columns: 155px; grid-template-columns: none; grid-template-rows: repeat(2,250px); gap: 16px 28px; }
  .catalog-card { grid-template-rows: 190px 60px; height: 250px; }
  .catalog-card figure { height: 190px; }
  .catalog-book { width: 132px; height: 180px; }
  .catalog-card h3 { padding: 8px 2px 0; font-size: 16px; }
  .catalog-card.catalog-title-long h3 { font-size: 14px; }
  .catalog-scroll { gap: 11px; margin: 12px 18px 0; }
  .catalog-scroll em { font-size: 17px; }
  .telegram-posts { grid-template-columns: 1fr; }
  .telegram-post,.telegram-post:last-child { grid-column: auto; min-height: 380px; }
  .telegram-post.media-horizontal,.telegram-post.media-horizontal:last-child { grid-template-columns: none; grid-template-rows: auto 190px; }
  .telegram-post.media-vertical { grid-template-columns: 44% 56%; grid-template-rows: none; }
  .telegram-copy { padding: 15px; }
  .telegram-copy time { font-size: 20px; }
  .telegram-copy h3 { font-size: 22px; -webkit-line-clamp: 3; }
  .telegram-copy p { font-size: 14px; line-height: 1.42; -webkit-line-clamp: 4; }
  .telegram-expanded { padding: 17px 17px 20px; }
  .telegram-expanded h3 { font-size: 21px; }
  .telegram-expanded p { font-size: 14px; }
  .supporters { margin-right: -12px; margin-left: -12px; }
  .supporters-head { gap: 9px; padding-inline: 14px; }
  .supporters-head > span { font-size: 28px; }
  .supporters-head h2 { font-size: 28px; }
  .supporters-head svg { display: none; }
  .supporter-sequence { gap: 28px; padding-right: 28px; }
  .supporter-track .supporter-name { font-size: 19px; }
  .supporters-note { font-size: 18px; }
  .inline-editor, .stream-editor { grid-template-columns: 1fr; }
  .inline-editor label.wide, .stream-editor label.wide { grid-column: auto; }
  .schedule-editor { margin-top: 14px; padding: 12px; }
  .stream-description-field,.stream-url-field { grid-column: auto; }
  .editor-title { align-items: flex-start; }
  .editor-title > span { display: none; }
  .stream-editor-head { align-items: flex-start; }
  .stream-editor-head h4 { font-size: 19px; }
  .stream-editor-actions { flex-wrap: wrap; }
  .inline-action { grid-template-columns: 1fr; }
  .edit-actions span { display: none; }
  .site-footer small { display: none; }
}

@media (max-width: 380px) {
  .site-header { gap: 6px; padding-inline: 8px; }
  .brand { gap: 6px; }
  .brand-mark { width: 42px; height: 42px; }
  .brand-name { font-size: 20px; letter-spacing: -.055em; }
  .header-support { width: 66px; height: 42px; padding-inline: 5px; }
  .header-socials { gap: 5px; }
  .header-socials a { width: 42px; height: 42px; }
}

@media (max-width: 360px) {
  .brand-name { font-size: 19px; }
  .header-support { font-size: 11px; }
}
