@font-face{font-family:'Unbounded';font-style:normal;font-weight:500 900;font-display:swap;src:url(fonts/Unbounded-cyrillic.woff2) format('woff2');unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;}
@font-face{font-family:'Unbounded';font-style:normal;font-weight:500 900;font-display:swap;src:url(fonts/Unbounded-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Golos Text';font-style:normal;font-weight:400 700;font-display:swap;src:url(fonts/GolosText-cyrillic.woff2) format('woff2');unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;}
@font-face{font-family:'Golos Text';font-style:normal;font-weight:400 700;font-display:swap;src:url(fonts/GolosText-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'JetBrains Mono';font-style:normal;font-weight:500 700;font-display:swap;src:url(fonts/JetBrainsMono-cyrillic.woff2) format('woff2');unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;}
@font-face{font-family:'JetBrains Mono';font-style:normal;font-weight:500 700;font-display:swap;src:url(fonts/JetBrainsMono-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}

:root {
  --bg: #f1efea;
  --surface: #ffffff;
  --ink: #121316;
  --ink-2: #4a4d55;
  --ink-3: #6b6f78;
  --line: rgba(18, 19, 22, 0.1);
  --line-2: rgba(18, 19, 22, 0.18);
  --pill: #e4e2dc;
  --accent: #0b7a78;
  --btn: #17181c;
  --btn-ink: #f6f5f1;
  --display: 'Unbounded', 'Arial Black', sans-serif;
  --body: 'Golos Text', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --pad: clamp(18px, 4vw, 64px);
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; scrollbar-color: #c9c6be var(--bg); }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 1.125rem/1.55 var(--body); letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
::selection { background: var(--accent); color: #fff; }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #c9c6be; border: 2px solid var(--bg); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
p, h1, h2, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
b { font-weight: 600; color: var(--ink); }
.bar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 10;
  display: flex; align-items: center; gap: 24px; padding: 14px var(--pad);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.bar__brand { display: flex; align-items: center; gap: 10px; font: 700 1.05rem var(--display); letter-spacing: -0.02em; }
.bar__brand img { width: 38px; height: auto; filter: brightness(0.25) contrast(1.2); }
.bar__nav { display: flex; gap: 6px; margin-left: auto; }
.bar__nav a {
  padding: 9px 16px; border-radius: 999px; background: var(--pill); color: var(--ink); font-size: 0.92rem; font-weight: 500;
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}
.bar__nav a:hover { background: var(--btn); color: var(--btn-ink); }
.lang { position: relative; }
.lang__btn {
  display: flex; align-items: center; gap: 8px; padding: 8px 12px 8px 12px; border: 0; border-radius: 999px; background: var(--pill);
  color: var(--ink); font: 600 0.88rem var(--mono); cursor: pointer; transition: background 0.3s var(--ease);
}
.lang__btn:hover, .lang.is-open .lang__btn { background: #d9d6cf; }
.lang__btn svg { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.lang__globe { width: 18px; height: 18px; }
.lang__chev { width: 15px; height: 15px; opacity: 0.6; transition: transform 0.3s var(--ease); }
.lang.is-open .lang__chev { transform: rotate(180deg); }
.lang__menu {
  position: absolute; right: 0; top: calc(100% + 10px); min-width: 230px; padding: 8px; border-radius: 18px; z-index: 30;
  background: var(--surface); box-shadow: 0 24px 50px -18px rgba(18, 19, 22, 0.35), inset 0 0 0 1px var(--line);
  animation: drop 0.35s var(--ease);
}
.lang__menu[hidden] { display: none; }
@keyframes drop { from { opacity: 0; transform: translateY(-6px) scale(0.98); } }
.lang__label { padding: 8px 12px 6px; font: 500 0.72rem var(--mono); letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3); }
.lang__item {
  display: grid; grid-template-columns: 34px 1fr 18px; align-items: center; width: 100%; padding: 11px 12px; border: 0; border-radius: 12px;
  background: none; color: var(--ink); font: 500 1rem var(--body); text-align: left; cursor: pointer; transition: background 0.2s var(--ease);
}
.lang__item:hover, .lang__item:focus-visible { background: var(--bg); outline: none; }
.lang__item[aria-checked="true"] { background: var(--pill); }
.lang__code { font: 600 0.8rem var(--mono); color: var(--ink-3); }
.lang__item svg { width: 18px; height: 18px; fill: none; stroke: #2fa84f; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; visibility: hidden; }
.lang__item[aria-checked="true"] svg { visibility: visible; }
.bar__live[hidden] { display: none; }
.bar__live {
  display: flex; align-items: center; gap: 9px; padding: 9px 16px; border-radius: 999px; background: var(--pill);
  font: 500 0.92rem var(--mono); font-variant-numeric: tabular-nums; white-space: nowrap;
}
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--ink-3); }
.pulse.is-up { background: #2fa84f; animation: pulse 2.4s var(--ease) infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(47, 168, 79, 0.5); } 70%, 100% { box-shadow: 0 0 0 9px rgba(47, 168, 79, 0); } }
main, .foot { position: relative; }
.hero { padding: 104px var(--pad) 28px; }
.hero__top { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 32px 56px; align-items: end; }
.hero__h { font: 800 clamp(2.6rem, 6.4vw, 6rem)/0.92 var(--display); letter-spacing: -0.045em; text-transform: uppercase; text-wrap: balance; }
.hero__h span { color: var(--accent); }
.hero__side { padding-bottom: 6px; }
.hero__lede { max-width: 34ch; font-size: 1.15rem; color: var(--ink-2); }
.ip { margin-top: 22px; }
.ip__btn {
  display: inline-flex; align-items: stretch; padding: 5px; border: 0; cursor: pointer; border-radius: 999px;
  background: var(--btn); color: var(--btn-ink);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
  box-shadow: 0 18px 34px -20px rgba(18, 19, 22, 0.6);
}
.ip__btn:hover { transform: translateY(-2px); box-shadow: 0 24px 40px -20px rgba(18, 19, 22, 0.65); }
.ip__addr { padding: 12px 18px 12px 20px; font: 600 clamp(1.05rem, 1.7vw, 1.3rem) var(--mono); }
.ip__act {
  display: grid; place-items: center; padding: 0 20px; border-radius: 999px; background: var(--accent); color: #fff;
  font: 700 0.98rem var(--body); transition: background 0.3s var(--ease);
}
.ip__btn.is-done .ip__act { background: #2fa84f; }
.ip__meta { margin-top: 12px; font: 500 0.88rem var(--mono); color: var(--ink-3); font-variant-numeric: tabular-nums; }
.scene { position: relative; padding: clamp(64px, 8vw, 112px) var(--pad); display: grid; }
.rust__h { font: 800 clamp(2rem, 4.4vw, 3.8rem)/1 var(--display); letter-spacing: -0.04em; text-wrap: balance; }
.rust__p { color: var(--ink-2); font-size: 1.2rem; max-width: 46ch; }
.donat { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px 64px; align-items: start; max-width: 1320px; width: 100%; margin: 0 auto; }
.donat__buy .tiers { margin-top: 0; }
.donat__h, .gift__h { font: 800 clamp(2.2rem, 4.6vw, 4rem)/0.98 var(--display); letter-spacing: -0.045em; text-wrap: balance; }
.donat__p, .gift__p { margin-top: 18px; color: var(--ink-2); font-size: 1.15rem; max-width: 42ch; }
.tiers { margin-top: 36px; border-top: 1px solid var(--line-2); }
.tier { display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto auto; padding: 22px 0; border-bottom: 1px solid var(--line-2); align-items: baseline; }
.tier__name { font: 700 1.6rem var(--display); letter-spacing: -0.03em; }
.tier__price { grid-row: span 2; font: 800 clamp(2rem, 3.6vw, 3rem)/1 var(--display); letter-spacing: -0.045em; text-align: right; }
.tier__price span { font-variant-numeric: tabular-nums; }
.tier__term { font-size: 0.95rem; color: var(--ink-3); }
.tier--top .tier__price { color: var(--accent); }
.donat__soon, .gift__soon { margin-top: 18px; color: var(--ink-3); font-size: 1.05rem; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; margin-top: 26px; min-height: 54px; padding: 0 28px;
  border: 0; border-radius: 999px; background: var(--btn); color: var(--btn-ink); font: 600 1.02rem var(--body); cursor: pointer;
  transition: transform 0.35s var(--ease), background 0.3s var(--ease);
}
.btn::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.btn:hover { transform: translateY(-2px); background: #000; }
.scene--gift { overflow-x: clip; align-items: start; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); max-width: 1400px; margin: 0 auto; }
.deck__stage { position: relative; aspect-ratio: 1676 / 1026; perspective: 1600px; touch-action: pan-y; user-select: none; }
.deck__card {
  position: absolute; inset: 0; width: 100%; height: auto; display: block; cursor: grab;
  transition: transform 0.8s var(--ease), opacity 0.6s var(--ease), filter 0.8s var(--ease);
}
.deck__card[data-p="0"] { z-index: 4; transform: rotateY(14deg) rotateX(6deg) rotateZ(-2deg); }
.deck__card[data-p="1"] { z-index: 3; transform: translate(7%, -7%) rotateY(14deg) rotateX(6deg) rotateZ(3deg) scale(0.9); filter: brightness(0.92); }
.deck__card[data-p="2"] { z-index: 2; transform: translate(13%, -13%) rotateY(14deg) rotateX(6deg) rotateZ(7deg) scale(0.8); filter: brightness(0.85); opacity: 0.9; }
.deck__card[data-p="3"] { z-index: 5; transform: translate(-36%, 6%) rotateY(14deg) rotateX(6deg) rotateZ(-14deg) scale(0.96); opacity: 0; pointer-events: none; }
.deck__stage:hover .deck__card[data-p="0"] { transform: rotateY(5deg) rotateX(2deg) rotateZ(-1deg) translateY(-6px); }
.deck__bar { display: flex; align-items: center; gap: 14px; margin-top: clamp(28px, 4vw, 48px); max-width: 560px; }
.deck__arrow {
  display: grid; place-items: center; flex: none; width: 52px; height: 52px; border: 0; border-radius: 999px; cursor: pointer;
  background: var(--surface); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2);
  transition: background 0.3s var(--ease), color 0.3s var(--ease), transform 0.3s var(--ease);
}
.deck__arrow svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.deck__arrow:hover { background: var(--btn); color: var(--btn-ink); }
.deck__arrow:active { transform: scale(0.94); }
.deck__info { flex: 1; display: flex; align-items: baseline; justify-content: space-between; gap: 12px; min-width: 0; }
.deck__kind { font: 600 1.02rem var(--body); }
.deck__count { font: 500 0.88rem var(--mono); color: var(--ink-3); font-variant-numeric: tabular-nums; }
.gift { width: min(520px, 100%); }
.redeem__open {
  display: inline-flex; align-items: center; gap: 12px; margin-top: 30px; min-height: 60px; padding: 0 22px 0 20px; border: 0; border-radius: 999px;
  background: var(--accent); color: #fff; font: 600 1.08rem var(--body); cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), inset 0 -2px 0 rgba(0, 0, 0, 0.12), 0 1px 2px rgba(18, 19, 22, 0.12);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.3s var(--ease);
}
.redeem__open svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.redeem__open .redeem__chev { width: 18px; height: 18px; opacity: 0.75; transition: transform 0.35s var(--ease); }
.redeem__open:hover { transform: translateY(-1px); background: #096a68; }
.redeem__open:active { transform: translateY(1px); box-shadow: inset 0 2px 3px rgba(0, 0, 0, 0.18); }
.redeem__open[aria-expanded="true"] .redeem__chev { transform: rotate(180deg); }
.redeem-wrap { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.55s var(--ease); }
.redeem-wrap.is-open { grid-template-rows: 1fr; }
.redeem-wrap > .redeem { min-height: 0; overflow: hidden; }
.redeem { opacity: 0; transform: translateY(-8px); pointer-events: none; transition: opacity 0.35s var(--ease), transform 0.55s var(--ease); }
.redeem__card { display: grid; gap: 14px; margin-top: 16px; padding: 20px; border-radius: 22px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.redeem-wrap.is-open .redeem { opacity: 1; transform: none; pointer-events: auto; transition-delay: 0.08s; }
.redeem__card > * { min-width: 0; }
.redeem__field { display: grid; gap: 7px; }
.redeem__label { font: 500 0.74rem var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); }
.redeem__input {
  width: 100%; padding: 14px 16px; border: 0; border-radius: 14px; background: var(--bg); color: var(--ink);
  font: 500 1.05rem var(--body); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow 0.25s var(--ease), background 0.25s var(--ease);
}
.redeem__input--code { font: 600 1rem var(--mono); letter-spacing: 0.06em; text-transform: uppercase; }
.redeem__input::placeholder { color: #a7a9ae; letter-spacing: inherit; }
.redeem__input:focus { outline: none; background: var(--surface); box-shadow: inset 0 0 0 2px var(--accent); }
.redeem__input[aria-invalid="true"] { box-shadow: inset 0 0 0 2px #c2412d; }
.redeem__go {
  min-height: 54px; border: 0; border-radius: 14px; background: var(--btn); color: var(--btn-ink); font: 600 1.02rem var(--body); cursor: pointer;
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
}
.redeem__go:hover { background: #000; }
.redeem__go:active { transform: scale(0.985); }
.redeem__msg:empty { display: none; }
.redeem__msg { animation: drop 0.35s var(--ease); padding: 12px 14px; border-radius: 12px; background: var(--bg); color: var(--ink-2); font-size: 0.98rem; }
.redeem__msg.is-err { background: rgba(194, 65, 45, 0.08); color: #a3321f; }
.gift__buy { margin-top: 22px; color: var(--ink-3); font-size: 1rem; }
.gift__buy a { color: var(--ink); font-weight: 600; border-bottom: 1px solid var(--line-2); transition: color 0.25s var(--ease), border-color 0.25s var(--ease); }
.gift__buy a:hover { color: var(--accent); border-color: var(--accent); }
.scene--end { justify-items: center; text-align: center; padding-top: clamp(80px, 10vw, 140px); padding-bottom: clamp(80px, 10vw, 140px); }
.end__ip {
  padding: 0; border: 0; background: none; cursor: pointer; color: var(--ink);
  font: 800 clamp(2.2rem, 8vw, 7rem)/1 var(--display); letter-spacing: -0.05em;
  transition: color 0.3s var(--ease);
}
.end__ip:hover { color: var(--accent); }
.end__hint { margin-top: 16px; color: var(--ink-3); font-size: 1.05rem; }
.foot { padding: 0 var(--pad); }
.foot__card { position: relative; overflow: hidden; padding-top: clamp(48px, 6vw, 80px); border-top: 1px solid var(--line-2); }
.foot__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 0.7fr)) minmax(0, 1.1fr); gap: 40px 32px; }
.foot__logo { display: inline-flex; align-items: center; gap: 10px; font: 700 1.2rem var(--display); letter-spacing: -0.02em; }
.foot__logo img { width: 40px; height: auto; filter: brightness(0.25) contrast(1.2); }
.foot__tag { margin-top: 14px; max-width: 30ch; color: var(--ink-2); font-size: 1rem; }
.foot__live[hidden] { display: none; }
.foot__live {
  display: inline-flex; align-items: center; gap: 9px; margin-top: 18px; padding: 8px 14px; border-radius: 999px;
  background: var(--pill); font: 500 0.88rem var(--mono); font-variant-numeric: tabular-nums;
}
.foot__links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.foot__label { margin-bottom: 14px; font: 500 0.74rem var(--mono); letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3); }
.foot__col { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.foot__col a { color: var(--ink); transition: color 0.25s var(--ease); }
.foot__col a:hover { color: var(--accent); }
.foot__ip {
  display: flex; align-items: center; justify-content: space-between; gap: 14px; width: 100%; max-width: 320px; padding: 13px 16px 13px 18px;
  border: 0; border-radius: 14px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line-2);
  color: var(--ink); font: 600 1.02rem var(--mono); cursor: pointer; transition: box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
}
.foot__ip svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; opacity: 0.55; flex: none; }
.foot__ip:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1px var(--accent), 0 14px 28px -16px rgba(11, 122, 120, 0.4); }
.foot__ip.is-done { box-shadow: inset 0 0 0 1px #2fa84f; }
.foot__ip .foot__ok { display: none; transform-box: fill-box; transform-origin: center; stroke: #2fa84f; stroke-width: 2.4; opacity: 1; stroke-dasharray: 22; stroke-dashoffset: 22; }
.foot__ip.is-done .foot__copy { display: none; }
.foot__ip.is-done .foot__ok { display: block; animation: draw 0.45s 0.12s var(--ease) forwards, pop 0.5s var(--ease); }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pop { 0% { transform: scale(0.4) rotate(-12deg); } 60% { transform: scale(1.18); } 100% { transform: none; } }
.ch { display: inline-block; white-space: pre; }
.is-wave .ch { animation: hop 0.62s var(--ease) both; animation-delay: calc(var(--i) * 32ms); }
@keyframes hop {
  0% { transform: none; }
  32% { transform: translateY(-0.55em) rotate(-6deg); color: var(--accent); }
  62% { transform: translateY(0.06em) scaleY(0.92); color: var(--accent); }
  100% { transform: none; }
}
.foot__meta { margin-top: 10px; font: 500 0.82rem var(--mono); color: var(--ink-3); font-variant-numeric: tabular-nums; }
.foot__bottom {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px;
  margin-top: clamp(40px, 5vw, 64px); padding-top: 22px; border-top: 1px solid var(--line);
  font-size: 0.88rem; color: var(--ink-3);
}
.foot__up { color: var(--ink-2); transition: color 0.25s var(--ease); }
.foot__legal { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 20px; }
.foot__legal a { color: var(--ink-2); transition: color 0.25s var(--ease); }
.foot__legal a:hover { color: var(--accent); }
.foot__up:hover { color: var(--accent); }
.foot__word {
  margin: clamp(10px, 2vw, 24px) 0 -0.24em; text-align: center; white-space: nowrap; user-select: none; pointer-events: none;
  font: 800 clamp(4.4rem, 19.5vw, 22rem)/0.9 var(--display); letter-spacing: -0.06em;
  color: transparent; background: linear-gradient(180deg, rgba(18, 19, 22, 0.09), rgba(18, 19, 22, 0.02) 75%); -webkit-background-clip: text; background-clip: text;
  transition: transform 1.4s var(--ease), opacity 1.4s var(--ease);
}
.js .foot__word:not(.is-in) { transform: translateY(28%); opacity: 0; }
.soc {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 999px;
  background: var(--surface); box-shadow: inset 0 0 0 1px var(--line-2);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.soc svg { width: 21px; height: 21px; fill: var(--ink-2); transition: fill 0.3s var(--ease); }
.soc--discord { --brand: #5865f2; --brand-a: rgba(88, 101, 242, 0.5); }
.soc--telegram { --brand: #26a5e4; --brand-a: rgba(38, 165, 228, 0.5); }
.soc--tiktok { --brand: #121316; --brand-a: rgba(254, 44, 85, 0.45); }
.soc--youtube { --brand: #ff0033; --brand-a: rgba(255, 0, 51, 0.5); }
.soc:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px var(--brand-a), 0 14px 28px -14px var(--brand-a); }
.soc:hover svg { fill: var(--brand); }
.soc--tiktok:hover svg { filter: drop-shadow(-1.5px -1px 0 #25f4ee) drop-shadow(1.5px 1px 0 #fe2c55); }
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 20; transform: translate(-50%, calc(100% + 48px)); visibility: hidden;
  padding: 14px 22px; border-radius: 999px; background: var(--btn); color: var(--btn-ink);
  box-shadow: 0 20px 50px -20px rgba(18, 19, 22, 0.6); transition: transform 0.5s var(--ease); max-width: calc(100vw - 32px);
}
.toast b { color: #fff; }
.toast.is-on { transform: translate(-50%, 0); visibility: visible; }
.hero__top > * { animation: rise 0.9s var(--ease) both; }
.hero__side { animation-delay: 0.1s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
.page-rules [hidden] { display: none !important; }
.rhero {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px 56px; align-items: flex-end;
  max-width: 1320px; margin: 0 auto; padding: 132px var(--pad) 0;
}
.rhero__h { flex: none; max-width: 100%; font: 800 clamp(2.8rem, 8vw, 7.6rem)/0.88 var(--display); letter-spacing: -0.05em; text-transform: uppercase; animation: rise 0.9s var(--ease) both; }
.rhero__side { flex: 0 1 400px; min-width: 260px; animation: rise 0.9s var(--ease) 0.1s both; padding-bottom: 6px; }
.rhero__lede { color: var(--ink-2); font-size: 1.15rem; max-width: 36ch; }
.rhero__meta { margin-top: 10px; font: 500 0.86rem var(--mono); color: var(--ink-3); }
.rsearch {
  flex: 1 1 100%; display: flex; align-items: center; gap: 12px; margin-top: clamp(4px, 1.5vw, 20px); padding: 0 14px 0 20px; min-height: 62px;
  border-radius: 18px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line-2); cursor: text;
  transition: box-shadow 0.25s var(--ease); animation: rise 0.9s var(--ease) 0.18s both;
}
.rsearch:focus-within { box-shadow: inset 0 0 0 2px var(--accent); }
.rsearch svg { width: 22px; height: 22px; flex: none; fill: none; stroke: var(--ink-3); stroke-width: 1.8; stroke-linecap: round; }
.rsearch input { flex: 1; min-width: 0; border: 0; background: none; color: var(--ink); font: 500 1.08rem var(--body); outline: none; padding: 16px 0; }
.rsearch input::placeholder { color: #9a9ca2; }
.rsearch input::-webkit-search-cancel-button { cursor: pointer; }
.rsearch kbd { padding: 3px 9px; border-radius: 8px; background: var(--bg); box-shadow: inset 0 0 0 1px var(--line-2); font: 500 0.8rem var(--mono); color: var(--ink-3); }
.rlayout {
  display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 56px; align-items: start;
  max-width: 1320px; margin: 0 auto; padding: clamp(40px, 6vw, 72px) var(--pad) clamp(80px, 10vw, 140px);
}
.toc { position: sticky; top: 92px; min-width: 0; }
.toc__label { margin: 0 0 12px 12px; font: 500 0.74rem var(--mono); letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3); }
.toc ol { display: grid; gap: 2px; }
.toc a {
  display: flex; align-items: baseline; gap: 12px; padding: 8px 12px; border-radius: 12px; color: var(--ink-2); font-size: 0.98rem;
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}
.toc a:hover { background: var(--pill); color: var(--ink); }
.toc a.is-on { background: var(--btn); color: var(--btn-ink); }
.toc a.is-on .toc__n { color: rgba(246, 245, 241, 0.55); }
.toc__n { font: 500 0.8rem var(--mono); color: var(--ink-3); font-variant-numeric: tabular-nums; }
.toc li.is-off { opacity: 0.35; }
.rbody { display: grid; gap: clamp(48px, 6vw, 80px); }
.rsec { scroll-margin-top: 96px; }
.rsec__h {
  display: flex; align-items: baseline; gap: 18px; padding-bottom: 18px; border-bottom: 1px solid var(--line-2);
  font: 800 clamp(1.6rem, 3vw, 2.5rem)/1.05 var(--display); letter-spacing: -0.04em;
}
.rsec__n { font: 500 0.95rem var(--mono); letter-spacing: 0; color: var(--accent); transform: translateY(-0.3em); }
.rules { display: grid; }
.rule {
  display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 8px 16px; align-items: baseline;
  padding: 16px 12px; margin: 0 -12px; border-bottom: 1px solid var(--line); scroll-margin-top: 120px;
}
.rule__n {
  justify-self: start; padding: 3px 9px; border-radius: 8px; font: 600 0.88rem var(--mono); color: var(--ink-2); font-variant-numeric: tabular-nums;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.rule__n:hover { background: var(--pill); color: var(--ink); }
.rule__n:hover::after { content: " #"; color: var(--accent); }
.rule__t { font-size: 1.08rem; line-height: 1.5; }
.rule__ex { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 10px; }
.rule__exl { font: 500 0.7rem var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); margin-right: 2px; }
.rule__q {
  quotes: none; padding: 6px 12px; border-radius: 14px 14px 14px 4px; background: var(--pill); color: var(--ink-2);
  font: 500 0.92rem var(--mono); letter-spacing: -0.01em;
}
.rule__p {
  justify-self: end; max-width: 15em; text-align: center; padding: 5px 12px; border-radius: 14px; font: 600 0.82rem var(--mono); font-variant-numeric: tabular-nums;
  background: var(--surface); color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line-2);
}
.rule__p--ban { background: var(--btn); color: var(--btn-ink); box-shadow: none; }
.rule__p--bl { background: #a3321f; color: #fff; box-shadow: none; }
.rule__p--warn { background: rgba(196, 140, 20, 0.12); color: #8a5e05; box-shadow: none; }
.rule__p abbr { text-decoration: underline dotted rgba(255, 255, 255, 0.6); text-underline-offset: 3px; cursor: help; }
.rule__tag {
  display: inline-block; margin-left: 10px; padding: 2px 10px; border-radius: 999px; vertical-align: 2px;
  background: rgba(11, 122, 120, 0.12); color: var(--accent); font: 600 0.74rem var(--body); letter-spacing: 0.02em;
}
.rule.is-flash { animation: flash 2.2s var(--ease); }
@keyframes flash { 0%, 30% { background: rgba(11, 122, 120, 0.14); } 100% { background: transparent; } }
.rblock { margin-top: 22px; padding: 20px 22px; border-radius: 18px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.rblock + .rblock { margin-top: 12px; }
.rblock__l { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; font: 500 0.74rem var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); }
.rblock__l svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.rblock__t { font-size: 1.05rem; }
.rblock__list { display: grid; gap: 10px; }
.rblock__list li { position: relative; padding-left: 22px; font-size: 1.05rem; }
.rblock__list li::before { content: ""; position: absolute; left: 4px; top: 0.68em; width: 6px; height: 6px; border-radius: 2px; background: var(--ink-3); transform: rotate(45deg); }
.rblock--ok { background: rgba(47, 168, 79, 0.07); box-shadow: inset 0 0 0 1px rgba(47, 168, 79, 0.2); }
.rblock--ok .rblock__l { color: #23813d; }
.rblock--warn { background: rgba(196, 140, 20, 0.08); box-shadow: inset 0 0 0 1px rgba(196, 140, 20, 0.24); }
.rblock--warn .rblock__l { color: #9a6a06; }
.rblock--punish { background: var(--btn); color: var(--btn-ink); box-shadow: none; }
.rblock--punish .rblock__l { color: rgba(246, 245, 241, 0.6); }
.rblock--punish b { color: #fff; }
mark.hl { background: rgba(11, 122, 120, 0.2); color: inherit; border-radius: 4px; padding: 0 2px; }
.rblock--punish mark.hl { background: rgba(255, 255, 255, 0.22); }
.rempty { padding: 40px 0; color: var(--ink-3); font-size: 1.1rem; }
.bar__nav a[aria-current="page"] { background: var(--btn); color: var(--btn-ink); }
.sbody { display: grid; gap: clamp(56px, 7vw, 96px); max-width: 1320px; margin: 0 auto; padding: clamp(40px, 6vw, 72px) var(--pad) clamp(80px, 10vw, 140px); }
.sgroup__h {
  display: flex; align-items: baseline; gap: 18px; margin-bottom: 22px; padding-bottom: 18px; border-bottom: 1px solid var(--line-2);
  font: 800 clamp(1.6rem, 3vw, 2.5rem)/1.05 var(--display); letter-spacing: -0.04em;
}
.ava {
  display: inline-grid; place-items: center; flex: none; width: 28px; height: 28px; border-radius: 7px;
  font: 800 0.8rem var(--display); color: #fff; background: var(--btn); image-rendering: pixelated; object-fit: cover;
}
.ava--big { width: 88px; height: 88px; border-radius: 18px; font-size: 1.6rem; box-shadow: 0 1px 0 rgba(18, 19, 22, 0.08); }
.ava--photo { image-rendering: auto; }
.ava--ink { background: #17181c; }
.ava--teal { background: #0b7a78; }
.ava--copper { background: #a5431a; }
.ava--gold { background: #9a7020; }
.ava--slate { background: #4a5468; }
.people { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 14px; align-items: start; }
.person { display: flex; flex-direction: column; align-items: flex-start; padding: 24px; border-radius: 22px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.person__tag { margin-top: 20px; font: 500 0.74rem var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }
.person__nick { margin-top: 20px; font: 800 1.35rem/1.1 var(--display); letter-spacing: -0.03em; overflow-wrap: anywhere; }
.person__tag + .person__nick { margin-top: 6px; }
.person__roles { display: grid; gap: 6px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); width: 100%; }
.person__roles li { color: var(--ink-2); font-size: 0.98rem; line-height: 1.35; }
.depts { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 14px; }
.dept { display: flex; flex-direction: column; padding: 22px; border-radius: 22px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.dept__h { font: 700 1.2rem/1.2 var(--display); letter-spacing: -0.02em; }
.dept__p { margin-top: 8px; color: var(--ink-3); font-size: 0.98rem; }
.dept__slots { display: grid; gap: 8px; margin-top: auto; padding-top: 18px; }
.slot { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; padding: 8px 8px 8px 14px; border-radius: 14px; background: var(--bg); }
.slot__l { font: 500 0.74rem var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); }
.slot__who { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; }
.slot--open { background: none; box-shadow: inset 0 0 0 1px var(--line-2); }
.slot__open {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px;
  color: var(--accent); font-weight: 600; font-size: 0.92rem; transition: background 0.25s var(--ease), color 0.25s var(--ease);
}
.slot__open svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.slot__open:hover { background: var(--accent); color: #fff; }
.sjoin {
  display: grid; justify-items: start; gap: 18px; padding: clamp(28px, 5vw, 56px); border-radius: 28px;
  background: var(--surface); box-shadow: inset 0 0 0 1px var(--line);
}
.sjoin__h { font: 800 clamp(2rem, 4.6vw, 3.6rem)/1 var(--display); letter-spacing: -0.045em; }
.sjoin__p { max-width: 52ch; color: var(--ink-2); font-size: 1.1rem; }
.sjoin__btn {
  display: inline-flex; align-items: center; gap: 12px; min-height: 58px; padding: 0 24px; border-radius: 999px;
  background: var(--accent); color: #fff; font-weight: 600; font-size: 1.05rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), inset 0 -2px 0 rgba(0, 0, 0, 0.12), 0 1px 2px rgba(18, 19, 22, 0.12);
  transition: transform 0.3s var(--ease), background 0.3s var(--ease);
}
.sjoin__btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.3s var(--ease); }
.sjoin__btn:hover { background: #096a68; transform: translateY(-1px); }
.sjoin__btn:hover svg { transform: translateX(3px); }
.ldoc { display: grid; gap: clamp(36px, 5vw, 56px); max-width: 820px; }
.ldoc__s { scroll-margin-top: 96px; }
.ldoc__h { display: flex; align-items: baseline; gap: 14px; padding-bottom: 14px; border-bottom: 1px solid var(--line-2); font: 800 clamp(1.4rem, 2.6vw, 2rem)/1.1 var(--display); letter-spacing: -0.035em; }
.ldoc__h span { font: 500 0.95rem var(--mono); color: var(--accent); letter-spacing: 0; }
.ldoc__l { display: grid; gap: 12px; margin-top: 16px; }
.ldoc__l li { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 8px; scroll-margin-top: 110px; }
.ldoc__n { padding-top: 0.2em; font: 500 0.82rem var(--mono); color: var(--ink-3); font-variant-numeric: tabular-nums; }
.ldoc__l p { color: var(--ink-2); font-size: 1.05rem; line-height: 1.6; }
.ldoc__l b { color: var(--ink); }
.ldoc a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
@media (max-width: 900px) {
  .bar { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--bg); }
  .bar__nav {
    position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); margin: 0; justify-content: space-between;
    padding: 6px; border-radius: 999px; background: color-mix(in srgb, var(--surface) 88%, transparent);
    box-shadow: 0 10px 30px -12px rgba(18, 19, 22, 0.35), inset 0 0 0 1px var(--line);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); z-index: 15;
  }
  .bar__nav a { flex: 1; text-align: center; padding: 10px 2px; font-size: 0.86rem; background: none; }
  .lang { margin-left: auto; }
  body { padding-bottom: 80px; }
  .toast { bottom: 84px; }
  .hero__top, .scene--gift { grid-template-columns: 1fr; }
  .donat { grid-template-columns: 1fr; }
  .rhero { padding-top: 104px; }
  .rlayout { grid-template-columns: minmax(0, 1fr); gap: 24px; padding-top: 28px; }
  .toc { top: 64px; z-index: 5; margin: 0 calc(var(--pad) * -1); padding: 10px 0; background: var(--bg); box-shadow: 0 -16px 0 var(--bg); }
  .toc__label { display: none; }
  .toc ol {
    position: relative; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 0 var(--pad);
    scroll-snap-type: x mandatory; scroll-padding-inline: var(--pad); overscroll-behavior-x: contain;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 var(--pad), #000 calc(100% - var(--pad)), transparent);
    mask-image: linear-gradient(90deg, transparent, #000 var(--pad), #000 calc(100% - var(--pad)), transparent);
  }
  .toc li { flex: none; scroll-snap-align: start; }
  .toc li:last-child { scroll-snap-align: end; }
  .toc ol::-webkit-scrollbar { display: none; }
  .toc a { white-space: nowrap; background: var(--pill); padding: 8px 14px; border-radius: 999px; }
  .rsec { scroll-margin-top: 140px; }
  .rule { scroll-margin-top: 160px; }
  .foot__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot__brand, .foot__server { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  body { font-size: 1.05rem; }
  .hero { padding-top: 84px; }
  .ip__btn { width: 100%; }
  .ip__addr { flex: 1; }
  .tier__name { font-size: 1.3rem; }
  .rule { grid-template-columns: 1fr; gap: 6px; }
  .people { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .person { padding: 16px; border-radius: 18px; }
  .ava--big { width: 56px; height: 56px; border-radius: 13px; }
  .person__tag { margin-top: 14px; font-size: 0.66rem; }
  .person__nick { margin-top: 14px; font-size: 1.05rem; }
  .person__roles li { font-size: 0.88rem; }
  .rule__p { justify-self: start; white-space: normal; }
  .rsearch kbd { display: none; }
  .foot__ip { max-width: none; }
  .bar__live { display: none; }
}
