@font-face{font-family:Onest;src:url('assets/onest-regular.ttf') format('truetype');font-style:normal;font-weight:400;font-display:swap}
@font-face{font-family:Onest;src:url('assets/onest-bold.ttf') format('truetype');font-style:normal;font-weight:600 900;font-display:swap}
:root{--bg:#171816;--surface:#20211e;--raised:#30322c;--text:#efeee6;--muted:#a0a198;--accent:#e7a66e;--paper:#e9e8e0;--ink:#262823;--line:rgba(239,238,230,.16);--ease:cubic-bezier(.22,1,.36,1)}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:30px}body{margin:0;background:var(--bg);color:var(--text);font-family:Onest,sans-serif;-webkit-font-smoothing:antialiased}button,a{-webkit-tap-highlight-color:transparent}a{color:inherit;text-decoration:none}button{font:inherit;cursor:pointer}img{max-width:100%;height:auto}button:focus-visible,a:focus-visible,summary:focus-visible,[tabindex]:focus-visible{outline:2px solid #ad652d;outline-offset:6px}button:active,.button:active{transform:scale(.98)}button,a,summary{touch-action:manipulation}::selection{background:var(--accent);color:var(--ink)}.wrap{width:min(1320px,calc(100% - 112px));margin-inline:auto}.skip{position:absolute;left:20px;top:0;transform:translateY(-150%);background:var(--paper);color:var(--ink);padding:15px;z-index:5}.skip:focus{transform:translateY(15px)}.eyebrow{font-size:10px;letter-spacing:.14em;font-weight:700;display:inline-flex;align-items:center;gap:9px}.eyebrow i{width:6px;height:6px;background:var(--accent);border-radius:50%}.header{display:flex;align-items:center;justify-content:space-between;min-height:108px;gap:30px;border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:10px;font-weight:700;font-size:30px;line-height:.9;letter-spacing:-1.5px}.brand img{width:36px;flex-shrink:0}.brand-sub{display:block;font-size:9px;font-weight:400;text-transform:uppercase;letter-spacing:.28em;margin-top:6px;margin-left:2px}.header nav{display:flex;gap:34px;font-size:12px;color:#c0c1b7}.header nav a:hover,.text-link:hover,.footer a:hover{color:var(--accent)}.header-download{font-size:12px;display:flex;align-items:center;gap:28px}.header-download>span{font-size:21px;color:var(--accent)}.menu-button{display:none}h1,h2,h3,p{margin:0}h1{font-size:clamp(64px,7.6vw,112px);font-weight:700;letter-spacing:-.075em;line-height:.99}h1>span{color:var(--text)}.button{display:inline-flex;align-items:center;justify-content:space-between;gap:32px;font-size:12px;min-height:52px;padding:6px 7px 6px 21px;border-radius:50px;transition:transform .35s var(--ease),background .35s var(--ease)}.primary{background:var(--paper);color:var(--ink)}.button-icon{width:38px;height:38px;border-radius:50%;background:rgba(23,24,22,.09);display:grid;place-items:center;font-size:22px;transition:transform .4s var(--ease)}.button:hover .button-icon{transform:rotate(-12deg)}.primary:hover{background:var(--accent)}kbd{font-family:inherit;font-size:.9em;background:var(--raised);padding:3px 6px;border:1px solid var(--line);border-radius:4px;white-space:nowrap}.faq h2{font-size:clamp(38px,4.5vw,63px);letter-spacing:-.06em;line-height:1.08;font-weight:700}.install{padding-top:85px;padding-bottom:90px}.install-card{display:grid;grid-template-columns:1fr 1fr;gap:75px;background:var(--bg);color:var(--text);border-block:1px solid var(--line);border-radius:0;padding:55px 60px}.install-heading h2{font-size:clamp(44px,5vw,68px);letter-spacing:-.065em;line-height:1.04;margin-top:31px;margin-bottom:32px}.dark-button{background:var(--paper);color:var(--ink);min-width:218px}.dark-button:hover{background:var(--accent)}.dark-button .button-icon{background:rgba(23,24,22,.09)}.download-meta{font-size:10px;margin-top:15px;opacity:.7}.release-link{display:inline-block;font-size:10px;margin-top:24px;text-decoration:underline;text-underline-offset:4px}.install-guide{padding-top:4px}.guide-title{font-size:12px;font-weight:700}.install-guide ol{list-style:none;margin:28px 0 0;padding:0}.install-guide li{border-top:1px solid var(--line);padding:24px 0;display:flex;gap:24px}.install-guide li>span{font-size:10px;padding-top:5px;opacity:.65}.install-guide h3{font-size:17px;letter-spacing:-.035em;font-weight:400}.install-guide p{font-size:11px;line-height:1.8;margin-top:10px;color:var(--muted)}.install-guide a{text-decoration:underline;text-underline-offset:3px}.install-note{border-top:1px solid var(--line);padding-top:20px;font-size:10px;line-height:1.7;color:var(--muted)}code{font-size:11px}.faq{display:grid;grid-template-columns:1fr 1.2fr;gap:70px;padding-bottom:100px}.faq h2{font-size:45px;margin:23px 0 28px}.text-link{font-size:11px;color:var(--muted)}.text-link span{margin-left:12px}.faq details{border-top:1px solid var(--line)}.faq details:last-child{border-bottom:1px solid var(--line)}.faq summary{cursor:pointer;list-style:none;display:flex;align-items:center;justify-content:space-between;gap:30px;padding:24px 0;font-size:12px}.faq summary::-webkit-details-marker{display:none}.faq summary span{font-size:22px;color:var(--muted);font-weight:400;transition:transform .35s var(--ease)}.faq details[open] summary span{transform:rotate(45deg)}.faq details>p{font-size:12px;color:var(--muted);line-height:1.8;padding:0 35px 24px 0}
@media(max-width:1100px){.wrap{width:calc(100% - 64px)}.install-card{gap:40px;padding:45px 40px}.faq{gap:45px}}
@media(max-width:767px){.wrap{width:calc(100% - 40px)}.header{min-height:86px;gap:15px}.brand{font-size:26px;gap:8px}.brand img{width:30px}.header-download{margin-left:auto;font-size:11px;gap:12px}.header-download>span{font-size:18px}.menu-button{display:flex;flex-direction:column;justify-content:center;gap:6px;width:42px;height:42px;border:0;background:transparent;padding:9px;color:var(--text)}.menu-button span{width:24px;height:1px;background:currentColor;transition:transform .3s var(--ease)}.menu-button[aria-expanded=true] span:first-child{transform:translateY(3.5px) rotate(45deg)}.menu-button[aria-expanded=true] span:last-child{transform:translateY(-3.5px) rotate(-45deg)}.header nav{display:none;position:absolute;top:86px;left:20px;right:20px;background:#292b25;padding:25px;flex-direction:column;gap:25px;z-index:4;border-radius:0 0 8px 8px}.header nav.is-open{display:flex}h1{font-size:clamp(58px,12.5vw,90px)}.install{padding-top:40px;padding-bottom:50px}.install-card{grid-template-columns:1fr;padding:30px 25px;gap:44px}.install-heading .eyebrow{font-size:8px}.install-heading h2{font-size:49px;margin-top:24px}.install-guide li{padding:22px 0;gap:18px}.install-guide p{font-size:12px}.guide-title{font-size:14px}.install-guide h3{font-size:18px}.faq{grid-template-columns:1fr;gap:30px;padding-bottom:50px}.faq h2{font-size:37px;margin:18px 0}.faq summary{font-size:12px;padding:21px 0}.faq details>p{font-size:12px}.faq>.faq-list{min-width:0}}
@media(max-width:767px){h1{font-size:clamp(48px,14.8vw,90px)}}
@media(max-width:380px){.header{gap:10px}.header-download{font-size:10px;gap:8px;white-space:nowrap}.install-card{padding-inline:22px}.install-heading h2{font-size:41px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{transition:none!important;animation:none!important}}

.footer {
  border-top: 1px solid var(--line);
  padding-top: 42px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.65fr repeat(4, 1fr);
  gap: 32px;
  padding-bottom: 42px;
}
.footer-brand .brand { width: fit-content; }
.footer-brand > p {
  margin-top: 18px;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.6;
}
.footer-edition {
  display: inline-block;
  margin-top: 12px;
  padding: 6px 10px;
  border-radius: 20px;
  background: var(--surface);
  font-size: 10px;
  line-height: 1.5;
  color: var(--muted);
}
.footer-column { display: flex; flex-direction: column; align-items: flex-start; gap: 13px; }
.footer-column h2 {
  margin: 3px 0 7px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
}
.footer-column a {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
  transition: color .25s var(--ease);
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  border-top: 1px solid var(--line);
  padding: 22px 0 28px;
}
.footer-legal { color: var(--muted); font-size: 11px; line-height: 1.8; }
.footer-legal p + p { margin-top: 2px; }
.footer-utility { display: flex; align-items: center; gap: 24px; flex-shrink: 0; font-size: 11px; color: var(--muted); }
.footer-socials { display: flex; align-items: center; gap: 6px; }
.footer-socials a { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 6px; transition: background .2s var(--ease), color .2s var(--ease); }
.footer-socials a:hover { background: var(--raised); color: var(--accent); }
.footer-socials a:focus-visible { outline-offset: 2px; }
.footer-socials svg { width: 16px; height: 16px; fill: currentColor; }
.footer-language { color: var(--muted); }
@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: 1.4fr repeat(4, 1fr); gap: 22px; }
  .footer-column a { font-size: 11px; }
  .footer-utility { gap: 16px; }
  .footer-bottom { align-items: flex-start; }
}
@media (max-width: 767px) {
  .footer { padding-top: 30px; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 22px; padding-bottom: 32px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-brand > p { margin-top: 13px; }
  .footer-column { gap: 12px; }
  .footer-column h2 { margin-bottom: 3px; }
  .footer-column a { font-size: 12px; }
  .footer-bottom { flex-direction: column; gap: 20px; padding: 22px 0 26px; }
  .footer-legal { font-size: 10px; max-width: 50ch; }
  .footer-utility { width: 100%; gap: 24px; }
}

.legal-heading { padding: 52px 0 40px; }
.legal-heading h1 { max-width: 22ch; font-size: clamp(38px, 4.4vw, 64px); letter-spacing: -.055em; line-height: 1.12; margin-top: 20px; overflow-wrap: anywhere; }
.legal-heading > p { margin-top: 20px; color: var(--muted); font-size: 12px; }
.legal-layout { display: grid; grid-template-columns: 230px minmax(0, 760px); gap: 65px; padding-bottom: 80px; }
.legal-toc { border-top: 1px solid var(--line); padding-top: 24px; }
.legal-toc h2 { font-size: 12px; margin-bottom: 18px; }
.legal-toc a { display: block; font-size: 12px; line-height: 1.7; color: var(--muted); margin-bottom: 12px; }
.legal-toc a:hover, .legal-content a { color: var(--accent); }
.legal-content { min-width: 0; }
.legal-content section { border-top: 1px solid var(--line); padding: 26px 0 32px; scroll-margin-top: 26px; }
.legal-content h2 { font-size: 24px; letter-spacing: -.035em; font-weight: 600; line-height: 1.35; margin-bottom: 18px; }
.legal-content p, .legal-content li { font-size: 14px; line-height: 1.85; color: #bcbeb4; }
.legal-content p + p { margin-top: 14px; }
.legal-content ul { padding-left: 20px; margin: 14px 0; }
.legal-content li + li { margin-top: 10px; }
.legal-content strong { font-weight: 600; color: var(--text); }
.legal-content a { text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
@media (max-width: 1100px) { .footer-grid { grid-template-columns: 1.2fr .8fr .9fr 1fr 1.35fr; gap: 20px; } }
@media (max-width: 767px) {
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 22px; }
  .footer-utility { flex-wrap: wrap; gap: 20px; }
  .legal-heading { padding: 35px 0 30px; }
  .legal-layout { grid-template-columns: minmax(0, 1fr); gap: 28px; padding-bottom: 45px; }
  .legal-toc { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; }
  .legal-toc h2 { grid-column: 1 / -1; }
  .legal-content h2 { font-size: 22px; }
  .legal-content p, .legal-content li { font-size: 13px; }
}

.language-select {
  font: inherit;
  color: var(--muted);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 5px;
  min-height: 36px;
  max-width: 160px;
  padding: 7px 24px 7px 10px;
  cursor: pointer;
  color-scheme: dark;
}
.language-select:hover { color: var(--text); }
.language-select:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
@media(max-width: 380px) { .footer-utility { gap: 16px; } .language-select { max-width: 140px; } }

[hidden] { display: none !important; }
.header-panel { position: relative; z-index: 3; display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); min-height: 70px; margin-top: 14px; padding: 8px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); gap: 16px; }
.header-with-search { grid-template-columns: minmax(0, 1fr) auto auto minmax(0, 1fr); }
.header-panel > .brand { justify-self: start; }
.header-panel nav { align-items: center; gap: 4px; }
.header-panel nav a { display: flex; align-items: center; min-height: 42px; padding: 0 13px; border-radius: 6px; }
.header-panel nav a:hover { background: var(--raised); }
.header-panel nav a:focus-visible { outline-offset: 1px; }
.player-search { position: relative; z-index: 6; width: clamp(150px, 18vw, 220px); }
.player-search-trigger { display: none; }
.player-search svg { flex: none; width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; }
.player-search-field {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--muted);
  background: var(--bg);
  cursor: text;
}
.player-search-field:focus-within { border-color: var(--accent); }
.player-search-field svg { color: var(--accent); }
.player-search-field kbd { padding: 1px 5px; font-size: 11px; }
.player-search input {
  flex: 1;
  width: 100%;
  min-width: 0;
  padding: 0;
  border: 0;
  outline: 0;
  color: var(--text);
  background: transparent;
  color-scheme: dark;
  font: inherit;
  font-size: 13px;
}
.player-search-panel {
  position: absolute;
  top: calc(100% + 6px);
  inset-inline-start: 0;
  width: max(100%, 310px);
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 28px #10110f80;
  animation: search-drop .16s var(--ease) both;
}
@keyframes search-drop { from { opacity: 0; transform: translateY(-4px); } }
.player-search-heading { display: flex; justify-content: space-between; gap: 8px; padding: 10px 12px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 11px; }
.player-search p { padding: 12px; color: var(--muted); font-size: 13px; }
.player-search p:empty { display: none; }
.player-search ul { max-height: min(360px, 50dvh); overflow: auto; margin: 0; padding: 4px; list-style: none; scrollbar-width: thin; }
.player-search ul:empty { display: none; }
.player-search li a { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 6px 8px; border-radius: 5px; font-size: 13px; }
.player-search li a:hover, .player-search-trigger:hover { background: var(--raised); }
.player-search li a:focus-visible { outline-offset: -2px; }
.player-search li img { flex: none; width: 36px; height: 36px; object-fit: cover; border-radius: 5px; background: var(--bg); }
.player-search li img[src$="orion-badge.png"] { object-fit: contain; padding: 5px; }
.player-search-person { flex: 1; min-width: 0; display: grid; gap: 3px; }
.player-search-person strong { overflow: hidden; text-overflow: ellipsis; }
.player-search-person small { color: var(--muted); font-size: 10px; font-variant-numeric: tabular-nums; }
.player-search-role { color: var(--accent); }
.player-search-arrow { color: var(--muted); font-size: 17px; }
.header-account { position: relative; min-width: 0; justify-self: end; }
.header-account[aria-busy="true"] { min-width: 72px; min-height: 40px; }
.header-auth > [data-auth-label] { color: var(--text); font-size: 12px; white-space: nowrap; }
.header-auth svg { width: 18px; height: 18px; stroke: currentColor; stroke-width: 1.4; }
.header-panel .header-auth { display: flex; align-items: center; justify-content: center; gap: 7px; min-height: 42px; padding: 0 14px; border-radius: 7px; background: var(--accent); color: var(--ink); font-size: 12px; font-weight: 700; white-space: nowrap; }
.header-panel .header-auth:hover { background: color-mix(in srgb, var(--accent) 85%, var(--paper)); }
.header-panel .header-auth:focus-visible { outline-offset: 3px; }
.header-panel .header-auth svg { flex: none; width: 17px; height: 17px; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.account-trigger { display: flex; align-items: center; gap: 9px; min-height: 42px; max-width: 196px; padding: 5px 10px 5px 5px; border: 1px solid var(--line); border-radius: 7px; background: #282a24; color: var(--text); font-size: 12px; }
.account-trigger:hover, .account-trigger[aria-expanded=true] { background: var(--raised); }
.account-trigger .account-name { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.account-avatar { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 5px; background: var(--bg); }
.account-avatar img { display: block; }
.account-avatar img.custom-avatar { width: 100%; height: 100%; border-radius: inherit; object-fit: cover; }
.account-trigger svg, .account-actions svg { flex: none; width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.account-trigger svg { width: 13px; color: var(--muted); }
.account-trigger[aria-expanded=true] svg { transform: rotate(180deg); }
.account-panel { position: absolute; z-index: 5; inset-inline-end: 0; top: calc(100% + 10px); width: min(236px, calc(100vw - 100px)); border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--text); box-shadow: 0 16px 32px #10110f80; }
.account-identity { display: grid; gap: 4px; padding: 13px 14px; border-bottom: 1px solid var(--line); }
.account-identity > span { color: var(--muted); font-size: 10px; }
.account-identity strong { color: var(--accent); font-size: 14px; overflow-wrap: anywhere; }
.account-actions { display: grid; gap: 2px; padding: 5px; }
.account-actions > :is(a, button) { display: flex; align-items: center; gap: 10px; min-height: 40px; padding: 7px 9px; border: 0; border-radius: 4px; background: transparent; color: inherit; font-size: 12px; text-align: start; }
.account-actions > :is(a, button):hover { background: var(--raised); }
.account-actions > button[aria-disabled=true] { opacity: .6; cursor: wait; }
.account-actions svg { color: var(--muted); }
.account-trigger:focus-visible, .account-actions > :focus-visible { outline-offset: 1px; }
.account-exit { border-top: 1px solid var(--line); }
.account-error { padding: 0 9px 8px; font-size: 11px; line-height: 1.5; color: var(--accent); }
.account-error:empty { display: none; }
@media(max-width: 767px) {
  .header-panel { display: flex; width: calc(100% - 24px); min-height: 62px; margin-top: 10px; padding: 7px 9px; gap: 8px; }
  .header-panel nav { inset: calc(100% + 7px) -1px auto; align-items: stretch; gap: 2px; padding: 6px; border: 1px solid var(--line); border-radius: 9px; background: var(--surface); }
  .header-panel .menu-button { flex: none; }
  .player-search { position: static; width: auto; margin-inline-start: auto; }
  .player-search-trigger { display: grid; place-items: center; width: 36px; height: 42px; padding: 0; border: 1px solid var(--line); border-radius: 7px; background: var(--bg); color: var(--accent); }
  .player-search-trigger:focus-visible { outline-offset: 2px; }
  .player-search-box { display: none; position: absolute; inset: calc(100% + 7px) -1px auto; }
  .player-search.is-open .player-search-box { display: block; }
  .player-search-field kbd { display: none; }
  .player-search-panel { width: 100%; }
  .header-account { margin-inline-start: auto; }
  .header-with-search .header-account { margin-inline-start: 0; }
  .account-trigger { max-width: clamp(105px, 36vw, 196px); }
}
@media (768px <= width <= 960px) {
  .header-with-search { gap: 10px; }
  .header-with-search nav a { padding-inline: 8px; }
  .header-with-search .account-trigger { max-width: 150px; }
}
@media(max-width: 360px) {
  .header-with-search { gap: 5px; }
  .header-with-search .menu-button { width: 36px; padding-inline: 6px; }
  .player-search-trigger { width: 32px; }
  .account-trigger { gap: 6px; padding-right: 7px; }
  .account-avatar { width: 24px; height: 24px; }
  .account-avatar img { width: 16px; }
}
.hero { padding: clamp(46px, 4vw, 62px) 0 20px; }
.hero-intro { max-width: 720px; margin: 0 auto; text-align: center; }
.hero-kicker { display: inline-flex; align-items: center; gap: 9px; color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.hero-kicker i { width: 6px; height: 6px; border-radius: 1px; background: var(--accent); }
.hero-intro h1 { margin: 17px 0 0; font-size: clamp(56px, 6.15vw, 92px); letter-spacing: -.065em; line-height: .99; }
.hero-intro p { max-width: 47ch; margin: 20px auto 0; color: #bdbfb5; font-size: 16px; line-height: 1.55; text-wrap: balance; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 9px; margin-top: 23px; }
.hero-action { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 46px; padding: 9px 16px; border: 1px solid transparent; border-radius: 7px; font-size: 13px; font-weight: 700; transition: background .2s var(--ease); }
.hero-action svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.hero-action-primary { background: var(--accent); color: var(--ink); }
.hero-action-primary:hover { background: color-mix(in srgb, var(--accent) 85%, var(--paper)); }
.hero-action-secondary { border-color: var(--line); background: var(--surface); }
.hero-action-secondary:hover { background: var(--raised); }
.hero-action:focus-visible { outline-offset: 3px; }
.hero-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 9px; margin-top: 15px; color: var(--muted); font-size: 11px; }
.hero-meta a { display: inline-flex; gap: 5px; }
.hero-meta a:hover { color: var(--accent); }
.hero-preview { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 8px; width: min(100%, 1000px); margin: 38px auto 0; padding: 8px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.hero-preview figcaption { padding-inline-start: 7px; color: var(--muted); font-size: 11px; }
.hero-preview > img { display: block; grid-column: 1 / -1; width: 100%; border-radius: 8px; background: var(--bg); }
.theme-switch { display: inline-flex; padding: 3px; border-radius: 6px; background: var(--bg); }
.theme-switch button { min-height: 30px; padding: 4px 10px; border: 0; border-radius: 4px; background: transparent; color: var(--muted); font-size: 11px; }
.theme-switch button:hover { color: var(--text); }
.theme-switch button[aria-pressed=true] { background: var(--raised); color: var(--text); }
.theme-switch button:focus-visible { outline-offset: 1px; }
@media(max-width: 767px) {
  .hero { padding-top: 43px; }
  .hero-intro h1 { font-size: clamp(43px, 10.3vw, 68px); }
  .hero-intro p { max-width: 37ch; margin-top: 16px; font-size: 14px; }
  .hero-actions { margin-top: 20px; }
  .hero-action { gap: 6px; padding-inline: 10px; font-size: 12px; }
  .hero-preview { gap: 6px; margin-top: 29px; padding: 5px; border-radius: 9px; }
  .hero-preview > img { border-radius: 6px; }
  .hero-preview figcaption { padding-inline-start: 4px; }
}
.hero-preview figcaption { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 8px; }
.demo-label { padding: 3px 5px; border-radius: 4px; background: var(--raised); color: var(--text); font-size: 10px; }
.interface-demo { position: relative; grid-column: 1 / -1; width: 100%; container-type: inline-size; }
.interface-demo canvas { display: block; width: 100%; height: 100%; }
.demo-nav button, .demo-page-controls button, .demo-module, .demo-favorite, .demo-search, .demo-card, .demo-scroll { position: absolute; }
.demo-nav button, .demo-page-controls button, .demo-module, .demo-favorite { padding: 0; border: 0; border-radius: 5px; background: transparent; }
.demo-module { inset: 0; width: 100%; height: 100%; }
.demo-nav button:focus-visible, .demo-page-controls button:focus-visible, .demo-module:focus-visible, .demo-favorite:focus-visible, .demo-scroll:focus-visible { outline: 2px solid var(--accent); outline-offset: -1px; }
.demo-search { display: flex; align-items: center; cursor: text; }
.demo-search input { width: 85%; height: 78%; margin-inline-start: 18%; padding: 0 2%; border: 0; border-radius: 0; background: transparent; color: var(--capture-ink); font: inherit; font-size: 1.36cqw; outline: none; }
.demo-search:focus-within { outline: 1px solid var(--accent); outline-offset: -1px; border-radius: 5px; }
.demo-search input:focus, .demo-search input[data-filled] { background: var(--capture-input); }
.demo-scroll { cursor: ns-resize; }
.gameplay { max-width: 960px; margin-top: clamp(48px, 7vw, 112px); padding-bottom: 12px; }
.gameplay-heading { margin-bottom: clamp(18px, 2vw, 28px); text-align: center; }
.gameplay-kicker { display: inline-block; margin-bottom: 12px; padding: 5px 10px; border-radius: 20px; background: color-mix(in srgb, var(--accent) 12%, var(--bg)); color: var(--accent); font-size: 11px; }
.gameplay-heading h2 { font-size: clamp(22px, 2.6vw, 34px); line-height: 1.12; letter-spacing: -.04em; }
.gameplay-heading p { margin-top: 8px; color: var(--muted); font-size: 13px; line-height: 1.5; }
.gameplay-frame { --split: 50%; position: relative; aspect-ratio: 1920 / 1017; overflow: hidden; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.gameplay-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.gameplay-reveal { position: absolute; inset: 0; overflow: hidden; }
.gameplay-frame.is-ready .gameplay-reveal { transform: translateX(calc(var(--split) - 100%)); will-change: transform; }
.gameplay-frame.is-ready .gameplay-orion { transform: translateX(calc(100% - var(--split))); will-change: transform; }
.gameplay-divider { display: none; pointer-events: none; }
.gameplay-frame.is-ready .gameplay-divider { display: block; position: absolute; inset: 0; transform: translateX(var(--split)); will-change: transform; }
.gameplay-divider::before { content: ''; position: absolute; inset-block: 0; left: -1px; width: 2px; background: var(--accent); }
.gameplay-divider span { position: absolute; top: 50%; left: 0; transform: translate(-50%, -50%); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--accent); color: var(--ink); box-shadow: 0 0 0 4px #17181680; }
.gameplay-divider svg { width: 21px; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.gameplay-range { appearance: none; position: absolute; inset: 0 -22px; width: calc(100% + 44px); height: 100%; margin: 0; opacity: 0; cursor: ew-resize; touch-action: pan-y; }
.gameplay-range::-webkit-slider-thumb { appearance: none; width: 44px; height: 44px; }
.gameplay-range::-moz-range-thumb { width: 44px; height: 44px; border: 0; }
.gameplay-frame:has(.gameplay-range:focus-visible) { outline: 2px solid var(--accent); outline-offset: 3px; }
.faq.faq-section { display: block; max-width: 800px; padding-bottom: clamp(52px, 8vw, 96px); }
.faq-heading { margin-bottom: 24px; text-align: center; }
.faq-section h2 { margin: 0; font-size: clamp(30px, 4.5vw, 48px); }
.faq-section .faq-list { padding: 4px clamp(12px, 3vw, 24px); border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.faq-section .faq-list details { border: 0; }
.faq-section .faq-list details + details { border-top: 1px solid var(--line); }
.faq-section summary { gap: 12px; padding: 16px 4px; font-size: 14px; font-weight: 700; transition: color .2s var(--ease); }
.faq-section summary:hover, .faq-section details[open] summary { color: var(--accent); }
.faq-section summary:focus-visible { outline-offset: 0; }
.faq-section summary span { position: relative; display: grid; flex: none; place-items: center; width: 27px; height: 27px; border-radius: 50%; background: var(--bg); color: inherit; font-size: 0; }
.faq-section summary span::before, .faq-section summary span::after { content: ''; position: absolute; width: 11px; height: 1px; background: currentColor; }
.faq-section summary span::after { transform: rotate(90deg); transition: transform .22s var(--ease); }
.faq-section details[open] summary span { transform: none; }
.faq-section details[open] summary span::after { transform: rotate(0); }
.faq-section details > p { max-width: 68ch; padding: 0 36px 17px 4px; font-size: 13px; line-height: 1.65; }
.faq-section details[open] > p { animation: answer-enter .24s var(--ease) both; }
@keyframes answer-enter { from { opacity: 0; transform: translateY(-5px); } to { opacity: 1; transform: translateY(0); } }
@supports selector(::details-content) and (interpolate-size: allow-keywords) {
  .faq-section details { interpolate-size: allow-keywords; }
  .faq-section details::details-content {
    block-size: 0;
    opacity: 0;
    overflow: hidden;
    transition: block-size .28s var(--ease), opacity .22s var(--ease), content-visibility .28s allow-discrete;
  }
  .faq-section details[open]::details-content { block-size: auto; opacity: 1; }
  .faq-section details[open] > p { animation: none; }
}
.section-entered { animation: section-enter .55s var(--ease) both; }
@keyframes section-enter { from { opacity: .55; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .hero-action { transition: background .2s var(--ease), transform .2s var(--ease); }
  .hero-action:hover { transform: translateY(-2px); }
  .hero-action:active { transform: translateY(0); }
  .hero-action svg { transition: transform .2s var(--ease); }
  .hero-action-primary:hover svg { transform: translateY(2px); }
  .hero-action-secondary:hover svg { transform: translateX(2px); }
}
.faq-support { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 16px; margin-top: 22px; font-size: 13px; }
.faq-support .hero-action { min-height: 38px; }
.faq-issues { color: var(--muted); }
.faq-issues:hover { color: var(--accent); }
.download-section { max-width: 960px; padding: clamp(48px, 7vw, 96px) 0; }
.plans-heading { margin-bottom: clamp(22px, 4vw, 36px); text-align: center; }
.plans-heading h2 { font-size: clamp(30px, 4.5vw, 48px); letter-spacing: -.05em; line-height: 1.08; }
.plans-heading h2 span { color: var(--accent); }
.plans-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.plan-card { display: grid; grid-template-rows: auto minmax(74px, auto) auto 1fr; gap: 14px; padding: clamp(16px, 3vw, 28px); border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.plan-plus { border-color: color-mix(in srgb, var(--accent) 36%, var(--surface)); }
.plan-identity { display: flex; align-items: center; gap: 10px; }
.plan-identity h3 { font-size: 17px; }
.plan-identity p, .download-actions p { margin-top: 5px; color: var(--muted); font-size: 12px; }
.plan-icon { display: grid; flex: none; place-items: center; width: 36px; height: 36px; border-radius: 7px; background: var(--bg); color: var(--accent); font-size: 26px; line-height: 1; }
.plan-price { align-self: center; font-size: 44px; font-weight: 700; letter-spacing: -.06em; }
.plus-pricing { align-self: center; }
.plus-pricing .plan-price { color: var(--accent); font-variant-numeric: tabular-nums; }
.plan-price-announcement { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.plus-periods { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); width: min(100%, 344px); min-width: 0; margin: 24px auto 0; padding: 4px; gap: 3px; border: 1px solid var(--line); border-radius: 9px; background: var(--surface); }
.plus-periods label { position: relative; cursor: pointer; }
.plus-periods input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: inherit; }
.plus-periods span { display: grid; place-items: center; min-height: 36px; padding: 3px; border-radius: 5px; color: var(--muted); text-align: center; font-size: 12px; }
.plus-periods input:checked + span { background: var(--raised); color: var(--text); }
.plus-periods input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: -2px; }
.download-actions { text-align: center; }
.download-actions a { width: 100%; }
.plan-card > ul, .plan-features > ul { display: grid; align-content: start; gap: 10px; margin: 0; padding: 16px 0 0; border-top: 1px solid var(--line); list-style: none; font-size: 13px; line-height: 1.45; }
.plan-card > ul li, .plan-features > ul li { display: flex; gap: 8px; }
.plan-card > ul li::before, .plan-features > ul li::before { content: "✓" / ""; color: var(--accent); }
.plan-catalog { margin-top: 17px; border-top: 1px solid var(--line); }
.plan-catalog summary { padding-top: 13px; cursor: pointer; color: var(--accent); font-size: 13px; }
.plan-catalog-content h4 { margin: 18px 0 8px; font-size: 14px; }
.plan-catalog-content ul { display: grid; gap: 7px; margin: 0; padding: 0; list-style: none; }
.plan-catalog-content li { display: grid; gap: 2px; font-size: 12px; overflow-wrap: anywhere; }
.plan-catalog-content li span { color: var(--muted); }
.download-guide { margin-top: 28px; }
.download-guide-heading { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 16px; }
.download-guide-heading h3 { font-size: 17px; }
.download-guide-heading a { color: var(--muted); font-size: 12px; }
.download-guide-heading a:hover { color: var(--accent); }
.download-guide ol { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 12px; }
.download-guide li { gap: 10px; padding: 14px 0 0; }
.download-guide li > span { color: var(--accent); opacity: 1; }
.download-guide h4 { margin: 0; font-size: 14px; }
.download-guide li p { margin-top: 6px; font-size: 12px; }
@media(max-width: 640px) {
  .plans-grid { grid-template-columns: minmax(0, 1fr); }
  .plan-card { grid-template-rows: auto auto auto 1fr; }
  .download-guide ol { grid-template-columns: minmax(0, 1fr); gap: 12px; }
}
.language-picker { position: relative; display: inline-flex; flex-shrink: 0; }
.language-trigger { display: inline-flex; align-items: center; gap: 9px; min-height: 36px; padding: 8px 11px; border: 1px solid var(--line); border-radius: 5px; background: #22241f; color: var(--text); font-size: 11px; }
.language-trigger > span { min-width: 62px; text-align: left; }
.language-flag { width: 19px; height: 14px; object-fit: cover; border-radius: 3px; }
.language-flag-de { background: linear-gradient(#171717 33.33%, #d92127 33.33% 66.67%, #f9ce24 66.67%); }
.language-flag-es { background: linear-gradient(#b31d32 25%, #ffc62c 25% 75%, #b31d32 75%); }
.language-globe { width: 18px; height: 18px; stroke: var(--muted); stroke-width: 1.5; }
.language-chevron { width: 15px; height: 15px; stroke: var(--muted); stroke-width: 1.5; transition: transform .2s var(--ease); }
.language-trigger[aria-expanded=true] .language-chevron { transform: rotate(180deg); }
.language-options { position: absolute; bottom: calc(100% + 8px); left: 0; min-width: 195px; padding: 5px; border: 1px solid #41453c; background: #22241f; border-radius: 7px; z-index: 6; box-shadow: 0 16px 40px #10110f66; }
.language-option { width: 100%; min-height: 37px; display: flex; align-items: center; gap: 10px; border: 0; background: transparent; color: #daddd2; border-radius: 4px; padding: 9px; font-size: 12px; text-align: left; }
.language-option:hover, .language-option:focus-visible, .language-option[aria-selected=true] { background: #32362c; }
.language-option:focus-visible { outline: 1px solid var(--muted); outline-offset: -1px; }
.language-check { margin-left: auto; width: 17px; height: 17px; stroke: #b9bfac; stroke-width: 1.5; opacity: 0; }
.language-option[aria-selected=true] .language-check { opacity: 1; }
.auth-page { min-height: 100dvh; display: flex; flex-direction: column; isolation: isolate; background: #141612; }
.auth-backdrop { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.auth-backdrop::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg,#14161230,#14161280 40%,#14161280 60%,#14161230),linear-gradient(#14161240,#14161200 50%,#141612c9); }
.auth-art { position: absolute; border-radius: 10px; overflow: hidden; border: 1px solid #b1bc9826; background: #1c2118; }
.auth-art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.art-portal { top: 5%; left: -8%; width: 49%; height: 53%; transform: rotate(-12deg); }
.art-wild { top: -4%; right: -6%; width: 46%; height: 62%; transform: rotate(12deg); }
.art-nether { bottom: -18%; right: -3%; width: 52%; height: 55%; transform: rotate(-11deg); }
.auth-topbar { position: relative; display: flex; align-items: center; justify-content: space-between; width: calc(100% - 80px); margin: 0 auto; min-height: 92px; gap: 20px; }
.auth-back { font-size: 12px; color: #c1c7b5; }
.auth-back span { margin-left: 14px; }
.auth-main { display: flex; flex: 1; flex-direction: column; align-items: center; justify-content: center; padding: 15px 20px 24px; }
.auth-lockup { display: flex; align-items: center; justify-content: center; gap: 12px; font-size: 62px; line-height: 1; letter-spacing: -.06em; font-weight: 700; margin-bottom: 30px; }
.auth-lockup img { width: 58px; height: auto; }
.auth-card { width: min(100%, 440px); padding: 34px; background: #191c17f5; border: 1px solid #c7d2b31a; border-radius: 12px; box-shadow: 0 25px 75px #0c100b66; }
.auth-card h1 { font-size: 31px; text-align: center; letter-spacing: -.045em; line-height: 1.15; }
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; padding: 4px; background: #10130f; border-radius: 7px; margin: 24px 0; }
.auth-tabs button { background: none; border: none; color: #a6af99; border-radius: 5px; font-size: 12px; padding: 11px 8px; }
.auth-tabs button[aria-pressed=true] { background: #30362a; color: #f0f3e9; }
.auth-field { margin-top: 19px; }
.auth-field label { display: block; font-size: 12px; margin-bottom: 9px; color: #e7ecdf; }
.auth-field input { display: block; width: 100%; height: 46px; font: inherit; font-size: 14px; background: #12160f; color: #eef2e7; border: 1px solid #404836; border-radius: 6px; padding: 11px 13px; transition: border-color .25s var(--ease); }
.auth-field input:focus-visible { border-color: var(--accent); outline: 2px solid #e7a66e22; outline-offset: 1px; }
.auth-field input:disabled { opacity: .6; }
.auth-field p { color: #929d85; font-size: 10px; line-height: 1.6; margin-top: 8px; }
.auth-input-wrap { position: relative; }
.auth-input-wrap input[aria-invalid] { padding-right: 40px; }
.auth-password input { padding-right: 45px; }
.auth-password input[aria-invalid] { padding-right: 72px; }
.auth-check { position: absolute; right: 13px; top: 50%; transform: translateY(-50%); width: 17px; text-align: center; font-size: 0; }
.auth-password .auth-check { right: 43px; }
.auth-check::before { font-size: 17px; font-weight: 700; line-height: 1; }
.auth-check[data-state="valid"]::before { content: "✓" / ""; color: #a6c69a; }
.auth-check[data-state="invalid"]::before { content: "×" / ""; color: #f19a8c; }
.auth-password button { position: absolute; right: 4px; top: 4px; height: 38px; width: 38px; display: grid; place-items: center; border: 0; background: transparent; color: #a8b299; border-radius: 4px; }
.auth-password svg { width: 19px; height: 19px; stroke: currentColor; stroke-width: 1.4; }
.auth-terms { margin-top: 20px; display: flex; align-items: flex-start; gap: 10px; font-size: 10px; line-height: 1.75; color: #aab49c; }
.auth-terms input { margin: 3px 0 0; width: 15px; height: 15px; flex-shrink: 0; accent-color: var(--accent); }
.auth-terms a { color: #e0b58f; text-decoration: underline; text-underline-offset: 3px; }
.auth-submit { display: flex; align-items: center; justify-content: center; gap: 20px; width: 100%; min-height: 48px; margin-top: 24px; background: var(--accent); color: var(--ink); border: none; border-radius: 6px; padding: 12px 18px; font-size: 13px; font-weight: 700; transition: background .2s var(--ease); }
.auth-submit:not(:disabled):hover { background: color-mix(in srgb, var(--accent) 85%, var(--paper)); }
.auth-submit:focus-visible { outline-color: var(--accent); outline-offset: 3px; }
.auth-submit:disabled { cursor: wait; opacity: .6; }
.auth-help { text-align: center; margin-top: 18px; font-size: 11px; }
.auth-help a { color: #c2cdb5; text-decoration: underline; text-underline-offset: 3px; }
.auth-message { margin-top: 18px; padding: 11px 12px; border: 1px solid #ab745447; background: #3b2a1e66; color: #ecc5a7; border-radius: 5px; font-size: 11px; line-height: 1.6; }
.auth-loading { display: grid; gap: 16px; margin-top: 28px; }
.auth-loading div { border-radius: 6px; height: 46px; background: #2a3023; }
.auth-loading p { text-align: center; font-size: 11px; color: #a5b195; }
.auth-page:has(.auth-card:not([hidden]) #auth-loading:not([hidden])) .auth-backdrop,
.auth-page:has(.auth-card:not([hidden]) #auth-loading:not([hidden])) .auth-lockup,
.auth-card:has(#auth-loading:not([hidden])) #auth-heading,
.auth-card:has(#auth-loading:not([hidden])) .auth-loading div { display: none; }
.auth-card:has(#auth-loading:not([hidden])) { background: transparent; border-color: transparent; box-shadow: none; }
.auth-card:has(#auth-loading:not([hidden])) .auth-loading { margin: 0; }
.auth-language { display: flex; margin-top: 18px; }
.auth-language .language-trigger { background: #191c17; }
.auth-footer { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 0 20px 24px; color: #8f9a82; font-size: 11px; line-height: 1.7; text-align: center; }
.auth-footer > div { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 20px; }
.auth-footer a { color: #c2cdb5; }
.auth-footer a:hover, .auth-help a:hover { color: var(--accent); }
.profile-page { background: var(--bg); }
.profile-page .auth-backdrop, .profile-page .auth-lockup { display: none; }
.profile-page .auth-topbar { width: min(1060px, calc(100% - 40px)); min-height: 66px; margin-top: 14px; padding: 8px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.profile-page .auth-main { justify-content: flex-start; padding-top: clamp(32px, 6vw, 72px); }
#auth-profile { width: min(100%, 1060px); }
.profile-heading { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 18px; margin-bottom: 26px; }
.profile-avatar { display: grid; place-items: center; width: 76px; height: 76px; border: 1px solid var(--line); border-radius: 15px; background: var(--surface); }
.profile-avatar { overflow: hidden; }
.profile-avatar .custom-avatar { width: 100%; height: 100%; object-fit: cover; }
.profile-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 8px; font-size: 12px; color: var(--muted); }
.profile-meta code, .profile-meta time { color: var(--text); }
.profile-avatar-editor { position: relative; align-self: start; }
.profile-avatar-editor #profile-avatar-remove { display: block; width: 100%; margin-top: 5px; padding: 2px 0; border: 0; background: transparent; color: var(--muted); font-size: 10px; line-height: 1.3; }
.profile-avatar-editor #profile-avatar-remove:hover { color: var(--accent); }
.profile-avatar-pencil { position: absolute; inset: auto 4px 4px auto; display: grid; place-items: center; width: 19px; height: 19px; border-radius: 5px; background: var(--bg); color: var(--accent); font-size: 14px; }
.profile-upload { position: relative; cursor: pointer; }
.profile-upload input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.profile-upload:focus-within { outline: 2px solid var(--accent); outline-offset: 2px; }
.profile-share { display: block; margin-top: 12px; color: var(--accent); font-size: 13px; }
.public-profile { width: min(100%, 860px); }
.public-profile .profile-heading { grid-template-columns: auto minmax(0, 1fr) auto; margin-bottom: 0; }
.public-profile-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 8px; }
.public-profile-actions:not(:has(> :not([hidden]))) { display: none; }
#public-friend-request { min-height: 44px; }
.public-contacts { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.public-contacts:has(> :not([hidden])) { margin-top: 18px; }
.public-contacts > div { display: flex; flex-wrap: wrap; gap: 6px 10px; padding: 7px 11px; border: 1px solid var(--line); border-radius: 6px; background: var(--surface); font-size: 12px; }
.public-contacts dt { color: var(--muted); }
.public-contacts dd { margin: 0; overflow-wrap: anywhere; }
.public-contacts a:hover { color: var(--accent); }
.profile-feedback { margin-top: 24px; padding: clamp(16px, 3vw, 25px); border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.profile-reactions { display: flex; gap: 2px; padding: 3px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); }
.profile-reactions button { display: flex; align-items: center; gap: 7px; min-height: 36px; padding: 6px 9px; border: 0; border-radius: 5px; background: transparent; color: var(--muted); font-size: 12px; }
.profile-reactions button:hover:not(:disabled), .profile-reactions button[aria-pressed=true] { background: var(--raised); color: var(--accent); }
.profile-reactions svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.profile-reactions [data-profile-vote="-1"] svg { transform: rotate(180deg); }
.profile-reactions button:focus-visible { outline-offset: -2px; }
.profile-feedback h2 { font-size: 18px; }
.profile-feedback .hero-action { min-height: 36px; padding: 6px 12px; color: var(--text); }
.profile-feedback .hero-action-primary { color: var(--ink); margin-top: 10px; }
.profile-reactions button:disabled { cursor: default; }
.profile-feedback textarea { display: block; width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: 7px; background: var(--bg); color: var(--text); font: inherit; font-size: 14px; line-height: 1.5; resize: vertical; }
.profile-feedback textarea:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
#profile-comments { display: grid; gap: 12px; margin: 14px 0 0; padding: 0; list-style: none; }
#profile-comments li { padding: 12px 0 0; border-top: 1px solid var(--line); font-size: 13px; }
#profile-comments li > div { display: flex; flex-wrap: wrap; align-items: center; gap: 5px 10px; }
#profile-comments time { color: var(--muted); font-size: 11px; }
#profile-comments li p { margin-top: 6px; white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.5; }
#profile-comments button { margin-inline-start: auto; padding: 4px; border: 0; background: transparent; color: var(--muted); font-size: 11px; }
#profile-comments button:hover { color: var(--accent); }
#profile-comments-more { margin-top: 14px; }
#profile-comments-empty { margin-top: 16px; padding: 16px; border-radius: 7px; background: var(--bg); }
#profile-comments:empty { margin: 0; }
@media (max-width: 620px) {
  .public-profile .profile-heading { grid-template-columns: auto minmax(0, 1fr); }
  .public-profile-actions { grid-column: 1 / -1; }
}
.profile-identity p { margin-bottom: 6px; color: var(--muted); font-size: 13px; }
.profile-identity h1 { font-size: clamp(27px, 5vw, 48px); letter-spacing: -.05em; overflow-wrap: anywhere; }
.profile-heading .profile-exit { width: auto; margin: 0; }
.profile-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 14px; }
.profile-workspace { display: grid; grid-template-columns: 176px minmax(0, 1fr); align-items: start; gap: clamp(18px, 3vw, 34px); }
.profile-tabs { display: grid; gap: 4px; }
.profile-tabs button { display: flex; align-items: center; gap: 9px; min-height: 38px; padding: 6px 12px; border: 0; border-radius: 7px; background: transparent; color: var(--muted); font-size: 13px; text-align: left; }
.profile-tabs svg, .profile-reminder > svg { flex: none; width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.profile-tabs button:hover { color: var(--text); }
.profile-tabs button[aria-selected=true] { background: var(--raised); color: var(--accent); }
.profile-tabs button:focus-visible { outline-offset: -2px; }
.profile-badges { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 6px; }
.profile-identity .profile-badges > p { margin: 0; }
.profile-role { padding: 4px 9px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); color: var(--text); font-size: 11px; font-weight: 700; }
.profile-role.is-owner { border-color: color-mix(in srgb, var(--accent) 40%, var(--surface)); color: var(--accent); }
.profile-contact-settings h2 { font-size: 20px; letter-spacing: -.025em; }
.profile-contact-rows, .profile-visibility { margin-top: 16px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.profile-contact-row { display: grid; grid-template-columns: minmax(112px, 1fr) minmax(0, 1.4fr); align-items: center; gap: 10px 16px; margin: 0; padding: 12px 16px; }
.profile-contact-row + .profile-contact-row { border-top: 1px solid var(--line); }
.profile-contact-name { display: flex; align-items: center; gap: 10px; font-size: 13px; }
.profile-contact-icon { display: grid; flex: none; place-items: center; width: 34px; height: 34px; border-radius: 7px; background: var(--raised); }
.profile-contact-icon svg { width: 17px; height: 17px; fill: currentColor; }
.profile-contact-controls { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 8px 12px; }
.profile-contact-state { color: var(--muted); font-size: 12px; overflow-wrap: anywhere; }
.profile-contact-state.is-verified { color: var(--text); }
.profile-contact-controls button { min-height: 36px; color: var(--text); }
.profile-contact-controls button:disabled { opacity: .5; cursor: default; }
.profile-visibility label { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 16px; cursor: pointer; font-size: 13px; }
.profile-visibility small { display: block; margin-top: 4px; color: var(--muted); font-size: 12px; line-height: 1.45; }
.profile-visibility input { flex: none; width: 16px; height: 16px; accent-color: var(--accent); }
.profile-contacts-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-top: 16px; }
.profile-contacts-actions .profile-share { margin: 0; }
@media (max-width: 510px) {
  .profile-contact-row { grid-template-columns: minmax(0, 1fr); }
  .profile-contact-controls { justify-content: space-between; }
}
.profile-view { min-width: 0; }
.profile-identity .profile-tier { display: inline-block; padding: 4px 9px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); font-size: 11px; }
.profile-tier.is-active { color: var(--accent); }
.profile-reminder { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 22px; padding: 13px 16px; border: 1px solid color-mix(in srgb, var(--accent) 40%, var(--surface)); border-radius: 9px; background: var(--surface); font-size: 13px; }
.profile-reminder > svg { color: var(--accent); }
.profile-reminder > div { flex: 1 1 210px; }
.profile-reminder p { margin-top: 4px; color: var(--muted); }
.profile-reminder button { min-height: 36px; color: var(--text); }
@media (max-width: 760px) {
  .profile-workspace { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .profile-tabs { grid-template-columns: repeat(auto-fit, minmax(95px, 1fr)); }
  .profile-tabs button { justify-content: center; gap: 5px; padding-inline: 4px; text-align: center; }
}
@media (max-width: 510px) {
  .profile-tabs button { flex-direction: column; font-size: 11px; }
  .profile-tabs button span { overflow-wrap: anywhere; }
}
.profile-product { display: flex; flex-direction: column; align-items: flex-start; }
.profile-product .profile-panel-heading { width: 100%; }
.profile-product .profile-note { flex: 1; }
.profile-panel { padding: clamp(16px, 3vw, 24px); border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.profile-panel h2 { font-size: 18px; letter-spacing: -.025em; }
.profile-community { display: grid; gap: 12px; }
.profile-tab-count { margin-inline-start: auto; color: var(--accent); font-size: 11px; }
.profile-inline-form { display: flex; flex-wrap: wrap; align-items: stretch; gap: 8px; margin-top: 14px; }
.profile-inline-form input { flex: 1 1 155px; min-width: 0; min-height: 40px; padding: 8px 11px; font: inherit; font-size: 13px; color: var(--text); background: var(--bg); border: 1px solid var(--line); border-radius: 6px; }
.profile-inline-form input:focus-visible { outline: 1px solid var(--accent); outline-offset: 0; }
.profile-panel .profile-inline-form .hero-action { margin-top: 0; }
.community-actions { display: flex; flex-wrap: wrap; gap: 6px; }
.community-actions:empty { display: none; }
.community-button, .admin-actions summary {
  display: inline-flex; align-items: center; justify-content: center; min-height: 34px; padding: 6px 11px;
  border: 1px solid color-mix(in srgb, var(--accent) 26%, var(--line)); border-radius: 6px;
  background: color-mix(in srgb, var(--accent) 11%, var(--surface)); color: var(--paper);
  font: inherit; font-size: 12px; font-weight: 600;
}
.community-button:hover:not(:disabled), .admin-actions summary:hover { background: color-mix(in srgb, var(--accent) 20%, var(--surface)); }
.community-button-primary { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.community-button-primary:hover:not(:disabled) { background: color-mix(in srgb, var(--accent) 80%, var(--paper)); }
.community-button:disabled { opacity: .62; cursor: default; }
.community-button:focus-visible, .admin-actions summary:focus-visible { outline-offset: 2px; }
.community-list a:hover { color: var(--accent); }
.community-list .community-empty { color: var(--muted); }
.admin-result-label { color: var(--muted); font-size: 12px; }
.admin-accounts { list-style: none; padding: 0; margin: 16px 0 0; }
.admin-accounts:empty { display: none; }
.admin-accounts > li {
  display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(90px, auto); gap: 8px 12px;
  align-items: center; padding: 11px 0; border-top: 1px solid var(--line); font-size: 13px;
}
.admin-account-title { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 7px; overflow-wrap: anywhere; }
.admin-identity time { display: block; margin-top: 4px; font-size: 11px; color: var(--muted); }
.admin-role, .admin-visibility { font-size: 11px; color: var(--muted); }
.admin-role:is([data-role=admin], [data-role=owner]) { color: var(--accent); }
.admin-visibility[data-published=true] { color: var(--paper); }
.admin-visibility.is-banned { color: var(--moderation-danger, #f1a39a); }
.profile-ban, .account-delete-dialog, .community-button-danger { --moderation-danger: #f1a39a; }
.profile-ban {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px;
  margin-top: 18px; padding: 12px 14px; border: 1px solid color-mix(in srgb, var(--moderation-danger) 38%, var(--line));
  border-radius: 8px; background: color-mix(in srgb, var(--moderation-danger) 9%, var(--surface));
  color: var(--moderation-danger); font-size: 14px;
}
.profile-ban .profile-note { margin-top: 3px; }
.profile-ban time { color: var(--muted); font-size: 12px; white-space: nowrap; }
.profile-ban-icon { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 7px; background: color-mix(in srgb, var(--moderation-danger) 13%, var(--surface)); }
.profile-ban-icon svg { width: 21px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
.account-delete-dialog {
  width: min(440px, calc(100% - 32px)); padding: 22px; color: var(--text); background: var(--surface);
  border: 1px solid var(--line); border-radius: 10px;
}
.account-delete-dialog::backdrop { background: rgb(0 0 0 / 65%); }
.account-delete-dialog label { display: block; margin-top: 16px; color: var(--muted); font-size: 12px; }
.account-delete-dialog strong { display: block; margin: 5px 0; font-size: 13px; overflow-wrap: anywhere; }
.account-delete-dialog input { width: 100%; margin-bottom: 16px; min-height: 40px; padding: 8px 10px; font: inherit; color: var(--text); background: var(--bg); border: 1px solid var(--line); border-radius: 6px; }
.account-delete-dialog .community-actions { justify-content: end; }
.community-button-danger { color: var(--moderation-danger); background: color-mix(in srgb, var(--moderation-danger) 11%, var(--surface)); border-color: color-mix(in srgb, var(--moderation-danger) 34%, var(--line)); }
.community-button-danger:hover:not(:disabled) { background: color-mix(in srgb, var(--moderation-danger) 20%, var(--surface)); }
@media (max-width: 420px) { .profile-ban time { grid-column: 2; } }
.admin-actions { display: contents; }
.admin-actions summary { justify-self: end; cursor: pointer; list-style: none; gap: 8px; }
.admin-actions summary::-webkit-details-marker { display: none; }
.admin-actions summary::after { content: ''; width: 5px; height: 5px; border: solid currentColor; border-width: 0 1px 1px 0; transform: translateY(-2px) rotate(45deg); }
.admin-actions[open] summary::after { transform: translateY(1px) rotate(225deg); }
.admin-actions .community-actions { grid-column: 1 / -1; justify-content: end; }
.admin-actions:not([open]) .community-actions { display: none; }
.admin-accounts .community-empty { display: block; color: var(--muted); }
@media (max-width: 480px) {
  .admin-accounts > li { grid-template-columns: minmax(0, 1fr) auto; gap: 6px; }
  .admin-identity { grid-column: 1 / -1; }
  .admin-actions summary { grid-column: 2; }
}
.profile-panel-heading { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; }
.profile-note { margin-top: 7px; color: var(--muted); font-size: 13px; line-height: 1.55; }
.profile-panel .hero-action { margin-top: 16px; min-height: 40px; }
.profile-email-summary { display: grid; gap: 5px; margin-top: 18px; padding: 13px; border: 1px solid var(--line); border-radius: 7px; overflow-wrap: anywhere; }
.profile-email-summary strong { font-size: 14px; }
#email-verification-state, #profile-plus-status { color: var(--muted); font-size: 11px; }
#email-verification-state:empty { display: none; }
#profile-plus-status { padding: 4px 8px; border: 1px solid var(--line); border-radius: 20px; }
#profile-plus-status.is-active { color: var(--accent); }
.profile-edit { margin-top: 15px; }
.profile-edit summary { width: fit-content; cursor: pointer; color: var(--accent); font-size: 13px; }
.profile-devices .hero-action { margin-top: 0; color: var(--text); }
.profile-devices #revoke-other-sessions { margin-top: 16px; }
.profile-sessions { margin: 12px 0 0; padding: 0; list-style: none; }
.profile-sessions:empty { margin: 0; }
.profile-sessions li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; padding: 12px 0; border-top: 1px solid var(--line); font-size: 13px; }
.profile-sessions li:last-child { padding-bottom: 0; }
.profile-sessions time { display: block; margin-top: 4px; color: var(--muted); font-size: 12px; }
.profile-sessions li > span { color: var(--accent); font-size: 12px; }
@media (max-width: 620px) {
  .profile-heading { grid-template-columns: auto minmax(0, 1fr); gap: 12px; }
  .profile-avatar { width: 56px; height: 56px; }
  .profile-avatar img { width: 34px; }
  .profile-heading .profile-exit { grid-column: 2; justify-self: start; }
  .profile-grid { grid-template-columns: minmax(0, 1fr); }
}
.profile-caption { color: #a7b49a; font-size: 12px; line-height: 1.6; margin-top: 20px; }
.auth-logout { width: 100%; background: transparent; border: 1px solid #b0c29330; color: #b7c3a8; border-radius: 6px; font-size: 12px; padding: 12px; margin-top: 12px; }
@media(max-width: 767px) {
  .auth-topbar { width: calc(100% - 40px); min-height: 78px; }
  .auth-main { padding-top: 14px; }
  .auth-lockup { font-size: 48px; margin-bottom: 25px; }
  .auth-lockup img { width: 45px; }
  .auth-card { padding: 28px 24px; }
  .auth-card h1 { font-size: 28px; }
  .auth-back { font-size: 11px; }
  .art-portal { width: 100%; left: -40%; height: 40%; }
  .art-wild { right: -35%; width: 100%; height: 42%; }
  .art-nether { width: 100%; right: -35%; bottom: -10%; height: 45%; }
}
@media(prefers-reduced-motion:reduce) { .language-chevron { transition: none; } }
