:root {
  color-scheme: dark;
  --bg: #071426;
  --panel: #0d1d31;
  --line: #243b56;
  --text: #f5f8ff;
  --muted: #a8b8cc;
  --accent: #f4a340;
  --accent-soft: #3b2816;
  --danger: #f38d82;
}

* { box-sizing: border-box; }

body {
  min-height: 100vh;
  margin: 0;
  background: radial-gradient(ellipse 70% 45% at 50% -8%, #17395b 0%, var(--bg) 69%);
  color: var(--text);
  font: 15px Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(125, 161, 203, .18);
  background: rgba(7, 20, 38, .84);
  backdrop-filter: blur(16px);
}

.header-inner, .app-shell, .landing { width: min(1160px, calc(100% - 40px)); margin: auto; }
.header-inner { display: flex; align-items: center; gap: 42px; height: 76px; position: relative; }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-size: 17px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.brand em { color: var(--accent); font-size: 12px; font-style: normal; font-weight: 700; }
.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 11px;
  background: url("/assets/logo.png") center / contain no-repeat, linear-gradient(135deg, #ffc653, #dd8211);
  box-shadow: 0 6px 20px #c27c161f;
  color: transparent;
  font-family: Georgia, serif;
  font-size: 21px;
  font-weight: 900;
}

.header-toggle {
  display: none;
  position: relative;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-left: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #102033;
  color: var(--text);
  cursor: pointer;
}

.header-toggle span:not(.sr-only) {
  position: absolute;
  width: 18px;
  height: 2px;
  border-radius: 99px;
  background: currentColor;
}

.header-toggle span:nth-child(1) { transform: translateY(-6px); }
.header-toggle span:nth-child(2) { transform: translateY(0); }
.header-toggle span:nth-child(3) { transform: translateY(6px); }

.header-menu { display: contents; }
.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 18px;
  width: min(1160px, calc(100% - 40px));
  margin: 20px auto 0;
  padding: 18px 0 32px;
  border-top: 1px solid rgba(125, 161, 203, .18);
}
.footer-version {
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.main-nav { display: flex; align-self: stretch; align-items: center; gap: 6px; }
.main-nav a {
  display: flex;
  align-items: center;
  align-self: stretch;
  padding: 0 12px;
  border-bottom: 2px solid transparent;
  color: var(--muted);
  font-weight: 650;
  text-decoration: none;
}
.main-nav a:hover, .main-nav a.active { border-color: var(--accent); color: var(--text); }

.language-picker { width: 154px; margin-left: auto; }
.language-picker select { padding: 8px 28px 8px 10px; font-size: 12px; font-weight: 700; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }

.account-menu { position: relative; margin-left: auto; }
.language-picker + .account-menu { margin-left: 0; }
.account-menu summary { display: flex; align-items: center; gap: 9px; cursor: pointer; list-style: none; }
.account-menu summary::-webkit-details-marker { display: none; }
.account-menu img { width: 36px; height: 36px; border: 2px solid var(--line); border-radius: 50%; }
.account-menu strong, .account-menu small { display: block; line-height: 1.25; }
.account-menu strong { font-size: 13px; }
.account-menu small { color: var(--muted); font-size: 11px; }
.account-menu i { width: 0; height: 0; border: 5px solid transparent; border-bottom: 0; border-top-color: var(--muted); }
.account-popover {
  position: absolute;
  top: calc(100% + 14px);
  right: 0;
  width: 210px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #1b211b;
  box-shadow: 0 18px 45px #0008;
}
.account-popover a { display: block; padding: 10px; border-radius: 7px; color: var(--text); text-decoration: none; }
.account-popover a:hover { background: #293129; }
.account-popover .danger-link { color: var(--danger); }

.app-shell { padding: 62px 0 72px; }
.page-heading { max-width: 680px; margin-bottom: 38px; }
.page-heading.compact { margin-bottom: 30px; }
.eyebrow { margin: 0 0 9px; color: var(--accent); font-size: 11px; font-weight: 850; letter-spacing: .13em; }
.page-heading h1, .landing h1 { margin: 0; font-size: clamp(34px, 5vw, 52px); letter-spacing: -.045em; line-height: 1.02; }
.page-heading p:not(.eyebrow) { margin: 13px 0 0; color: var(--muted); font-size: 17px; line-height: 1.55; }

.metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 24px; }
.metric-card, .panel, .identity-card, .server-card, .empty-state {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(29, 38, 30, .9), rgba(18, 24, 19, .95));
}
.metric-card { display: flex; min-height: 162px; flex-direction: column; justify-content: space-between; padding: 22px; }
.metric-card span, .metric-card small { color: var(--muted); }
.metric-card span { font-weight: 650; }
.metric-card strong { font-size: 29px; letter-spacing: -.04em; }
.metric-card strong small { color: var(--accent); font-size: 13px; letter-spacing: 0; }
.metric-card small { line-height: 1.45; }
.metric-card.highlight { border-color: #73551d; background: linear-gradient(145deg, #332714, #1e1a10); }
.metric-card.warning { border-color: #75472e; }
.account-column { display: grid; gap: 10px; }
.profile-action { width: 100%; }

.content-grid { display: grid; grid-template-columns: 1.55fr 1fr; gap: 20px; }
.panel { padding: 25px; }
.panel-heading { display: flex; align-items: start; justify-content: space-between; gap: 14px; margin-bottom: 15px; }
.panel-heading h2, .panel h2, .identity-card h2 { margin: 0; font-size: 21px; letter-spacing: -.025em; }
.text-link { color: var(--accent); font-weight: 750; text-decoration: none; }
.server-list { margin: 0; padding: 0; list-style: none; }
.server-list li { display: flex; justify-content: space-between; gap: 16px; padding: 15px 0; border-top: 1px solid var(--line); font-weight: 700; }
.server-list span { color: var(--accent); font-size: 12px; font-weight: 650; }
.quick-panel { background: linear-gradient(145deg, #2a2617, #1b211b); }
.quick-panel > p:not(.eyebrow), .muted { color: var(--muted); line-height: 1.55; }

.button, button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 9px;
  background: var(--accent);
  padding: 12px 16px;
  color: #241708;
  cursor: pointer;
  font: inherit;
  font-weight: 850;
  text-decoration: none;
}

.servers-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.servers-actions { display: flex; justify-content: flex-end; margin: -4px 0 18px; }
.admin-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.admin-card:first-child { grid-column: 1 / -1; }
.admin-card .muted { margin: 0 0 20px; }
.admin-card .form-footer { margin-top: 20px; }
.admin-card .toggle { margin: 18px 0; }
.legal-admin-card { grid-column: 1 / -1; }
.legal-banner-control { display: grid; grid-template-columns: minmax(0, 1fr) minmax(220px, .9fr); gap: 18px; align-items: start; }
.legal-banner-control .toggle { margin: 0; }
.legal-banner-preview { width: 100%; max-height: 220px; object-fit: cover; border: 1px solid var(--line); border-radius: 12px; grid-column: 1 / -1; background: var(--surface); }
.danger-button { background: #9f3038; box-shadow: none; }
.danger-button:hover { background: #bc3d46; }
.server-card { display: grid; grid-template-columns: 48px 1fr auto; align-items: center; gap: 14px; padding: 17px; }
.server-card h2 { margin: 0 0 3px; font-size: 16px; }
.server-card p { margin: 0; color: var(--muted); font-size: 13px; }
.server-icon { display: grid; width: 48px; height: 48px; overflow: hidden; place-items: center; border-radius: 14px; background: var(--accent-soft); color: #ffd882; font-size: 20px; }
.server-icon img { width: 100%; height: 100%; object-fit: cover; }
.status { display: inline-block; margin-top: 7px; color: #9fce83; font-size: 12px; font-weight: 700; }
.server-configure-button, .secondary-button { display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 9px; background: #17241a; padding: 9px 12px; color: var(--text); font: inherit; font-size: 13px; font-weight: 800; text-decoration: none; cursor: pointer; }
.server-configure-button:hover, .secondary-button:hover { border-color: var(--accent); background: #203423; }
.back-link { display: inline-block; margin-bottom: 18px; color: #c8d6bc; font-size: 14px; font-weight: 750; text-decoration: none; }
.back-link:hover { color: var(--accent); }
.server-settings-panel { max-width: 760px; }
.empty-state { grid-column: 1 / -1; padding: 35px; color: var(--muted); text-align: center; }
.empty-state strong { color: var(--text); }

.profile-layout { display: grid; grid-template-columns: 260px 1fr; align-items: start; gap: 20px; }
.profile-settings-stack { display: grid; gap: 20px; min-width: 0; }
.identity-card { padding: 28px; text-align: center; }
.identity-card > img { width: 96px; height: 96px; border: 3px solid var(--accent); border-radius: 50%; }
.identity-card h2 { margin-top: 14px; }
.identity-card p { margin: 5px 0 17px; color: var(--muted); }
.identity-card span { display: inline-block; border-radius: 99px; background: #253427; padding: 6px 10px; color: #9fce83; font-size: 11px; font-weight: 750; }
.settings-panel > p { margin: 7px 0 23px; }
.settings-form { display: grid; gap: 25px; }
.field-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: -15px; }
.field-heading label { margin: 0; }
.profile-photo-control { display: grid; grid-template-columns: 76px minmax(0, 1fr) auto; align-items: center; gap: 14px; }
#public-profile-photo-current { display: grid; width: 76px; height: 76px; overflow: hidden; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-size: 28px; font-weight: 900; }
#public-profile-photo-current img { width: 100%; height: 100%; object-fit: cover; }
.profile-photo-control small, .settings-form label small { color: var(--muted); font-size: 12px; font-weight: 500; }
.profile-links-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.profile-links-list { display: grid; gap: 9px; }
.profile-link-row { display: grid; grid-template-columns: minmax(110px, .45fr) minmax(0, 1fr) auto; gap: 9px; }
.profile-link-row .secondary-button { min-width: 40px; padding: 8px; }
.public-profile-shell { display: grid; min-height: calc(100vh - 76px); place-items: center; padding: 56px 24px; }
.public-profile-card { width: min(100%, 680px); padding: clamp(32px, 7vw, 64px); border: 1px solid var(--line); border-radius: 24px; background: radial-gradient(circle at 50% 0, #1f3021, #111913 65%); text-align: center; box-shadow: 0 28px 80px #0008; }
.public-profile-avatar { display: grid; width: 126px; height: 126px; margin: 0 auto 22px; overflow: hidden; place-items: center; border: 4px solid var(--accent); border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-size: 44px; font-weight: 900; }
.public-profile-avatar img { width: 100%; height: 100%; object-fit: cover; }
.public-profile-card h1 { margin: 8px 0 5px; font-size: clamp(32px, 6vw, 52px); }
.public-profile-id { margin: 0; color: var(--muted); font-size: 13px; }
.public-profile-bio { max-width: 520px; margin: 27px auto; color: #d5e1cb; line-height: 1.7; }
.public-profile-links { margin-top: 28px; padding-top: 25px; border-top: 1px solid var(--line); text-align: left; }
.public-profile-links h2 { margin: 0 0 13px; font-size: 15px; }
.public-profile-links > div { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.public-profile-links a { display: flex; align-items: center; justify-content: space-between; gap: 8px; border: 1px solid var(--line); border-radius: 10px; padding: 11px 13px; background: #142017; color: var(--text); font-weight: 750; text-decoration: none; }
.public-profile-links a:hover { border-color: var(--accent); color: var(--accent); }
.public-reputation { display: grid; width: min(100%, 680px); gap: 18px; margin-top: 18px; }
.public-reputation-card, .public-testimonials { border: 1px solid var(--line); border-radius: 18px; background: #101912; padding: clamp(22px, 4vw, 32px); }
.public-reputation-card .panel-heading, .public-testimonials .panel-heading { align-items: start; }
.public-reputation-card h2, .public-testimonials h2 { margin: 4px 0 0; }
.reputation-average { display: grid; grid-template-columns: auto auto; align-items: baseline; column-gap: 3px; color: var(--accent); text-align: right; }
.reputation-average strong { font-size: 34px; line-height: 1; }
.reputation-average span { font-weight: 800; }
.reputation-average small { grid-column: 1 / -1; margin-top: 4px; color: var(--muted); font-size: 11px; }
.reputation-traits { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0; }
.reputation-traits span { border-radius: 999px; background: #213021; padding: 7px 10px; color: #d0dfc7; font-size: 12px; }
.reputation-traits b { color: var(--accent); }
.reputation-form-wrap { border-top: 1px solid var(--line); padding-top: 20px; }
.reputation-form-wrap h3 { margin: 0 0 15px; font-size: 16px; }
.reputation-form { display: grid; gap: 15px; }
.reputation-fields { display: grid; grid-template-columns: 130px 1fr; gap: 12px; }
textarea { width: 100%; resize: vertical; border: 1px solid var(--line); border-radius: 8px; background: #0e130f; padding: 11px; color: var(--text); font: inherit; }
.reputation-review { display: grid; grid-template-columns: 44px 1fr; gap: 12px; padding: 16px 0; border-top: 1px solid var(--line); }
.reputation-review > img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; background: var(--accent-soft); }
.reputation-review-heading { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 5px 12px; }
.reputation-review-heading span { color: var(--accent); font-size: 12px; font-weight: 800; }
.reputation-review p { margin: 5px 0 0; color: #d2dfca; line-height: 1.45; }
.reputation-review-actions { display: flex; justify-content: flex-end; margin-top: 10px; }
.report-review-button { padding: 6px 9px; color: #efbaae; }
.form-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
label { display: grid; gap: 7px; color: var(--muted); font-size: 13px; font-weight: 700; }
input, select { width: 100%; border: 1px solid var(--line); border-radius: 8px; background: #0e130f; padding: 11px; color: var(--text); font: inherit; }
.preference-group { display: grid; gap: 1px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 14px 0; }
.preference-group > p { margin: 0 0 5px; font-weight: 800; }
.toggle { display: grid; grid-template-columns: 19px 1fr; align-items: start; gap: 10px; padding: 11px 0; }
.toggle input { width: 17px; height: 17px; accent-color: var(--accent); }
.toggle strong, .toggle small { display: block; }
.toggle small { margin-top: 2px; color: var(--muted); font-weight: 500; line-height: 1.4; }
.form-footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.form-footer p { min-height: 1.2em; margin: 0; color: var(--muted); }

.landing { padding: 0 0 36px; }
.landing h1, .landing h2, .landing h3 { text-wrap: balance; }
.landing-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(380px, .92fr); align-items: center; gap: clamp(34px, 7vw, 92px); min-height: calc(100vh - 76px); padding: clamp(64px, 11vw, 132px) 0 78px; }
.landing-hero-copy { max-width: 620px; }
.landing-hero h1 { max-width: 650px; font-size: clamp(45px, 6vw, 78px); letter-spacing: -.064em; line-height: .95; }
.landing .lead { max-width: 575px; margin: 22px 0 29px; color: var(--muted); font-size: clamp(17px, 2vw, 20px); line-height: 1.6; }
.landing-actions { display: flex; flex-wrap: wrap; gap: 11px; }
.landing-primary-action { min-height: 48px; padding: 13px 19px; box-shadow: 0 14px 30px #c9822529; }
.landing-secondary-action { min-height: 48px; padding: 12px 17px; }
.landing-note { margin: 17px 0 0; color: #778275; font-size: 12px; font-weight: 650; }
.landing-embed-showcase { position: relative; display: grid; min-height: 430px; place-items: center; isolation: isolate; }
.landing-embed-showcase::before { position: absolute; z-index: -2; width: 340px; height: 340px; border-radius: 50%; background: radial-gradient(circle, #c984241f 0%, #c9842400 68%); content: ""; filter: blur(8px); }
.showcase-orbit { position: absolute; z-index: -1; border: 1px solid #d6a04c2e; border-radius: 50%; }
.orbit-one { width: 390px; height: 390px; transform: rotate(-18deg); }
.orbit-two { width: 300px; height: 300px; border-style: dashed; transform: rotate(28deg); }
.showcase-command { position: absolute; top: 24px; right: 6px; border: 1px solid #6d7e6b; border-radius: 10px; background: #20281f; padding: 8px 12px; color: #d6dfd0; font-size: 12px; font-weight: 700; box-shadow: 0 12px 28px #0005; transform: rotate(4deg); }
.showcase-command span { color: var(--accent); font-size: 16px; }
.tiger-embed { position: relative; width: min(100%, 390px); border: 1px solid #384838; border-left: 4px solid #f1a72b; border-radius: 13px; background: linear-gradient(145deg, #263126, #171d18 72%); padding: 18px; box-shadow: 0 35px 65px #0009; transform: rotate(-3deg); }
.tiger-embed header { display: flex; align-items: center; gap: 10px; padding-bottom: 16px; }
.tiger-embed-avatar { width: 38px; height: 38px; border: 2px solid #edb54d; border-radius: 50%; background: url("/assets/logo.png") center / cover no-repeat, #3b2910; }
.tiger-embed header strong, .tiger-embed header small { display: block; }
.tiger-embed header strong { color: #f6f7f2; font-size: 14px; }
.tiger-embed header strong b { margin-left: 5px; border-radius: 4px; background: #5865f2; padding: 2px 4px; color: white; font-size: 9px; letter-spacing: .04em; }
.tiger-embed header small { margin-top: 3px; color: #899488; font-size: 11px; }
.tiger-embed-body { border-radius: 8px; background: #1117129e; padding: 17px; }
.tiger-embed-kicker { margin: 0 0 6px; color: #f4b543; font-size: 10px; font-weight: 900; letter-spacing: .13em; }
.tiger-embed h2 { margin: 0; font-size: 23px; letter-spacing: -.045em; }
.tiger-embed-body > p:not(.tiger-embed-kicker) { margin: 8px 0 15px; color: #b9c3b4; font-size: 13px; line-height: 1.5; }
.tiger-embed-balance { display: flex; justify-content: space-between; gap: 15px; border-top: 1px solid #354134; padding-top: 13px; }
.tiger-embed-balance span { color: #95a393; font-size: 12px; font-weight: 700; }
.tiger-embed-balance strong { color: #f4b543; font-size: 18px; }
.tiger-embed-balance small { color: #d9e1d3; font-size: 11px; }
.tiger-embed-footer { display: flex; justify-content: space-between; margin-top: 14px; color: #81917d; font-size: 11px; font-weight: 700; }
.landing-proof { display: flex; align-items: center; justify-content: space-between; gap: 24px; border-top: 1px solid #2a3429; border-bottom: 1px solid #2a3429; padding: 21px 0; }
.landing-proof > p { margin: 0; color: #c8d3c3; font-weight: 750; }
.landing-proof ul { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 9px; margin: 0; padding: 0; list-style: none; }
.landing-proof li { border: 1px solid #344133; border-radius: 999px; padding: 7px 10px; color: #aebbaa; font-size: 11px; font-weight: 750; }
.landing-section { padding: clamp(78px, 11vw, 132px) 0; }
.landing-section-heading { max-width: 680px; }
.landing-section-heading h2, .landing-dashboard-showcase h2, .landing-final-cta h2 { margin: 0; font-size: clamp(33px, 4.4vw, 54px); letter-spacing: -.055em; line-height: 1; }
.landing-section-heading > p:not(.eyebrow), .landing-dashboard-showcase > div > p:not(.eyebrow), .landing-final-cta > p:not(.eyebrow) { max-width: 610px; margin: 17px 0 0; color: var(--muted); font-size: 16px; line-height: 1.65; }
.landing-feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; margin-top: 36px; }
.landing-feature-card { min-height: 206px; border: 1px solid #2c372c; border-radius: 17px; background: linear-gradient(145deg, #1b251c, #111712); padding: 23px; transition: border-color .2s ease, transform .2s ease, background .2s ease; }
.landing-feature-card:hover { border-color: #8d6829; background: linear-gradient(145deg, #282817, #131912); transform: translateY(-4px); }
.landing-feature-card > span { display: grid; width: 37px; height: 37px; place-items: center; border-radius: 11px; background: #3d311a; font-size: 19px; }
.landing-feature-card h3 { margin: 17px 0 7px; font-size: 17px; letter-spacing: -.02em; }
.landing-feature-card p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
.landing-flow { border-top: 1px solid #263026; }
.landing-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 35px; }
.landing-step { position: relative; padding: 20px 20px 19px; border-top: 1px solid #56624f; }
.landing-step:not(:last-child)::after { position: absolute; top: 31px; right: -14px; width: 10px; height: 10px; border-top: 1px solid #788870; border-right: 1px solid #788870; content: ""; transform: rotate(45deg); }
.landing-step > span { color: var(--accent); font-size: 12px; font-weight: 900; letter-spacing: .1em; }
.landing-step h3 { margin: 13px 0 8px; font-size: 20px; }
.landing-step p { margin: 0; color: var(--muted); line-height: 1.55; }
.landing-dashboard-showcase { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 7vw, 90px); align-items: center; border: 1px solid #604d23; border-radius: 24px; background: radial-gradient(circle at 100% 0, #5a431822, transparent 45%), linear-gradient(135deg, #242516, #121812); padding: clamp(30px, 6vw, 68px); }
.landing-dashboard-showcase .button { margin-top: 25px; }
.landing-dashboard-showcase ul { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.landing-dashboard-showcase li { display: flex; gap: 10px; align-items: center; border-radius: 10px; background: #111811a6; padding: 13px; color: #cfdbca; font-size: 14px; font-weight: 700; }
.landing-dashboard-showcase li span { display: grid; width: 20px; height: 20px; place-items: center; border-radius: 50%; background: #435832; color: #d8eeae; font-size: 12px; }
.landing-trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; margin-top: 36px; }
.landing-trust-grid article { padding: 6px 10px 6px 0; }
.landing-trust-grid article > span { color: var(--accent); font-size: 25px; }
.landing-trust-grid h3 { margin: 11px 0 7px; font-size: 16px; }
.landing-trust-grid p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.6; }
.landing-final-cta { margin: 0 0 60px; border-radius: 25px; background: radial-gradient(circle at 50% 0, #6f501d72, transparent 58%), #171b12; padding: clamp(42px, 8vw, 84px) 24px; text-align: center; }
.landing-final-cta > p:not(.eyebrow) { margin-right: auto; margin-left: auto; }
.landing-final-cta .button { margin-top: 25px; }
.public-footer { display: flex; flex-wrap: wrap; gap: 14px 20px; color: var(--muted); font-size: 14px; }
.public-footer a { color: inherit; text-decoration: none; }
.public-footer a:hover { color: var(--text); }
.landing .public-footer { padding: 0 0 28px; }
.legal-nav { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.legal-nav a { border-radius: 9px; color: var(--muted); padding: 9px 11px; text-decoration: none; font-size: 14px; font-weight: 750; }
.legal-nav a:hover, .legal-nav a.active { background: var(--panel); color: var(--text); }
.legal-shell { width: min(900px, calc(100% - 40px)); margin: 0 auto; padding: 72px 0 34px; }
.legal-banner { display: block; width: 100%; max-height: 360px; object-fit: cover; border: 1px solid var(--line); border-radius: 18px; margin: 0 0 22px; background: var(--panel); }
.legal-intro { margin: 0 0 26px; }
.legal-intro h1 { margin: 9px 0 12px; font-size: clamp(36px, 5vw, 52px); letter-spacing: -.045em; }
.legal-intro > p:last-child { color: var(--muted); }
.legal-document { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: clamp(24px, 4vw, 44px); color: var(--muted); line-height: 1.7; }
.legal-document section + section { border-top: 1px solid var(--line); margin-top: 30px; padding-top: 30px; }
.legal-document h2 { color: var(--text); font-size: 23px; line-height: 1.2; margin: 0 0 13px; }
.legal-document h3 { color: var(--text); font-size: 16px; margin: 21px 0 7px; }
.legal-document p { margin: 0 0 14px; }
.legal-document ul { margin: 0 0 14px; padding-left: 22px; }
.legal-document a { color: var(--gold); }
.legal-footer { justify-content: center; padding: 28px 0 10px; }
.install-heading { max-width: 720px; }
.install-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.install-option { display: flex; min-height: 360px; flex-direction: column; align-items: flex-start; border: 1px solid var(--line); border-radius: 18px; padding: 28px; background: #121a13; }
.install-option.featured { border-color: #75581f; background: radial-gradient(circle at 100% 0, #342710, #121a13 58%); }
.install-icon { display: grid; width: 44px; height: 44px; place-items: center; margin-bottom: 22px; border: 1px solid #75581f; border-radius: 12px; color: var(--accent); background: #261e0f; font-size: 23px; }
.install-option h2 { margin: 8px 0 10px; font-size: 24px; }
.install-option > p:not(.eyebrow) { color: var(--muted); line-height: 1.55; }
.install-option ul { display: grid; gap: 7px; margin: 20px 0 26px; padding: 0; color: #c7d4c5; list-style: none; font-size: 13px; font-weight: 650; }
.install-option li::before { margin-right: 8px; color: var(--accent); content: "✓"; }
.install-option .button { margin-top: auto; }

@media (max-width: 800px) {
  .header-inner { gap: 18px; }
  .metrics, .content-grid, .profile-layout, .form-grid, .install-options, .admin-grid { grid-template-columns: 1fr; }
  .admin-card:first-child, .legal-admin-card { grid-column: auto; }
  .legal-banner-control { grid-template-columns: 1fr; }
  .main-nav { gap: 0; }
  .main-nav a { padding: 0 8px; font-size: 13px; }
  .language-picker { width: 48px; }
  .language-picker select { padding-right: 4px; }
  .account-menu span { display: none; }
  .servers-grid { grid-template-columns: 1fr; }
  .identity-card { display: flex; align-items: center; gap: 16px; text-align: left; }
  .identity-card h2 { margin: 0; }
  .identity-card p { margin: 3px 0 8px; }
  .identity-card > img { width: 62px; height: 62px; }
  .identity-card span { margin-left: auto; }
}

@media (max-width: 920px) {
  .header-toggle { display: inline-flex; }
  .header-menu {
    display: grid;
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    left: 0;
    gap: 14px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(7, 20, 38, .98);
    box-shadow: 0 30px 60px rgba(0, 0, 0, .32);
    transform: translateY(-8px) scale(.98);
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease, transform .2s ease;
    z-index: 20;
  }
  .site-header.is-menu-open .header-menu {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
  }
  .main-nav, .header-menu > .language-picker, .header-menu > .account-menu {
    width: 100%;
  }
  .main-nav {
    display: grid;
    gap: 4px;
  }
  .main-nav a {
    min-height: 44px;
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid transparent;
    background: rgba(255, 255, 255, .02);
  }
  .main-nav a:hover, .main-nav a.active { border-color: var(--accent); background: rgba(244, 163, 64, .08); }
  .language-picker { width: 100%; margin-left: 0; }
  .language-picker select { width: 100%; padding: 12px 14px; }
  .account-menu { margin-left: 0; width: 100%; }
  .account-menu summary { justify-content: space-between; width: 100%; }
  .account-popover { position: static; width: 100%; margin-top: 10px; }
}

@media (max-width: 520px) {
  .header-inner, .app-shell, .landing { width: min(100% - 28px, 1160px); }
  .header-inner { height: 64px; gap: 8px; }
  .brand { font-size: 14px; }
  .brand-mark { width: 29px; height: 29px; }
  .main-nav a { padding: 0 6px; font-size: 12px; }
  .language-picker { width: 42px; }
  .main-nav a:nth-child(3) { display: none; }
  .app-shell { padding-top: 42px; }
  .page-heading h1 { font-size: 36px; }
  .metric-card { min-height: 135px; }
  .server-list li { flex-direction: column; gap: 4px; }
  .account-menu img { width: 32px; height: 32px; }
}

.balance-hero {
  display: grid;
  min-height: 220px;
  place-items: center;
  align-content: center;
  margin-bottom: 20px;
  border: 1px solid #73551d;
  border-radius: 18px;
  background: radial-gradient(circle at 50% 0, #4b3915, #211b0e 68%);
  text-align: center;
}
.balance-hero span { color: #e5c98d; font-weight: 750; }
.balance-hero strong { margin-top: 5px; color: var(--accent); font-size: clamp(44px, 8vw, 76px); letter-spacing: -.06em; line-height: 1; }
.balance-hero small { margin-top: 8px; color: var(--muted); font-weight: 700; }
.statement-panel { margin-top: 20px; }
.statement-count { border-radius: 99px; background: #273027; padding: 7px 10px; color: var(--muted); font-size: 12px; font-weight: 750; }
.statement-list { display: grid; }
.statement-item { display: grid; grid-template-columns: 80px minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 17px 0; border-top: 1px solid var(--line); }
.statement-direction { width: max-content; border-radius: 99px; padding: 6px 9px; background: #243725; color: #a8d390; font-size: 11px; font-weight: 800; }
.statement-item.outgoing .statement-direction { background: #3b2822; color: #e8a28f; }
.statement-item strong, .statement-item small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.statement-item small { margin-top: 3px; color: var(--muted); font-size: 12px; }
.statement-amount { color: #a8d390; font-size: 16px; }
.outgoing .statement-amount { color: #e8a28f; }
.statement-loader { display: flex; align-items: center; justify-content: center; gap: 9px; padding: 24px 0 6px; color: var(--muted); font-size: 13px; font-weight: 700; }
.statement-loader[hidden] { display: none; }
.statement-loader.has-error { color: var(--danger); }
.statement-empty { margin: 0; padding: 32px 0 8px; color: var(--muted); text-align: center; }
.loading-spinner { display: inline-block; width: 17px; height: 17px; border: 2px solid #78561e; border-top-color: var(--accent); border-radius: 50%; animation: spin .7s linear infinite; }
#form-status.is-loading::before { display: inline-block; width: 12px; height: 12px; margin-right: 7px; border: 2px solid #78561e; border-top-color: var(--accent); border-radius: 50%; content: ""; animation: spin .7s linear infinite; vertical-align: -2px; }
button:disabled { cursor: wait; opacity: .7; }
body.is-navigating::before { position: fixed; z-index: 50; top: 0; left: 0; width: 34%; height: 3px; background: var(--accent); content: ""; animation: page-loading 1s ease-in-out infinite; }
body.is-navigating .app-shell { pointer-events: none; opacity: .55; transition: opacity .2s ease; }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes page-loading { 0% { transform: translateX(-100%); } 100% { transform: translateX(340%); } }

@media (max-width: 520px) {
  .site-header { position: sticky; }
  .main-nav a:nth-child(3) { display: flex; }
  .main-nav a:nth-child(4) { display: none; }
  .profile-photo-control { grid-template-columns: 64px 1fr; }
  .profile-photo-control > .secondary-button { grid-column: 1 / -1; }
  .profile-link-row { grid-template-columns: 1fr auto; }
  .profile-link-row input:first-child { grid-column: 1 / -1; }
  .public-profile-links > div { grid-template-columns: 1fr; }
  .reputation-fields { grid-template-columns: 1fr; }
  .reputation-average { margin-top: 4px; }
  .statement-item { grid-template-columns: 1fr auto; gap: 9px; }
  .statement-direction { grid-column: 1 / -1; }
  .statement-item small { max-width: 260px; }
  .site-footer { width: min(100% - 28px, 1160px); padding-bottom: 24px; }
  .site-footer, .public-footer { font-size: 13px; }
}

@media (max-width: 800px) {
  .landing-hero { grid-template-columns: 1fr; min-height: auto; padding-top: 76px; }
  .landing-hero-copy { max-width: 680px; }
  .landing-embed-showcase { min-height: 350px; }
  .landing-proof { display: block; }
  .landing-proof ul { justify-content: flex-start; margin-top: 13px; }
  .landing-feature-grid, .landing-trust-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .landing-steps, .landing-dashboard-showcase { grid-template-columns: 1fr; }
  .landing-step:not(:last-child)::after { display: none; }
  .landing-dashboard-showcase { gap: 32px; }
}

@media (max-width: 520px) {
  .landing-hero { padding: 58px 0 64px; }
  .landing-hero h1 { font-size: clamp(42px, 13vw, 58px); }
  .landing-actions { display: grid; }
  .landing-actions > * { width: 100%; }
  .landing-embed-showcase { min-height: 310px; transform: scale(.9); transform-origin: top center; margin-bottom: -32px; }
  .orbit-one { width: 310px; height: 310px; }
  .orbit-two { width: 240px; height: 240px; }
  .showcase-command { top: 0; right: 0; }
  .landing-section { padding: 68px 0; }
  .landing-feature-grid, .landing-trust-grid { grid-template-columns: 1fr; }
  .landing-feature-card { min-height: 0; }
  .landing-proof li { font-size: 10px; }
  .landing-dashboard-showcase { margin-right: -2px; margin-left: -2px; padding: 30px 22px; }
  .landing-final-cta { margin-bottom: 42px; padding-right: 20px; padding-left: 20px; }
}

/* Identidade TigerBot: uma base acolhedora para comunidades, não uma vitrine de apostas. */
.site-header { backdrop-filter: blur(18px) saturate(1.1); }
.header-inner { gap: 30px; }
.brand-mark { border-radius: 10px; box-shadow: none; }
.main-nav a { font-size: 14px; font-weight: 700; }
.button, button { border-radius: 8px; box-shadow: none; }
.landing h1, .landing h2, .landing h3 { text-wrap: initial; }
.landing-hero { gap: clamp(38px, 6vw, 72px); }
.landing-hero-copy { position: relative; }
.landing-hero-copy::before { position: absolute; top: -22px; left: -18px; width: 44px; height: 3px; border-radius: 9px; background: var(--accent); content: ""; }
.landing-embed-showcase { min-height: 390px; place-items: start center; padding-top: 32px; }
.landing-embed-showcase::before { width: 100%; height: 82%; border: 1px solid rgba(104, 152, 188, .16); border-radius: 18px; background: linear-gradient(135deg, rgba(26, 65, 98, .4), rgba(9, 28, 48, .12)); filter: none; }
.showcase-orbit { display: none; }
.showcase-command { top: 0; right: 18px; transform: none; border-radius: 8px; box-shadow: none; }
.tiger-embed { width: min(100%, 414px); transform: none; border-radius: 12px; box-shadow: 0 20px 45px rgba(0, 7, 18, .28); }
.tiger-embed header { padding-bottom: 13px; }
.tiger-embed-body { border-radius: 7px; }
.landing-proof { position: relative; padding: 17px 0; }
.landing-proof::before { width: 6px; height: 6px; border-radius: 50%; background: #8fd5c8; box-shadow: 12px 0 0 #8fd5c8, 24px 0 0 #8fd5c8; content: ""; }
.landing-proof > p { margin-left: 38px; }
.landing-feature-grid { gap: 12px; }
.landing-feature-card { min-height: 190px; border-radius: 12px; padding: 22px; }
.landing-feature-card:hover { transform: translateY(-2px); }
.landing-dashboard-showcase, .landing-final-cta { border-radius: 16px; }
.landing-trust-grid article { border-radius: 12px; }
.metric-card, .panel, .identity-card, .server-card, .empty-state {
  background: linear-gradient(145deg, rgba(18, 42, 68, .94), rgba(9, 25, 44, .97));
  box-shadow: 0 18px 42px rgba(0, 7, 18, .16);
}
.metric-card.highlight, .quick-panel {
  border-color: rgba(244, 163, 64, .48);
  background: linear-gradient(135deg, rgba(50, 57, 56, .96), rgba(14, 31, 49, .98));
}
.account-popover { background: #10253d; }
.account-popover a:hover, .secondary-button:hover, .server-configure-button:hover { background: #183756; }
.secondary-button, .server-configure-button { background: #102942; }
.server-icon, #public-profile-photo-current, .public-profile-avatar { background: linear-gradient(145deg, #3e2a19, #152f4a); }
.status, .identity-card span { color: #9ed9cf; background: rgba(52, 128, 133, .18); }
.back-link { color: #bfd0e8; }
input, select, textarea { background: #081a2d; }
.public-profile-card { background: radial-gradient(circle at 50% 0, #1b4265, #0a1b30 65%); }
.public-profile-bio, .reputation-review p { color: #d2ddeb; }
.public-profile-links a, .public-reputation-card, .public-testimonials { background: #0b2036; }
.reputation-traits span, .statement-count { background: #173651; color: #c4d5e9; }
.landing-note { color: #8fa4bc; }
.landing-embed-showcase::before { background: radial-gradient(circle, rgba(244, 163, 64, .16) 0%, rgba(244, 163, 64, 0) 68%); }
.showcase-orbit { border-color: rgba(105, 166, 205, .28); }
.showcase-command { border-color: #426784; background: #112b45; color: #d6e4f2; }
.tiger-embed { border-color: #34597a; border-left-color: var(--accent); background: linear-gradient(145deg, #183b5a, #0d2035 72%); }
.tiger-embed-body { background: rgba(5, 18, 32, .7); }
.tiger-embed header small, .tiger-embed-footer { color: #9bb0c6; }
.tiger-embed-body > p:not(.tiger-embed-kicker), .tiger-embed-balance span { color: #c0d0df; }
.tiger-embed-balance { border-top-color: #2c4e6b; }
.tiger-embed-safety { align-items: center; border: 1px solid rgba(103, 183, 177, .28); border-radius: 9px; padding: 10px 11px; background: rgba(35, 104, 113, .18); }
.tiger-embed-safety span, .tiger-embed-safety strong { color: #a9dfd7; font-size: 12px; }
.tiger-embed-safety strong { font-size: 11px; }
.landing-proof { border-color: #294966; }
.landing-proof > p { color: #d0deed; }
.landing-proof li { border-color: #345875; color: #c0d0df; background: rgba(20, 51, 78, .35); }
.landing-feature-card { border-color: #284966; background: linear-gradient(145deg, #102b47, #0a1c31); }
.landing-feature-card:hover { border-color: var(--accent); background: linear-gradient(145deg, #173956, #0b2037); }
.landing-feature-card > span { background: linear-gradient(145deg, #3e2b1b, #163a59); }
.landing-dashboard-showcase { border-color: #315877; background: radial-gradient(circle at 0 0, rgba(244, 163, 64, .16), transparent 45%), #0d2741; }
.landing-trust-grid article { border-color: #294c69; background: #0c2138; }
.landing-final-cta { border: 1px solid #345b7b; background: radial-gradient(circle at 50% 0, rgba(244, 163, 64, .2), transparent 58%), #0d2741; }
.install-option { background: #0c2138; }
.install-option.featured { border-color: rgba(244, 163, 64, .55); background: radial-gradient(circle at 100% 0, rgba(244, 163, 64, .18), #0c2138 58%); }
.install-icon { border-color: rgba(244, 163, 64, .45); background: #172d42; }
.balance-hero { border-color: #345b7a; background: radial-gradient(circle at 50% 0, #224b6e, #0c2138 68%); }
.balance-hero span { color: #c9d8e9; }
.statement-direction, .statement-amount { color: #9ed9cf; background: rgba(52, 128, 133, .18); }
.legal-document a { color: var(--accent); }
.landing-fun-showcase { display: grid; grid-template-columns: minmax(0, .82fr) minmax(320px, 1fr); align-items: center; gap: clamp(28px, 7vw, 88px); border-top: 1px solid #294966; }
.landing-hug-demo { position: relative; display: grid; min-height: 420px; place-items: center; padding: 18px 0; }
.landing-hug-demo .showcase-orbit { display: none; }
.landing-hug-command { position: absolute; top: 0; right: 4%; z-index: 1; border: 1px solid #416681; border-radius: 9px; background: #102c46; padding: 7px 10px; color: #d6e4f2; font-size: 12px; font-weight: 800; box-shadow: 0 8px 18px rgb(0 0 0 / 18%); transform: none; }
.landing-hug-message-shell { width: min(100%, 430px); display: grid; gap: 9px; }
.landing-hug-embed { width: 100%; border: 1px solid #345b79; border-left: 4px solid #34c878; border-radius: 11px; background: linear-gradient(145deg, #183a58, #0c1f34); padding: 15px; box-shadow: 0 18px 36px rgb(0 0 0 / 22%); transform: none; }
.landing-hug-author { margin: 0 0 12px; color: #f2f6fb; font-size: 13px; font-weight: 800; }
.landing-hug-message { margin: 0 0 13px; color: #d0ddea; font-size: 14px; line-height: 1.45; }
.landing-hug-embed img { display: block; width: 100%; height: 215px; border-radius: 7px; object-fit: contain; background: #071728; }
.landing-hug-embed small { display: block; margin-top: 11px; color: #91a8bd; font-size: 10px; line-height: 1.35; }
.landing-hug-components { display: flex; justify-content: flex-start; }
.landing-hug-return-button { min-height: 32px; border: 0; border-radius: 4px; padding: 6px 14px; background: #5865f2; color: #fff; font: inherit; font-size: 13px; font-weight: 700; line-height: 20px; opacity: .72; cursor: not-allowed; box-shadow: 0 4px 10px rgb(0 0 0 / 16%); }
.landing-polyglot { display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(310px, .82fr); align-items: start; gap: clamp(38px, 7vw, 96px); border-top: 1px solid #294966; }
.landing-polyglot-copy { min-width: 0; }
.landing-polyglot .landing-section-heading { max-width: 760px; }
.polyglot-language-block { margin-top: 34px; }
.polyglot-language-block > p { max-width: 680px; margin: 8px 0 15px; color: var(--muted); font-size: 13px; line-height: 1.6; }
.polyglot-block-heading { display: flex; align-items: center; gap: 10px; }
.polyglot-block-heading h3 { margin: 0; font-size: 18px; }
.polyglot-block-heading > span { display: grid; min-width: 25px; height: 25px; place-items: center; border: 1px solid rgba(244, 163, 64, .48); border-radius: 999px; padding: 0 7px; color: #ffd39b; background: rgba(244, 163, 64, .12); font-size: 11px; font-weight: 900; }
.polyglot-primary-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.polyglot-primary-list li { display: flex; align-items: center; gap: 7px; border: 1px solid #315572; border-radius: 8px; padding: 8px 10px; color: #d8e4f1; background: #0c2239; font-size: 12px; line-height: 1.35; }
.polyglot-primary-list li > span { font-size: 15px; }
.polyglot-fun-block { padding-top: 5px; }
.polyglot-fun-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.polyglot-fun-group { min-width: 0; border: 1px solid #294b67; border-radius: 10px; padding: 13px; background: linear-gradient(145deg, rgba(16, 43, 71, .94), rgba(8, 27, 46, .96)); }
.polyglot-fun-group h4 { display: flex; align-items: center; gap: 7px; margin: 0 0 9px; color: #f2f6fb; font-size: 12px; line-height: 1.35; }
.polyglot-fun-group h4 span { font-size: 14px; }
.polyglot-fun-group ul { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.polyglot-fun-group li { border-radius: 6px; padding: 5px 7px; color: #abc0d5; background: rgba(60, 94, 121, .22); font-size: 10px; line-height: 1.35; }
.landing-polyglot-visual { position: sticky; top: 112px; min-height: 440px; margin: 8px 0 0; border: 1px solid #345a78; border-radius: 18px; background: radial-gradient(circle at 62% 42%, rgba(244, 163, 64, .2), transparent 48%), linear-gradient(145deg, #102e4b, #081a2d); overflow: hidden; }
.landing-polyglot-visual::before, .landing-polyglot-visual::after { position: absolute; border: 1px solid rgba(114, 166, 203, .2); border-radius: 50%; content: ""; }
.landing-polyglot-visual::before { top: -92px; right: -72px; width: 250px; height: 250px; }
.landing-polyglot-visual::after { right: -30px; bottom: -64px; width: 160px; height: 160px; }
.landing-polyglot-visual img { position: absolute; z-index: 1; right: -6%; bottom: 0; width: 112%; max-width: none; height: auto; object-fit: contain; filter: drop-shadow(0 22px 22px rgb(0 0 0 / 24%)); }
.polyglot-visual-label { position: absolute; top: 20px; left: 20px; z-index: 2; border: 1px solid rgba(244, 163, 64, .5); border-radius: 8px; padding: 7px 10px; color: #ffd29a; background: rgba(8, 26, 45, .84); font-size: 11px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
@media (max-width: 920px) { .landing-polyglot { grid-template-columns: 1fr; } .landing-polyglot-visual { position: relative; top: auto; width: min(100%, 580px); min-height: 390px; margin: 0 auto; } }
@media (max-width: 760px) { .landing-fun-showcase { grid-template-columns: 1fr; } .landing-hug-demo { min-height: 390px; justify-items: start; } .landing-hug-command { right: 0; } .polyglot-fun-groups { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .landing-polyglot-visual { min-height: 300px; } .landing-polyglot-visual img { right: -10%; width: 120%; } .polyglot-primary-list { display: grid; grid-template-columns: 1fr; } }
