/* Website Editor — public site styles (WEBSITE-EDITOR-1010). Everything is scoped to .ws so the standard home page's own
   CSS (which styles bare header/section/h1/a elements) can never leak in, and the same file works in the Admin preview.
   Colours come from CSS variables set by website.js (schema.palette). */
html.ws-on body > *:not(#ws-root):not(script):not(style):not(link) { display: none !important; }
html.ws-on body { margin: 0; padding: 0; overflow-x: hidden; }
#ws-root:empty { display: none; }

.ws { --ws-radius: 18px; --ws-radius-sm: 12px; --ws-btn-radius: 12px; --ws-max: 1180px;
      background: var(--ws-bg); color: var(--ws-text); font-family: var(--ws-body-font); font-size: 16px; line-height: 1.6;
      -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; min-height: 100vh; overflow-x: hidden; }
.ws[data-corners="soft"] { --ws-radius: 10px; --ws-radius-sm: 8px; }
.ws[data-corners="square"] { --ws-radius: 2px; --ws-radius-sm: 2px; }
.ws[data-buttons="pill"] { --ws-btn-radius: 999px; }
.ws[data-buttons="square"] { --ws-btn-radius: 3px; }
.ws *, .ws *::before, .ws *::after { box-sizing: border-box; }
/* Resets against the standard page's bare-element styles (header{sticky…}, section{padding…}, h1{…}, a{…}).
   :where() gives them ZERO extra specificity: they still beat the old page's element selectors (0,1,0 > 0,0,1), and every
   component rule below (one class, written later) still wins over them. */
.ws :where(header, footer, section, nav) { position: static; backdrop-filter: none; -webkit-backdrop-filter: none; background: none; border: 0; padding: 0; margin: 0; color: inherit; height: auto; }
.ws :where(h1, h2, h3, h4, p, ul, figure) { margin: 0; padding: 0; letter-spacing: normal; background: none; -webkit-background-clip: border-box; background-clip: border-box; color: inherit; }
.ws :where(h1, h2, h3, h4) { font-family: var(--ws-head-font); font-weight: 700; line-height: 1.15; }
.ws :where(a) { color: inherit; text-decoration: none; }
.ws :where(img) { max-width: 100%; display: block; }
.ws :focus-visible { outline: 3px solid rgba(var(--ws-accent-rgb), .55); outline-offset: 2px; border-radius: 6px; }

.ws-wrap { max-width: var(--ws-max); margin: 0 auto; padding: 0 24px; }
.ws-sec { padding: 92px 0; position: relative; scroll-margin-top: 80px; }
.ws-sec.ws-alt { background: var(--ws-bg2); }
.ws-head { text-align: center; margin: 0 auto 52px; max-width: 760px; }
.ws-head h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); letter-spacing: -.02em; margin-bottom: 12px; }
.ws-head p { color: var(--ws-muted); font-size: 1.05rem; }

/* buttons */
.ws-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid transparent; cursor: pointer;
          font: 600 .95rem/1 var(--ws-body-font); padding: 13px 26px; border-radius: var(--ws-btn-radius); transition: transform .15s, background .2s, border-color .2s, box-shadow .2s; white-space: nowrap; }
.ws-btn:hover { transform: translateY(-1px); }
.ws-btn-primary { background: var(--ws-accent); color: var(--ws-on-accent); box-shadow: 0 10px 30px rgba(var(--ws-accent-rgb), .28); }
.ws-btn-primary:hover { background: var(--ws-accent-hover); }
.ws-btn-ghost { background: transparent; color: var(--ws-text); border-color: var(--ws-line); }
.ws-btn-ghost:hover { border-color: var(--ws-accent); }
.ws-btn-lg { padding: 16px 34px; font-size: 1.02rem; }
.ws-btn-block { width: 100%; }

/* header */
.ws .ws-header { position: relative; z-index: 50; background: color-mix(in srgb, var(--ws-bg) 86%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--ws-line); }
.ws .ws-header.ws-sticky { position: sticky; top: 0; }
.ws-nav { display: flex; align-items: center; gap: 26px; height: 72px; }
.ws-brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--ws-head-font); font-weight: 700; font-size: 1.1rem; flex-shrink: 0; }
.ws-brand img { height: 36px; width: auto; }
.ws-links { display: flex; gap: 24px; }
.ws-links a { font-size: .93rem; font-weight: 500; color: var(--ws-muted); transition: color .2s; }
.ws-links a:hover { color: var(--ws-text); }
.ws-sp { flex: 1; }
.ws-nav-actions { display: flex; align-items: center; gap: 10px; }
.ws-iconbtn { width: 40px; height: 40px; display: inline-grid; place-items: center; border-radius: 10px; border: 1px solid var(--ws-line); background: transparent; color: var(--ws-muted); cursor: pointer; }
.ws-iconbtn:hover { color: var(--ws-text); border-color: var(--ws-accent); }
.ws-burger { display: none; }
.ws-mobile-menu { display: none; border-top: 1px solid var(--ws-line); padding: 12px 24px 20px; }
.ws-mobile-menu a { display: block; padding: 12px 0; font-weight: 500; border-bottom: 1px solid var(--ws-line); }
.ws-mobile-menu .ws-btn, .ws-mobile-menu a.ws-btn { margin-top: 14px; width: 100%; display: flex; justify-content: center; padding: 13px 26px; border-bottom: 1px solid transparent; }
.ws-mobile-menu a.ws-btn-ghost { border: 1px solid var(--ws-line); }
.ws-header.ws-open .ws-mobile-menu { display: block; }

/* hero */
.ws-hero { position: relative; padding: 110px 0 92px; overflow: hidden; }
.ws-hero.ws-tall { padding: 160px 0 140px; }
.ws-hero.ws-compact { padding: 70px 0 60px; }
.ws-hero::before { content: ''; position: absolute; inset: 0; pointer-events: none;
                   background: radial-gradient(ellipse 70% 60% at 50% 0%, rgba(var(--ws-accent-rgb), .20), transparent 70%); }
.ws-hero.ws-has-img::before { background: linear-gradient(180deg, color-mix(in srgb, var(--ws-bg) 55%, transparent), color-mix(in srgb, var(--ws-bg) 88%, transparent)); z-index: 1; }
.ws-hero-img { position: absolute; inset: 0; background-size: cover; background-position: center; }
.ws-hero .ws-wrap { position: relative; z-index: 2; }
.ws-hero.ws-center { text-align: center; }
.ws-badge { display: inline-flex; align-items: center; gap: 9px; padding: 8px 18px; border-radius: 999px; border: 1px solid var(--ws-line);
            background: var(--ws-surface); font-size: .84rem; font-weight: 500; color: var(--ws-muted); margin-bottom: 28px; }
.ws-dot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 12px #22c55e; }
.ws .ws-hero-title { font-size: clamp(2.4rem, 6vw, 4.3rem); line-height: 1.04; letter-spacing: -.035em; font-weight: 700; margin: 0 0 22px; }
.ws-grad { background: linear-gradient(120deg, var(--ws-accent), var(--ws-accent2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ws-hero-sub { font-size: 1.15rem; color: var(--ws-muted); max-width: 660px; margin: 0 0 36px; line-height: 1.65; }
.ws-hero.ws-center .ws-hero-sub { margin-left: auto; margin-right: auto; }
.ws-cta-row { display: flex; gap: 14px; flex-wrap: wrap; }
.ws-hero.ws-center .ws-cta-row { justify-content: center; }
.ws-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 22px; margin-top: 72px; }
.ws-stat { text-align: center; }
.ws-stat-n { font-family: var(--ws-head-font); font-size: 2.5rem; font-weight: 600; letter-spacing: -.03em; }
.ws-stat-l { font-size: .86rem; color: var(--ws-dim); margin-top: 2px; }
.ws-hero:not(.ws-center) .ws-stat { text-align: left; }

/* cards (shared) */
.ws-card { background: var(--ws-surface); border: 1px solid var(--ws-line); border-radius: var(--ws-radius); }
.ws-grid { display: grid; gap: 22px; grid-template-columns: repeat(3, 1fr); }
.ws-grid.ws-c2 { grid-template-columns: repeat(2, 1fr); }
.ws-grid.ws-c4 { grid-template-columns: repeat(4, 1fr); }
.ws-ic { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; margin-bottom: 18px; background: rgba(var(--ws-accent-rgb), .13); color: var(--ws-accent); }
.ws-feat { padding: 30px 28px; }
.ws-feat h3 { font-size: 1.07rem; margin-bottom: 8px; }
.ws-feat p { color: var(--ws-muted); font-size: .94rem; line-height: 1.65; }

/* plans */
.ws-plan-tabs { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; margin: -24px 0 34px; }
.ws-tab { border: 1px solid var(--ws-line); background: var(--ws-surface); color: var(--ws-muted); padding: 9px 18px; border-radius: 999px; font: 600 .88rem var(--ws-body-font); cursor: pointer; }
.ws-tab[aria-pressed="true"] { background: var(--ws-accent); color: var(--ws-on-accent); border-color: var(--ws-accent); }
.ws-line + .ws-line { margin-top: 54px; }
.ws-line-head { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }
.ws-line-head h3 { font-size: 1.35rem; }
.ws-line-head span { color: var(--ws-muted); font-size: .92rem; }
.ws-plans { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.ws-plan { position: relative; display: flex; flex-direction: column; overflow: hidden; transition: transform .2s, border-color .2s, box-shadow .2s; }
.ws-plan:hover { transform: translateY(-4px); border-color: rgba(var(--ws-accent-rgb), .5); box-shadow: 0 18px 44px rgba(var(--ws-accent-rgb), .16); }
.ws-plan.ws-pop { border-color: rgba(var(--ws-accent-rgb), .65); box-shadow: 0 0 0 1px rgba(var(--ws-accent-rgb), .35), 0 18px 44px rgba(var(--ws-accent-rgb), .14); }
.ws-plan-top { height: 84px; padding: 14px 22px; display: flex; align-items: flex-end; background: linear-gradient(135deg, var(--ws-accent), var(--ws-accent2)); position: relative; }
.ws-chip { font-size: .66rem; letter-spacing: .11em; text-transform: uppercase; font-weight: 700; color: #fff; background: rgba(255,255,255,.2); padding: 5px 11px; border-radius: 999px;
           white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.ws-tag { position: absolute; top: 14px; right: 14px; z-index: 2; background: #fff; color: #0f172a; font-size: .64rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; padding: 5px 11px; border-radius: 999px; }
.ws-plan-body { padding: 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.ws-plan-name { font-size: 1.12rem; font-weight: 700; font-family: var(--ws-head-font); }
.ws-plan-desc { color: var(--ws-muted); font-size: .9rem; line-height: 1.55; }
.ws-price { font-family: var(--ws-head-font); font-size: 2rem; font-weight: 700; letter-spacing: -.03em; }
.ws-price small { font-size: .8rem; color: var(--ws-dim); font-weight: 500; letter-spacing: 0; margin-left: 4px; }
.ws-permo { font-size: .82rem; color: var(--ws-dim); margin-top: -6px; }
.ws-bullets { list-style: none; display: flex; flex-direction: column; gap: 8px; margin: 4px 0 6px; flex: 1; }
.ws-bullets li { display: flex; gap: 9px; align-items: flex-start; font-size: .9rem; color: var(--ws-muted); }
.ws-bullets svg { flex-shrink: 0; color: var(--ws-accent); margin-top: 3px; }
.ws-plan .ws-btn { margin-top: auto; }
.ws-trial { margin-top: 34px; display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; padding: 22px 26px; }
.ws-trial b { font-family: var(--ws-head-font); font-size: 1.08rem; }
.ws-trial span { color: var(--ws-muted); font-size: .92rem; }
.ws-empty { text-align: center; color: var(--ws-dim); padding: 30px; }

/* steps / stats / devices */
.ws-steps { counter-reset: ws-step; }
.ws-step { padding: 28px; }
.ws-step-n { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; background: var(--ws-accent); color: var(--ws-on-accent); margin-bottom: 16px; }
.ws-step h3 { font-size: 1.05rem; margin-bottom: 6px; }
.ws-step p { color: var(--ws-muted); font-size: .93rem; }
.ws-stats-band { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 20px; padding: 34px; }
.ws-devices { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.ws-device { display: inline-flex; align-items: center; gap: 10px; padding: 14px 20px; font-weight: 600; }
.ws-device svg { color: var(--ws-accent); }
.ws-note { text-align: center; color: var(--ws-dim); font-size: .9rem; margin-top: 22px; }

/* picture + text */
.ws-split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.ws-split.ws-right .ws-split-img { order: 2; }
.ws-split-img img { width: 100%; border-radius: var(--ws-radius); border: 1px solid var(--ws-line); }
.ws-split-ph { aspect-ratio: 4/3; border-radius: var(--ws-radius); border: 1px dashed var(--ws-line); display: grid; place-items: center; color: var(--ws-dim); background: var(--ws-surface); }
.ws-split h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); margin-bottom: 16px; letter-spacing: -.02em; }
.ws-split .ws-md { color: var(--ws-muted); margin-bottom: 26px; }

/* reviews */
.ws-reviews { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px; }
.ws-review { padding: 26px; display: flex; flex-direction: column; gap: 12px; flex: 1 1 300px; max-width: 380px; }
.ws-stars { color: #f59e0b; letter-spacing: 2px; font-size: 1.05rem; }
.ws-review p { color: var(--ws-text); font-size: .97rem; line-height: 1.65; flex: 1; }
.ws-who { color: var(--ws-dim); font-size: .88rem; }
.ws-who b { color: var(--ws-text); font-weight: 600; }

/* faq */
.ws-faq { max-width: 820px; margin: 0 auto; }
.ws-q { margin-bottom: 12px; overflow: hidden; }
.ws-q summary { padding: 20px 24px; cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.ws-q summary::-webkit-details-marker { display: none; }
.ws-q summary::after { content: '+'; font-size: 1.4rem; color: var(--ws-accent); font-weight: 300; flex-shrink: 0; }
.ws-q[open] summary::after { content: '\2212'; }
.ws-q .ws-md { padding: 0 24px 22px; color: var(--ws-muted); font-size: .95rem; }

/* call to action */
.ws-ctabox { text-align: center; padding: 74px 30px; position: relative; overflow: hidden; }
.ws-ctabox::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 60% 100% at 50% 100%, rgba(var(--ws-accent-rgb), .22), transparent 70%); }
.ws-ctabox > * { position: relative; }
.ws-ctabox h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); margin-bottom: 14px; letter-spacing: -.02em; }
.ws-ctabox p { color: var(--ws-muted); font-size: 1.05rem; margin-bottom: 28px; }

/* text */
.ws-md p + p, .ws-md p + ul, .ws-md ul + p { margin-top: 14px; }
.ws-md ul { padding-left: 22px; }
.ws-md li + li { margin-top: 6px; }
.ws-md a { color: var(--ws-accent); text-decoration: underline; text-underline-offset: 3px; }
.ws-text { max-width: 820px; margin: 0 auto; font-size: 1.04rem; color: var(--ws-muted); }
.ws-text.ws-center { text-align: center; }
.ws-text h2 { color: var(--ws-text); font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 18px; }

/* contact */
.ws-contact { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; max-width: 980px; margin: 0 auto; }
.ws-contact-item { padding: 22px; display: flex; gap: 14px; align-items: center; transition: border-color .2s; }
a.ws-contact-item:hover { border-color: var(--ws-accent); }
.ws-contact-item .ws-ic { margin: 0; flex-shrink: 0; }
.ws-contact-item small { display: block; color: var(--ws-dim); font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; font-weight: 700; }
.ws-contact-item span { font-weight: 600; word-break: break-word; }
.ws-center-row { text-align: center; margin-top: 28px; }

/* video */
.ws-video { max-width: 960px; margin: 0 auto; }
.ws-video-frame { position: relative; aspect-ratio: 16/9; border-radius: var(--ws-radius); overflow: hidden; border: 1px solid var(--ws-line); background: #000; }
.ws-video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.ws-caption { text-align: center; color: var(--ws-dim); font-size: .9rem; margin-top: 12px; }

/* footer */
.ws .ws-footer { border-top: 1px solid var(--ws-line); padding: 40px 0; color: var(--ws-dim); font-size: .9rem; }
.ws-foot { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.ws-foot-links { display: flex; gap: 18px; flex-wrap: wrap; }
.ws-foot a:hover { color: var(--ws-text); }
.ws-social { display: flex; gap: 10px; }
.ws-social a { width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--ws-line); display: grid; place-items: center; color: var(--ws-muted); }
.ws-social a:hover { color: var(--ws-text); border-color: var(--ws-accent); }
.ws-foot-text { margin-top: 6px; }

/* editor preview helpers */
.ws.ws-preview [data-ws-id] { cursor: pointer; }
.ws.ws-preview [data-ws-id]:hover { outline: 2px dashed rgba(var(--ws-accent-rgb), .55); outline-offset: -2px; }
.ws.ws-preview [data-ws-id].ws-selected { outline: 3px solid var(--ws-accent); outline-offset: -3px; }
.ws-toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: #111827; color: #fff; padding: 10px 18px; border-radius: 10px; font-size: .9rem; z-index: 9999; box-shadow: 0 10px 30px rgba(0,0,0,.3); }

/* ── v2 (SITE-BUILDER-2-1010) ───────────────────────────────────────────────────────────────────────── */
/* header layouts */
.ws-h-centered .ws-nav-top { height: 70px; gap: 14px; display: flex; align-items: center; }
.ws-h-centered .ws-nav-top .ws-brand { justify-content: center; }
.ws-h-centered .ws-nav-right { flex: 1; display: flex; justify-content: flex-end; align-items: center; gap: 10px; }
.ws-h-centered .ws-nav-top > .ws-sp:first-child { flex: 1; }
.ws-h-centered .ws-nav-top > .ws-sp:nth-child(3) { display: none; }
.ws-h-centered .ws-nav-row2 { display: flex; justify-content: center; padding-bottom: 14px; }
.ws-h-minimal .ws-burger { display: inline-grid; }
.ws-h-minimal .ws-nav-actions .ws-btn:not(.ws-hide-sm) { padding: 10px 18px; }
.ws-lang { font: 700 .78rem var(--ws-body-font); letter-spacing: .04em; width: auto !important; padding: 0 10px; }
.ws-mobile-row { display: flex; gap: 10px; margin-top: 14px; }
.ws-mobile-row .ws-btn { flex: 1; margin-top: 0 !important; }
/* trial offer + plan small print */
.ws-plans-center { max-width: 760px; margin: 0 auto; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); justify-content: center; }
.ws-plan-note { font-size: .78rem; color: var(--ws-dim); text-align: center; }
/* apps */
.ws-app { padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.ws-app-top { display: flex; gap: 14px; align-items: center; }
.ws-app-top .ws-ic { margin-bottom: 0; flex-shrink: 0; }
.ws-app h3 { font-size: 1.12rem; }
.ws-app-dev { color: var(--ws-muted); font-size: .86rem; margin-top: 2px; }
.ws-app p { color: var(--ws-muted); font-size: .92rem; line-height: 1.6; margin: 0; }
.ws-app .ws-chip { align-self: flex-start; color: var(--ws-accent); background: rgba(var(--ws-accent-rgb), .12); }
.ws-app-row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-top: auto; }
.ws-code { display: flex; flex-direction: column; padding: 8px 14px; border: 1px dashed var(--ws-line); border-radius: 10px; line-height: 1.25; }
.ws-code small { font-size: .7rem; color: var(--ws-dim); text-transform: uppercase; letter-spacing: .08em; }
.ws-code b { font-family: var(--ws-head-font); font-size: 1.2rem; letter-spacing: .04em; }
/* news */
.ws-news { max-width: 820px; }
.ws-post { overflow: hidden; margin-bottom: 18px; }
.ws-post-img { width: 100%; max-height: 340px; object-fit: cover; display: block; }
.ws-post-b { padding: 22px 24px; }
.ws-post-date { font-size: .8rem; color: var(--ws-dim); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 6px; }
.ws-post h3 { font-size: 1.25rem; margin-bottom: 8px; }
.ws-post-text { color: var(--ws-muted); }
.ws-clamp { max-height: 9.5em; overflow: hidden; -webkit-mask-image: linear-gradient(#000 60%, transparent); mask-image: linear-gradient(#000 60%, transparent); }
.ws-more { background: none; border: 0; color: var(--ws-accent); font: 600 .9rem var(--ws-body-font); cursor: pointer; padding: 6px 0 0; }
.ws-post .ws-btn { margin-top: 14px; }
/* sports today */
.ws-games { max-width: 820px; margin: 0 auto; padding: 6px 0; }
.ws-game { display: grid; grid-template-columns: 110px 1fr; gap: 16px; align-items: center; padding: 14px 22px; border-bottom: 1px solid var(--ws-line); }
.ws-game:last-child { border-bottom: 0; }
.ws-game-time { font-weight: 700; font-size: .9rem; color: var(--ws-muted); white-space: nowrap; }
.ws-game-m b { display: block; font-weight: 600; line-height: 1.35; }
.ws-game-m small { color: var(--ws-dim); font-size: .82rem; }
.ws-live { display: inline-flex; align-items: center; gap: 6px; background: #dc2626; color: #fff; font-size: .7rem; font-weight: 800; letter-spacing: .08em; padding: 4px 9px; border-radius: 999px; }
.ws-live::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #fff; animation: ws-pulse 1.4s infinite; }
@keyframes ws-pulse { 50% { opacity: .3; } }
/* what's included */
.ws-chan { max-width: 900px; }
.ws-search { display: flex; align-items: center; gap: 10px; max-width: 560px; margin: 0 auto 14px; padding: 0 16px; border: 1px solid var(--ws-line); border-radius: 999px; background: var(--ws-surface); color: var(--ws-dim); }
.ws-search input { flex: 1; min-width: 0; border: 0; background: transparent; color: var(--ws-text); font: 1rem var(--ws-body-font); padding: 14px 0; outline: none; }
.ws-search:focus-within { border-color: var(--ws-accent); box-shadow: 0 0 0 3px rgba(var(--ws-accent-rgb), .18); }
.ws-chan-sum { text-align: center; color: var(--ws-dim); font-size: .88rem; margin-bottom: 18px; min-height: 1em; }
.ws-chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 18px; }
.ws-chip.ws-chip-lg { font-size: .8rem; letter-spacing: .02em; text-transform: none; color: var(--ws-text); background: rgba(var(--ws-accent-rgb), .12); padding: 7px 14px; }
.ws-chan-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 8px; }
.ws-chan-row { display: flex; justify-content: space-between; gap: 10px; padding: 10px 14px; border: 1px solid var(--ws-line); border-radius: 10px; background: var(--ws-surface); font-size: .9rem; }
.ws-chan-row small { color: var(--ws-dim); white-space: nowrap; }
.ws-chan-grid .ws-empty { grid-column: 1 / -1; }
/* setup guides */
.ws-guides { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.ws-guide { padding: 22px; display: flex; flex-direction: column; gap: 6px; transition: border-color .2s, transform .2s; }
.ws-guide:hover { border-color: var(--ws-accent); transform: translateY(-2px); }
.ws-guide h3 { font-size: 1.02rem; line-height: 1.4; }
.ws-guide-go { color: var(--ws-accent); font-weight: 600; font-size: .9rem; margin-top: auto; }
/* maintenance / private page */
.ws-gate { min-height: 100vh; display: grid; place-items: center; padding: 40px 16px; background: radial-gradient(ellipse at top, rgba(var(--ws-accent-rgb), .18), transparent 60%); }
.ws-gate-box { width: 100%; max-width: 460px; padding: 38px 32px; text-align: center; }
.ws-gate-logo { max-height: 56px; max-width: 220px; margin: 0 auto 18px; display: block; }
.ws-gate-name { font: 700 1.3rem var(--ws-head-font); margin-bottom: 14px; }
.ws-gate-ic { margin: 0 auto 14px; }
.ws-gate h1 { font-size: 1.7rem; margin-bottom: 10px; }
.ws-gate p { color: var(--ws-muted); line-height: 1.6; }
.ws-gate-form { display: flex; gap: 8px; margin-top: 22px; }
.ws-gate-form input { flex: 1; min-width: 0; padding: 13px 14px; border-radius: 10px; border: 1px solid var(--ws-line); background: var(--ws-bg); color: var(--ws-text); font: 1rem var(--ws-body-font); }
.ws-gate-err { color: #ef4444; font-size: .9rem; min-height: 1.3em; margin-top: 8px; }
.ws-gate-row { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 18px; }
/* shop preview (editor) */
.ws-shopmock { padding: 70px 0; }
.ws-center { text-align: center; }
#ws-shop-footer { margin-top: 40px; }

@media (max-width: 960px) {
    .ws-grid, .ws-grid.ws-c4 { grid-template-columns: repeat(2, 1fr); }
    .ws-split { grid-template-columns: 1fr; gap: 30px; }
    .ws-split.ws-right .ws-split-img { order: 0; }
    .ws-links, .ws-nav-actions .ws-hide-sm { display: none; }
    .ws-burger { display: inline-grid; }
}
@media (max-width: 640px) {
    .ws-wrap { padding: 0 16px; }
    .ws-sec { padding: 64px 0; }
    .ws-hero { padding: 76px 0 60px; }
    .ws-hero.ws-tall { padding: 110px 0 90px; }
    .ws-grid, .ws-grid.ws-c2, .ws-grid.ws-c4 { grid-template-columns: 1fr; }
    .ws-stats { margin-top: 48px; grid-template-columns: repeat(2, 1fr); }
    .ws-nav { height: 64px; gap: 12px; }
    .ws-brand img { height: 30px; }
    .ws-trial { flex-direction: column; align-items: stretch; text-align: center; }
    .ws-ctabox { padding: 54px 20px; }
    .ws-game { grid-template-columns: 1fr; gap: 4px; padding: 12px 16px; }
    .ws-gate-form { flex-direction: column; }
    .ws-gate-box { padding: 30px 20px; }
    .ws-h-centered .ws-nav-top { height: 62px; }
}
@media (prefers-reduced-motion: reduce) { .ws * { transition: none !important; } }
