:root {
  --bg: #0E0809;
  --surface-input: rgba(14, 8, 9, 0.88);
  --surface-chat: #130B0C;
  --line: rgba(244, 239, 234, 0.16);
  --line-strong: rgba(244, 239, 234, 0.34);
  --ink: #F5EFE6;
  --motto: #D9C3B4;
  --muted: #B8ABA4;
  --dim: #8D7F79;
  --crimson: #9E2B25;
  --crimson-hover: #B8382C;
  --crimson-text: #D95B50;
  --ember: #E07A38;
  --ember-soft: #E89B65;
  --soul: #58B0AC;
  --lime: #A3FF12;
  --skel: rgba(244, 239, 234, 0.11);
  --font-display: 'Big Shoulders Display', Impact, 'Arial Narrow', sans-serif;
  --font-sans: 'Archivo', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Consolas, monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html:not([data-mode="comingsoon"]) [data-mode-only="comingsoon"] {
  display: none !important;
}

html[data-mode="comingsoon"] [data-mode-only="normal"],
html[data-mode="comingsoon"] .support-fab,
html[data-mode="comingsoon"] .support-box,
html[data-mode="comingsoon"] #navStatus {
  display: none !important;
}

html[data-mode="maintenance"] nav.nav,
html[data-mode="maintenance"] main,
html[data-mode="maintenance"] footer.footer,
html[data-mode="maintenance"] .support-fab,
html[data-mode="maintenance"] .support-box,
html[data-mode="restart"] nav.nav,
html[data-mode="restart"] main,
html[data-mode="restart"] footer.footer,
html[data-mode="restart"] .support-fab,
html[data-mode="restart"] .support-box {
  display: none !important;
}

html {
  color-scheme: dark;
  min-height: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 76px;
  scrollbar-width: thin;
  scrollbar-color: rgba(184, 56, 44, 0.7) #0E0809;
}

::-webkit-scrollbar {
  width: 7px;
  height: 7px;
}

::-webkit-scrollbar-track {
  background: #0E0809;
}

::-webkit-scrollbar-thumb {
  background: rgba(184, 56, 44, 0.58);
  border-radius: 4px;
  border: 2px solid #0E0809;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(224, 122, 56, 0.85);
}

.nav-links::-webkit-scrollbar {
  display: none;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: var(--bg);
  color: var(--ink);
  font: 400 15px/1.6 var(--font-sans);
  -webkit-font-smoothing: antialiased;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image: url("/assets/images/wallpaper_minecraft_nether_update_2560x1440.png");
  background-size: cover;
  background-position: center 34%;
  background-repeat: no-repeat;
  filter: saturate(0.90) contrast(1.06) brightness(0.72);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(12, 7, 8, 0.88) 0%, rgba(12, 7, 8, 0.74) 56%, rgba(12, 7, 8, 0.44) 100%),
    linear-gradient(180deg, rgba(12, 7, 8, 0.46) 0%, rgba(12, 7, 8, 0.34) 45%, rgba(10, 6, 7, 0.86) 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

.wrap {
  width: min(880px, calc(100% - 40px));
  margin-inline: auto;
}

@keyframes skelPulse {

  0%,
  100% {
    opacity: 0.45;
  }

  50% {
    opacity: 0.85;
  }
}

.skel {
  display: block;
  background: var(--skel);
  border-radius: 2px;
  animation: skelPulse 1.6s ease-in-out infinite;
}

.skel-stack {
  display: grid;
  gap: 12px;
}

.skel-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(12, 7, 8, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 24px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--ink);
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--muted);
}

.nav-links a {
  padding: 4px 0;
  border-bottom: 1px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}

.nav-links a:hover {
  color: var(--ink);
}

.nav-links a.active {
  color: var(--ember-soft);
  border-bottom-color: var(--ember);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-status {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  white-space: nowrap;
  justify-content: flex-end;
}

.nav-toggle {
  display: none;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: rgba(16, 9, 10, 0.72);
  color: var(--ink);
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.nav-toggle:hover {
  border-color: var(--line-strong);
}

.nav-toggle svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  fill: none;
  pointer-events: none;
}

.status-label {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--ember);
}

.nav-status.is-online .status-label {
  color: var(--lime);
}

.clock-text {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
  padding-left: 10px;
  border-left: 1px solid var(--line);
}

main {
  flex: 1;
  padding: 50px 0 76px;
}

.page-title {
  font-family: var(--font-display);
  font-size: clamp(44px, 6.5vw, 68px);
  line-height: 0.96;
  letter-spacing: 0.015em;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--ink);
  margin: 0;
  text-shadow: 0 2px 14px rgba(8, 4, 5, 0.88);
}

.coming-soon-title {
  font-family: var(--font-display);
  font-size: clamp(58px, 9vw, 96px);
  line-height: 0.92;
  letter-spacing: 0.02em;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--ember);
  margin: 0;
  text-shadow: 0 3px 18px rgba(8, 4, 5, 0.92);
}

.coming-soon-sub {
  margin: 14px 0 0;
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
}

.coming-soon-meta {
  margin: 8px 0 0;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--muted);
}

.motto {
  margin: 12px 0 0;
  font-size: 15px;
  font-weight: 500;
  color: var(--motto);
  letter-spacing: 0.01em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.block {
  border-top: 1px solid var(--line);
  padding-top: 28px;
  margin-top: 32px;
}

.block-heading {
  font-family: var(--font-display);
  font-size: 25px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--ember-soft);
  margin: 0 0 16px;
}

.schedule-strip {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 12px 28px;
}

.hours-value {
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 40px);
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1;
  color: var(--ink);
}

.wib-readout {
  font-family: var(--font-mono);
  font-size: clamp(18px, 2.4vw, 22px);
  font-weight: 600;
  color: var(--soul);
}

.timeline-wrap {
  margin: 20px 0 18px;
}

.timeline-track {
  position: relative;
  height: 7px;
  background: rgba(244, 239, 234, 0.16);
}

.timeline-window {
  position: absolute;
  top: 0;
  bottom: 0;
  background: linear-gradient(90deg, var(--soul), var(--ember));
}

.timeline-needle {
  position: absolute;
  top: -5px;
  bottom: -5px;
  width: 2px;
  background: var(--ink);
  transform: translateX(-50%);
}

.timeline-ticks {
  display: flex;
  justify-content: space-between;
  margin-top: 7px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--dim);
}

.countdown-strip {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px 24px;
}

.countdown-mono {
  font-family: var(--font-mono);
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}

.countdown-context {
  font-size: 13.5px;
  color: var(--muted);
}

.ip-unified {
  display: grid;
  gap: 16px;
}

.ip-primary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.ip-value {
  font-family: var(--font-mono);
  font-size: clamp(17px, 2.2vw, 20px);
  font-weight: 600;
  color: var(--ink);
  word-break: break-all;
}

.port-pair {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.port-entry {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  color: var(--muted);
}

.port-entry code {
  font-family: var(--font-mono);
  color: var(--ember-soft);
  font-weight: 600;
}

.member-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 10px 18px;
}

.member-name {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--ink);
  padding: 6px 0;
  border-bottom: 1px solid rgba(244, 239, 234, 0.09);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.member-name.is-bedrock {
  color: var(--soul);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.gallery-item {
  margin: 0;
  display: grid;
  gap: 8px;
}

.gallery-frame {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #140B0C;
}

.gallery-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.gallery-item:hover .gallery-frame img {
  transform: scale(1.03);
}

.gallery-caption {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  font-size: 12.5px;
}

.gallery-title {
  color: var(--ink);
  font-weight: 500;
}

.gallery-date {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--dim);
}

.gallery-empty {
  padding: 36px 24px;
  border: 1px dashed var(--line);
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-strong);
  background: rgba(16, 9, 10, 0.78);
  color: var(--ink);
  padding: 9px 18px;
  border-radius: 2px;
  font-size: 13px;
  font-weight: 600;
  transition: border-color 0.15s ease, background 0.15s ease, opacity 0.15s ease;
}

.btn:hover:not(:disabled) {
  border-color: var(--ink);
  background: rgba(28, 16, 17, 0.92);
}

.btn:disabled {
  opacity: 0.6;
  cursor: wait;
}

.btn-accent {
  background: var(--crimson);
  border-color: var(--crimson);
  color: #F7F1EC;
}

.btn-accent:hover:not(:disabled) {
  background: var(--crimson-hover);
  border-color: var(--crimson-hover);
}

.btn-mini {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--muted);
  padding: 4px 10px;
  border-radius: 2px;
  font-size: 11.5px;
  font-weight: 500;
}

.btn-mini:hover {
  color: var(--ink);
  border-color: var(--line-strong);
}

.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.tab-btn {
  background: transparent;
  border: 0;
  padding: 2px 0;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--dim);
  border-bottom: 1px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.tab-btn:hover {
  color: var(--muted);
}

.tab-btn.active {
  color: var(--ember-soft);
  border-bottom-color: var(--ember);
}

.rule-table {
  display: grid;
}

.rule-item {
  display: grid;
  grid-template-columns: 165px 1fr;
  gap: 8px 20px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}

.rule-topic {
  font-size: 13px;
  font-weight: 600;
  color: var(--crimson-text);
}

.rule-desc {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
}

.form-layout {
  display: grid;
  gap: 20px;
}

.form-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px 22px;
  align-items: start;
}

.field {
  display: grid;
  gap: 7px;
  align-content: start;
}

.field label {
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  background: var(--surface-input);
  border: 1px solid var(--line);
  border-radius: 2px;
  font-size: 14px;
  color: var(--ink);
  outline: none;
  transition: border-color 0.15s ease;
}

.field input,
.field select {
  height: 46px;
  line-height: 22px;
  padding: 11px 13px;
}

.field select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 38px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23B8ABA4' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 13px center;
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--dim);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--ember);
}

.field input.is-invalid,
.field textarea.is-invalid {
  border-color: var(--crimson-text);
}

.field textarea {
  padding: 12px 13px;
  line-height: 1.55;
  min-height: 118px;
  resize: vertical;
}

.field-hint {
  font-size: 12px;
  color: var(--dim);
  min-height: 16px;
}

.field-hint.is-error {
  color: var(--crimson-text);
}

.wa-group {
  display: flex;
  align-items: stretch;
  height: 46px;
  background: var(--surface-input);
  border: 1px solid var(--line);
  border-radius: 2px;
  transition: border-color 0.15s ease;
}

.wa-group:focus-within {
  border-color: var(--ember);
}

.wa-prefix {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 13px;
  background: rgba(244, 239, 234, 0.05);
  border-right: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
  user-select: none;
  flex-shrink: 0;
}

.flag-id {
  width: 20px;
  height: 14px;
  border-radius: 2px;
  overflow: hidden;
  border: 1px solid rgba(244, 239, 234, 0.25);
  display: block;
  flex-shrink: 0;
}

.wa-group input {
  height: 100%;
  border: 0;
  background: transparent;
  padding: 0 13px;
  line-height: 44px;
  font-family: var(--font-mono);
}

.captcha-row {
  display: grid;
  grid-template-columns: 156px auto 1fr;
  gap: 12px;
  align-items: center;
}

.captcha-svg {
  width: 156px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 2px;
  overflow: hidden;
  background: #EAE1D9;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.captcha-svg svg {
  display: block;
  width: 100%;
  height: 100%;
}

.captcha-refresh {
  height: 46px;
  padding: 0 14px;
  border: 1px solid var(--line);
  background: rgba(16, 9, 10, 0.8);
  color: var(--muted);
  border-radius: 2px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 500;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.captcha-refresh:hover {
  border-color: var(--line-strong);
  color: var(--ink);
}

.captcha-refresh svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.captcha-row input {
  height: 46px;
  font-family: var(--font-mono);
  font-weight: 600;
}

.form-footer-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px 20px;
  padding-top: 6px;
}

.btn-submit {
  min-width: 180px;
  height: 46px;
  padding: 0 26px;
  font-size: 14px;
}

.form-feedback {
  font-size: 13.5px;
  color: var(--soul);
  margin: 0;
}

.footer {
  background: rgba(10, 6, 7, 0.90);
  border-top: 1px solid var(--line);
  padding: 24px 0 28px;
  font-size: 12.5px;
  color: var(--dim);
}

.footer-bar {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 18px 28px;
}

.footer-meta {
  display: grid;
  gap: 5px;
}

.footer-domain {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}

.footer-info {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 14px;
}

.footer-mail {
  font-family: var(--font-mono);
  color: var(--muted);
}

.footer-mail:hover,
.footer-links a:hover {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  padding-top: 2px;
}

.lock-screen {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px 24px;
  text-align: center;
  background: rgba(11, 6, 7, 0.56);
}

.lock-screen h1 {
  font-family: var(--font-display);
  font-size: clamp(44px, 7vw, 76px);
  line-height: 0.95;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 0 0 14px;
  text-shadow: 0 3px 20px rgba(0, 0, 0, 0.9);
}

.lock-screen p {
  margin: 0;
  max-width: 460px;
  color: var(--motto);
  font-size: 15px;
}

.lock-domain {
  margin-top: 22px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--dim);
  letter-spacing: 0.08em;
}

.support-fab {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 50;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1px solid rgba(244, 239, 234, 0.25);
  background: var(--crimson);
  color: var(--ink);
  display: grid;
  place-items: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.55);
  transition: background 0.15s ease, transform 0.15s ease;
}

.support-fab:hover {
  background: var(--crimson-hover);
  transform: translateY(-1px);
}

.support-fab svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.support-box {
  position: fixed;
  right: 22px;
  bottom: 84px;
  z-index: 50;
  width: min(340px, calc(100vw - 32px));
  background: var(--surface-chat);
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.72);
  display: flex;
  flex-direction: column;
}

.support-head {
  background: linear-gradient(135deg, #6E1E1A, #331314);
  padding: 13px 15px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.support-head-title {
  display: grid;
  gap: 2px;
}

.support-head-title strong {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}

.support-head-title span {
  font-size: 11.5px;
  color: var(--motto);
}

.support-close {
  background: transparent;
  border: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1;
  padding: 2px 6px;
}

.support-close:hover {
  color: var(--ink);
}

.support-messages {
  padding: 14px;
  height: 245px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: rgba(11, 6, 7, 0.65);
}

.chat-msg {
  max-width: 85%;
  padding: 9px 11px;
  border-radius: 4px;
  font-size: 13px;
  line-height: 1.45;
  display: grid;
  gap: 4px;
}

.chat-msg.from-admin {
  align-self: flex-start;
  background: rgba(244, 239, 234, 0.08);
  border: 1px solid var(--line);
  color: var(--ink);
}

.chat-msg.from-user {
  align-self: flex-end;
  background: rgba(158, 43, 37, 0.36);
  border: 1px solid rgba(217, 91, 80, 0.35);
  color: var(--ink);
}

.chat-time {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--dim);
}

.support-form {
  display: flex;
  gap: 8px;
  padding: 10px 12px;
  border-top: 1px solid var(--line);
  background: var(--surface-chat);
}

.support-form input {
  flex: 1;
  min-width: 0;
  background: rgba(10, 5, 6, 0.9);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 8px 10px;
  font-size: 13px;
  color: var(--ink);
  outline: none;
}

.support-form input:focus {
  border-color: var(--ember);
}

.support-send {
  border: 1px solid var(--crimson);
  background: var(--crimson);
  color: var(--ink);
  border-radius: 3px;
  padding: 0 13px;
  font-size: 12.5px;
  font-weight: 600;
}

.support-send:hover {
  background: var(--crimson-hover);
}

.support-closed {
  padding: 10px 12px;
  border-top: 1px solid var(--line);
  background: var(--surface-chat);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 12.5px;
  color: var(--muted);
}

.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translate(-50%, 14px);
  opacity: 0;
  pointer-events: none;
  background: #1A1011;
  border: 1px solid var(--line-strong);
  color: var(--ink);
  padding: 9px 15px;
  border-radius: 2px;
  font-size: 13px;
  z-index: 60;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

@media (max-width: 820px) {
  .form-grid-2 {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .rule-item {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 18px 0;
  }
}

@media (max-width: 720px) {
  .wrap {
    width: calc(100% - 32px);
  }

  .nav-inner {
    flex-wrap: wrap;
    align-items: center;
    min-height: 54px;
    padding: 8px 0;
    gap: 0 8px;
  }

  .brand {
    font-size: 19px;
    letter-spacing: 0.02em;
  }

  .nav-right {
    margin-left: auto;
    gap: 8px;
    flex-shrink: 0;
  }

  .nav-status {
    gap: 6px;
  }

  .status-label {
    font-size: 11px;
    letter-spacing: 0.04em;
  }

  .clock-text {
    font-size: 11px;
    padding-left: 6px;
  }

  .nav-toggle {
    display: inline-flex;
    width: 32px;
    height: 32px;
  }

  .nav-links {
    display: none;
    order: 3;
    width: 100%;
    grid-template-columns: repeat(2, 1fr);
    gap: 2px 16px;
    padding: 12px 0 8px;
    margin-top: 8px;
    border-top: 1px solid var(--line);
  }

  .nav-links.is-open {
    display: grid;
  }

  .nav-links a {
    padding: 9px 0;
    border-bottom: 1px solid rgba(244, 239, 234, 0.06);
  }

  .nav-links a.active {
    border-bottom-color: var(--ember);
  }

  main {
    padding: 40px 0 84px;
  }

  .block {
    padding-top: 28px;
    margin-top: 34px;
  }

  .schedule-strip {
    flex-direction: column;
    gap: 10px;
  }

  .timeline-ticks .tick-mid {
    display: none;
  }

  .port-pair {
    flex-direction: column;
    gap: 14px;
  }

  .member-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 18px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .field input,
  .field select,
  .field textarea,
  .support-form input {
    font-size: 16px;
  }

  .captcha-row {
    grid-template-columns: auto 1fr;
  }

  .captcha-row input {
    grid-column: 1 / -1;
  }

  .btn-submit {
    width: 100%;
  }

  .footer-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .support-fab {
    right: 16px;
    bottom: 16px;
  }

  .support-box {
    right: 16px;
    bottom: 76px;
  }
}