:root {
    color-scheme: dark;
    --ws-bg: #08090c;
    --ws-bg-soft: #0b0d12;
    --ws-surface: #101218;
    --ws-surface-2: #151820;
    --ws-surface-3: #1b1f29;
    --ws-border: #272b35;
    --ws-border-soft: rgba(255, 255, 255, .075);
    --ws-text: #f8f8fa;
    --ws-text-soft: #d6d8de;
    --ws-muted: #9da2ae;
    --ws-dim: #6f7582;
    --ws-amber: #ffb331;
    --ws-orange: #ff7200;
    --ws-red: #e84200;
    --ws-green: #47d18c;
    --ws-blue: #67a5ff;
    --ws-purple: #ab85ff;
    --ws-radius-sm: 10px;
    --ws-radius: 16px;
    --ws-radius-lg: 24px;
    --ws-radius-xl: 32px;
    --ws-shadow: 0 24px 70px rgba(0, 0, 0, .32);
    --ws-container: 1180px;
    --ws-font: "Segoe UI", Tahoma, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html {
    min-width: 320px;
    background: var(--ws-bg);
    scroll-behavior: smooth;
    scrollbar-color: #404652 var(--ws-bg);
}

body {
    margin: 0;
    min-height: 100vh;
    overflow-x: hidden;
    background:
        radial-gradient(circle at 50% -12%, rgba(255, 114, 0, .08), transparent 34rem),
        var(--ws-bg);
    color: var(--ws-text);
    font-family: var(--ws-font);
    font-size: 16px;
    line-height: 1.65;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

body.is-menu-open { overflow: hidden; }

[hidden] { display: none !important; }

img, video, svg { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }
button, select { cursor: pointer; }
a { color: inherit; text-decoration: none; }
p, h1, h2, h3, ul, ol, dl { margin-block-start: 0; }

::selection { background: rgba(255, 114, 0, .34); color: #fff; }

:focus-visible {
    outline: 3px solid rgba(255, 179, 49, .65);
    outline-offset: 3px;
}

.ws-sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.ws-skip-link {
    position: fixed;
    inset-block-start: 12px;
    inset-inline-start: 12px;
    z-index: 1000;
    transform: translateY(-160%);
    padding: 10px 16px;
    border-radius: var(--ws-radius-sm);
    background: var(--ws-text);
    color: var(--ws-bg);
    font-weight: 800;
}
.ws-skip-link:focus { transform: translateY(0); }

.ws-container {
    width: min(calc(100% - 40px), var(--ws-container));
    margin-inline: auto;
}

.ws-icon { flex: 0 0 auto; }

.ws-button {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 10px 17px;
    border: 1px solid transparent;
    border-radius: 12px;
    font-weight: 750;
    line-height: 1.2;
    text-align: center;
    transition: transform .2s ease, border-color .2s ease, background-color .2s ease, box-shadow .2s ease;
}
.ws-button:hover { transform: translateY(-1px); }
.ws-button:active { transform: translateY(0); }
.ws-button--primary {
    border-color: rgba(255, 193, 93, .36);
    background: linear-gradient(135deg, var(--ws-amber), var(--ws-orange) 54%, var(--ws-red));
    color: #170801;
    box-shadow: 0 11px 30px rgba(255, 93, 0, .19), inset 0 1px rgba(255, 255, 255, .42);
}
.ws-button--primary:hover { box-shadow: 0 15px 38px rgba(255, 93, 0, .29), inset 0 1px rgba(255, 255, 255, .44); }
.ws-button--secondary {
    border-color: var(--ws-border);
    background: rgba(255, 255, 255, .045);
    color: var(--ws-text);
}
.ws-button--secondary:hover { border-color: #414754; background: rgba(255, 255, 255, .075); }
.ws-button--ghost { border-color: transparent; background: transparent; color: var(--ws-muted); }
.ws-button--ghost:hover { background: rgba(255, 255, 255, .05); color: var(--ws-text); }
.ws-button--large { min-height: 50px; padding: 13px 21px; border-radius: 14px; }
.ws-button--block { width: 100%; }

.ws-icon-button {
    display: inline-grid;
    width: 42px;
    height: 42px;
    padding: 0;
    place-items: center;
    border: 1px solid var(--ws-border);
    border-radius: 12px;
    background: rgba(255, 255, 255, .035);
    color: var(--ws-text-soft);
}
.ws-icon-button:hover { border-color: #464c59; background: rgba(255, 255, 255, .07); color: #fff; }

.ws-text-link, .ws-card-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    border: 0;
    background: transparent;
    color: var(--ws-text-soft);
    font-weight: 750;
}
.ws-text-link:hover, .ws-card-link:hover { color: var(--ws-amber); }
.is-rtl :is(.ws-text-link, .ws-card-link, .ws-breadcrumb a, .ws-button) > .ws-icon[name="arrow"],
.is-rtl :is(.ws-text-link, .ws-card-link, .ws-breadcrumb a) .ws-icon { transform: scaleX(-1); }

.ws-eyebrow, .ws-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--ws-amber);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .02em;
}
.ws-eyebrow {
    padding: 7px 11px;
    border: 1px solid rgba(255, 156, 29, .22);
    border-radius: 999px;
    background: rgba(255, 125, 0, .065);
}

.ws-badge {
    display: inline-flex;
    min-height: 25px;
    align-items: center;
    gap: 5px;
    padding: 4px 9px;
    border: 1px solid var(--ws-border-soft);
    border-radius: 999px;
    background: rgba(15, 17, 23, .8);
    color: var(--ws-text-soft);
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
}
.ws-badge--brand { border-color: rgba(255, 141, 21, .28); background: rgba(255, 114, 0, .14); color: #ffbd61; }
.ws-badge--community { border-color: rgba(171, 133, 255, .25); background: rgba(134, 95, 234, .14); color: #c9b4ff; }
.ws-badge--glass { border-color: rgba(255, 255, 255, .12); background: rgba(6, 7, 9, .68); backdrop-filter: blur(12px); color: #fff; }
.ws-badge--soft { background: var(--ws-surface-2); }
.ws-badge--reactive { border-color: rgba(71, 209, 140, .25); background: rgba(71, 209, 140, .1); color: #78e3ac; }
.ws-badge--kind-discussion { color: #cfd3da; }
.ws-badge--kind-request { border-color: rgba(171, 133, 255, .24); color: #cab5ff; }
.ws-badge--kind-support { border-color: rgba(103, 165, 255, .25); color: #99c0ff; }
.ws-badge--kind-idea { border-color: rgba(255, 179, 49, .25); color: #ffd080; }
.ws-badge--status-solved, .ws-badge--status-done { border-color: rgba(71, 209, 140, .26); background: rgba(71, 209, 140, .09); color: #7ae0ad; }
.ws-badge--status-planned, .ws-badge--status-in_progress { border-color: rgba(103, 165, 255, .26); background: rgba(103, 165, 255, .09); color: #9bc2ff; }

.ws-avatar {
    display: inline-grid;
    width: 38px;
    height: 38px;
    flex: 0 0 auto;
    overflow: hidden;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 50%;
    background: linear-gradient(145deg, #262b36, #12151c);
    color: var(--ws-amber);
    font-size: 14px;
    font-weight: 800;
}
.ws-avatar img { width: 100%; height: 100%; object-fit: cover; }
.ws-avatar--small { width: 29px; height: 29px; font-size: 11px; }

/* Header */
.ws-header {
    position: sticky;
    inset-block-start: 0;
    z-index: 100;
    padding-block-start: env(safe-area-inset-top);
    border-block-end: 1px solid transparent;
    background: rgba(8, 9, 12, .72);
    backdrop-filter: blur(18px) saturate(135%);
    transition: border-color .2s ease, background-color .2s ease;
}
.ws-header.is-scrolled { border-color: var(--ws-border-soft); background: rgba(8, 9, 12, .91); }
.ws-header__inner { display: flex; height: 72px; align-items: center; justify-content: space-between; gap: 22px; }
.ws-brand { display: inline-flex; align-items: center; gap: 9px; flex: 0 0 auto; }
.ws-brand img { width: 42px; height: 42px; object-fit: contain; filter: drop-shadow(0 7px 15px rgba(255, 93, 0, .24)); }
.ws-brand__word { color: #fff; font-size: 19px; font-weight: 850; letter-spacing: -.045em; }
.ws-brand__word span { color: var(--ws-orange); }
.ws-nav { display: flex; align-items: center; gap: 5px; }
.ws-nav > a {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 8px 11px;
    border-radius: 10px;
    color: var(--ws-muted);
    font-size: 14px;
    font-weight: 700;
}
.ws-nav > a:hover, .ws-nav > a.is-active { background: rgba(255, 255, 255, .045); color: #fff; }
.ws-nav__soon { padding: 2px 6px; border: 1px solid rgba(255, 143, 23, .23); border-radius: 999px; color: #eeb164; font-size: 9px; }
.ws-header__actions { display: flex; align-items: center; gap: 8px; }
.ws-header__login { padding: 8px 9px; color: var(--ws-text-soft); font-size: 14px; font-weight: 750; }
.ws-header__user { max-width: 120px; overflow: hidden; color: var(--ws-muted); font-size: 12px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.ws-header__logout, .ws-mobile-menu__logout { margin: 0; }
.ws-mobile-menu__logout .ws-button { width: 100%; }
.ws-account-button { overflow: hidden; }
.ws-account-button img { width: 100%; height: 100%; object-fit: cover; }
.ws-mobile-toggle { display: none; }
.ws-mobile-menu { max-height: calc(100dvh - 72px - env(safe-area-inset-top)); overflow-y: auto; overscroll-behavior: contain; border-block-start: 1px solid var(--ws-border); background: rgba(8, 9, 12, .98); }
.ws-mobile-menu nav { display: grid; gap: 4px; padding-block: 12px calc(18px + env(safe-area-inset-bottom)); }
.ws-mobile-menu nav > a:not(.ws-button) { display: flex; min-height: 48px; align-items: center; gap: 12px; padding-inline: 12px; border-radius: 12px; color: var(--ws-text-soft); font-weight: 700; }
.ws-mobile-menu nav > a:not(.ws-button):hover { background: var(--ws-surface-2); color: #fff; }
.ws-mobile-menu__auth { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-block-start: 8px; }
.ws-mobile-menu__play { margin-block-start: 8px; }

/* Footer */
.ws-footer { padding-block: 24px calc(24px + env(safe-area-inset-bottom)); border-block-start: 1px solid var(--ws-border-soft); background: #07080a; }
.ws-footer__cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    overflow: hidden;
    margin-block: 18px 64px;
    padding: 34px;
    border: 1px solid rgba(255, 137, 19, .2);
    border-radius: var(--ws-radius-lg);
    background:
        radial-gradient(circle at 12% 20%, rgba(255, 130, 0, .18), transparent 33%),
        linear-gradient(125deg, #15130f, #111218 68%);
}
.ws-footer__cta h2 { margin: 13px 0 7px; font-size: clamp(25px, 4vw, 38px); line-height: 1.2; }
.ws-footer__cta p { margin: 0; color: var(--ws-muted); }
.ws-footer__grid { display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 42px; padding-block-end: 42px; }
.ws-footer__grid h3 { margin-block-end: 15px; color: #fff; font-size: 14px; }
.ws-footer__grid > div:not(.ws-footer__brand) { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; }
.ws-footer__grid > div:not(.ws-footer__brand) a { color: var(--ws-muted); font-size: 13px; }
.ws-footer__grid a:hover { color: #fff; }
.ws-footer__brand p { max-width: 300px; margin-block-start: 14px; color: var(--ws-muted); font-size: 14px; }
.ws-footer__bottom { display: flex; justify-content: space-between; gap: 20px; padding-block-start: 20px; border-block-start: 1px solid var(--ws-border-soft); color: var(--ws-dim); font-size: 12px; }
.ws-footer__status { display: inline-flex; align-items: center; gap: 7px; }
.ws-footer__status i { width: 7px; height: 7px; border-radius: 50%; background: var(--ws-green); box-shadow: 0 0 9px rgba(71, 209, 140, .7); }

/* Shared sections */
.ws-section { position: relative; padding-block: 86px; }
.ws-section--tight { padding-block: 12px 46px; }
.ws-section--muted { border-block: 1px solid var(--ws-border-soft); background: #0b0d11; }
.ws-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-block-end: 30px; }
.ws-section-heading h2 { max-width: 760px; margin: 8px 0 7px; font-size: clamp(29px, 4vw, 46px); letter-spacing: -.035em; line-height: 1.18; }
.ws-section-heading p { max-width: 690px; margin: 0; color: var(--ws-muted); }
.ws-section-heading--center { justify-content: center; text-align: center; }
.ws-section-heading--center > div { display: flex; align-items: center; flex-direction: column; }

.ws-page-hero { position: relative; overflow: hidden; padding-block: 76px 60px; border-block-end: 1px solid var(--ws-border-soft); background: #0a0c10; }
.ws-page-hero::before {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, .07) 1px, transparent 0);
    background-size: 28px 28px;
    mask-image: linear-gradient(to bottom, #000, transparent 88%);
    content: "";
    pointer-events: none;
}
.ws-page-hero::after { position: absolute; width: 460px; height: 300px; inset-block-start: -180px; inset-inline-end: 8%; border-radius: 50%; background: rgba(255, 106, 0, .17); filter: blur(90px); content: ""; }
.ws-page-hero .ws-container { position: relative; z-index: 1; }
.ws-page-hero h1 { max-width: 820px; margin: 15px 0 10px; font-size: clamp(38px, 6vw, 68px); letter-spacing: -.05em; line-height: 1.08; }
.ws-page-hero p { max-width: 720px; margin: 0; color: var(--ws-muted); font-size: 18px; }

/* Home hero */
.ws-hero { position: relative; overflow: hidden; padding-block: 72px 64px; }
.ws-hero::before { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px); background-size: 60px 60px; mask-image: linear-gradient(to bottom, #000, transparent 88%); content: ""; }
.ws-hero__glow { position: absolute; width: 620px; height: 620px; inset-block-start: -320px; inset-inline-start: 52%; border-radius: 50%; background: rgba(255, 104, 0, .14); filter: blur(110px); }
.ws-hero__grid { position: relative; display: grid; min-height: 560px; grid-template-columns: 1.06fr .94fr; align-items: center; gap: 34px; }
.ws-hero__copy { position: relative; z-index: 2; }
.ws-hero__copy h1 { max-width: 720px; margin: 20px 0 18px; font-size: clamp(50px, 7vw, 84px); letter-spacing: -.065em; line-height: .99; text-wrap: balance; }
.ws-hero__copy > p { max-width: 650px; margin-block-end: 28px; color: var(--ws-muted); font-size: clamp(17px, 2vw, 20px); }
.ws-hero__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.ws-hero__assurances { display: flex; flex-wrap: wrap; gap: 16px; margin-block-start: 21px; color: var(--ws-dim); font-size: 12px; }
.ws-hero__assurances span { display: inline-flex; align-items: center; gap: 5px; }
.ws-hero__assurances .ws-icon { color: var(--ws-green); }
.ws-hero__visual { position: relative; min-height: 510px; }
.ws-hero__orb { position: absolute; width: 370px; height: 370px; inset: 70px 50% auto auto; transform: translateX(50%); border: 1px solid rgba(255, 142, 27, .16); border-radius: 50%; background: radial-gradient(circle, rgba(255, 117, 0, .1), transparent 65%); box-shadow: 0 0 80px rgba(255, 88, 0, .08), inset 0 0 60px rgba(255, 109, 0, .06); }
.ws-hero__orb::before, .ws-hero__orb::after { position: absolute; inset: 11%; border: 1px dashed rgba(255, 167, 56, .12); border-radius: inherit; content: ""; }
.ws-hero__orb::after { inset: 24%; }
.ws-hero__mark-shell { position: absolute; z-index: 2; width: min(440px, 88%); inset: 20px 50% auto auto; transform: translateX(50%); }
.ws-hero__mark-shell img { filter: drop-shadow(0 34px 40px rgba(255, 74, 0, .18)); }
.ws-hero__wave { position: absolute; z-index: 3; width: 125%; max-width: none; inset: auto 50% 5px auto; transform: translateX(50%); overflow: visible; }

.ws-stat-strip { display: grid; grid-template-columns: repeat(3, minmax(120px, 1fr)) 2fr; overflow: hidden; border: 1px solid var(--ws-border); border-radius: var(--ws-radius); background: var(--ws-surface); }
.ws-stat-strip > div { padding: 22px 24px; border-inline-end: 1px solid var(--ws-border); }
.ws-stat-strip strong { display: block; font-size: 25px; line-height: 1.1; }
.ws-stat-strip span { color: var(--ws-muted); font-size: 12px; }
.ws-stat-strip p { display: flex; align-items: center; gap: 9px; margin: 0; padding: 22px 28px; color: var(--ws-text-soft); font-size: 13px; }
.ws-stat-strip p .ws-icon { color: var(--ws-orange); }

/* Template cards */
.ws-template-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.ws-template-grid--featured { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ws-template-card { min-width: 0; overflow: hidden; border: 1px solid var(--ws-border); border-radius: 18px; background: var(--ws-surface); transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease; }
.ws-template-card:hover { transform: translateY(-4px); border-color: #3d424e; box-shadow: var(--ws-shadow); }
.ws-template-card__media { position: relative; overflow: hidden; aspect-ratio: var(--template-ratio, 9 / 16); border-block-end: 1px solid var(--ws-border-soft); background: #08090c; }
.ws-template-card__media > img, .ws-template-card__media > video { position: absolute; width: 100%; height: 100%; inset: 0; object-fit: contain; transition: transform .45s ease, opacity .25s ease; }
.ws-template-card:hover .ws-template-card__media > img { transform: scale(1.018); }
.ws-template-card__media > video { z-index: 2; background: #08090c; opacity: 0; }
.ws-template-card__media > video.is-active { opacity: 1; }
.ws-template-card__topline { position: absolute; z-index: 4; display: flex; inset-block-start: 11px; inset-inline: 11px; justify-content: space-between; gap: 8px; pointer-events: none; }
.ws-template-card__play { position: absolute; z-index: 5; display: grid; width: 40px; height: 40px; inset-block-end: 11px; inset-inline-end: 11px; place-items: center; border: 1px solid rgba(255, 255, 255, .18); border-radius: 50%; background: rgba(5, 6, 8, .72); color: #fff; backdrop-filter: blur(10px); }
.ws-template-card__play:hover { background: rgba(255, 112, 0, .86); color: #160700; }
.ws-template-card__fallback { display: flex; height: 100%; align-items: center; justify-content: center; gap: 5px; background: radial-gradient(circle, rgba(255, 114, 0, .14), transparent 48%), linear-gradient(145deg, #101219, #090a0d); }
.ws-template-card__fallback span { width: 4px; height: 18%; border-radius: 99px; background: linear-gradient(to top, var(--ws-red), var(--ws-amber)); box-shadow: 0 0 13px rgba(255, 104, 0, .3); }
.ws-template-card__fallback span:nth-child(2) { height: 38%; }.ws-template-card__fallback span:nth-child(3) { height: 62%; }.ws-template-card__fallback span:nth-child(4) { height: 34%; }.ws-template-card__fallback span:nth-child(5) { height: 23%; }
.ws-template-card__body { padding: 15px; }
.ws-template-card__heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.ws-template-card__heading h3 { margin: 0; font-size: 16px; line-height: 1.35; }
.ws-template-card__heading h3 a::after { position: absolute; content: ""; }
.ws-template-card__heading p { margin: 3px 0 0; color: var(--ws-muted); font-size: 12px; }
.ws-reactive-mark { display: grid; width: 32px; height: 32px; flex: 0 0 auto; place-items: center; border: 1px solid rgba(71, 209, 140, .2); border-radius: 10px; background: rgba(71, 209, 140, .08); color: #68dda2; }
.ws-tag-list { display: flex; flex-wrap: wrap; gap: 6px; margin-block-start: 13px; }
.ws-tag-list span { padding: 4px 8px; border-radius: 999px; background: #181b23; color: var(--ws-dim); font-size: 10px; }
.ws-tag-list--large span { padding: 7px 11px; color: var(--ws-muted); font-size: 12px; }
.ws-template-card__footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-block-start: 15px; padding-block-start: 13px; border-block-start: 1px solid var(--ws-border-soft); }
.ws-template-card__footer > span { display: inline-flex; align-items: center; gap: 5px; color: var(--ws-dim); font-size: 11px; }
.ws-card-link { font-size: 11px; }

/* Bento and home community */
.ws-bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.ws-bento__card { position: relative; min-height: 240px; overflow: hidden; padding: 25px; border: 1px solid var(--ws-border); border-radius: var(--ws-radius-lg); background: var(--ws-surface); }
.ws-bento__card--wide { grid-column: span 2; }
.ws-feature-icon { display: inline-grid; width: 46px; height: 46px; place-items: center; border: 1px solid rgba(255, 143, 26, .19); border-radius: 14px; background: linear-gradient(145deg, rgba(255, 171, 52, .13), rgba(232, 66, 0, .06)); color: var(--ws-amber); }
.ws-bento__card h3 { max-width: 480px; margin: 18px 0 8px; font-size: 21px; }
.ws-bento__card p { max-width: 520px; margin: 0; color: var(--ws-muted); font-size: 14px; }
.ws-mini-spectrum { position: absolute; display: flex; height: 88px; inset: auto 24px 22px 24px; align-items: end; gap: 7px; opacity: .7; }
.ws-mini-spectrum i { width: 8px; height: var(--h); border-radius: 99px; background: linear-gradient(to top, rgba(232, 66, 0, .35), var(--ws-amber)); }
.ws-protection-note { position: absolute; display: inline-flex; inset-block-end: 24px; inset-inline-start: 24px; align-items: center; gap: 8px; padding: 9px 12px; border: 1px solid rgba(71, 209, 140, .17); border-radius: 10px; background: rgba(71, 209, 140, .06); color: #82dbae; font-size: 12px; }

.ws-community-showcase { display: grid; grid-template-columns: .82fr 1.18fr; gap: 46px; align-items: start; }
.ws-community-showcase__intro { position: sticky; inset-block-start: 104px; }
.ws-community-showcase__intro h2 { margin: 18px 0 12px; font-size: clamp(32px, 4.5vw, 52px); letter-spacing: -.04em; line-height: 1.12; }
.ws-community-showcase__intro > p { margin-block-end: 24px; color: var(--ws-muted); }
.ws-community-showcase__topics { display: grid; gap: 12px; }
.ws-community-creators { display: flex; align-items: center; gap: 13px; margin-block-start: 28px; color: var(--ws-muted); font-size: 12px; }
.ws-community-creators > div { display: flex; padding-inline-start: 7px; }
.ws-community-creators .ws-avatar { margin-inline-start: -7px; box-shadow: 0 0 0 3px var(--ws-bg); }

.ws-topic-card { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 16px; padding: 18px; border: 1px solid var(--ws-border); border-radius: var(--ws-radius); background: var(--ws-surface); transition: border-color .2s ease, transform .2s ease; }
.ws-topic-card:hover { transform: translateY(-2px); border-color: #3c424e; }
.ws-topic-card.is-solved { border-color: rgba(71, 209, 140, .17); }
.ws-topic-card__badges { display: flex; flex-wrap: wrap; gap: 6px; margin-block-end: 8px; }
.ws-topic-card__content h2 { margin: 0; font-size: 17px; line-height: 1.4; }
.ws-topic-card__content h2 a:hover { color: var(--ws-amber); }
.ws-topic-card__content > p { margin: 5px 0 9px; color: var(--ws-muted); font-size: 13px; }
.ws-topic-card__meta { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; color: var(--ws-dim); font-size: 11px; }
.ws-topic-card__time { display: inline-flex; align-items: center; gap: 4px; }
.ws-topic-card__replies { display: grid; min-width: 56px; justify-items: center; color: var(--ws-dim); font-size: 9px; }
.ws-topic-card__replies strong { color: var(--ws-text-soft); font-size: 14px; }

.ws-steps { display: grid; margin: 0; padding: 0; grid-template-columns: repeat(3, 1fr); list-style: none; counter-reset: steps; }
.ws-steps li { position: relative; display: grid; grid-template-columns: auto 1fr; gap: 15px; padding: 24px 25px; border-block: 1px solid var(--ws-border); border-inline-start: 1px solid var(--ws-border); background: var(--ws-surface); }
.ws-steps li:first-child { border-radius: 0 var(--ws-radius) var(--ws-radius) 0; }
.ws-steps li:last-child { border-inline-end: 1px solid var(--ws-border); border-radius: var(--ws-radius) 0 0 var(--ws-radius); }
.ws-steps li > span { color: var(--ws-orange); font-size: 12px; font-weight: 900; }
.ws-steps h3 { margin: 0 0 5px; font-size: 18px; }
.ws-steps p { margin: 0; color: var(--ws-muted); font-size: 13px; }

.ws-faq-preview { display: grid; grid-template-columns: .62fr 1.38fr; gap: 65px; align-items: start; }
.ws-faq-preview__intro { position: sticky; inset-block-start: 104px; }
.ws-faq-preview__intro h2 { margin: 8px 0 8px; font-size: 39px; }
.ws-faq-preview__intro p { margin-block-end: 20px; color: var(--ws-muted); }
.ws-accordion { border-block-start: 1px solid var(--ws-border); }
.ws-accordion details { border-block-end: 1px solid var(--ws-border); }
.ws-accordion summary { display: flex; min-height: 66px; align-items: center; justify-content: space-between; gap: 20px; cursor: pointer; color: var(--ws-text-soft); font-weight: 760; list-style: none; }
.ws-accordion summary::-webkit-details-marker { display: none; }
.ws-accordion summary .ws-icon { transition: transform .2s ease; }
.ws-accordion details[open] summary { color: #fff; }
.ws-accordion details[open] summary .ws-icon { transform: rotate(180deg); }
.ws-accordion__body { max-width: 760px; padding: 0 0 20px; color: var(--ws-muted); font-size: 14px; }

/* Library */
.ws-section--library, .ws-section--community, .ws-section--faq { padding-block-start: 38px; }
.ws-library-toolbar, .ws-community-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-block-end: 28px; }
.ws-search-field { display: flex; width: min(100%, 650px); min-height: 48px; align-items: center; gap: 10px; padding-inline: 14px 7px; border: 1px solid var(--ws-border); border-radius: 14px; background: var(--ws-surface); color: var(--ws-dim); }
.ws-search-field:focus-within { border-color: rgba(255, 145, 31, .52); box-shadow: 0 0 0 3px rgba(255, 114, 0, .08); }
.ws-search-field input { min-width: 0; flex: 1; border: 0; outline: 0; background: transparent; color: var(--ws-text); }
.ws-search-field input::placeholder { color: var(--ws-dim); }
.ws-search-field .ws-button { min-height: 38px; padding-block: 8px; }
.ws-filter-row { display: flex; align-items: center; gap: 12px; }
.ws-segmented { display: inline-flex; padding: 4px; border: 1px solid var(--ws-border); border-radius: 12px; background: var(--ws-surface); }
.ws-segmented a { padding: 8px 13px; border-radius: 8px; color: var(--ws-muted); font-size: 12px; font-weight: 750; }
.ws-segmented a:hover, .ws-segmented a.is-active { background: var(--ws-surface-3); color: #fff; }
.ws-select-field { display: flex; min-height: 46px; align-items: center; gap: 9px; padding-inline: 12px; border: 1px solid var(--ws-border); border-radius: 12px; background: var(--ws-surface); color: var(--ws-muted); font-size: 12px; }
.ws-select-field select { border: 0; outline: 0; background: transparent; color: var(--ws-text); font-weight: 750; }
.ws-select-field option { background: var(--ws-surface-2); }
.ws-results-summary { display: flex; min-height: 48px; align-items: center; justify-content: space-between; gap: 16px; margin-block-end: 18px; }
.ws-results-summary > div { display: flex; align-items: baseline; gap: 9px; }
.ws-results-summary span { color: var(--ws-dim); font-size: 12px; }
.ws-results-summary > a { display: inline-flex; align-items: center; gap: 6px; color: var(--ws-muted); font-size: 12px; }
.ws-results-summary > a:hover { color: #fff; }
.ws-pagination { margin-block-start: 34px; }
.ws-pagination nav > div:first-child { display: none; }
.ws-pagination nav > div:last-child { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--ws-muted); font-size: 12px; }
.ws-pagination a, .ws-pagination span[aria-current] span { display: inline-flex; min-width: 38px; height: 38px; align-items: center; justify-content: center; border: 1px solid var(--ws-border); border-radius: 10px; background: var(--ws-surface); }
.ws-pagination span[aria-current] span { border-color: var(--ws-orange); color: var(--ws-amber); }

.ws-empty-state { display: flex; min-height: 270px; align-items: center; justify-content: center; flex-direction: column; padding: 36px; border: 1px dashed #343944; border-radius: var(--ws-radius-lg); background: rgba(255, 255, 255, .018); text-align: center; }
.ws-empty-state__icon { display: grid; width: 56px; height: 56px; margin-block-end: 17px; place-items: center; border: 1px solid rgba(255, 139, 20, .18); border-radius: 17px; background: rgba(255, 114, 0, .07); color: var(--ws-amber); }
.ws-empty-state h2 { margin: 0 0 7px; font-size: 21px; }
.ws-empty-state p { max-width: 470px; margin: 0 0 19px; color: var(--ws-muted); font-size: 14px; }

/* Template detail */
.ws-template-detail { padding-block: 34px 92px; }
.ws-breadcrumb { display: flex; align-items: center; gap: 9px; margin-block-end: 27px; color: var(--ws-dim); font-size: 12px; }
.ws-breadcrumb a { display: inline-flex; align-items: center; gap: 6px; color: var(--ws-text-soft); }
.ws-breadcrumb span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ws-template-detail__grid { display: grid; grid-template-columns: minmax(360px, .86fr) 1.14fr; gap: 62px; align-items: center; }
.ws-template-detail__preview { display: flex; align-items: center; flex-direction: column; }
.ws-template-detail__frame { position: relative; width: min(100%, 450px); overflow: hidden; aspect-ratio: var(--template-ratio, 9 / 16); max-height: 690px; border: 1px solid #353a45; border-radius: 26px; background: #050608; box-shadow: 0 35px 90px rgba(0, 0, 0, .45); }
.ws-template-detail__frame > img, .ws-template-detail__frame > video { position: absolute; width: 100%; height: 100%; inset: 0; object-fit: contain; }
.ws-template-detail__frame > video { z-index: 2; background: #050608; opacity: 0; transition: opacity .2s ease; }
.ws-template-detail__frame > video.is-active { opacity: 1; }
.ws-template-detail__fallback { height: 100%; }
.ws-preview-control { position: absolute; z-index: 3; display: flex; min-height: 44px; inset: auto 18px 18px auto; align-items: center; gap: 8px; padding: 9px 13px; border: 1px solid rgba(255, 255, 255, .15); border-radius: 12px; background: rgba(6, 7, 9, .78); color: #fff; backdrop-filter: blur(12px); }
.ws-template-detail__preview-note { display: inline-flex; align-items: center; gap: 7px; margin: 14px 0 0; color: var(--ws-dim); font-size: 11px; }
.ws-template-detail__external { display: inline-flex; align-items: center; justify-content: center; gap: 7px; margin-block-start: 10px; color: var(--ws-muted); font-size: 12px; font-weight: 700; }
.ws-template-detail__external:hover { color: var(--ws-brand-soft); }
.ws-template-detail__badges { display: flex; flex-wrap: wrap; gap: 7px; }
.ws-template-detail__content h1 { margin: 19px 0 14px; font-size: clamp(38px, 5.5vw, 67px); letter-spacing: -.055em; line-height: 1.06; }
.ws-template-detail__author { display: flex; align-items: center; gap: 10px; }
.ws-template-detail__author div { display: flex; flex-direction: column; }
.ws-template-detail__author div span { color: var(--ws-dim); font-size: 10px; }
.ws-template-detail__author div strong { font-size: 13px; }
.ws-template-detail__description { max-width: 650px; margin: 27px 0 0; color: var(--ws-muted); font-size: 16px; }
.ws-template-specs { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; overflow: hidden; margin-block: 27px; border: 1px solid var(--ws-border); border-radius: 15px; background: var(--ws-border); }
.ws-template-specs div { padding: 13px 15px; background: var(--ws-surface); }
.ws-template-specs dt { color: var(--ws-dim); font-size: 10px; }
.ws-template-specs dd { margin: 2px 0 0; color: var(--ws-text-soft); font-size: 13px; font-weight: 750; }
.ws-template-detail__actions { display: flex; flex-wrap: wrap; gap: 9px; }
.ws-template-detail__security { display: flex; align-items: center; gap: 7px; margin: 14px 0 0; color: var(--ws-dim); font-size: 11px; }

/* Community index */
.ws-community-hero { display: flex; align-items: end; justify-content: space-between; gap: 36px; }
.ws-community-hero > div { max-width: 780px; }
.ws-community-kinds { display: grid; grid-template-columns: repeat(5, 1fr); gap: 9px; margin-block-end: 24px; }
.ws-community-kinds a { display: flex; min-height: 70px; align-items: center; gap: 10px; padding: 13px; border: 1px solid var(--ws-border); border-radius: 14px; background: var(--ws-surface); color: var(--ws-muted); font-size: 12px; font-weight: 750; }
.ws-community-kinds a > span { display: grid; width: 36px; height: 36px; place-items: center; border-radius: 10px; background: rgba(255, 255, 255, .04); color: var(--ws-text-soft); }
.ws-community-kinds a:hover, .ws-community-kinds a.is-active { border-color: rgba(255, 139, 22, .35); background: rgba(255, 114, 0, .06); color: #fff; }
.ws-community-kinds a.is-active > span { background: rgba(255, 114, 0, .13); color: var(--ws-amber); }
.ws-community-toolbar { margin-block-end: 18px; }
.ws-community-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 24px; align-items: start; }
.ws-topic-list { display: grid; gap: 10px; }
.ws-topic-list .ws-results-summary { margin: 0; }
.ws-community-sidebar { position: sticky; inset-block-start: 96px; display: grid; gap: 12px; }
.ws-side-card { padding: 20px; border: 1px solid var(--ws-border); border-radius: var(--ws-radius); background: var(--ws-surface); }
.ws-side-card h2 { margin: 14px 0 7px; font-size: 17px; }
.ws-side-card p, .ws-side-card li { color: var(--ws-muted); font-size: 12px; }
.ws-side-card ul { margin: 13px 0 0; padding-inline-start: 20px; }
.ws-side-card li + li { margin-block-start: 7px; }
.ws-side-card--accent { border-color: rgba(255, 141, 23, .19); background: linear-gradient(150deg, rgba(255, 126, 0, .09), var(--ws-surface) 65%); }
.ws-side-card--accent .ws-text-link { padding: 0; }

.ws-dialog { width: min(680px, calc(100% - 28px)); max-height: min(860px, calc(100dvh - 28px)); padding: 0; overflow: auto; border: 1px solid #373c47; border-radius: 22px; background: transparent; color: var(--ws-text); box-shadow: 0 35px 100px rgba(0, 0, 0, .64); }
.ws-dialog::backdrop { background: rgba(0, 0, 0, .72); backdrop-filter: blur(5px); }
.ws-dialog__surface { padding: 25px; background: #111319; }
.ws-dialog__header { display: flex; align-items: start; justify-content: space-between; gap: 20px; margin-block-end: 22px; }
.ws-dialog__header h2 { margin: 5px 0 0; font-size: 25px; }
.ws-dialog__actions { display: flex; justify-content: flex-end; gap: 8px; margin-block-start: 5px; }
.ws-dialog.is-fallback-open { position: fixed; z-index: 1000; display: grid; place-items: center; width: 100%; max-width: none; height: 100dvh; max-height: none; inset: 0; padding: 14px; overflow: auto; border: 0; border-radius: 0; background: rgba(0, 0, 0, .76); }
.ws-dialog.is-fallback-open .ws-dialog__surface { width: min(680px, 100%); max-height: calc(100dvh - 28px); overflow: auto; border: 1px solid #373c47; border-radius: 22px; box-shadow: 0 35px 100px rgba(0, 0, 0, .64); }

/* Forms */
.ws-form { display: grid; gap: 16px; }
.ws-form > label:not(.ws-check-field) { display: grid; gap: 7px; }
.ws-form label > span:first-child:not(.ws-password-field) { color: var(--ws-text-soft); font-size: 12px; font-weight: 750; }
.ws-form input:not([type="checkbox"]), .ws-form select, .ws-form textarea {
    width: 100%;
    border: 1px solid var(--ws-border);
    border-radius: 12px;
    outline: 0;
    background: #0b0d11;
    color: var(--ws-text);
}
.ws-form input:not([type="checkbox"]), .ws-form select { height: 47px; padding-inline: 13px; }
.ws-form textarea { min-height: 120px; padding: 12px 13px; resize: vertical; line-height: 1.65; }
.ws-form input:focus, .ws-form select:focus, .ws-form textarea:focus { border-color: rgba(255, 147, 36, .55); box-shadow: 0 0 0 3px rgba(255, 114, 0, .08); }
.ws-form small { color: var(--ws-dim); font-size: 10px; }
.ws-check-field { display: flex; align-items: flex-start; gap: 9px; color: var(--ws-muted); font-size: 11px; }
.ws-check-field input { width: 16px; height: 16px; flex: 0 0 auto; margin-block-start: 2px; accent-color: var(--ws-orange); }
.ws-check-field a { color: var(--ws-text-soft); text-decoration: underline; }
.ws-password-field { position: relative; display: block; }
.ws-password-field input { padding-inline-end: 66px !important; }
.ws-password-field button { position: absolute; inset-block: 6px; inset-inline-end: 7px; padding-inline: 10px; border: 0; border-radius: 8px; background: var(--ws-surface-3); color: var(--ws-muted); font-size: 10px; }
.ws-form-errors, .ws-form-success { margin-block-end: 18px; padding: 12px 14px; border: 1px solid rgba(240, 68, 82, .25); border-radius: 12px; background: rgba(240, 68, 82, .07); color: #ffadb4; font-size: 12px; }
.ws-form-errors ul { margin: 6px 0 0; padding-inline-start: 18px; }
.ws-form-success { display: flex; align-items: center; gap: 8px; border-color: rgba(71, 209, 140, .25); background: rgba(71, 209, 140, .07); color: #8ae6b7; }

/* Topic page */
.ws-topic-page { padding-block: 32px 88px; }
.ws-topic-page__container { max-width: 880px; }
.ws-topic-post, .ws-reply, .ws-reply-composer { border: 1px solid var(--ws-border); border-radius: var(--ws-radius-lg); background: var(--ws-surface); }
.ws-topic-post { padding: 30px; }
.ws-topic-post__badges { display: flex; flex-wrap: wrap; gap: 7px; }
.ws-topic-post h1 { margin: 16px 0 20px; font-size: clamp(31px, 5vw, 52px); letter-spacing: -.045em; line-height: 1.16; }
.ws-topic-post__author, .ws-reply header { display: flex; align-items: center; gap: 10px; }
.ws-topic-post__author > div, .ws-reply header > div { display: flex; flex-direction: column; }
.ws-topic-post__author strong, .ws-reply header strong { font-size: 13px; }
.ws-topic-post__author div span, .ws-reply header div span { color: var(--ws-dim); font-size: 10px; }
.ws-topic-post__body { margin-block: 28px; color: var(--ws-text-soft); font-size: 16px; line-height: 1.9; white-space: normal; }
.ws-topic-post footer { display: flex; align-items: center; justify-content: flex-end; gap: 15px; padding-block-start: 17px; border-block-start: 1px solid var(--ws-border-soft); }
.ws-replies { padding-block: 50px 30px; }
.ws-replies__heading { margin-block-end: 18px; }
.ws-replies__heading h2 { margin: 5px 0 0; font-size: 25px; }
.ws-reply { position: relative; margin-block-end: 11px; padding: 21px; }
.ws-reply.is-solution { border-color: rgba(71, 209, 140, .34); background: linear-gradient(145deg, rgba(71, 209, 140, .055), var(--ws-surface) 50%); }
.ws-reply__solution { display: inline-flex; align-items: center; gap: 6px; margin-block-end: 15px; color: #80e2b0; font-size: 11px; font-weight: 800; }
.ws-reply__body { margin-block: 17px; color: var(--ws-text-soft); font-size: 14px; line-height: 1.85; }
.ws-reply form { display: flex; justify-content: flex-end; }
.ws-reply-composer { padding: 24px; }
.ws-reply-composer > h2 { margin: 0 0 16px; font-size: 21px; }
.ws-reply-composer__actions { display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.ws-notice { display: flex; align-items: flex-start; gap: 14px; }
.ws-notice > .ws-icon { margin-block-start: 4px; color: var(--ws-amber); }
.ws-notice h2 { margin: 0 0 4px; font-size: 18px; }
.ws-notice p { margin: 0 0 12px; color: var(--ws-muted); font-size: 13px; }

/* Auth */
.ws-auth-page { position: relative; overflow: hidden; min-height: 760px; padding-block: 70px 94px; }
.ws-auth-page__glow { position: absolute; width: 620px; height: 620px; inset-block-start: -330px; inset-inline-start: 50%; border-radius: 50%; background: rgba(255, 110, 0, .15); filter: blur(110px); }
.ws-auth-shell { position: relative; display: grid; grid-template-columns: 1fr 470px; align-items: center; gap: 80px; }
.ws-auth-shell__aside h1 { max-width: 570px; margin: 19px 0 14px; font-size: clamp(47px, 7vw, 76px); letter-spacing: -.06em; line-height: 1; }
.ws-auth-shell__aside > p { max-width: 570px; color: var(--ws-muted); font-size: 17px; }
.ws-auth-shell__benefits { display: grid; gap: 10px; margin-block-start: 25px; }
.ws-auth-shell__benefits span { display: flex; align-items: center; gap: 8px; color: var(--ws-text-soft); font-size: 13px; }
.ws-auth-shell__benefits .ws-icon { color: var(--ws-green); }
.ws-auth-card { padding: 29px; border: 1px solid #303540; border-radius: var(--ws-radius-lg); background: rgba(16, 18, 24, .94); box-shadow: var(--ws-shadow); }
.ws-auth-card__header { margin-block-end: 23px; }
.ws-auth-card__header h2 { margin: 15px 0 3px; font-size: 26px; }
.ws-auth-card__header p { margin: 0; color: var(--ws-muted); font-size: 13px; }
.ws-auth-card__switch { margin: 20px 0 0; color: var(--ws-muted); font-size: 12px; text-align: center; }
.ws-auth-card__switch a { color: var(--ws-amber); font-weight: 750; }

/* FAQ */
.ws-faq-hero { display: flex; align-items: center; flex-direction: column; text-align: center; }
.ws-faq-hero h1 { margin-inline: auto; }
.ws-faq-hero p { margin-inline: auto; }
.ws-faq-search { display: flex; width: min(100%, 670px); min-height: 58px; align-items: center; gap: 12px; margin-block-start: 29px; padding-inline: 17px; border: 1px solid #373c48; border-radius: 16px; background: rgba(16, 18, 24, .92); color: var(--ws-dim); box-shadow: 0 16px 45px rgba(0, 0, 0, .25); }
.ws-faq-search:focus-within { border-color: rgba(255, 145, 31, .55); }
.ws-faq-search input { min-width: 0; flex: 1; border: 0; outline: 0; background: transparent; color: var(--ws-text); }
.ws-faq-search kbd { padding: 2px 7px; border: 1px solid var(--ws-border); border-radius: 6px; background: var(--ws-surface-3); color: var(--ws-dim); font-size: 11px; }
.ws-faq-layout { display: grid; grid-template-columns: 270px 1fr; gap: 55px; align-items: start; }
.ws-faq-categories { position: sticky; inset-block-start: 98px; display: flex; flex-direction: column; align-items: stretch; gap: 4px; }
.ws-faq-categories > .ws-kicker { margin-block-end: 9px; }
.ws-faq-categories > a { display: flex; min-height: 44px; align-items: center; gap: 10px; padding-inline: 10px; border-radius: 10px; color: var(--ws-muted); font-size: 13px; }
.ws-faq-categories > a:hover { background: var(--ws-surface); color: #fff; }
.ws-faq-categories .ws-side-card { margin-block-start: 18px; }
.ws-faq-group { scroll-margin-top: 100px; margin-block-end: 43px; }
.ws-faq-group > h2 { margin-block-end: 14px; font-size: 23px; }
.ws-faq-no-results { min-height: 330px; }

/* Tutorials */
.ws-tutorials-coming { position: relative; overflow: hidden; padding-block: 90px 105px; }
.ws-tutorials-coming::before { position: absolute; inset: 0; background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,.055) 1px, transparent 0); background-size: 30px 30px; mask-image: linear-gradient(to bottom, #000, transparent 90%); content: ""; }
.ws-tutorials-coming__glow { position: absolute; width: 700px; height: 500px; inset: -250px 50% auto auto; transform: translateX(50%); border-radius: 50%; background: rgba(255, 106, 0, .14); filter: blur(110px); }
.ws-tutorials-coming .ws-container { position: relative; }
.ws-tutorials-coming__intro { display: flex; max-width: 830px; align-items: center; flex-direction: column; margin-inline: auto; text-align: center; }
.ws-status-pill { display: inline-flex; align-items: center; gap: 7px; margin-block-start: 13px; padding: 5px 9px; border: 1px solid var(--ws-border); border-radius: 999px; color: var(--ws-muted); font-size: 10px; }
.ws-status-pill i { width: 6px; height: 6px; border-radius: 50%; background: var(--ws-amber); box-shadow: 0 0 9px rgba(255, 179, 49, .7); }
.ws-tutorials-coming__intro h1 { margin: 18px 0 13px; font-size: clamp(42px, 7vw, 75px); letter-spacing: -.06em; line-height: 1.03; }
.ws-tutorials-coming__intro > p { max-width: 700px; margin-block-end: 26px; color: var(--ws-muted); font-size: 17px; }
.ws-tutorials-coming__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 9px; }
.ws-tutorial-roadmap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 13px; margin-block-start: 66px; }
.ws-tutorial-roadmap article { position: relative; min-height: 260px; overflow: hidden; padding: 22px; border: 1px solid var(--ws-border); border-radius: var(--ws-radius); background: rgba(16, 18, 24, .88); }
.ws-tutorial-roadmap__number { position: absolute; inset-block-start: 15px; inset-inline-end: 18px; color: #363b46; font-size: 31px; font-weight: 900; }
.ws-tutorial-roadmap h2 { margin: 29px 0 7px; font-size: 18px; }
.ws-tutorial-roadmap p { color: var(--ws-muted); font-size: 12px; }
.ws-tutorial-roadmap__lock { position: absolute; display: inline-flex; inset-block-end: 20px; inset-inline-start: 22px; align-items: center; gap: 5px; color: var(--ws-dim); font-size: 10px; }

/* Toast */
.ws-toast { position: fixed; z-index: 500; inset: auto 50% calc(20px + env(safe-area-inset-bottom)) auto; transform: translateX(50%); padding: 11px 15px; border: 1px solid #3a404b; border-radius: 12px; background: #171a21; color: #fff; box-shadow: 0 18px 50px rgba(0,0,0,.45); font-size: 12px; }

@media (max-width: 1080px) {
    .ws-nav { display: none; }
    .ws-mobile-toggle { display: inline-grid; }
    .ws-template-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .ws-hero__grid { grid-template-columns: 1fr .8fr; }
    .ws-community-layout { grid-template-columns: minmax(0, 1fr) 270px; }
    .ws-tutorial-roadmap { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
    .ws-container { width: min(calc(100% - 28px), var(--ws-container)); }
    .ws-header__play { display: none; }
    .ws-hero { padding-block-start: 52px; }
    .ws-hero__grid { min-height: 0; grid-template-columns: 1fr; }
    .ws-hero__copy { text-align: center; }
    .ws-hero__copy h1, .ws-hero__copy > p { margin-inline: auto; }
    .ws-hero__copy .ws-eyebrow { margin-inline: auto; }
    .ws-hero__actions, .ws-hero__assurances { justify-content: center; }
    .ws-hero__visual { min-height: 430px; order: -1; }
    .ws-hero__mark-shell { width: min(410px, 80%); }
    .ws-stat-strip { grid-template-columns: repeat(3, 1fr); }
    .ws-stat-strip p { display: none; }
    .ws-stat-strip > div:last-of-type { border-inline-end: 0; }
    .ws-template-grid, .ws-template-grid--featured { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ws-bento { grid-template-columns: 1fr 1fr; }
    .ws-bento__card--wide { grid-column: auto; }
    .ws-community-showcase, .ws-faq-preview, .ws-faq-layout, .ws-auth-shell, .ws-template-detail__grid { grid-template-columns: 1fr; }
    .ws-community-showcase__intro, .ws-faq-preview__intro, .ws-faq-categories { position: static; }
    .ws-community-showcase { gap: 32px; }
    .ws-steps { grid-template-columns: 1fr; }
    .ws-steps li, .ws-steps li:first-child, .ws-steps li:last-child { border: 1px solid var(--ws-border); border-block-end: 0; border-radius: 0; }
    .ws-steps li:first-child { border-radius: var(--ws-radius) var(--ws-radius) 0 0; }
    .ws-steps li:last-child { border-block-end: 1px solid var(--ws-border); border-radius: 0 0 var(--ws-radius) var(--ws-radius); }
    .ws-footer__grid { grid-template-columns: 1.5fr 1fr 1fr; }
    .ws-footer__grid > div:last-child { grid-column: 2 / -1; }
    .ws-library-toolbar { align-items: stretch; flex-direction: column; }
    .ws-filter-row { justify-content: space-between; }
    .ws-community-kinds { grid-template-columns: repeat(3, 1fr); }
    .ws-community-layout { grid-template-columns: 1fr; }
    .ws-community-sidebar { position: static; grid-template-columns: 1fr 1fr; }
    .ws-auth-shell { gap: 40px; }
    .ws-auth-shell__aside { text-align: center; }
    .ws-auth-shell__aside > p { margin-inline: auto; }
    .ws-auth-shell__benefits { display: none; }
    .ws-template-detail__grid { gap: 38px; }
    .ws-template-detail__preview { order: 2; }
    .ws-template-detail__content { text-align: center; }
    .ws-template-detail__badges, .ws-template-detail__author, .ws-template-detail__actions, .ws-tag-list { justify-content: center; }
    .ws-template-detail__description { margin-inline: auto; }
    .ws-template-detail__security { justify-content: center; }
}

@media (max-width: 620px) {
    body { font-size: 15px; }
    .ws-header__inner { height: 64px; }
    .ws-brand img { width: 36px; height: 36px; }
    .ws-brand__word { font-size: 17px; }
    .ws-header__login { display: none; }
    .ws-hero { padding-block: 34px 44px; }
    .ws-hero__visual { min-height: 330px; }
    .ws-hero__mark-shell { width: min(330px, 88%); inset-block-start: -5px; }
    .ws-hero__orb { width: 280px; height: 280px; inset-block-start: 30px; }
    .ws-hero__copy h1 { font-size: clamp(42px, 14vw, 62px); }
    .ws-hero__actions .ws-button { width: 100%; }
    .ws-hero__assurances { gap: 8px 13px; }
    .ws-stat-strip { grid-template-columns: 1fr 1fr 1fr; }
    .ws-stat-strip > div { padding: 16px 9px; text-align: center; }
    .ws-stat-strip strong { font-size: 19px; }
    .ws-stat-strip span { font-size: 9px; }
    .ws-section { padding-block: 60px; }
    .ws-section--tight { padding-block: 6px 35px; }
    .ws-section-heading { align-items: flex-start; flex-direction: column; margin-block-end: 22px; }
    .ws-section-heading h2 { font-size: 31px; }
    .ws-template-grid, .ws-template-grid--featured { gap: 10px; }
    .ws-template-card { border-radius: 14px; }
    .ws-template-card__body { padding: 11px; }
    .ws-template-card__heading h3 { font-size: 13px; }
    .ws-template-card__footer { align-items: flex-end; flex-direction: column; }
    .ws-template-card__footer > span { align-self: flex-start; }
    .ws-template-card__topline { inset-block-start: 7px; inset-inline: 7px; }
    .ws-template-card__play { width: 34px; height: 34px; inset-block-end: 7px; inset-inline-end: 7px; }
    .ws-tag-list { display: none; }
    .ws-reactive-mark { width: 27px; height: 27px; border-radius: 8px; }
    .ws-bento { grid-template-columns: 1fr; }
    .ws-bento__card { min-height: 220px; }
    .ws-topic-card { grid-template-columns: 1fr auto; padding: 14px; }
    .ws-topic-card__content > p { display: none; }
    .ws-topic-card__replies { min-width: 42px; }
    .ws-faq-preview { gap: 26px; }
    .ws-page-hero { padding-block: 55px 45px; }
    .ws-page-hero h1 { font-size: 43px; }
    .ws-page-hero p { font-size: 15px; }
    .ws-library-toolbar, .ws-community-toolbar { align-items: stretch; flex-direction: column; }
    .ws-filter-row { align-items: stretch; flex-direction: column; }
    .ws-segmented { display: grid; grid-template-columns: repeat(3, 1fr); }
    .ws-segmented a { text-align: center; }
    .ws-search-field .ws-button { padding-inline: 11px; }
    .ws-community-hero { align-items: stretch; flex-direction: column; }
    .ws-community-kinds { display: flex; overflow-x: auto; padding-block-end: 5px; scroll-snap-type: x mandatory; }
    .ws-community-kinds a { min-width: 142px; scroll-snap-align: start; }
    .ws-community-sidebar { grid-template-columns: 1fr; }
    .ws-topic-post { padding: 21px; }
    .ws-topic-post h1 { font-size: 31px; }
    .ws-topic-post footer, .ws-reply-composer__actions { align-items: flex-start; flex-direction: column; }
    .ws-reply-composer__actions .ws-button { width: 100%; }
    .ws-auth-page { padding-block: 50px 70px; }
    .ws-auth-shell__aside h1 { font-size: 49px; }
    .ws-auth-card { padding: 20px; }
    .ws-faq-layout { gap: 28px; }
    .ws-faq-categories { display: none; }
    .ws-faq-search kbd { display: none; }
    .ws-template-detail { padding-block-end: 65px; }
    .ws-template-detail__content h1 { font-size: 42px; }
    .ws-template-specs { grid-template-columns: 1fr; }
    .ws-template-detail__actions .ws-button { width: 100%; }
    .ws-tutorials-coming { padding-block: 65px 80px; }
    .ws-tutorial-roadmap { grid-template-columns: 1fr; margin-block-start: 45px; }
    .ws-tutorial-roadmap article { min-height: 225px; }
    .ws-footer__cta { align-items: stretch; flex-direction: column; padding: 24px; }
    .ws-footer__grid { grid-template-columns: 1fr 1fr; gap: 30px; }
    .ws-footer__brand { grid-column: 1 / -1; }
    .ws-footer__grid > div:last-child { grid-column: auto; }
    .ws-footer__bottom { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 390px) {
    .ws-template-grid, .ws-template-grid--featured { grid-template-columns: 1fr; }
    .ws-template-card__footer { align-items: center; flex-direction: row; }
}

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