
    :root {
      color-scheme: dark;
      --bg: #120b15;
      --bg-soft: #1a101e;
      --panel: rgba(34, 22, 39, .76);
      --panel-strong: #201425;
      --line: rgba(226, 203, 239, .13);
      --line-strong: rgba(226, 203, 239, .23);
      --text: #f2edf6;
      --muted: #b3a9b9;
      --green: #b56af3;
      --green-deep: #9655bf;
      --mint: #ebc6ff;
      --orange: #ffbd69;
      --red: #ff8d82;
      --radius: 24px;
      --max: 1180px;
      --shadow: 0 22px 65px rgba(0, 0, 0, .24);
    }
    *, *::before, *::after { box-sizing: border-box; }
    html { scroll-behavior: smooth; scroll-padding-top: 112px; }
    body {
      margin: 0; min-width: 320px; overflow-x: hidden; color: var(--text);
      background: radial-gradient(ellipse at 8% 0%, rgba(95, 61, 116, .2), transparent 37%),
                  radial-gradient(ellipse at 90% 20%, rgba(94, 57, 126, .12), transparent 32%), var(--bg);
      font: 400 16px/1.65 Manrope, system-ui, -apple-system, "Segoe UI", sans-serif;
    }
    body::before {
      content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .16;
      background-image: linear-gradient(rgba(238, 207, 255, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(238, 207, 255, .035) 1px, transparent 1px);
      background-size: 48px 48px; mask-image: linear-gradient(to bottom, black, transparent 75%);
    }
    a { color: inherit; }
    button, input { font: inherit; }
    button, a { -webkit-tap-highlight-color: transparent; }
    button:focus-visible, a:focus-visible, input:focus-visible, summary:focus-visible { outline: 3px solid var(--green); outline-offset: 4px; }
    ::selection { color: #120b15; background: var(--green); }
    .progress { position: fixed; inset: 0 auto auto 0; z-index: 100; height: 3px; width: 0; background: linear-gradient(90deg, var(--green-deep), var(--green), var(--orange)); }
    .wrap { width: min(var(--max), calc(100% - 44px)); margin-inline: auto; }
    .mono { font-family: "DM Mono", monospace; }
    .eyebrow { display: inline-flex; align-items: center; gap: 9px; color: var(--green); text-transform: uppercase; letter-spacing: .13em; font: 500 11px/1.4 "DM Mono", monospace; }
    .eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 2px; transform: rotate(45deg); background: var(--green); box-shadow: 0 0 16px rgba(181, 106, 243, .75); }
    h1, h2, h3, p { margin-top: 0; }
    h1, h2, h3 { line-height: 1.15; }
    h1, h2 { font-family: Unbounded, Manrope, sans-serif; letter-spacing: -.055em; }
    h1 { font-size: clamp(54px, 9vw, 112px); margin: 22px 0 21px; }
    h2 { font-size: clamp(31px, 4.6vw, 51px); margin: 13px 0 16px; }
    h3 { font-size: 19px; font-weight: 800; letter-spacing: -.035em; margin-bottom: 9px; }
    p { color: var(--muted); }
    .section { padding: 100px 0; position: relative; }
    .section-head { max-width: 730px; margin-bottom: 34px; }
    .section-head p { max-width: 620px; font-size: 17px; margin-bottom: 0; }
    .accent { color: var(--green); }
    .small-label { color: var(--muted); font: 500 11px "DM Mono", monospace; letter-spacing: .12em; text-transform: uppercase; }
    .surface { border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(145deg, rgba(40, 25, 47, .85), rgba(23, 14, 27, .82)); box-shadow: var(--shadow); }
    .btn { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 0 21px; border: 1px solid transparent; border-radius: 13px; text-decoration: none; font-size: 14px; font-weight: 800; cursor: pointer; transition: transform .18s ease, background .18s ease, border-color .18s ease; }
    .btn:hover { transform: translateY(-2px); }
    .btn-primary { color: #16101a; background: var(--green); box-shadow: 0 8px 25px rgba(152, 78, 205, .16); }
    .btn-primary:hover { background: #cd91ff; }
    .btn-secondary { color: var(--text); background: rgba(255, 255, 255,.035); border-color: var(--line-strong); }
    .btn-secondary:hover { background: rgba(255, 255, 255,.075); border-color: rgba(181, 106, 243, .45); }
    .btn .arrow { font-size: 18px; line-height: 1; }

    /* Header */
    .site-header { position: sticky; top: 0; z-index: 50; padding-top: 12px; }
    .nav-shell { min-height: 70px; display: flex; align-items: center; gap: 25px; padding: 10px 14px 10px 21px; border: 1px solid var(--line); border-radius: 18px; background: rgba(18, 10, 21, .83); backdrop-filter: blur(18px); box-shadow: 0 10px 35px rgba(0, 0, 0,.16); }
    .brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; flex-shrink: 0; }
    .brand-mark { width: 39px; height: 39px; display: grid; place-items: center; border-radius: 11px; color: #140c18; background: var(--green); box-shadow: 0 0 25px rgba(181, 106, 243,.18); }
    .brand-mark svg { width: 25px; height: 25px; }
    .brand-name { font: 700 19px Unbounded, sans-serif; letter-spacing: -.04em; }
    .brand-name span { color: var(--green); }
    .nav-links { display: flex; align-items: center; justify-content: flex-end; gap: 4px; margin-left: auto; }
    .nav-links a { padding: 10px 12px; border-radius: 10px; color: #c4bbca; text-decoration: none; font-size: 12px; font-weight: 700; transition: background .18s, color .18s; }
    .nav-links a:hover, .nav-links a.active { color: var(--text); background: rgba(255, 255, 255,.065); }
    .nav-cta { min-height: 42px; padding-inline: 17px; border-radius: 11px; font-size: 12px; white-space: nowrap; }
    .menu-toggle { display: none; width: 42px; height: 42px; align-items: center; justify-content: center; margin-left: auto; border: 1px solid var(--line); border-radius: 11px; background: transparent; color: var(--text); cursor: pointer; }
    .menu-toggle svg { width: 21px; height: 21px; }

    /* Hero */
    .hero { padding: 75px 0 48px; min-height: 590px; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 30px; }
    .hero-copy { position: relative; z-index: 2; }
    .hero h1 span { display: block; color: transparent; -webkit-text-stroke: 1px rgba(244, 229, 255, .65); }
    .hero-lead { max-width: 550px; margin: 0 0 28px; font-size: clamp(17px, 2vw, 19px); }
    .hero-actions { display: flex; gap: 11px; flex-wrap: wrap; }
    .server-address { margin-top: 28px; display: inline-flex; flex-wrap: wrap; align-items: center; gap: 13px; padding: 10px 10px 10px 16px; border: 1px solid var(--line-strong); border-radius: 14px; background: rgba(255, 255, 255,.035); max-width: 100%; }
    .server-address .address-copy { display: flex; flex-direction: column; min-width: 0; }
    .server-address .small-label { margin-bottom: 3px; }
    .server-ip { font: 500 clamp(14px, 2vw, 17px) "DM Mono", monospace; overflow-wrap: anywhere; color: var(--text); }
    .copy-btn { width: 41px; height: 41px; display: grid; flex: 0 0 auto; place-items: center; border: 1px solid var(--line); border-radius: 10px; color: var(--green); background: rgba(181, 106, 243,.08); cursor: pointer; }
    .copy-btn:hover { background: rgba(181, 106, 243,.16); }
    .copy-btn svg { width: 18px; height: 18px; }
    .hero-note { margin: 12px 0 0; font-size: 11px; color: #8d8194; }
    .hero-scene { min-width: 0; height: 420px; position: relative; overflow: hidden; border: 1px solid rgba(216, 177, 245,.18); border-radius: 30px; background: linear-gradient(180deg,#28172e 0%,#3e2848 49%,#6c5081 100%); box-shadow: 0 30px 90px rgba(0, 0, 0,.35), inset 0 0 80px rgba(0, 0, 0,.16); isolation: isolate; }
    .hero-scene::before { content: ""; position: absolute; inset: 0; opacity: .23; background-image: linear-gradient(rgba(242, 224, 255,.16) 1px, transparent 1px), linear-gradient(90deg, rgba(242, 224, 255,.16) 1px, transparent 1px); background-size: 31px 31px; mask-image: linear-gradient(to bottom, black, transparent 84%); }
    .scene-sun { position: absolute; top: 53px; right: 64px; width: 83px; height: 83px; border-radius: 50%; background: #cf9dff; box-shadow: 0 0 55px rgba(201, 144, 255,.3); }
    .scene-cloud { position: absolute; height: 18px; background: rgba(220, 194, 239,.18); border-radius: 3px; }
    .cloud-a { top: 94px; left: 50px; width: 95px; box-shadow: 18px -14px 0 -2px rgba(220, 194, 239,.18), 36px 0 0 rgba(220, 194, 239,.18); }
    .cloud-b { top: 152px; right: 52px; width: 57px; opacity: .65; }
    .scene-mountain { position: absolute; bottom: 92px; width: 0; height: 0; border-style: solid; }
    .mountain-back { left: -6%; border-width: 0 0 210px 290px; border-color: transparent transparent #4e3759 transparent; filter: drop-shadow(26px 12px 0 #41294c); }
    .mountain-mid { right: -7%; bottom: 75px; border-width: 0 0 170px 245px; border-color: transparent transparent #3a2445 transparent; }
    .scene-ground { position: absolute; bottom: 0; left: 0; right: 0; height: 140px; background: linear-gradient(180deg,#64427a 0 16px,#3e254c 16px 28px,#26172e 28px 100%); }
    .scene-ground::before { content: ""; position: absolute; inset: 29px 0 0; opacity: .35; background-image: linear-gradient(90deg, transparent 0 31px, rgba(16, 4, 22,.6) 31px 34px, transparent 34px 64px), linear-gradient(transparent 0 31px, rgba(16, 4, 22,.6) 31px 34px, transparent 34px 64px); background-size: 64px 64px; }
    .block-tree { position: absolute; bottom: 116px; width: 32px; height: 72px; background: #5b3d6d; box-shadow: 0 -25px 0 13px #4a2d59, -16px -9px 0 1px #4a2d59, 14px -14px 0 6px #533565, inset -8px 0 rgba(27, 9, 35,.2); }
    .block-tree::after { content: ""; position: absolute; width: 10px; height: 44px; left: 11px; top: 57px; background: #5e4930; }
    .tree-a { left: 12%; transform: scale(.9); }
    .tree-b { right: 17%; transform: scale(1.12); }
    .scene-house { position: absolute; bottom: 120px; left: 38%; width: 112px; height: 81px; background: #a17a4e; border: 4px solid #6f5239; box-shadow: inset -15px 0 rgba(48, 36, 25,.15), 0 18px 25px rgba(0, 0, 0,.22); }
    .scene-house::before { content: ""; position: absolute; left: -13px; top: -34px; width: 129px; height: 36px; background: #694932; clip-path: polygon(12% 100%, 50% 0, 100% 100%); }
    .scene-house::after { content: ""; position: absolute; bottom: 0; left: 40px; width: 26px; height: 42px; background: #3e2d4d; border: 4px solid #785339; border-bottom: 0; }
    .house-window { position: absolute; top: 22px; left: 13px; width: 19px; height: 19px; background: #cba0f3; border: 4px solid #795a3e; box-shadow: 47px 0 0 -1px #cba0f3; }
    .scene-path { position: absolute; bottom: 0; left: 42%; width: 110px; height: 115px; background: #9a8b60; clip-path: polygon(31% 0, 74% 0, 100% 100%, 0 100%); opacity: .8; }
    .scene-label { position: absolute; right: 19px; top: 19px; display: inline-flex; align-items: center; gap: 8px; padding: 9px 12px; border: 1px solid rgba(240, 221, 255,.25); border-radius: 10px; color: #f6e9ff; background: rgba(22, 10, 28,.55); font: 11px "DM Mono", monospace; backdrop-filter: blur(12px); }
    .scene-label::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px var(--green); }
    .scene-caption { position: absolute; left: 20px; bottom: 18px; z-index: 2; display: flex; align-items: end; gap: 14px; }
    .scene-caption strong { display: block; font: 500 19px Unbounded, sans-serif; }
    .scene-caption span { display: block; margin-top: 4px; color: rgba(247, 238, 255,.72); font-size: 11px; }
    .scene-chip { width: 39px; height: 39px; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255,.2); border-radius: 10px; color: var(--green); background: rgba(17, 8, 22,.55); font-size: 20px; }
    .hero-orbit { position: absolute; right: -48px; top: 18%; width: 130px; height: 130px; border: 1px solid rgba(222, 181, 255,.1); border-radius: 50%; box-shadow: 0 0 0 22px rgba(222, 181, 255,.025), 0 0 0 45px rgba(222, 181, 255,.018); }

    .ticker { border-block: 1px solid var(--line); background: rgba(255, 255, 255,.02); }
    .ticker-inner { display: flex; justify-content: space-between; align-items: center; gap: 15px; padding-block: 17px; flex-wrap: wrap; }
    .ticker-item { display: flex; gap: 9px; align-items: center; color: #ccc2d4; font-size: 12px; font-weight: 700; }
    .ticker-item span { color: var(--green); font-size: 16px; }

    /* Feature cards */
    .feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
    .feature-card { min-height: 226px; padding: 25px; position: relative; overflow: hidden; }
    .feature-card::after { content: ""; position: absolute; width: 110px; height: 110px; right: -34px; bottom: -44px; border: 1px solid rgba(181, 106, 243,.15); border-radius: 25px; transform: rotate(24deg); box-shadow: 0 0 0 13px rgba(181, 106, 243,.025), 0 0 0 26px rgba(181, 106, 243,.02); }
    .feature-icon { width: 47px; height: 47px; display: grid; place-items: center; margin-bottom: 24px; border: 1px solid rgba(181, 106, 243,.2); border-radius: 14px; background: rgba(181, 106, 243,.075); color: var(--green); font-size: 23px; }
    .feature-card p { max-width: 310px; margin: 0; font-size: 14px; }
    .feature-card .index { position: absolute; right: 22px; top: 22px; color: #726579; font: 12px "DM Mono", monospace; }

    .split { display: grid; grid-template-columns: .82fr 1.18fr; align-items: start; gap: 60px; }
    .split .section-head { position: sticky; top: 130px; margin-bottom: 0; }
    .principle-list { display: grid; gap: 12px; }
    .principle { display: grid; grid-template-columns: 48px 1fr; gap: 15px; padding: 19px; border: 1px solid var(--line); border-radius: 17px; background: rgba(255, 255, 255,.025); }
    .principle-num { width: 44px; height: 44px; display: grid; place-items: center; color: var(--green); background: rgba(181, 106, 243,.07); border-radius: 12px; font: 12px "DM Mono", monospace; }
    .principle h3 { margin: 1px 0 6px; font-size: 16px; }
    .principle p { margin: 0; font-size: 13px; }

    /* Getting started */
    .join-panel { padding: clamp(25px, 4vw, 42px); display: grid; grid-template-columns: 1fr .72fr; gap: 30px; align-items: center; overflow: hidden; position: relative; }
    .join-panel::after { content: "P"; position: absolute; right: 3%; bottom: -94px; color: rgba(181, 106, 243,.035); font: 700 340px Unbounded, sans-serif; line-height: 1; pointer-events: none; }
    .join-panel > * { position: relative; z-index: 1; }
    .join-panel p { max-width: 570px; margin-bottom: 25px; }
    .join-steps { display: grid; gap: 11px; }
    .join-step { display: grid; grid-template-columns: 37px 1fr; gap: 12px; align-items: start; padding: 13px 14px; border: 1px solid var(--line); background: rgba(0, 0, 0,.12); border-radius: 13px; }
    .join-step .n { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 9px; color: #120b15; background: var(--green); font: 500 12px "DM Mono", monospace; }
    .join-step strong { display: block; font-size: 13px; margin: 1px 0 3px; }
    .join-step span { display: block; font-size: 12px; color: var(--muted); }
    .code-pill { display: inline-block; border: 1px solid rgba(181, 106, 243,.18); background: rgba(181, 106, 243,.075); border-radius: 7px; padding: 2px 7px; color: var(--mint); font: 12px "DM Mono", monospace; }

    /* Rules */
    .rules-tools { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: 18px; }
    .search-box { flex: 1 1 250px; max-width: 440px; position: relative; }
    .search-box svg { position: absolute; left: 15px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); color: #8e8097; pointer-events: none; }
    .search-box input { width: 100%; min-height: 48px; padding: 0 16px 0 44px; border: 1px solid var(--line-strong); border-radius: 12px; outline: none; background: rgba(255, 255, 255,.035); color: var(--text); }
    .search-box input::placeholder { color: #8a7f91; }
    .rule-filters { display: flex; gap: 7px; flex-wrap: wrap; }
    .filter-btn { min-height: 42px; padding: 0 14px; border: 1px solid var(--line); border-radius: 11px; color: #c1b6c8; background: rgba(255, 255, 255,.025); font-size: 12px; font-weight: 800; cursor: pointer; }
    .filter-btn[aria-pressed="true"] { color: #16101a; border-color: var(--green); background: var(--green); }
    .rules-actions { display: flex; gap: 8px; margin-bottom: 17px; }
    .text-btn { min-height: 34px; padding: 0 8px; color: var(--green); border: 0; background: transparent; font-size: 12px; font-weight: 800; cursor: pointer; }
    .text-btn:hover { color: var(--mint); }
    .rules-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; align-items: start; }
    .rule { border: 1px solid var(--line); border-radius: 15px; overflow: clip; background: rgba(255, 255, 255,.025); transition: border-color .18s, background .18s; }
    .rule[open] { background: rgba(39, 25, 46, .5); border-color: rgba(181, 106, 243,.25); }
    .rule summary { display: grid; grid-template-columns: 34px 1fr 20px; align-items: center; gap: 11px; min-height: 73px; padding: 14px 17px; list-style: none; cursor: pointer; }
    .rule summary::-webkit-details-marker { display: none; }
    .rule-number { width: 31px; height: 31px; display: grid; place-items: center; border-radius: 9px; background: rgba(181, 106, 243,.075); color: var(--green); font: 11px "DM Mono", monospace; }
    .rule-title { font-size: 13px; font-weight: 800; line-height: 1.45; }
    .rule-chevron { color: var(--green); font-size: 20px; transition: transform .18s; text-align: center; }
    .rule[open] .rule-chevron { transform: rotate(45deg); }
    .rule-body { padding: 0 19px 19px 62px; }
    .rule-body p { margin: 0 0 10px; font-size: 13px; }
    .rule-body ul { padding-left: 17px; margin: 8px 0 0; color: var(--muted); font-size: 13px; }
    .rule-body li { margin-bottom: 5px; }
    .rule-empty { grid-column: 1 / -1; padding: 25px; text-align: center; color: var(--muted); border: 1px dashed var(--line-strong); border-radius: 15px; }
    .rule-note { display: flex; gap: 13px; align-items: start; padding: 17px 19px; margin-top: 18px; border: 1px solid rgba(255, 189, 105,.2); border-radius: 14px; background: rgba(255, 189, 105,.045); }
    .rule-note strong { display: block; color: #ffe0b7; font-size: 13px; margin-bottom: 4px; }
    .rule-note p { margin: 0; color: #b9b29f; font-size: 12px; }
    .rule-note .warning-icon { color: var(--orange); font-size: 19px; line-height: 1.2; }

    .sanction-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 18px; }
    .sanction { padding: 19px; border: 1px solid var(--line); border-radius: 15px; background: rgba(255, 255, 255,.025); }
    .sanction .step { font: 11px "DM Mono", monospace; color: var(--green); margin-bottom: 19px; }
    .sanction strong { display: block; font-size: 14px; margin-bottom: 5px; }
    .sanction p { margin: 0; font-size: 12px; }

    /* FAQ and footer */
    .faq-layout { display: grid; grid-template-columns: .7fr 1.3fr; gap: 55px; align-items: start; }
    .faq-layout .section-head { position: sticky; top: 130px; margin-bottom: 0; }
    .faq-list { display: grid; gap: 10px; }
    .faq-item { border: 1px solid var(--line); border-radius: 14px; background: rgba(255, 255, 255,.025); overflow: clip; }
    .faq-item[open] { border-color: var(--line-strong); background: rgba(255, 255, 255,.04); }
    .faq-item summary { display: flex; justify-content: space-between; align-items: center; gap: 15px; padding: 18px 20px; font-size: 14px; font-weight: 800; list-style: none; cursor: pointer; }
    .faq-item summary::-webkit-details-marker { display: none; }
    .faq-item summary::after { content: "+"; color: var(--green); font: 21px "DM Mono", monospace; }
    .faq-item[open] summary::after { content: "−"; }
    .faq-item p { margin: 0; padding: 0 20px 19px; font-size: 13px; }
    .community-panel { display: flex; justify-content: space-between; align-items: center; gap: 25px; padding: 30px; border: 1px solid rgba(181, 106, 243,.19); border-radius: 22px; background: radial-gradient(ellipse at 0% 0%, rgba(181, 106, 243,.11), transparent 55%), rgba(255, 255, 255,.025); }
    .community-panel h2 { font-size: clamp(25px, 3.6vw, 39px); margin: 10px 0; }
    .community-panel p { margin: 0; max-width: 620px; font-size: 14px; }
    .community-mark { width: 66px; height: 66px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 19px; background: var(--green); color: #150d19; font: 700 33px Unbounded, sans-serif; box-shadow: 0 0 48px rgba(181, 106, 243,.15); }
    footer { padding: 30px 0 36px; border-top: 1px solid var(--line); }
    .footer-inner { display: flex; justify-content: space-between; align-items: start; gap: 25px; flex-wrap: wrap; }
    .footer-brand p { max-width: 390px; margin: 12px 0 0; font-size: 12px; }
    .footer-nav { display: flex; gap: 17px; flex-wrap: wrap; }
    .footer-nav a { color: #a79dae; text-decoration: none; font-size: 12px; }
    .footer-nav a:hover { color: var(--green); }
    .copyright { display: flex; justify-content: space-between; gap: 15px; flex-wrap: wrap; padding-top: 24px; margin-top: 24px; border-top: 1px solid var(--line); color: #807587; font-size: 11px; }
    .toast { position: fixed; left: 50%; bottom: 24px; z-index: 100; transform: translate(-50%, 18px); opacity: 0; pointer-events: none; padding: 12px 17px; border: 1px solid rgba(181, 106, 243,.25); border-radius: 12px; background: #24172a; color: var(--text); box-shadow: 0 10px 35px rgba(0, 0, 0,.35); font-size: 13px; font-weight: 700; transition: opacity .2s, transform .2s; }
    .toast.show { opacity: 1; transform: translate(-50%, 0); }
    .back-top { position: fixed; right: 20px; bottom: 20px; z-index: 35; width: 43px; height: 43px; display: grid; place-items: center; border: 1px solid var(--line-strong); border-radius: 13px; background: rgba(21, 12, 25,.85); color: var(--green); cursor: pointer; opacity: 0; visibility: hidden; transform: translateY(8px); transition: .2s; backdrop-filter: blur(10px); }
    .back-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
    .back-top svg { width: 18px; height: 18px; }

    @media (max-width: 1000px) {
      .nav-shell { gap: 13px; }
      .nav-links a { padding-inline: 8px; font-size: 11px; }
      .nav-cta { padding-inline: 13px; }
      .hero { gap: 25px; min-height: 540px; }
      .hero-scene { height: 385px; }
      .split { gap: 34px; }
      .sanction-grid { grid-template-columns: repeat(2, 1fr); }
    }
    @media (max-width: 780px) {
      .wrap { width: min(var(--max), calc(100% - 30px)); }
      .section { padding: 73px 0; }
      .site-header { padding-top: 8px; }
      .nav-shell { min-height: 62px; padding: 8px 10px 8px 13px; border-radius: 15px; }
      .brand-mark { width: 36px; height: 36px; }
      .brand-name { font-size: 17px; }
      .menu-toggle { display: inline-flex; }
      .nav-cta { display: none; }
      .nav-links { display: none; position: absolute; top: calc(100% + 8px); left: 15px; right: 15px; margin: 0; padding: 9px; border: 1px solid var(--line-strong); border-radius: 15px; background: rgba(18, 10, 21,.97); box-shadow: var(--shadow); flex-direction: column; align-items: stretch; }
      .nav-links.open { display: flex; }
      .nav-links a { padding: 12px 13px; font-size: 13px; }
      .hero { padding: 55px 0 38px; grid-template-columns: 1fr; min-height: unset; gap: 35px; }
      .hero h1 { font-size: clamp(58px, 16vw, 91px); margin-top: 18px; }
      .hero-scene { width: 100%; max-width: 600px; height: 350px; margin-inline: auto; }
      .feature-grid { grid-template-columns: 1fr; }
      .feature-card { min-height: 185px; }
      .feature-icon { margin-bottom: 17px; }
      .split, .faq-layout { grid-template-columns: 1fr; gap: 28px; }
      .split .section-head, .faq-layout .section-head { position: static; }
      .join-panel { grid-template-columns: 1fr; gap: 25px; }
      .rules-grid { grid-template-columns: 1fr; }
      .community-panel { align-items: start; }
      .community-mark { width: 55px; height: 55px; border-radius: 16px; font-size: 27px; }
    }
    @media (max-width: 480px) {
      .wrap { width: calc(100% - 24px); }
      .section { padding: 60px 0; }
      .hero { padding-top: 42px; }
      .hero-lead { font-size: 16px; }
      .hero-actions { display: grid; grid-template-columns: 1fr; }
      .hero-actions .btn { width: 100%; }
      .server-address { width: 100%; justify-content: space-between; gap: 8px; padding-left: 12px; }
      .server-ip { font-size: 13px; }
      .hero-scene { height: 300px; border-radius: 22px; }
      .scene-sun { width: 64px; height: 64px; right: 43px; top: 43px; }
      .scene-house { left: 34%; transform: scale(.82); transform-origin: bottom left; }
      .tree-a { left: 8%; transform: scale(.72); transform-origin: bottom left; }
      .tree-b { right: 9%; transform: scale(.82); transform-origin: bottom right; }
      .scene-caption { left: 14px; bottom: 14px; gap: 9px; }
      .scene-caption strong { font-size: 15px; }
      .scene-label { top: 13px; right: 13px; font-size: 9px; }
      .ticker-inner { justify-content: flex-start; gap: 13px 20px; }
      .ticker-item { font-size: 11px; }
      .rule summary { grid-template-columns: 30px 1fr 18px; gap: 9px; padding: 13px 12px; }
      .rule-body { padding: 0 14px 16px 51px; }
      .rule-title { font-size: 12px; }
      .sanction-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
      .sanction { padding: 14px; }
      .sanction strong { font-size: 12px; }
      .sanction p { font-size: 11px; }
      .community-panel { padding: 22px 18px; gap: 14px; }
      .community-panel p { font-size: 12px; }
      .footer-nav { gap: 12px; }
      .copyright { flex-direction: column; }
    }
    @media (prefers-reduced-motion: reduce) {
      *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
    }
  

/* Multi-page layout additions */
.page-progress { position: fixed; inset: 0 auto auto 0; z-index: 100; height: 3px; width: 0; background: linear-gradient(90deg, var(--green-deep), var(--green), var(--orange)); }
.nav-links a.active { color: var(--text); background: rgba(181, 106, 243,.09); box-shadow: inset 0 0 0 1px rgba(181, 106, 243,.13); }
.inner-hero { padding: 72px 0 36px; max-width: 900px; }
.inner-hero h1 { font-size: clamp(42px, 7vw, 78px); margin: 19px 0 18px; }
.inner-hero p { max-width: 700px; font-size: clamp(16px, 2vw, 19px); }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 9px; align-items: center; color: #8b7f93; font: 11px "DM Mono", monospace; text-transform: uppercase; letter-spacing: .07em; }
.breadcrumb a { text-decoration: none; color: var(--green); }
.page-intro { padding: 68px 0 16px; }
.page-intro .section-head { margin-bottom: 0; }
.content-section { padding: 32px 0 90px; }
.content-card { padding: clamp(22px, 4vw, 38px); border: 1px solid var(--line); border-radius: 22px; background: rgba(255, 255, 255,.025); }
.content-card h2 { font-size: clamp(25px, 4vw, 38px); }
.content-card h3 { margin-top: 25px; }
.content-card h3:first-child { margin-top: 0; }
.content-card p, .content-card li { color: var(--muted); }
.content-card li { margin-bottom: 8px; }
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; margin-top: 22px; }
.info-tile { padding: 22px; border: 1px solid var(--line); border-radius: 17px; background: rgba(255, 255, 255,.025); }
.info-tile .tile-icon { width: 43px; height: 43px; display: grid; place-items: center; margin-bottom: 18px; border-radius: 12px; color: var(--green); background: rgba(181, 106, 243,.08); font-size: 21px; }
.info-tile p { margin: 0; font-size: 13px; }
.timeline { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 40px; }
.timeline-card { padding: 23px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255, 255, 255,.025); }
.timeline-card .number { color: var(--green); font: 12px "DM Mono", monospace; margin-bottom: 22px; }
.timeline-card p { font-size: 13px; margin: 0; }
.page-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.contact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 26px; }
.contact-card { padding: 25px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255, 255, 255,.025); }
.contact-card .contact-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; margin-bottom: 18px; color: var(--green); background: rgba(181, 106, 243,.08); font-size: 22px; }
.contact-card p { margin-bottom: 0; font-size: 14px; }
.pending-label { display: inline-flex; margin-top: 14px; padding: 5px 9px; border: 1px solid var(--line); border-radius: 9px; color: #afa5b5; font: 10px "DM Mono", monospace; text-transform: uppercase; letter-spacing: .07em; }
.template-box { white-space: pre-wrap; padding: 20px; border: 1px solid rgba(181, 106, 243,.18); border-radius: 15px; background: rgba(0, 0, 0,.16); color: #d8c6e4; font: 13px/1.8 "DM Mono", monospace; overflow-wrap: anywhere; }
.callout { display: flex; gap: 13px; padding: 18px 20px; margin-top: 20px; border: 1px solid rgba(255, 189, 105,.18); border-radius: 14px; background: rgba(255, 189, 105,.04); }
.callout strong { color: #ffe0b7; }
.callout p { margin: 4px 0 0; font-size: 13px; }
.site-end-cta { margin: 12px auto 76px; }
.site-end-cta .community-panel { min-height: 220px; }
@media (max-width: 780px) {
  .inner-hero { padding-top: 48px; }
  .info-grid, .timeline { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .content-section { padding-bottom: 65px; }
}


/* Brand slogan and prohibited-modifications page */
.prime-slogan { display:flex; align-items:center; gap:13px; max-width:460px; margin:20px 0 19px; padding:13px 15px; border:1px solid rgba(181, 106, 243,.25); border-radius:15px; background:linear-gradient(110deg,rgba(181, 106, 243,.10),rgba(181, 106, 243,.025)); box-shadow:inset 0 1px rgba(255, 255, 255,.04); }
.slogan-mark { display:grid; place-items:center; flex:0 0 41px; height:41px; border-radius:12px; color:#120b15; background:var(--green); font:700 15px Unbounded,sans-serif; }
.prime-slogan strong { display:block; color:var(--text); font:700 13px/1.45 Unbounded,sans-serif; letter-spacing:.01em; }
.prime-slogan div > span { display:block; color:var(--muted); margin-top:3px; font-size:11px; line-height:1.5; }
.slogan-spark { margin-left:auto; color:var(--green); font-size:23px; }
.mod-alert { display:flex; gap:14px; align-items:flex-start; padding:22px; margin-bottom:48px; border:1px solid rgba(255, 189, 105,.25); border-radius:18px; background:linear-gradient(110deg,rgba(255, 189, 105,.075),rgba(255, 189, 105,.025)); }
.mod-alert-icon { flex:0 0 38px; width:38px; height:38px; display:grid; place-items:center; border-radius:12px; background:rgba(255, 189, 105,.12); color:#ffcd88; font:700 22px Unbounded,sans-serif; }
.mod-alert strong { display:block; color:#ffe3bc; font-size:15px; margin-bottom:5px; }
.mod-alert p { margin:0; color:var(--muted); font-size:13px; }
.mod-section-head { margin-bottom:25px; }
.mod-tools { align-items:flex-start; }
.mod-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; align-items:stretch; }
.mod-card { min-width:0; padding:24px; border-radius:19px; transition:transform .18s,border-color .18s,background .18s; }
.mod-card:hover { transform:translateY(-3px); border-color:rgba(181, 106, 243,.28); background:linear-gradient(145deg,rgba(40, 25, 47,.93),rgba(23, 14, 27,.88)); }
.mod-card[hidden] { display:none; }
.mod-top { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:10px; margin-bottom:22px; }
.mod-icon { display:grid; place-items:center; width:45px; height:45px; border:1px solid rgba(181, 106, 243,.22); border-radius:13px; background:rgba(181, 106, 243,.075); color:var(--green); font-size:22px; }
.mod-badge { display:inline-flex; align-items:center; padding:6px 9px; border:1px solid rgba(255, 189, 105,.17); border-radius:8px; background:rgba(255, 189, 105,.04); color:#e8c69b; font:10px/1.3 "DM Mono",monospace; letter-spacing:.06em; }
.mod-card h3 { margin:0 0 9px; font-size:clamp(17px,2vw,20px); }
.mod-card p { margin:0; color:var(--muted); font-size:13px; line-height:1.75; }
.mod-examples { display:flex; flex-wrap:wrap; gap:7px; margin-top:18px; }
.mod-examples span { display:inline-flex; padding:5px 8px; border:1px solid var(--line); border-radius:8px; color:#d0c6d8; background:rgba(0, 0, 0,.12); font:11px/1.3 "DM Mono",monospace; overflow-wrap:anywhere; }
.mod-empty { padding:24px; margin-top:14px; text-align:center; border:1px dashed var(--line-strong); border-radius:15px; color:var(--muted); }
.mod-allowed { padding-top:78px; }
.mod-allowed .section-head { max-width:730px; margin-bottom:26px; }
.mod-allowed-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:13px; }
.allowed-card { display:flex; align-items:flex-start; gap:12px; padding:19px; border:1px solid rgba(181, 106, 243,.14); border-radius:15px; background:rgba(181, 106, 243,.035); }
.allowed-check { flex:0 0 27px; width:27px; height:27px; display:grid; place-items:center; border-radius:9px; color:#1a1020; background:var(--green); font-weight:900; }
.allowed-card h3 { margin:1px 0 7px; font-size:14px; }
.allowed-card p { margin:0; color:var(--muted); font-size:12px; line-height:1.7; }
@media (max-width:780px) { .mod-grid { grid-template-columns:1fr; } .mod-allowed-grid { grid-template-columns:1fr; } .mod-alert { padding:17px; } }
@media (max-width:480px) { .prime-slogan { padding:11px; gap:10px; } .prime-slogan strong { font-size:11px; } .slogan-mark { flex-basis:36px; height:36px; } .slogan-spark { font-size:18px; } .mod-card { padding:19px; } .mod-top { margin-bottom:17px; } .mod-badge { font-size:9px; } .mod-allowed { padding-top:58px; } }

/* ---------- личный кабинет игрока ---------- */
.acc { max-width: 820px; margin-inline: auto; }
.acc-narrow { max-width: 460px; margin-inline: auto; }
.acc-card { padding: clamp(20px, 4vw, 32px); border: 1px solid var(--line); border-radius: 22px; background: rgba(255, 255, 255,.025); margin-bottom: 16px; }
.acc-card h2 { font-size: clamp(22px, 4vw, 30px); margin: 0 0 8px; }
.acc-tabs { display: flex; gap: 6px; margin-bottom: 22px; padding: 4px; border-radius: 14px; background: rgba(255, 255, 255,.04); }
.acc-tabs button { flex: 1; min-height: 44px; border: 0; border-radius: 10px; background: none; color: var(--muted); font-weight: 700; cursor: pointer; }
.acc-tabs button[aria-selected="true"] { background: var(--green); color: #16101a; }
.acc-field { display: block; margin-bottom: 16px; font-size: 14px; font-weight: 700; color: var(--text); }
.acc-field small { display: block; margin-top: 4px; font-weight: 400; color: var(--muted); }
.acc-field input, .acc-field select, .acc-field textarea { display: block; width: 100%; margin-top: 6px; padding: 12px 14px; min-height: 46px; border: 1px solid var(--line-strong); border-radius: 12px; background: rgba(0, 0, 0,.25); color: var(--text); font: 400 16px/1.5 Manrope, system-ui, sans-serif; }
.acc-field textarea { resize: vertical; min-height: 120px; }
.acc-check { display: flex; align-items: center; gap: 10px; margin: 0 0 16px; font-size: 14px; color: var(--muted); cursor: pointer; }
.acc-check input { width: 18px; height: 18px; margin: 0; accent-color: var(--green); }
.acc-field input:focus-visible, .acc-field select:focus-visible, .acc-field textarea:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; }
.acc-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.acc-msg { min-height: 1.5em; margin: 0 0 12px; color: var(--red); font-size: 14px; }
.acc-msg.ok { color: var(--mint); }
.acc-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 22px; padding: 14px 18px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255, 255, 255,.025); }
.acc-bar small, .acc-meta { color: var(--muted); font-size: 13px; }
.acc-badge { display: inline-block; padding: 2px 9px; border-radius: 99px; border: 1px solid rgba(255, 189, 105,.4); color: var(--orange); font: 500 11px/1.6 "DM Mono", monospace; vertical-align: middle; }
.acc-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.acc-head h2 { margin: 0; }
.acc-list { display: grid; gap: 10px; }
.acc-row { display: flex; justify-content: space-between; align-items: center; gap: 14px; width: 100%; padding: 16px 18px; border: 1px solid var(--line); border-radius: 16px; background: rgba(255, 255, 255,.025); color: var(--text); text-align: left; cursor: pointer; }
.acc-row:hover { border-color: rgba(181, 106, 243, .45); background: rgba(255, 255, 255,.05); }
.acc-row small { display: block; margin-top: 2px; font-weight: 400; color: var(--muted); }
.acc-st { flex: none; padding: 3px 11px; border-radius: 99px; background: rgba(255, 255, 255,.07); font-size: 12px; font-weight: 700; }
.st-NEW { color: var(--mint); } .st-IN_PROGRESS { color: var(--green); } .st-WAITING_PLAYER { color: var(--orange); } .st-RESOLVED { color: #8fe3a8; } .st-REJECTED { color: var(--red); }
.acc-back { margin-bottom: 14px; padding: 8px 0; border: 0; background: none; color: var(--muted); cursor: pointer; font-weight: 700; }
.acc-back:hover { color: var(--text); }
.acc-thread { display: grid; gap: 12px; margin: 18px 0 22px; }
.acc-bubble { max-width: 92%; padding: 12px 16px; border: 1px solid var(--line); border-radius: 16px; background: rgba(255, 255, 255,.035); }
.acc-bubble.staff { justify-self: end; border-color: rgba(181, 106, 243, .4); background: rgba(181, 106, 243, .1); }
.acc-who { display: flex; justify-content: space-between; gap: 16px; font-size: 13px; margin-bottom: 4px; }
.acc-who span { color: var(--muted); }
.acc-text { white-space: pre-wrap; overflow-wrap: anywhere; color: var(--text); }
.acc-suggest { display: grid; gap: 6px; margin: -4px 0 16px; padding: 14px 16px; border: 1px dashed rgba(255, 189, 105,.45); border-radius: 14px; font-size: 14px; }
.acc-suggest[hidden] { display: none; }
.acc-suggest a { color: var(--mint); }
.acc-suggest small { color: var(--muted); }
.rule:target { border-color: var(--green); }

.acc-badge.ok { border-color: rgba(143, 227, 168,.4); color: #8fe3a8; }
.acc-linkbtn { padding: 2px 4px; border: 0; background: none; color: var(--mint); font-weight: 700; text-decoration: underline; cursor: pointer; }
.acc-code { margin: 14px 0; padding: 18px; border: 1px dashed var(--green); border-radius: 14px; text-align: center; font: 500 clamp(22px, 6vw, 32px)/1.3 "DM Mono", monospace; letter-spacing: .06em; user-select: all; overflow-wrap: anywhere; }
