:root {
  --ink: #24232a;
  --ink-2: #302f37;
  --paper: #fffdf4;
  --paper-warm: #fff8dc;
  --yellow: #ffe34f;
  --yellow-deep: #ffc928;
  --lime: #4fbe7f;
  --blue: #9ed8ff;
  --pink: #ff98c8;
  --muted: #bdbbc1;
  --line: #24232a;
  --shadow: 6px 6px 0 var(--line);
  --shadow-lg: 9px 9px 0 var(--line);
  --radius: 24px;
  --font-display: "Arial Rounded MT Bold", "Trebuchet MS", system-ui, sans-serif;
  --font-body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--paper);
  background:
    radial-gradient(circle at 12% 4%, rgba(255,227,79,.11) 0 2px, transparent 3px),
    radial-gradient(circle at 85% 14%, rgba(255,227,79,.09) 0 3px, transparent 4px),
    radial-gradient(circle at 76% 74%, rgba(255,227,79,.08) 0 2px, transparent 3px),
    var(--ink);
  font-family: var(--font-body);
  overflow-x: hidden;
}
body::before,
body::after {
  position: fixed;
  content: "";
  z-index: -1;
  pointer-events: none;
  border-radius: 999px;
  opacity: .18;
}
body::before { width: 420px; height: 420px; left: -210px; top: 32%; background: var(--yellow); transform: rotate(32deg); }
body::after { width: 350px; height: 350px; right: -220px; top: 7%; background: #5e5a69; }

a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
button, input, select { font: inherit; }

.container { width: min(1140px, calc(100% - 36px)); margin: 0 auto; }
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
.skip-link { position:absolute; left:12px; top:-50px; padding:10px 14px; background:var(--yellow); color:var(--ink); font-weight:900; z-index:100; }
.skip-link:focus { top:12px; }

/* Header */
.site-header { position:sticky; top:0; z-index:50; border-bottom:1px solid rgba(255,255,255,.1); background:rgba(36,35,42,.88); backdrop-filter:blur(14px); }
.nav { min-height:76px; display:flex; align-items:center; justify-content:space-between; gap:24px; }
.brand { display:inline-flex; align-items:center; gap:11px; font-family:var(--font-display); letter-spacing:-.05em; font-size:1.2rem; white-space:nowrap; }
.brand-avatar { width:42px; height:42px; border:2px solid var(--paper); border-radius:50%; background:var(--paper); object-fit:cover; box-shadow:3px 3px 0 #101015; }
.brand-mark { color:var(--yellow); }
.brand b { color:var(--paper); }
.nav-links { display:flex; align-items:center; gap:24px; font-size:.93rem; font-weight:800; color:#e7e4ea; }
.nav-links > a { transition:color .18s ease; }
.nav-links > a:hover,.nav-links > a:focus-visible { color:var(--yellow); }
.nav-invite { display:inline-flex; padding:10px 15px; color:var(--ink)!important; background:var(--yellow); border:2px solid var(--line); box-shadow:3px 3px 0 #111; border-radius:12px; }
.nav-invite:hover { transform:translate(1px,1px); box-shadow:2px 2px 0 #111; }
.signed-in { display:inline-flex; align-items:center; padding:9px 11px; border:2px solid rgba(255,255,255,.9); border-radius:12px; color:var(--paper); font-size:.83rem; font-weight:900; }
.menu-toggle { display:none; align-items:center; justify-content:center; width:46px; height:42px; color:var(--ink); background:var(--yellow); border:2px solid var(--line); border-radius:11px; font-size:1.35rem; font-weight:900; cursor:pointer; }

/* Shared doodles / buttons */
.scribble { position:absolute; width:58px; height:20px; border-top:3px solid var(--ink); border-radius:50%; opacity:.9; }
.scribble::after { content:""; position:absolute; width:45px; height:16px; left:7px; top:5px; border-top:3px solid var(--ink); border-radius:50%; transform:rotate(-8deg); }
.spark { position:absolute; width:20px; height:20px; transform:rotate(45deg); background:var(--paper); border:2px solid var(--line); box-shadow:3px 3px 0 var(--line); }
.spark::before,.spark::after { content:""; position:absolute; background:inherit; border:inherit; }
.spark::before { width:8px; height:28px; left:4px; top:-6px; border-left:0; border-right:0; }
.spark::after { width:28px; height:8px; top:4px; left:-6px; border-top:0; border-bottom:0; }
.button { display:inline-flex; min-height:50px; align-items:center; justify-content:center; gap:9px; padding:12px 16px; border:3px solid var(--line); border-radius:14px; box-shadow:5px 5px 0 #0e0e12; font-weight:950; font-size:.85rem; letter-spacing:.01em; transition:transform .16s ease,box-shadow .16s ease,background .16s ease; cursor:pointer; }
.button:hover,.button:focus-visible { transform:translate(2px,2px); box-shadow:3px 3px 0 #0e0e12; }
.button:active { transform:translate(5px,5px); box-shadow:none; }
.button-primary { color:var(--ink); background:var(--yellow); }
.button-secondary { color:var(--paper); background:var(--ink-2); border-color:var(--paper); }
.button--small { min-height:38px; padding:8px 11px; font-size:.7rem; border-width:2px; box-shadow:3px 3px 0 #0e0e12; }

/* Hero */
.hero { position:relative; min-height:640px; display:grid; grid-template-columns:1.08fr .92fr; align-items:center; gap:clamp(36px,6vw,84px); padding:86px 0 64px; }
.hero-copy { position:relative; z-index:2; }
.eyebrow,.section-label { margin:0 0 14px; color:var(--yellow); font-family:var(--font-display); font-size:.84rem; letter-spacing:.08em; text-transform:uppercase; }
.eyebrow::before { content:""; display:inline-block; width:11px; height:11px; margin-right:8px; border-radius:50%; background:var(--lime); border:2px solid var(--paper); box-shadow:0 0 0 2px var(--ink); vertical-align:-1px; }
h1,h2,h3,h4,h5,p { margin-top:0; }
h1 { max-width:760px; margin-bottom:22px; color:var(--paper); font-family:var(--font-display); font-size:clamp(3.5rem,8vw,7rem); line-height:.86; letter-spacing:-.08em; }
h1 .highlight { position:relative; display:inline-block; color:var(--ink); z-index:0; isolation:isolate; }
h1 .highlight::before { content:""; position:absolute; inset:.04em -.13em .02em -.1em; z-index:-1; border:3px solid var(--line); border-radius:42% 52% 40% 50%; background:var(--yellow); transform:rotate(-3deg); box-shadow:5px 5px 0 var(--line); }
.hero-lead { max-width:630px; color:#dad7de; font-size:clamp(1.02rem,1.5vw,1.18rem); line-height:1.65; }
.hero-actions { display:flex; flex-wrap:wrap; gap:14px; margin-top:28px; }
.status-row { display:flex; flex-wrap:wrap; gap:13px 19px; margin-top:28px; color:var(--muted); font-size:.9rem; font-weight:700; }
.status-row span { display:inline-flex; align-items:center; gap:7px; }
.status-row i { width:9px; height:9px; border-radius:50%; background:var(--lime); box-shadow:0 0 0 3px rgba(79,190,127,.16); }
.hero-scribble-1 { left:53%; top:14%; transform:rotate(9deg); border-color:var(--yellow); }
.hero-scribble-1::after { border-color:var(--yellow); }
.hero-spark { left:10%; bottom:11%; transform:rotate(22deg) scale(.8); }

.season-wrap { position:relative; z-index:1; width:min(100%,448px); justify-self:end; padding:15px 0 15px 15px; }
.season-wrap::before { content:""; position:absolute; width:93%; height:90%; right:-16px; top:18px; border:3px solid var(--yellow); border-radius:34px; transform:rotate(4deg); z-index:-1; }
.season-card { min-height:340px; overflow:hidden; padding:27px 25px; border:3px solid #111117; border-radius:24px; color:var(--paper); background:#2d2c33; box-shadow:10px 10px 0 #101015; position:relative; }
.season-card::before { content:""; position:absolute; height:116px; left:0; right:0; top:0; background:linear-gradient(135deg,#fffdf4 0 48%,var(--yellow) 48% 70%,#9ed8ff 70% 100%); border-bottom:3px solid #111117; }
.season-card::after { content:"#"; position:absolute; right:-12px; bottom:-44px; color:rgba(255,255,255,.07); font-family:var(--font-display); font-size:14rem; line-height:1; }
.season-card > * { position:relative; z-index:1; }
.season-kicker { margin:91px 0 10px!important; color:var(--yellow)!important; font-family:var(--font-display)!important; font-size:.8rem!important; text-transform:uppercase; letter-spacing:.07em; }
.season-card h2 { margin:0; font-family:var(--font-display); font-size:clamp(2rem,4vw,3.15rem); line-height:.86; letter-spacing:-.065em; }
.season-card h2 span { display:block; margin-top:8px; color:var(--yellow); }
.season-date { margin:17px 0 14px!important; color:#bebac4!important; font-size:.82rem!important; font-weight:750; }
.event-pill { display:flex; align-items:center; gap:10px; padding:11px 12px; border:2px solid rgba(255,255,255,.9); border-radius:14px; background:rgba(0,0,0,.17); }
.event-pill b { display:grid; width:36px; height:36px; place-items:center; border:2px solid var(--line); border-radius:10px; color:var(--ink); background:var(--yellow); box-shadow:2px 2px 0 #111; font-size:1.08rem; }
.event-pill small { display:block; margin-bottom:2px; color:#bcb8c4; font-size:.65rem; font-weight:850; letter-spacing:.07em; }
.event-pill strong { color:var(--paper); font-size:.94rem; }
.season-spark { right:-8px; top:22px; transform:rotate(22deg) scale(.72); }
.sticker { position:absolute; right:-28px; bottom:-19px; width:112px; height:112px; display:grid; place-items:center; border:3px solid var(--line); border-radius:42% 50% 47% 42%; color:var(--ink); background:var(--yellow); box-shadow:6px 6px 0 var(--line); font-family:var(--font-display); font-size:1rem; line-height:.82; text-align:center; transform:rotate(9deg); }
.sticker b { display:block; font-size:2.8rem; }

/* Metrics and shared section typography */
.metric-strip { display:grid; grid-template-columns:repeat(3,1fr); gap:19px; margin-bottom:12px; }
.metric-strip article { display:flex; align-items:center; gap:14px; min-height:111px; padding:17px; border:3px solid var(--line); border-radius:18px; color:var(--ink); background:var(--paper); box-shadow:var(--shadow); }
.metric-strip article:nth-child(2) { background:var(--yellow); transform:translateY(11px); }
.metric-strip article:nth-child(3) { background:var(--paper-warm); }
.metric-icon { display:grid; width:43px; height:43px; flex:none; place-items:center; border:2px solid var(--line); border-radius:12px; background:var(--blue); box-shadow:3px 3px 0 var(--line); font-size:1.2rem; }
.metric-strip article:nth-child(2) .metric-icon { background:var(--paper); }
.metric-strip span:not(.metric-icon),.metric-strip small { display:block; font-size:.65rem; color:#5c5863; font-weight:900; letter-spacing:.07em; }
.metric-strip strong { display:block; max-width:220px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; margin:4px 0; font-family:var(--font-display); font-size:1.65rem; line-height:.95; letter-spacing:-.05em; }
.section { padding:88px 0; }
.section-tight { padding-top:60px; }
.section-title-row { display:flex; align-items:end; justify-content:space-between; gap:28px; margin-bottom:33px; }
.section-title-row h2 { max-width:700px; margin:0; color:var(--paper); font-family:var(--font-display); font-size:clamp(2.3rem,4.7vw,4.15rem); line-height:.93; letter-spacing:-.07em; }
.section-summary { max-width:398px; margin:0; color:#c7c4cc; font-size:1rem; line-height:1.6; }
.dark-label { color:var(--ink)!important; }

/* League board */
.leaderboard-shell { position:relative; overflow:hidden; padding:clamp(22px,4vw,43px); border:3px solid var(--line); border-radius:32px; color:var(--ink); background:var(--paper); box-shadow:9px 9px 0 var(--line); }
.leaderboard-shell::after { content:""; position:absolute; width:280px; height:280px; right:-130px; top:-130px; border:3px solid var(--line); border-radius:50%; background:var(--yellow); opacity:.9; }
.leaderboard-head,.league-list { position:relative; z-index:1; }
.leaderboard-head { display:flex; align-items:center; justify-content:space-between; gap:18px; margin-bottom:22px; }
.leaderboard-head h3 { margin:0; max-width:620px; font-family:var(--font-display); font-size:clamp(2rem,4vw,3.6rem); line-height:.9; letter-spacing:-.065em; }
.live-badge { display:inline-flex; align-items:center; gap:7px; flex-shrink:0; padding:8px 11px; border:2px solid var(--line); border-radius:999px; background:var(--paper); font-size:.78rem; font-weight:950; box-shadow:3px 3px 0 var(--line); }
.live-badge i { width:8px; height:8px; border-radius:50%; background:var(--lime); }
.league-list { overflow:hidden; border:3px solid var(--line); border-radius:18px; background:#fffefa; box-shadow:4px 4px 0 var(--line); }
.league-row { display:grid; grid-template-columns:52px minmax(0,1fr) auto auto; align-items:center; gap:12px; min-height:71px; padding:11px 13px; color:var(--ink); border-bottom:2px solid var(--line); transition:transform .16s ease,background .16s ease; }
.league-row:last-child { border-bottom:0; }
.league-row:nth-child(1) { background:var(--yellow); }
.league-row:hover { background:#fff0a6; transform:translateX(3px); }
.league-rank { display:grid; width:36px; height:36px; place-items:center; border-radius:50%; color:var(--paper); background:var(--ink); font-family:var(--font-display); font-size:.92rem; }
.league-server { display:flex; min-width:0; align-items:center; gap:10px; }
.server-icon { display:grid; width:39px; height:39px; flex:none; place-items:center; overflow:hidden; border:2px solid var(--line); border-radius:12px; background:var(--blue); font-weight:900; }
.server-icon img { width:100%; height:100%; object-fit:cover; }
.server-name { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-weight:950; }
.league-tag { padding:7px 9px; border:2px solid var(--line); border-radius:10px; background:var(--paper-warm); font-size:.72rem; font-weight:950; white-space:nowrap; }
.points { font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace; font-size:.85rem; font-weight:950; white-space:nowrap; }
.empty { padding:25px; color:#635f6b; font-weight:750; }

/* Profiles */
.profile-layout { display:grid; grid-template-columns:.95fr 1.15fr; gap:27px; align-items:stretch; }
.panel-paper,.panel-dark { position:relative; overflow:hidden; border:3px solid var(--line); border-radius:var(--radius); box-shadow:var(--shadow); }
.profile-search { min-height:340px; padding:29px; color:var(--ink); background:var(--lime); }
.profile-search h3 { position:relative; z-index:1; max-width:450px; margin-bottom:11px; font-family:var(--font-display); font-size:clamp(2rem,3.7vw,3.25rem); line-height:.9; letter-spacing:-.07em; }
.profile-search p:not(.section-label):not(.form-note) { position:relative; z-index:1; max-width:490px; color:#3f5146; line-height:1.58; font-weight:720; }
.search-scribble { right:22px; top:32px; transform:rotate(12deg); }
.search-form { position:relative; z-index:1; display:grid; grid-template-columns:minmax(0,1fr) auto; gap:10px; margin-top:24px; }
input,select { width:100%; min-width:0; border:3px solid var(--line); border-radius:12px; color:var(--ink); background:#fff; padding:13px; font-weight:800; outline:0; }
input:focus,select:focus { box-shadow:0 0 0 4px rgba(255,227,79,.72); }
.form-note { position:relative; z-index:1; margin:14px 0 0; color:#34513d!important; font-size:.78rem; line-height:1.45!important; font-weight:700!important; }
.profile-result {
  min-height:340px;
  padding:0;
  color:var(--paper);
  background:#2d2c33;
  isolation:isolate;
}
/* The banner is its own visual layer. All real profile content starts below it. */
.profile-result::before {
  content:"";
  position:absolute;
  z-index:0;
  height:112px;
  left:0;
  right:0;
  top:0;
  border-bottom:3px solid var(--line);
  background:linear-gradient(135deg,#fffdf4 0 48%,var(--yellow) 48% 72%,#9ed8ff 72% 100%);
}
.profile-empty {
  position:relative;
  z-index:1;
  display:grid;
  min-height:340px;
  place-items:center;
  padding:134px 22px 22px;
  color:#cac6d0;
  text-align:center;
}
.profile-empty span { display:grid; width:62px; height:62px; place-items:center; border:3px solid var(--paper); border-radius:18px; color:var(--ink); background:var(--yellow); box-shadow:4px 4px 0 #111; font-size:1.8rem; }
.profile-empty p { margin:14px 0 0; font-weight:800; }
/*
  Keep the avatar on the edge of the banner, but reserve actual space for it.
  The previous 65px top padding let the name and level badge render inside the
  112px banner. This 132px content start is used by both player and Club cards.
*/
.profile-card {
  position:relative;
  z-index:1;
  display:grid;
  grid-template-columns:92px minmax(0,1fr);
  gap:16px;
  padding:132px 22px 22px;
}
.profile-avatar {
  width:92px;
  height:92px;
  display:grid;
  place-items:center;
  align-self:start;
  overflow:hidden;
  transform:translateY(-48px);
  border:4px solid #2d2c33;
  border-radius:50%;
  background:var(--paper);
  box-shadow:0 0 0 2px var(--line);
  color:var(--ink);
  font-family:var(--font-display);
  font-size:2.25rem;
}
.profile-avatar img { width:100%; height:100%; object-fit:cover; }
.profile-card > :nth-child(2) { min-width:0; }
.profile-title { display:flex; align-items:flex-start; justify-content:space-between; gap:10px; min-width:0; }
.profile-title h3 {
  min-width:0;
  margin:0;
  overflow-wrap:anywhere;
  font-family:var(--font-display);
  font-size:1.82rem;
  line-height:.9;
  letter-spacing:-.055em;
}
.profile-title .badge {
  flex:none;
  white-space:nowrap;
  padding:7px 9px;
  border:2px solid var(--line);
  border-radius:10px;
  color:var(--ink);
  background:var(--yellow);
  box-shadow:2px 2px 0 #111;
  font-size:.7rem;
  font-weight:950;
}
.profile-meta { margin:8px 0 0; color:#c3bfca; font-size:.8rem; font-weight:700; line-height:1.35; overflow-wrap:anywhere; }
.profile-stats { grid-column:1/-1; display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:9px; margin-top:0; }
.profile-stat { min-width:0; padding:10px 9px; border:1px solid rgba(255,255,255,.18); border-radius:12px; background:rgba(0,0,0,.14); }
.profile-stat span { display:block; overflow-wrap:anywhere; color:#b9b5c1; font-size:.62rem; font-weight:900; letter-spacing:.06em; }
.profile-stat strong { display:block; margin-top:5px; color:var(--yellow); font-family:var(--font-display); font-size:1.16rem; }
.achievements { grid-column:1/-1; display:flex; flex-wrap:wrap; gap:8px; margin-top:7px; }
.achievement { padding:8px 10px; border:2px solid var(--line); border-radius:11px; color:var(--ink); background:var(--paper); box-shadow:2px 2px 0 #111; font-size:.78rem; font-weight:850; }
.achievement small { display:block; margin-top:3px; color:#67616b; font-size:.59rem; font-weight:750; }

/* Admin */
.control-section-wrap { padding-bottom:100px; }
.control-intro { position:relative; overflow:hidden; display:flex; align-items:center; justify-content:space-between; gap:24px; min-height:185px; padding:28px 31px; border:3px solid var(--line); border-radius:28px 28px 0 0; color:var(--ink); background:var(--yellow); box-shadow:var(--shadow); }
.control-intro::after { content:""; position:absolute; right:-70px; bottom:-82px; width:260px; height:260px; border:3px solid var(--line); border-radius:50%; background:var(--paper); opacity:.8; }
.control-intro > * { position:relative; z-index:1; }
.control-intro h3 { max-width:720px; margin:0 0 10px; font-family:var(--font-display); font-size:clamp(2rem,4vw,3.5rem); line-height:.9; letter-spacing:-.07em; }
.control-intro p:not(.section-label) { max-width:740px; margin:0; color:#4b473f; line-height:1.55; font-weight:750; }
.control-sticker { display:grid; width:82px; height:82px; flex:none; place-items:center; border:3px solid var(--line); border-radius:45% 54% 48% 47%; background:var(--paper); box-shadow:5px 5px 0 var(--line); font-size:2.5rem; transform:rotate(8deg); }
.admin-root { min-height:240px; margin-top:-4px; padding:24px; border:3px solid var(--line); border-radius:0 0 var(--radius) var(--radius); color:var(--ink); background:var(--paper); box-shadow:var(--shadow); }
.admin-placeholder { display:grid; place-items:center; min-height:214px; text-align:center; }
.placeholder-mark { display:grid; width:60px; height:60px; place-items:center; margin-bottom:14px; border:3px solid var(--line); border-radius:18px; background:var(--yellow); box-shadow:4px 4px 0 var(--line); font-size:1.55rem; }
.admin-placeholder b { font-family:var(--font-display); font-size:1.8rem; letter-spacing:-.04em; }
.admin-placeholder p { max-width:500px; margin:10px 0 20px; color:#625e6c; line-height:1.5; }
.admin-grid { display:grid; grid-template-columns:260px minmax(0,1fr); gap:22px; }
.guild-list { display:flex; flex-direction:column; gap:9px; }
.guild-button { display:grid; gap:4px; width:100%; border:2px solid var(--line); border-radius:13px; color:var(--ink); background:#fff; padding:13px; text-align:left; font-weight:900; cursor:pointer; transition:transform .14s ease,background .14s ease; }
.guild-button:hover { background:var(--paper-warm); transform:translateX(3px); }
.guild-button.is-active { background:var(--yellow); box-shadow:3px 3px 0 var(--line); }
.guild-button small { color:#625e68; font-size:.73rem; font-weight:750; }
.admin-detail { min-width:0; }
.control-head { display:flex; align-items:flex-start; justify-content:space-between; gap:20px; padding-bottom:19px; border-bottom:2px dashed #b4afbe; }
.control-head h3 { margin:0; font-family:var(--font-display); font-size:clamp(2rem,4vw,3.15rem); line-height:.89; letter-spacing:-.065em; }
.control-head p:not(.eyebrow) { margin:10px 0 0; color:#625e6c; font-weight:700; }
.control-section { margin-top:22px; padding-top:22px; border-top:2px dashed #b4afbe; }
.control-section:first-of-type { border-top:0; padding-top:0; }
.control-section h4 { margin:0 0 7px; font-family:var(--font-display); font-size:1.65rem; line-height:.92; letter-spacing:-.04em; }
.control-section > p { margin:0 0 13px; color:#625e6c; line-height:1.45; }
.control-stat-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; margin-bottom:16px; }
.control-stat { padding:12px; border:2px solid var(--line); border-radius:13px; background:var(--paper-warm); }
.control-stat span { display:block; color:#665f69; font-size:.64rem; font-weight:950; letter-spacing:.06em; }
.control-stat strong { display:block; margin-top:5px; font-family:var(--font-display); font-size:1.35rem; }
.switch-row { display:flex; align-items:center; justify-content:space-between; gap:15px; padding:15px; border:2px solid var(--line); border-radius:15px; background:var(--paper-warm); }
.switch-row b { font-family:var(--font-display); font-size:1.1rem; }
.switch-row p { margin:4px 0 0; color:#5e5965; font-size:.85rem; line-height:1.4; }
.toggle { appearance:none; width:50px; height:29px; flex:none; border:2px solid var(--line); border-radius:999px; background:#9c98a6; position:relative; cursor:pointer; }
.toggle::after { content:""; position:absolute; width:18px; height:18px; border:2px solid var(--line); border-radius:50%; background:#fff; top:3px; left:3px; transition:transform .15s; }
.toggle:checked { background:var(--lime); }
.toggle:checked::after { transform:translateX(18px); }
.action-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
.action-card { display:grid; gap:10px; padding:15px; border:2px solid var(--line); border-radius:16px; background:#fff; }
.action-card h5 { margin:0; font-family:var(--font-display); font-size:1.23rem; line-height:.94; letter-spacing:-.035em; }
.action-card p { margin:0; color:#625e6c; font-size:.83rem; line-height:1.4; }
.action-card .button { width:fit-content; min-height:42px; padding:9px 11px; font-size:.68rem; box-shadow:3px 3px 0 var(--line); }
.action-log { display:grid; gap:8px; }
.action-log p { margin:0; padding:11px 12px; border:2px solid var(--line); border-left:6px solid var(--yellow); border-radius:10px; color:#4f4b55; background:#f2eef8; font-size:.74rem; font-weight:750; line-height:1.45; }

/* Public server page */
.server-page { padding:72px 0 90px; }
.server-page__search { margin:0 0 22px; }
.server-page__search h1 { max-width:650px; color:var(--ink); font-size:clamp(2.7rem,6vw,5rem); }
.server-page__search form { display:flex; flex-wrap:wrap; gap:10px; margin-top:18px; }
.server-page__search input { flex:1; min-width:220px; }
.server-page__result { min-height:300px; }

/*
  Club cards use the same banner treatment as player cards, but their markup
  needs explicit grid areas. The old `padding-top:65px` override put the Club
  name and Season XP line inside the 112px banner.
*/
.server-page .club-profile-card {
  grid-template-areas:
    "avatar identity"
    "stats stats"
    "achievements achievements"
    "roadmap roadmap";
  min-height:300px;
  padding:132px 22px 22px;
}
.server-page .club-profile-card .profile-avatar { grid-area:avatar; }
.server-page .club-profile-card .club-identity {
  grid-area:identity;
  min-width:0;
  align-self:start;
}
.server-page .club-profile-card .profile-stats { grid-area:stats; }
.server-page .club-profile-card .achievements { grid-area:achievements; }
.server-page .club-profile-card .profile-title { align-items:center; }
.server-page .club-profile-card .profile-title h3 { max-width:calc(100% - 10px); }

/* Footer / toast */
footer { padding:38px 0 47px; color:#aaa7af; font-size:.87rem; }
.footer-content { display:flex; align-items:center; justify-content:space-between; gap:20px; padding-top:23px; border-top:1px solid rgba(255,255,255,.13); }
.footer-brand { color:var(--paper); font-family:var(--font-display); font-size:1.05rem; }
.footer-links { display:flex; flex-wrap:wrap; gap:14px; }
.footer-links a { color:#d8d5dc; font-weight:800; }
.footer-links a:hover { color:var(--yellow); }
.footer-note { margin:0; }
.toast { position:fixed; right:20px; bottom:20px; z-index:99; max-width:330px; padding:13px 14px; border:3px solid var(--line); border-radius:13px; color:var(--ink); background:var(--yellow); box-shadow:5px 5px 0 var(--line); font-size:.8rem; font-weight:950; }

@media (max-width: 900px) {
  .hero { min-height:0; grid-template-columns:1fr; padding:72px 0 64px; }
  .season-wrap { justify-self:start; width:min(100%,490px); margin-top:8px; }
  .metric-strip,.profile-layout,.admin-grid { grid-template-columns:1fr; }
  .metric-strip article:nth-child(2) { transform:none; }
  .section-title-row { align-items:start; flex-direction:column; }
  .control-intro { align-items:flex-start; }
}

@media (max-width: 760px) {
  .nav-links { position:absolute; top:76px; left:0; right:0; display:none; flex-direction:column; align-items:stretch; gap:0; padding:13px 18px 19px; border-bottom:1px solid rgba(255,255,255,.12); background:var(--ink); }
  .nav-links.open { display:flex; }
  .nav-links > a { padding:12px 2px; }
  .nav-invite { margin-top:5px; justify-content:center; }
  #auth-slot { display:flex; padding-top:9px; }
  #auth-slot .nav-invite,#auth-slot .button { width:100%; justify-content:center; }
  .menu-toggle { display:inline-flex; }
  .action-grid { grid-template-columns:1fr; }
  .control-stat-grid { grid-template-columns:1fr; }
  .league-row { grid-template-columns:44px minmax(0,1fr) auto; }
  .league-tag { display:none; }
  .points { grid-column:2; }
}

@media (max-width: 540px) {
  .container { width:min(100% - 26px,1140px); }
  .nav { min-height:67px; }
  .nav-links { top:67px; }
  .brand { font-size:1.05rem; }
  .brand-avatar { width:37px; height:37px; }
  .hero { padding-top:56px; }
  h1 { font-size:clamp(3.15rem,16vw,5rem); }
  .hero-actions .button { width:100%; }
  .season-card { min-height:325px; }
  .sticker { width:88px; height:88px; right:-12px; bottom:-14px; font-size:.8rem; }
  .sticker b { font-size:2.25rem; }
  .metric-strip { gap:14px; }
  .metric-strip article { min-height:94px; }
  .section { padding:64px 0; }
  .section-tight { padding-top:46px; }
  .leaderboard-shell,.profile-search,.admin-root { padding:18px; }
  .profile-result::before { height:96px; }
  .profile-empty { min-height:320px; padding:116px 16px 18px; }
  .leaderboard-head { align-items:flex-start; flex-direction:column; }
  .profile-card { grid-template-columns:74px minmax(0,1fr); gap:12px; padding:112px 16px 18px; }
  .server-page .club-profile-card {
    grid-template-areas:
      "avatar identity"
      "stats stats"
      "achievements achievements"
      "roadmap roadmap";
    min-height:320px;
    padding:112px 16px 18px;
  }
  .profile-avatar { position:static; width:74px; height:74px; transform:translateY(-38px); font-size:1.8rem; }
  .profile-title { gap:7px; }
  .profile-title h3 { font-size:1.38rem; }
  .profile-title .badge { padding:6px 7px; font-size:.61rem; }
  .profile-meta { margin-top:6px; font-size:.73rem; }
  .profile-stats { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .search-form { grid-template-columns:1fr; }
  .search-form .button { width:100%; }
  .control-intro { min-height:205px; padding:22px; }
  .control-sticker { position:absolute; right:10px; bottom:12px; width:65px; height:65px; font-size:1.9rem; }
  .footer-content { align-items:flex-start; flex-direction:column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior:auto; }
  *,*::before,*::after { animation-duration:.01ms!important; animation-iteration-count:1!important; transition-duration:.01ms!important; }
}

/* Owner Console — global Numsy planning controls */
.owner-mark {
  display:inline-flex;
  align-items:center;
  margin-left:8px;
  padding:4px 6px;
  border:2px solid var(--line);
  border-radius:7px;
  color:var(--ink);
  background:var(--yellow);
  box-shadow:2px 2px 0 #111;
  font-size:.58rem;
  font-weight:950;
  letter-spacing:.06em;
}
.owner-section { padding-bottom:100px; }
.owner-intro {
  position:relative;
  overflow:hidden;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  min-height:184px;
  padding:29px 31px;
  border:3px solid var(--line);
  border-radius:28px 28px 0 0;
  color:var(--ink);
  background:var(--blue);
  box-shadow:var(--shadow);
}
.owner-intro::after {
  content:"";
  position:absolute;
  right:-78px;
  bottom:-88px;
  width:260px;
  height:260px;
  border:3px solid var(--line);
  border-radius:50%;
  background:var(--yellow);
  opacity:.82;
}
.owner-intro > * { position:relative; z-index:1; }
.owner-intro h3 {
  max-width:740px;
  margin:0 0 10px;
  font-family:var(--font-display);
  font-size:clamp(2rem,4vw,3.5rem);
  line-height:.9;
  letter-spacing:-.07em;
}
.owner-intro p:not(.section-label) {
  max-width:720px;
  margin:0;
  color:#434858;
  font-weight:750;
  line-height:1.55;
}
.owner-sticker {
  display:grid;
  flex:none;
  width:86px;
  height:86px;
  place-items:center;
  border:3px solid var(--line);
  border-radius:44% 55% 47% 48%;
  background:var(--paper);
  box-shadow:5px 5px 0 var(--line);
  font-family:var(--font-display);
  font-size:3rem;
  transform:rotate(9deg);
}
.owner-root {
  min-height:260px;
  margin-top:-4px;
  padding:24px;
  border:3px solid var(--line);
  border-radius:0 0 var(--radius) var(--radius);
  color:var(--ink);
  background:var(--paper);
  box-shadow:var(--shadow);
}
.owner-summary {
  display:grid;
  grid-template-columns:1.2fr .8fr;
  gap:14px;
  margin-bottom:19px;
}
.owner-now-card,
.owner-rule-card {
  border:2px solid var(--line);
  border-radius:18px;
  padding:16px;
}
.owner-now-card { color:var(--paper); background:var(--ink-2); }
.owner-now-card h3 {
  margin:0;
  color:var(--paper);
  font-family:var(--font-display);
  font-size:1.7rem;
  line-height:.9;
  letter-spacing:-.05em;
}
.owner-now-card > p:not(.owner-kicker) { margin:8px 0 14px; color:#c9c5d0; font-size:.85rem; font-weight:700; }
.owner-kicker {
  margin:0 0 8px;
  color:var(--yellow);
  font-family:var(--font-display);
  font-size:.69rem;
  letter-spacing:.08em;
}
.owner-current-event {
  display:flex;
  align-items:center;
  gap:10px;
  padding-top:12px;
  border-top:1px solid rgba(255,255,255,.14);
}
.owner-current-event b {
  display:grid;
  width:34px;
  height:34px;
  place-items:center;
  border:2px solid var(--line);
  border-radius:10px;
  color:var(--ink);
  background:var(--yellow);
  box-shadow:2px 2px 0 #111;
}
.owner-current-event small { display:block; color:#bab5c2; font-size:.61rem; font-weight:900; letter-spacing:.07em; }
.owner-current-event span { font-weight:900; }
.owner-rule-card {
  display:flex;
  align-items:center;
  gap:13px;
  background:var(--yellow);
}
.owner-rule-card > span {
  display:grid;
  width:47px;
  height:47px;
  flex:none;
  place-items:center;
  border:2px solid var(--line);
  border-radius:14px;
  background:var(--paper);
  box-shadow:3px 3px 0 var(--line);
  font-size:1.35rem;
}
.owner-rule-card b { display:block; margin-bottom:5px; font-family:var(--font-display); font-size:1.25rem; line-height:.95; }
.owner-rule-card p { margin:0; color:#504b3f; font-size:.82rem; font-weight:750; line-height:1.38; }
.owner-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
.owner-panel {
  min-width:0;
  padding:20px;
  border:2px solid var(--line);
  border-radius:19px;
}
.owner-panel--season { background:var(--yellow); }
.owner-panel--event { background:var(--paper-warm); }
.owner-panel-head { display:flex; align-items:flex-start; justify-content:space-between; gap:12px; }
.owner-panel-head h3 { margin:0; font-family:var(--font-display); font-size:1.85rem; line-height:.9; letter-spacing:-.055em; }
.owner-status {
  flex:none;
  padding:7px 8px;
  border:2px solid var(--line);
  border-radius:9px;
  background:var(--paper);
  box-shadow:2px 2px 0 var(--line);
  font-size:.59rem;
  font-weight:950;
  letter-spacing:.06em;
}
.owner-status.is-manual { color:var(--ink); background:var(--lime); }
.owner-window { margin:10px 0 16px; color:#58525d; font-size:.75rem; font-weight:850; line-height:1.4; }
.owner-form { display:grid; gap:12px; }
.owner-form label { display:grid; gap:6px; color:#4d4854; font-size:.76rem; font-weight:950; letter-spacing:.025em; }
.owner-form input,
.owner-form select,
.owner-form textarea {
  width:100%;
  border:2px solid var(--line);
  border-radius:11px;
  color:var(--ink);
  background:#fff;
  padding:11px 12px;
  outline:0;
  font:800 .82rem var(--font-body);
}
.owner-form textarea { min-height:86px; resize:vertical; line-height:1.42; }
.owner-form input:focus,
.owner-form select:focus,
.owner-form textarea:focus { box-shadow:0 0 0 4px rgba(255,255,255,.68); }
.owner-panel--event .owner-form input:focus,
.owner-panel--event .owner-form select:focus,
.owner-panel--event .owner-form textarea:focus { box-shadow:0 0 0 4px rgba(255,227,79,.6); }
.owner-optional { color:#7b736b; font-size:.66rem; font-weight:800; }
.owner-actions { display:flex; flex-wrap:wrap; gap:10px; margin-top:3px; }
.owner-actions .button { min-height:42px; padding:9px 12px; font-size:.7rem; box-shadow:3px 3px 0 var(--line); }
.owner-actions .button-secondary { border-color:var(--line); color:var(--ink); background:var(--paper); }
.owner-inline-fields { display:grid; grid-template-columns:.45fr 1fr; gap:10px; }
.owner-custom-fields { display:grid; gap:12px; padding:13px; border:2px dashed var(--line); border-radius:14px; background:rgba(255,255,255,.5); }
.owner-log { margin-top:18px; padding-top:18px; border-top:2px dashed #b4afbe; }
.owner-log-head { display:flex; align-items:flex-start; justify-content:space-between; gap:14px; margin-bottom:11px; }
.owner-log-head h3 { margin:0; font-family:var(--font-display); font-size:1.55rem; line-height:.9; letter-spacing:-.045em; }
.owner-log-head > span { padding:7px 9px; border:2px solid var(--line); border-radius:9px; background:var(--paper-warm); font-size:.66rem; font-weight:900; }
.owner-log .action-log p { border-left-color:var(--blue); }

@media (max-width:900px) {
  .owner-summary,.owner-grid { grid-template-columns:1fr; }
  .owner-intro { align-items:flex-start; }
}
@media (max-width:620px) {
  .owner-root { padding:16px; }
  .owner-intro { padding:24px; border-radius:24px 24px 0 0; }
  .owner-intro h3 { font-size:2.15rem; }
  .owner-sticker { width:66px; height:66px; font-size:2.2rem; }
  .owner-panel { padding:16px; }
  .owner-panel-head { flex-direction:column; }
  .owner-inline-fields { grid-template-columns:1fr; }
  .owner-log-head { flex-direction:column; }
}

/* Direct Owner Console v1.1.1 — avoids hidden hash-only access states. */
.owner-page-nav { display:flex; align-items:center; gap:20px; font-weight:850; font-size:.92rem; }
.owner-page-nav > a:not(.nav-invite):hover { color:var(--yellow); }
.owner-page .nav-invite { white-space:nowrap; }
.owner-page-section { padding-top:72px; padding-bottom:96px; }
.owner-page-heading {
  position:relative;
  overflow:hidden;
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:28px;
  padding:clamp(25px,4vw,48px);
  border:3px solid var(--line);
  border-radius:32px 32px 0 0;
  color:var(--ink);
  background:var(--blue);
  box-shadow:var(--shadow);
}
.owner-page-heading::after { content:""; position:absolute; width:280px; height:280px; right:-134px; top:-150px; border:3px solid var(--line); border-radius:50%; background:var(--yellow); opacity:.88; }
.owner-page-heading > * { position:relative; z-index:1; }
.owner-page-heading h1 { max-width:740px; margin:0; color:var(--ink); font-size:clamp(3rem,7vw,6.2rem); }
.owner-page-heading h1 span { color:var(--paper); text-shadow:3px 3px 0 var(--line); }
.owner-page-heading > div > p:last-child { max-width:690px; margin:17px 0 0; color:#404758; font-weight:780; line-height:1.56; }
.owner-page-sticker { display:grid; width:108px; height:108px; flex:none; place-items:center; border:3px solid var(--line); border-radius:47% 52% 43% 48%; background:var(--yellow); box-shadow:6px 6px 0 var(--line); font-size:3rem; transform:rotate(7deg); }
.owner-page-sticker small { display:block; margin-top:-12px; font-size:.62rem; font-weight:950; letter-spacing:.08em; }
.owner-app { min-height:310px; padding:clamp(18px,3.6vw,34px); border:3px solid var(--line); border-top:0; border-radius:0 0 30px 30px; color:var(--ink); background:var(--paper); box-shadow:var(--shadow); }
.owner-gate { display:grid; min-height:250px; place-items:center; align-content:center; text-align:center; }
.owner-gate-icon { display:grid; width:70px; height:70px; place-items:center; margin-bottom:14px; border:3px solid var(--line); border-radius:50%; background:var(--yellow); box-shadow:4px 4px 0 var(--line); font-family:var(--font-display); font-size:2rem; }
.owner-gate h2 { margin:0 0 10px; color:var(--ink); font-family:var(--font-display); font-size:clamp(1.8rem,4vw,3.1rem); line-height:.9; letter-spacing:-.06em; }
.owner-gate p { max-width:520px; margin:0; color:#5c5661; font-weight:700; line-height:1.55; }
.owner-gate-actions { display:flex; justify-content:center; margin-top:20px; }
.owner-account-row { display:flex; align-items:center; justify-content:space-between; gap:14px; padding-bottom:15px; margin-bottom:17px; border-bottom:2px dashed #b7b3bc; font-size:.88rem; font-weight:700; }
.owner-account-row b { font-family:var(--font-display); }
.owner-live-board { display:grid; grid-template-columns:1.12fr .98fr .9fr; gap:14px; margin-bottom:18px; }
.owner-live-board > article, .owner-live-board > aside { min-width:0; border:2px solid var(--line); border-radius:19px; padding:17px; }
.owner-live-board > article:first-child { color:var(--paper); background:var(--ink-2); }
.owner-live-board h2 { margin:0; color:var(--paper); font-family:var(--font-display); font-size:1.8rem; line-height:.9; letter-spacing:-.06em; }
.owner-live-board > article:first-child > p:last-child { margin:8px 0 0; color:#cbc7d0; font-size:.82rem; font-weight:700; }
.owner-live-event { display:flex; align-items:center; gap:11px; background:var(--paper-warm); }
.owner-live-event > b { display:grid; flex:none; width:45px; height:45px; place-items:center; border:2px solid var(--line); border-radius:13px; background:var(--yellow); box-shadow:3px 3px 0 var(--line); font-size:1.3rem; }
.owner-live-event small { display:block; color:#746d79; font-size:.63rem; font-weight:950; letter-spacing:.08em; }
.owner-live-event strong { display:block; margin-top:3px; font-family:var(--font-display); font-size:1.18rem; line-height:.9; }
.owner-live-event span { display:block; margin-top:7px; color:#5a545e; font-size:.76rem; font-weight:700; line-height:1.36; }
.owner-live-board > aside { display:grid; grid-template-columns:auto 1fr; column-gap:10px; align-content:center; background:var(--yellow); font-size:1.25rem; }
.owner-live-board > aside b { align-self:end; font-family:var(--font-display); font-size:1.22rem; line-height:.9; }
.owner-live-board > aside span { grid-column:2; margin-top:5px; color:#4e483e; font-size:.76rem; font-weight:750; line-height:1.35; }
.owner-console-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
.owner-console-card { min-width:0; padding:21px; border:2px solid var(--line); border-radius:21px; }
.owner-console-card--yellow { background:var(--yellow); }
.owner-console-card--paper { background:var(--paper-warm); }
.owner-card-head { display:flex; align-items:flex-start; justify-content:space-between; gap:12px; }
.owner-card-head h2 { margin:0; color:var(--ink); font-family:var(--font-display); font-size:1.95rem; line-height:.9; letter-spacing:-.06em; }
.owner-receipts { margin-top:20px; padding-top:20px; border-top:2px dashed #b7b3bc; }
.owner-receipts-head { display:flex; align-items:flex-start; justify-content:space-between; gap:14px; margin-bottom:12px; }
.owner-receipts-head h2 { margin:0; color:var(--ink); font-family:var(--font-display); font-size:1.7rem; line-height:.9; letter-spacing:-.05em; }
.owner-receipts-head > span { padding:7px 9px; border:2px solid var(--line); border-radius:9px; background:var(--paper-warm); font-size:.66rem; font-weight:900; }
.owner-receipts-list { display:grid; gap:9px; }
.owner-receipt { display:flex; align-items:center; justify-content:space-between; gap:16px; padding:12px 13px; border:2px solid var(--line); border-radius:13px; background:#fffefa; }
.owner-receipt b { font-size:.83rem; }
.owner-receipt span { color:#635e67; font-size:.75rem; font-weight:700; text-align:right; }
@media (max-width:900px) { .owner-live-board,.owner-console-grid { grid-template-columns:1fr; } }
@media (max-width:640px) { .owner-page-nav { gap:11px; font-size:.78rem; } .owner-page-nav > a:not(.nav-invite) { display:none; } .owner-page-section { padding-top:42px; } .owner-page-heading { align-items:flex-start; flex-direction:column; border-radius:25px 25px 0 0; } .owner-page-sticker { position:absolute; right:16px; bottom:15px; width:76px; height:76px; font-size:2rem; } .owner-page-heading > div > p:last-child { padding-right:70px; } .owner-app { padding:16px; border-radius:0 0 25px 25px; } .owner-account-row,.owner-receipts-head,.owner-receipt { align-items:flex-start; flex-direction:column; } .owner-receipt span { text-align:left; } }


/* v1.1.2 — One-time owner Season launch */
.owner-skip-card {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:22px;
  margin:18px 0;
  padding:20px;
  border:3px solid var(--line);
  border-radius:22px;
  color:var(--ink);
  background:var(--paper-warm);
  box-shadow:5px 5px 0 var(--line);
}
.owner-skip-card h2 { max-width:660px; margin:0; color:var(--ink); font-family:var(--font-display); font-size:clamp(1.65rem,3vw,2.45rem); line-height:.9; letter-spacing:-.06em; }
.owner-skip-card h2 span { color:#d5503f; }
.owner-skip-card p:last-child { max-width:720px; margin:10px 0 0; color:#5a5150; font-size:.86rem; font-weight:750; line-height:1.55; }
.owner-skip-actions { display:grid; min-width:245px; gap:10px; justify-items:stretch; }
.owner-skip-warning { color:#75453f; font-size:.72rem; font-weight:900; line-height:1.35; }
.button-danger { color:var(--paper); background:#d5503f; border-color:var(--line); box-shadow:4px 4px 0 var(--line); }
.button-danger:hover,.button-danger:focus-visible { background:#bf3d31; }
.button-danger:disabled { cursor:wait; opacity:.72; transform:none; box-shadow:4px 4px 0 var(--line); }
.owner-skip-card--used { background:#e5f5dd; }
.owner-skip-used { flex:none; padding:9px 11px; border:2px solid var(--line); border-radius:12px; background:var(--lime); box-shadow:3px 3px 0 var(--line); font-size:.76rem; font-weight:950; }
@media (max-width:760px) { .owner-skip-card { align-items:flex-start; flex-direction:column; } .owner-skip-actions { width:100%; min-width:0; } .owner-skip-actions .button { width:100%; } }

/* Season Cosmetics — visual profile layers. These use only owner-approved
   palette/pattern/effect tokens from the API; player input never becomes CSS. */
.profile-result {
  --cos-a:#fffdf4;
  --cos-b:var(--yellow);
  --cos-c:#9ed8ff;
  --cos-pattern:linear-gradient(135deg,transparent 0 47%,rgba(36,35,42,.08) 47% 48%,transparent 48% 100%);
  --frame-colour:var(--paper);
}
.profile-result::before {
  background:var(--cos-pattern),linear-gradient(135deg,var(--cos-a) 0 48%,var(--cos-b) 48% 72%,var(--cos-c) 72% 100%);
}
.profile-result--ink { --cos-a:#4d4a56; --cos-b:#24232a; --cos-c:#706d7b; }
.profile-result--paper { --cos-a:#fffdf4; --cos-b:#fff8dc; --cos-c:#ffe34f; }
.profile-result--sunburst { --cos-a:#fffdf4; --cos-b:#ffe34f; --cos-c:#ffc928; }
.profile-result--lime { --cos-a:#eaffd9; --cos-b:#4fbe7f; --cos-c:#b8ed68; }
.profile-result--sky { --cos-a:#ecfbff; --cos-b:#9ed8ff; --cos-c:#57d6ff; }
.profile-result--candy { --cos-a:#fff0f8; --cos-b:#ff9ecf; --cos-c:#ff68b2; }
.profile-result--lavender { --cos-a:#f1edff; --cos-b:#c1b4ff; --cos-c:#8d74ff; }
.profile-result--pattern-diagonal { --cos-pattern:linear-gradient(135deg,transparent 0 47%,rgba(36,35,42,.08) 47% 48%,transparent 48% 100%); }
.profile-result--pattern-rays { --cos-pattern:repeating-conic-gradient(from -28deg at 15% 100%,rgba(36,35,42,.08) 0deg 9deg,transparent 9deg 18deg); }
.profile-result--pattern-checker { --cos-pattern:linear-gradient(45deg,rgba(36,35,42,.08) 25%,transparent 25% 75%,rgba(36,35,42,.08) 75%),linear-gradient(45deg,rgba(36,35,42,.08) 25%,transparent 25% 75%,rgba(36,35,42,.08) 75%); background-size:26px 26px,26px 26px; background-position:0 0,13px 13px; }
.profile-result--pattern-dots { --cos-pattern:radial-gradient(circle,rgba(36,35,42,.17) 0 2px,transparent 2.6px); background-size:19px 19px; }
.profile-result--pattern-confetti { --cos-pattern:radial-gradient(circle at 13% 30%,rgba(36,35,42,.18) 0 3px,transparent 3.4px),radial-gradient(circle at 42% 55%,rgba(36,35,42,.14) 0 2px,transparent 2.6px),radial-gradient(circle at 74% 22%,rgba(36,35,42,.17) 0 3px,transparent 3.5px),linear-gradient(48deg,transparent 48%,rgba(36,35,42,.14) 49% 52%,transparent 53%); }
.profile-result--pattern-scribble { --cos-pattern:repeating-linear-gradient(172deg,transparent 0 17px,rgba(36,35,42,.13) 18px 20px,transparent 21px 37px); }
.profile-card--sunburst { box-shadow:inset 0 5px 0 var(--yellow); }
.profile-card--lime { box-shadow:inset 0 5px 0 var(--lime); }
.profile-card--sky { box-shadow:inset 0 5px 0 var(--blue); }
.profile-card--candy { box-shadow:inset 0 5px 0 #ff68b2; }
.profile-card--lavender { box-shadow:inset 0 5px 0 #8d74ff; }
.profile-card--paper { box-shadow:inset 0 5px 0 var(--paper-warm); }
.profile-avatar--frame-paper { border-color:var(--paper); box-shadow:0 0 0 3px var(--line); }
.profile-avatar--frame-ink { border-color:#5f5b69; box-shadow:0 0 0 3px var(--line); }
.profile-avatar--frame-sunburst { border-color:var(--yellow); box-shadow:0 0 0 3px var(--line),4px 4px 0 var(--yellow-deep); }
.profile-avatar--frame-lime { border-color:var(--lime); box-shadow:0 0 0 3px var(--line),4px 4px 0 #2f8758; }
.profile-avatar--frame-sky { border-color:#9ed8ff; box-shadow:0 0 0 3px var(--line),4px 4px 0 #57a8da; }
.profile-avatar--frame-candy { border-color:#ff9ecf; box-shadow:0 0 0 3px var(--line),4px 4px 0 #d9478e; }
.profile-avatar--frame-lavender { border-color:#c1b4ff; box-shadow:0 0 0 3px var(--line),4px 4px 0 #7059cf; }
.profile-name-badge { display:inline-grid; width:27px; height:27px; place-items:center; vertical-align:.08em; margin-left:5px; border:2px solid var(--line); border-radius:50%; color:var(--ink); background:var(--yellow); box-shadow:2px 2px 0 #111; font-family:var(--font-body); font-size:.76rem; letter-spacing:0; }
.profile-cosmetic-strip { display:flex; flex-wrap:wrap; gap:7px; margin-top:11px; }
.profile-cosmetic-chip { display:inline-flex; align-items:center; gap:5px; min-width:0; padding:6px 8px; border:2px solid rgba(255,255,255,.22); border-radius:10px; color:#f5f3f8; background:rgba(0,0,0,.16); font-size:.66rem; font-weight:850; line-height:1.15; }
.profile-cosmetic-chip b { color:var(--yellow); font-size:.83rem; }
.profile-cosmetic-chip small { color:#c6c2cd; font-size:.58rem; font-weight:750; }
.profile-cosmetic-empty { color:#bdb8c5; font-size:.72rem; font-weight:720; line-height:1.3; }
.profile-result--fx-sparkle .profile-card::after,.profile-result--fx-confetti .profile-card::after,.profile-result--fx-bolts .profile-card::after,.profile-result--fx-stars .profile-card::after { position:absolute; top:118px; right:19px; pointer-events:none; color:var(--yellow); font-family:var(--font-display); font-size:.83rem; letter-spacing:7px; text-shadow:2px 2px 0 #111; }
.profile-result--fx-sparkle .profile-card::after { content:"✦ ✧ ✦"; }
.profile-result--fx-confetti .profile-card::after { content:"● ◆ ●"; color:#9ed8ff; }
.profile-result--fx-bolts .profile-card::after { content:"⚡ ⚡"; color:#ffe34f; }
.profile-result--fx-stars .profile-card::after { content:"★ ✦ ★"; color:#ff9ecf; }

/* Owner console: create, preview and retire themed Season drops. */
.owner-cosmetics { margin-top:28px; padding:clamp(20px,3vw,31px); border:3px solid var(--line); border-radius:28px; color:var(--ink); background:var(--paper); box-shadow:var(--shadow); }
.owner-cosmetics-head { display:flex; align-items:flex-end; justify-content:space-between; gap:18px; margin-bottom:20px; }
.owner-cosmetics-head h2 { margin:0; max-width:670px; font-family:var(--font-display); font-size:clamp(2rem,4vw,3.4rem); line-height:.9; letter-spacing:-.065em; }
.owner-cosmetics-head p { max-width:590px; margin:9px 0 0; color:#5a5561; font-weight:700; line-height:1.48; }
.owner-cosmetic-layout { display:grid; grid-template-columns:minmax(0,1.05fr) minmax(280px,.95fr); gap:20px; }
.owner-cosmetic-form { display:grid; gap:12px; padding:18px; border:3px solid var(--line); border-radius:18px; background:var(--paper-warm); box-shadow:4px 4px 0 var(--line); }
.owner-cosmetic-form h3 { margin:0; font-family:var(--font-display); font-size:1.75rem; line-height:.9; letter-spacing:-.055em; }
.owner-cosmetic-form p { margin:0; color:#5b5661; font-size:.82rem; font-weight:730; line-height:1.45; }
.owner-cosmetic-fields { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
.owner-cosmetic-fields .wide { grid-column:1/-1; }
.owner-cosmetic-form textarea { width:100%; min-height:92px; resize:vertical; border:3px solid var(--line); border-radius:12px; color:var(--ink); background:#fff; padding:12px; font:inherit; font-weight:750; outline:0; }
.owner-cosmetic-form textarea:focus { box-shadow:0 0 0 4px rgba(255,227,79,.72); }
.owner-cosmetic-note { padding:10px 11px; border:2px dashed var(--line); border-radius:12px; color:#554f5a; background:rgba(255,255,255,.7); font-size:.76rem; font-weight:780; line-height:1.4; }
.owner-catalog { min-width:0; }
.owner-catalog-title { display:flex; align-items:center; justify-content:space-between; gap:9px; margin:0 0 10px; font-family:var(--font-display); font-size:1.35rem; letter-spacing:-.045em; }
.owner-catalog-list { display:grid; gap:9px; max-height:480px; overflow:auto; padding-right:5px; }
.owner-cosmetic-item { display:grid; grid-template-columns:auto minmax(0,1fr) auto; align-items:center; gap:9px; padding:11px; border:2px solid var(--line); border-radius:14px; background:#fff; }
.owner-cosmetic-item.is-retired { opacity:.58; background:#e9e4eb; }
.owner-cosmetic-icon { display:grid; width:37px; height:37px; place-items:center; border:2px solid var(--line); border-radius:11px; background:var(--yellow); font-size:1.05rem; }
.owner-cosmetic-item b { display:block; overflow-wrap:anywhere; font-size:.84rem; }
.owner-cosmetic-item small { display:block; margin-top:3px; color:#625d67; font-size:.66rem; font-weight:720; line-height:1.25; }
.owner-cosmetic-item .button { min-height:35px; padding:7px 9px; box-shadow:2px 2px 0 var(--line); font-size:.62rem; }
.owner-cosmetic-empty { margin:0; padding:16px; border:2px dashed #938d98; border-radius:13px; color:#68626d; background:#f4f0f6; font-size:.82rem; font-weight:760; line-height:1.4; }

@media (max-width:760px) {
  .owner-cosmetic-layout { grid-template-columns:1fr; }
  .owner-cosmetics-head { align-items:flex-start; flex-direction:column; }
  .owner-cosmetic-fields { grid-template-columns:1fr; }
  .owner-cosmetic-fields .wide { grid-column:auto; }
  .profile-result--fx-sparkle .profile-card::after,.profile-result--fx-confetti .profile-card::after,.profile-result--fx-bolts .profile-card::after,.profile-result--fx-stars .profile-card::after { top:98px; right:13px; font-size:.65rem; letter-spacing:4px; }
}

/* v1.3 Custom Season Cosmetics — owner-picked colours and uploaded artwork.
   No palette, pattern or effect presets are applied to new drops. */
.profile-result--custom::before {
  background:linear-gradient(135deg,var(--cos-a) 0 48%,var(--cos-b) 48% 72%,var(--cos-c) 72% 100%);
}
.profile-banner-art {
  position:absolute;
  z-index:0;
  top:0;
  left:0;
  width:100%;
  height:112px;
  object-fit:cover;
  object-position:center;
  border-bottom:3px solid var(--line);
}
.profile-result--custom .profile-banner-art { opacity:.96; }
.profile-card--custom { box-shadow:inset 0 5px 0 var(--cos-a); }
.profile-avatar--has-art { overflow:visible; border-color:var(--cos-a); background:transparent; }
.profile-avatar-photo {
  position:relative;
  z-index:1;
  display:grid;
  width:100%;
  height:100%;
  place-items:center;
  overflow:hidden;
  border-radius:50%;
  background:var(--paper);
}
.profile-avatar-photo img { width:100%; height:100%; object-fit:cover; }
.profile-avatar-art {
  position:absolute;
  z-index:2;
  left:50%;
  top:50%;
  width:142%;
  height:142%;
  max-width:none;
  pointer-events:none;
  object-fit:contain;
  transform:translate(-50%,-50%);
}
.profile-fx-art {
  position:absolute;
  z-index:4;
  top:118px;
  right:16px;
  width:min(32%,130px);
  max-height:105px;
  pointer-events:none;
  object-fit:contain;
  object-position:top right;
}
.profile-name-badge--art { padding:0; overflow:hidden; background:var(--paper); }
.profile-name-badge--art img { width:100%; height:100%; object-fit:contain; }
.profile-result--custom .profile-meta { color:color-mix(in srgb,var(--cos-a) 62%,#ffffff); }
.profile-result--custom .profile-stat strong { color:var(--cos-a); }

.owner-cosmetic-art-thumb { width:100%; height:100%; object-fit:cover; }
.custom-colour-field > span { display:grid; grid-template-columns:45px minmax(0,1fr); gap:8px; align-items:center; margin-top:6px; }
.custom-colour-field input[type="color"] { width:45px; min-width:45px; height:42px; padding:3px; border:3px solid var(--line); border-radius:11px; background:#fff; cursor:pointer; }
.custom-colour-field input[type="text"] { min-width:0; }
.owner-cosmetic-form label small { display:block; margin-top:5px; color:#69626d; font-size:.66rem; font-weight:750; line-height:1.25; }
.owner-cosmetic-preview {
  position:relative;
  isolation:isolate;
  overflow:hidden;
  min-height:142px;
  display:flex;
  align-items:flex-end;
  padding:16px;
  border:3px solid var(--line);
  border-radius:16px;
  color:var(--preview-text,#24232a);
  background:linear-gradient(135deg,var(--preview-primary,#ffe34f) 0 48%,var(--preview-secondary,#fff8dc) 48% 72%,var(--preview-accent,#4fbe7f) 72% 100%);
  box-shadow:3px 3px 0 var(--line);
}
.owner-cosmetic-preview::after { content:""; position:absolute; inset:0; z-index:-1; background:linear-gradient(135deg,rgba(255,255,255,.3),transparent 60%); }
.owner-cosmetic-preview-art { position:absolute; inset:0; z-index:-1; width:100%; height:100%; object-fit:cover; opacity:.97; }
.owner-cosmetic-preview-content { display:grid; gap:5px; max-width:80%; padding:11px 12px; border:2px solid var(--line); border-radius:12px; background:rgba(255,253,244,.92); box-shadow:3px 3px 0 var(--line); }
.owner-cosmetic-preview-content span { font-size:.62rem; font-weight:950; letter-spacing:.09em; }
.owner-cosmetic-preview-content b { font-family:var(--font-display); font-size:1.25rem; line-height:.9; letter-spacing:-.05em; overflow-wrap:anywhere; }
.owner-cosmetic-preview-content small { color:#5b5561; font-size:.67rem; font-weight:800; }
.owner-cosmetic-preview[data-type="frame"] .owner-cosmetic-preview-art,
.owner-cosmetic-preview[data-type="badge"] .owner-cosmetic-preview-art,
.owner-cosmetic-preview[data-type="fx"] .owner-cosmetic-preview-art { object-fit:contain; padding:9px; }

@media (max-width:540px) {
  .profile-banner-art { height:96px; }
  .profile-fx-art { top:98px; right:10px; width:31%; max-height:78px; }
  .custom-colour-field > span { grid-template-columns:42px minmax(0,1fr); }
}


/* Roadmap v1.4 */
.roadmap-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
  width:100%;
  min-width:0;
  margin-top:18px;
  position:relative;
  z-index:2;
}
.roadmap-mini,.roadmap-quests{
  min-width:0;
  overflow:hidden;
  border:2px solid var(--line);
  border-radius:16px;
  padding:14px;
  background:var(--paper);
  color:var(--ink);
  box-shadow:3px 3px 0 var(--line);
}
.roadmap-mini span,.roadmap-quests>span{
  display:block;
  margin-bottom:8px;
  font-size:.7rem;
  font-weight:950;
  line-height:1.25;
  letter-spacing:.08em;
}
.roadmap-mini strong{
  display:block;
  overflow-wrap:anywhere;
  font-family:var(--font-display);
  font-size:clamp(1rem,2vw,1.2rem);
  line-height:1.1;
}
.roadmap-mini small{
  display:block;
  margin-top:5px;
  overflow-wrap:anywhere;
  color:#65616c;
  font-weight:800;
  line-height:1.35;
}
.roadmap-quests{
  grid-column:span 2;
}
.roadmap-quests p{
  margin:7px 0;
  overflow-wrap:anywhere;
  font-size:.86rem;
  font-weight:700;
  line-height:1.4;
}
.club-roadmap-grid{
  grid-area:roadmap;
  grid-template-columns:repeat(2,minmax(220px,1fr));
  align-items:start;
  width:100%;
  min-width:0;
  margin-top:12px;
}
.club-roadmap-grid .roadmap-quests:nth-of-type(3){
  grid-column:1 / -1;
}
.club-roadmap-grid .roadmap-quests:nth-of-type(4),
.club-roadmap-grid .roadmap-quests:nth-of-type(5){
  grid-column:auto;
}
.owner-roadmap-card{margin-top:24px;padding:clamp(20px,4vw,34px);border:3px solid var(--line);border-radius:var(--radius);background:var(--paper);color:var(--ink);box-shadow:var(--shadow)}
.owner-card-head{display:flex;justify-content:space-between;gap:20px;align-items:flex-start}
.owner-stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:20px 0}
.owner-stat-grid span{padding:14px;border:2px solid var(--line);border-radius:14px;background:var(--yellow);box-shadow:3px 3px 0 var(--line)}
.owner-stat-grid b,.owner-stat-grid small{display:block}
.owner-stat-grid b{font-family:var(--font-display);font-size:1.45rem}
.owner-stat-grid small{font-weight:900;text-transform:uppercase;font-size:.68rem}
.owner-toggle-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:18px}
.owner-toggle{display:flex;align-items:center;gap:10px;padding:12px;border:2px solid var(--line);border-radius:12px;background:var(--paper-warm);font-weight:900}
.owner-toggle input{width:20px;height:20px}
.owner-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.owner-form-grid label{display:grid;gap:6px;font-weight:900}
.owner-form-grid input{min-height:44px;border:2px solid var(--line);border-radius:10px;padding:9px;background:white;font:inherit}
.owner-form-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:18px}
@media(max-width:700px){
  .roadmap-grid,.owner-stat-grid,.owner-toggle-grid,.owner-form-grid{grid-template-columns:1fr}
  .roadmap-quests,.club-roadmap-grid .roadmap-quests:nth-of-type(3),.club-roadmap-grid .roadmap-quests:nth-of-type(4),.club-roadmap-grid .roadmap-quests:nth-of-type(5){grid-column:1}
  .club-roadmap-grid{grid-template-columns:1fr}
  .owner-card-head{display:block}
}


/* Club profile layout hotfix v1.4.1 */
.server-page .club-profile-card{
  width:100%;
  min-width:0;
  overflow:hidden;
}
.server-page .club-profile-card > *{
  min-width:0;
}
.server-page .club-profile-card .club-roadmap-grid{
  justify-self:stretch;
  align-self:start;
}
@media (max-width:540px){
  .server-page .club-profile-card{
    grid-template-columns:64px minmax(0,1fr);
    gap:12px;
  }
  .server-page .club-profile-card .profile-avatar{
    width:64px;
    height:64px;
  }
  .server-page .club-profile-card .club-roadmap-grid{
    margin-top:6px;
  }
}


/* Numsy Club rank icons + full rank ladder v1.4.2 */
.rank-icon{
  display:block;
  flex:0 0 auto;
  object-fit:contain;
  filter:drop-shadow(2px 3px 0 rgba(36,35,42,.22));
}
.rank-icon-small{width:28px;height:32px}
.rank-icon-medium{width:36px;height:42px}
.rank-icon-large{width:92px;height:106px}
.rank-icon-inline{display:inline-block;width:28px;height:32px;vertical-align:middle;margin-right:5px}

.league-tag-with-icon{
  display:inline-flex;
  align-items:center;
  gap:7px;
  padding:5px 9px 5px 6px;
}
.league-profile-badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:5px 11px 5px 7px;
}

.rank-showcase-shell{
  margin-bottom:28px;
  padding:clamp(20px,4vw,34px);
  border:3px solid var(--line);
  border-radius:28px;
  color:var(--ink);
  background:var(--paper-warm);
  box-shadow:7px 7px 0 var(--line);
}
.rank-showcase-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:24px;
  margin-bottom:22px;
}
.rank-showcase-head h3{
  margin:0;
  font-family:var(--font-display);
  font-size:clamp(1.8rem,4vw,3rem);
  line-height:.95;
  letter-spacing:-.06em;
}
.rank-showcase-head>p{
  max-width:430px;
  margin:0;
  color:#57535e;
  font-weight:720;
  line-height:1.5;
}
.rank-showcase{
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:12px;
}
.rank-card{
  position:relative;
  min-width:0;
  overflow:hidden;
  padding:15px 13px 16px;
  border:2px solid var(--line);
  border-radius:18px;
  background:var(--paper);
  box-shadow:4px 4px 0 var(--line);
}
.rank-card::after{
  position:absolute;
  right:-17px;
  bottom:-28px;
  width:76px;
  height:76px;
  content:"";
  border:2px solid var(--line);
  border-radius:50%;
  opacity:.16;
}
.rank-card-bronze{background:#F3D2B5}
.rank-card-silver{background:#E8EBF0}
.rank-card-gold{background:#FFF2A3}
.rank-card-diamond{background:#D6F5FA}
.rank-card-numsy-elite{background:#E6DEFF}
.rank-icon-wrap{
  display:grid;
  min-height:116px;
  place-items:center;
  margin-bottom:8px;
}
.rank-card-copy{position:relative;z-index:1}
.rank-order{
  display:block;
  margin-bottom:5px;
  color:#6A6570;
  font-size:.65rem;
  font-weight:950;
  letter-spacing:.09em;
}
.rank-card h4{
  margin:0 0 5px;
  overflow-wrap:anywhere;
  font-family:var(--font-display);
  font-size:1.25rem;
  line-height:1;
  letter-spacing:-.045em;
}
.rank-card strong{
  display:block;
  margin-bottom:9px;
  font-size:.78rem;
}
.rank-card p{
  margin:0;
  color:#56515B;
  font-size:.76rem;
  font-weight:680;
  line-height:1.4;
}
.rank-progress-card strong{
  display:flex;
  align-items:center;
  gap:4px;
}

@media(max-width:960px){
  .rank-showcase{grid-template-columns:repeat(3,minmax(0,1fr))}
  .rank-card-numsy-elite{grid-column:span 2}
}
@media(max-width:700px){
  .rank-showcase-head{align-items:flex-start;flex-direction:column}
  .rank-showcase{grid-template-columns:repeat(2,minmax(0,1fr))}
  .rank-card-numsy-elite{grid-column:auto}
}
@media(max-width:430px){
  .rank-showcase{grid-template-columns:1fr}
  .rank-card{display:grid;grid-template-columns:82px minmax(0,1fr);gap:12px;align-items:center}
  .rank-icon-wrap{min-height:0;margin:0}
  .rank-icon-large{width:72px;height:84px}
}


/* Growth, referrals and Partner Program v1.5 */
.partner-program-shell{
  display:grid;
  grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);
  gap:20px;
  padding:clamp(20px,4vw,34px);
  border:3px solid var(--line);
  border-radius:28px;
  color:var(--ink);
  background:var(--yellow);
  box-shadow:8px 8px 0 var(--line);
}
.partner-program-copy h3{
  max-width:520px;
  margin:0 0 12px;
  font-family:var(--font-display);
  font-size:clamp(1.8rem,4vw,3rem);
  line-height:.95;
  letter-spacing:-.06em;
}
.partner-program-copy>p:not(.section-label){
  color:#514b3d;
  font-weight:720;
  line-height:1.55;
}
.partner-program-actions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:18px;
}
.button-static{
  cursor:default;
  user-select:text;
}
.partner-list{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
}
.partner-card,.partner-empty{
  min-width:0;
  padding:16px;
  border:2px solid var(--line);
  border-radius:17px;
  background:var(--paper);
  box-shadow:4px 4px 0 var(--line);
}
.partner-card h4{
  margin:10px 0 8px;
  font-family:var(--font-display);
  font-size:1.25rem;
  line-height:1;
}
.partner-card p{
  color:#56515b;
  font-size:.87rem;
  font-weight:680;
  line-height:1.45;
}
.partner-card a{
  font-weight:950;
  text-decoration:underline;
}
.partner-badge{
  display:inline-flex;
  padding:6px 9px;
  border:2px solid var(--line);
  border-radius:999px;
  background:#e6deff;
  box-shadow:2px 2px 0 var(--line);
  font-size:.72rem;
  font-weight:950;
}
.owner-partner-card{
  margin-top:24px;
  padding:clamp(20px,4vw,34px);
  border:3px solid var(--line);
  border-radius:var(--radius);
  background:var(--paper);
  color:var(--ink);
  box-shadow:var(--shadow);
}
.owner-partner-columns{
  display:grid;
  grid-template-columns:minmax(0,1.15fr) minmax(280px,.85fr);
  gap:20px;
  margin-top:20px;
}
.owner-application-list,.owner-approved-list{
  display:grid;
  gap:12px;
}
.owner-application,.owner-approved-partner{
  padding:16px;
  border:2px solid var(--line);
  border-radius:16px;
  background:var(--paper-warm);
  box-shadow:3px 3px 0 var(--line);
}
.owner-application h4,.owner-approved-partner h4{
  margin:5px 0 7px;
  font-family:var(--font-display);
  font-size:1.2rem;
}
.owner-application p{
  margin:9px 0;
  color:#56515b;
  font-weight:680;
}
.owner-application label{
  display:grid;
  gap:6px;
  margin-top:10px;
  font-weight:900;
}
.owner-application input,.owner-application textarea{
  width:100%;
  min-height:42px;
  padding:9px;
  border:2px solid var(--line);
  border-radius:10px;
  background:white;
  font:inherit;
}
.owner-application textarea{min-height:80px;resize:vertical}
.owner-application-user{
  color:#6b6671;
  font-size:.74rem;
  font-weight:950;
  letter-spacing:.06em;
  text-transform:uppercase;
}
.owner-empty{color:#67626d;font-weight:800}

@media(max-width:820px){
  .partner-program-shell,.owner-partner-columns{grid-template-columns:1fr}
}
@media(max-width:560px){
  .partner-list{grid-template-columns:1fr}
}
