:root {
    --bg-primary: #0a0e17;
    --bg-secondary: #1a1f2e;
    --bg-tertiary: #0d1321;
    --bg-card: rgba(20, 30, 48, 0.9);
    --bg-card-hover: rgba(15, 25, 40, 0.95);
    --bg-header: rgba(15, 20, 30, 0.82);
    --bg-input: rgba(15, 20, 30, 0.8);
    --text-primary: #e0e6ed;
    --text-secondary: #a0aec0;
    --text-muted: #718096;
    --border-color: rgba(0, 149, 255, 0.2);
    --border-light: rgba(0, 149, 255, 0.15);
    --accent-primary: #3584f7;
    --accent-secondary: #0095ff;
    --accent-gradient: linear-gradient(135deg, #0095ff, #3584f7);
    --shadow-color: rgba(0, 149, 255, 0.3);
    --content-width: 1400px;
    --page-padding: clamp(16px, 2vw, 30px);
    --dial-subnav-height: 54px;
    --brand-title-gradient: linear-gradient(90deg, #ffffff 0%, #93c5fd 18%, #2563eb 32%, #ffffff 50%, #93c5fd 68%, #2563eb 82%, #ffffff 100%);
    --brand-title-shadow: 0 0 24px rgba(37, 99, 235, 0.28);
    --ink: #f5f7ff;
    --muted: #99a8c7;
    --muted-2: #70809f;
    --night: #050a13;
    --panel: rgba(13, 23, 42, 0.78);
    --panel-solid: #0d172a;
    --line: rgba(148, 178, 221, 0.16);
    --cyan: #66e3ff;
    --violet: #8a6cff;
    --rose: #ff708d;
    --lime: #a6f7c3;
    --warning: #ffca6a;
    --danger: #ff6684;
    --shadow: 0 28px 90px rgba(0, 0, 0, 0.42);
    --radius: 28px;
}

[data-theme="light"] {
    --bg-primary: #f5f7fa;
    --bg-secondary: #e8ecf1;
    --bg-tertiary: #ffffff;
    --bg-card: rgba(255, 255, 255, 0.96);
    --bg-card-hover: rgba(248, 250, 252, 0.99);
    --bg-header: rgba(255, 255, 255, 0.88);
    --bg-input: rgba(255, 255, 255, 0.95);
    --text-primary: #1a202c;
    --text-secondary: #4a5568;
    --text-muted: #718096;
    --border-color: rgba(53, 132, 247, 0.25);
    --border-light: rgba(53, 132, 247, 0.15);
    --accent-primary: #3584f7;
    --accent-secondary: #1d4ed8;
    --accent-gradient: linear-gradient(135deg, #3584f7, #1d4ed8);
    --shadow-color: rgba(53, 132, 247, 0.16);
    --brand-title-gradient: linear-gradient(90deg, #05070b 0%, #1d4ed8 18%, #60a5fa 32%, #05070b 50%, #1d4ed8 68%, #60a5fa 82%, #05070b 100%);
    --brand-title-shadow: 0 8px 22px rgba(29, 78, 216, 0.16);
    --ink: #1a202c;
    --muted: #4a5568;
    --muted-2: #718096;
    --night: #f5f7fa;
    --panel: rgba(255, 255, 255, 0.92);
    --panel-solid: #ffffff;
    --line: rgba(53, 132, 247, 0.18);
    --cyan: #3584f7;
    --violet: #5b5bd6;
    --rose: #db4d6d;
    --lime: #16804a;
    --warning: #a96800;
    --danger: #c5304f;
    --shadow: 0 24px 70px rgba(42, 61, 91, 0.16);
}

* { box-sizing: border-box; }

html { color-scheme: dark light; scroll-behavior: smooth; }

body {
    margin: 0;
    min-width: 320px;
    color: var(--ink);
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 50%, var(--bg-tertiary) 100%);
    font-family: "HarmonyOS Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei UI", sans-serif;
    line-height: 1.65;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    transition: background .3s ease, color .3s ease;
}

body.modal-open { overflow: hidden; }
.clipboard-helper { position: fixed; left: -10000px; top: 0; width: 1px; height: 1px; opacity: 0; pointer-events: none; }

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    opacity: .9;
    background:
        radial-gradient(circle at 20% 80%, rgba(0,149,255,.1), transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255,0,128,.07), transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(0,255,200,.04), transparent 42%);
    transition: opacity .3s ease;
}

[data-theme="light"] body::before { opacity: .55; }

a { color: var(--cyan); text-decoration: none; }
a:hover { color: #baf5ff; }
.nowrap { white-space: nowrap; }
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
img { max-width: 100%; }

:focus-visible {
    outline: 3px solid rgba(53, 132, 247, 0.45);
    outline-offset: 3px;
}

.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--bg-header);
    border-bottom: 0;
    backdrop-filter: blur(20px);
    transition: background .3s ease, border-color .3s ease;
}
.header-content {
    max-width: var(--content-width);
    min-height: 68px;
    margin: 0 auto;
    padding: 11px var(--page-padding);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: clamp(10px, 1.4vw, 18px);
}
.logo { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; color: var(--text-primary); text-decoration: none; }
.logo:hover { color: var(--text-primary); }
.logo-icon { width: clamp(38px, 4.5vw, 45px); height: clamp(38px, 4.5vw, 45px); overflow: hidden; border-radius: 12px; box-shadow: 0 4px 15px rgba(0,149,255,.35); }
.logo-icon img { width: 100%; height: 100%; object-fit: cover; }
.logo-text { white-space: nowrap; font-size: clamp(17px, 2.2vw, 22px); font-weight: 800; background-image: var(--brand-title-gradient); background-size: 200% 100%; background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent; text-shadow: var(--brand-title-shadow); animation: brandTitleGradientFlow 4.8s linear infinite; }
@keyframes brandTitleGradientFlow { from { background-position: 0 50%; } to { background-position: 100% 50%; } }
.nav { display: flex; flex: 1 1 auto; min-width: 0; justify-content: center; align-items: center; gap: clamp(3px,.6vw,10px); }
.nav a { min-width: 0; max-width: clamp(76px,10vw,150px); display: inline-flex; align-items: center; justify-content: center; padding: 8px 12px; overflow: hidden; color: var(--text-secondary); border: 1px solid transparent; border-radius: 999px; text-decoration: none; white-space: nowrap; font-size: clamp(12px,1.35vw,14px); transition: color .2s ease, background .2s ease, border-color .2s ease; }
.nav a span { overflow: hidden; text-overflow: ellipsis; }
.nav a:hover { color: var(--accent-primary); background: rgba(53,132,247,.08); border-color: rgba(53,132,247,.18); }
.user-area { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.theme-toggle { min-height: 40px; display: inline-flex; align-items: center; gap: 6px; padding: 8px 13px; color: var(--text-secondary); border: 1px solid var(--border-color); border-radius: 20px; background: var(--bg-card); cursor: pointer; }
.theme-toggle:hover { color: var(--accent-primary); border-color: var(--accent-primary); background: var(--bg-card-hover); }
.theme-toggle [data-theme-icon] { color: var(--accent-primary); font-size: 16px; }
.theme-toggle [data-theme-text] { font-size: 13px; }
.user-info { display: flex; align-items: center; gap: 9px; color: var(--text-primary); text-decoration: none; }
.user-avatar { width: 34px; height: 34px; display: grid; place-items: center; overflow: hidden; border-radius: 50%; color: #fff; background: var(--accent-gradient); }
.user-avatar img { width: 100%; height: 100%; object-fit: cover; }
.user-name { max-width: 120px; overflow: hidden; color: var(--text-secondary); text-overflow: ellipsis; white-space: nowrap; font-size: 13px; }
.btn-login { padding: 8px 18px; color: #fff; border-radius: 20px; background: var(--accent-gradient); font-size: 14px; text-decoration: none; }
.btn-login:hover { color: #fff; box-shadow: 0 5px 15px var(--shadow-color); transform: translateY(-1px); }
.mobile-menu-btn { display: none; width: 42px; height: 42px; color: var(--text-primary); border: 1px solid var(--border-color); border-radius: 12px; background: var(--bg-card); font-size: 22px; cursor: pointer; }

.dial-subnav { position: sticky; top: calc(var(--site-header-height,68px) - 1px); z-index: 900; margin-top: -1px; border-bottom: 1px solid var(--border-light); background: color-mix(in srgb, var(--bg-card) 94%, transparent); backdrop-filter: blur(18px); }
.dial-subnav-inner { max-width: var(--content-width); min-height: 54px; position: relative; margin: 0 auto; padding: 7px var(--page-padding); display: flex; align-items: center; justify-content: center; gap: 22px; }
.dial-subnav-brand { position: absolute; left: var(--page-padding); flex: 0 0 auto; color: var(--text-primary); font-size: 15px; font-weight: 800; text-decoration: none; }
.dial-subnav-brand::before { content: ""; width: 9px; height: 9px; display: inline-block; margin-right: 9px; border: 2px solid var(--accent-primary); border-radius: 50%; box-shadow: 0 0 10px var(--shadow-color); }
.dial-subnav-links { min-width: 0; display: flex; align-items: center; justify-content: center; gap: 5px; margin: 0 auto; }
.dial-subnav-links a { padding: 8px 14px; color: var(--text-secondary); border: 1px solid transparent; border-radius: 999px; white-space: nowrap; font-size: 13px; font-weight: 700; text-decoration: none; }
.dial-subnav-links a:hover, .dial-subnav-links a.active { color: var(--accent-primary); border-color: rgba(53,132,247,.2); background: rgba(53,132,247,.09); }

.site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 12px max(24px, calc((100vw - 1280px) / 2));
    background: rgba(5, 10, 19, 0.78);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(22px) saturate(145%);
}

.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand > span:last-child { display: flex; flex-direction: column; line-height: 1.16; }
.brand strong { font-size: 18px; letter-spacing: .02em; }
.brand small { margin-top: 4px; color: var(--muted); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; }
.brand-mark {
    width: 45px;
    height: 45px;
    position: relative;
    display: block;
    border: 2px solid var(--cyan);
    border-radius: 50%;
    box-shadow: inset 0 0 20px rgba(102,227,255,.12), 0 0 22px rgba(102,227,255,.12);
}
.brand-mark::before, .brand-mark::after { content: ""; position: absolute; border-radius: 50%; background: var(--cyan); width: 4px; height: 4px; top: 4px; left: 19px; }
.brand-mark::after { top: 19px; left: 4px; background: var(--violet); }
.brand-mark span, .brand-mark i { position: absolute; width: 3px; border-radius: 4px; background: var(--ink); transform-origin: 50% 100%; left: 19px; bottom: 19px; }
.brand-mark span { height: 14px; transform: rotate(34deg); }
.brand-mark i { height: 10px; transform: rotate(-76deg); }
.brand-mark b { position: absolute; width: 8px; height: 8px; border-radius: 50%; background: var(--rose); left: 16.5px; top: 16.5px; }

.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav a { color: var(--muted); padding: 10px 14px; border-radius: 13px; font-size: 14px; font-weight: 650; transition: .2s ease; }
.site-nav a:hover, .site-nav a.active { color: var(--ink); background: rgba(255,255,255,.06); }
.site-nav a.active { box-shadow: inset 0 0 0 1px rgba(102,227,255,.16); }
.site-nav .account { margin-left: 8px; color: var(--cyan); background: rgba(102,227,255,.08); }
.nav-toggle { display: none; color: var(--ink); background: transparent; border: 0; font-size: 24px; }

.page-shell { width: min(1280px, calc(100% - 48px)); margin: 0 auto; padding: 56px 0 96px; }
.page-shell.narrow { width: min(880px, calc(100% - 48px)); }

.page-hero {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr);
    align-items: center;
    gap: 32px;
    min-height: 520px;
    padding: 64px clamp(32px, 6vw, 86px);
    border: 1px solid var(--line);
    border-radius: 40px;
    background:
        radial-gradient(circle at 88% 35%, rgba(102,227,255,.15), transparent 28%),
        radial-gradient(circle at 72% 72%, rgba(138,108,255,.17), transparent 30%),
        linear-gradient(135deg, rgba(20,37,65,.86), rgba(8,15,28,.94));
    box-shadow: var(--shadow);
}
.page-hero::after { content: ""; position: absolute; inset: 20px; border: 1px solid rgba(255,255,255,.035); border-radius: 28px; pointer-events: none; }
.page-hero.compact { min-height: 0; display: block; padding: 48px clamp(28px, 5vw, 64px); }
.page-hero.compact h1 { max-width: 900px; font-size: clamp(36px, 5vw, 64px); }
.page-hero.compact p { max-width: 860px; }
.page-hero.split-heading { display: flex; justify-content: space-between; gap: 32px; align-items: center; }
.hero-copy { position: relative; z-index: 2; }
.eyebrow { display: inline-block; color: var(--cyan); font-size: 12px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
.page-hero h1 { margin: 18px 0 22px; font-size: clamp(44px, 5vw, 68px); line-height: 1.08; letter-spacing: -.045em; }
.page-hero h1 em { color: transparent; font-style: normal; background: linear-gradient(100deg, var(--cyan), #b8f6ff 42%, #ae95ff); background-clip: text; }
.hero-copy h1 em { white-space: nowrap; }
.page-hero p { max-width: 680px; color: var(--muted); font-size: 17px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 30px; }

.primary-button, .secondary-button, .danger-button, .text-button, .filter-bar button, .preview-controls button {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 14px;
    border: 1px solid transparent;
    cursor: pointer;
    font-weight: 750;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
}
.primary-button { color: #031018; background: linear-gradient(135deg, #b9f6ff, var(--cyan)); box-shadow: 0 12px 30px rgba(62, 202, 233, .2); }
.primary-button:hover { color: #031018; transform: translateY(-2px); box-shadow: 0 16px 38px rgba(62, 202, 233, .28); }
.primary-button.large { min-height: 54px; padding: 14px 24px; border-radius: 17px; }
.secondary-button { color: var(--ink); background: rgba(255,255,255,.055); border-color: var(--line); }
.secondary-button:hover { color: var(--ink); transform: translateY(-2px); border-color: rgba(102,227,255,.36); background: rgba(102,227,255,.08); }
.text-button { min-height: auto; padding-inline: 8px; color: var(--cyan); background: transparent; }
.danger-button { color: #ffb6c5; background: rgba(255,102,132,.08); border-color: rgba(255,102,132,.22); }
.danger-button:hover { background: rgba(255,102,132,.16); border-color: rgba(255,102,132,.5); }

.hero-dial { min-height: 370px; position: relative; display: grid; place-items: center; isolation: isolate; }
.hero-dial::before { content: ""; position: absolute; width: min(34vw,390px); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle,rgba(102,227,255,.18),rgba(91,91,214,.07) 44%,transparent 70%); filter: blur(18px); animation: heroAura 4.8s ease-in-out infinite; }
.hero-ring { width: min(29vw,330px); aspect-ratio: 1; position: relative; overflow: hidden; border: 10px solid #101d30; border-radius: 50%; background: radial-gradient(circle at 42% 36%,#183258 0%,#0a172a 46%,#03070d 100%); box-shadow: 0 0 0 2px rgba(102,227,255,.32),0 26px 70px rgba(0,0,0,.4),inset 0 0 54px rgba(102,227,255,.08); animation: heroDialFloat 5.6s ease-in-out infinite; }
.hero-ring::before { content: ""; position: absolute; inset: 8%; z-index: 1; border: 1px solid rgba(102,227,255,.25); border-radius: 50%; box-shadow: inset 0 0 25px rgba(102,227,255,.06); }
.hero-ring::after { content: ""; position: absolute; inset: 15%; border-radius: 50%; background: radial-gradient(circle,transparent 58%,rgba(102,227,255,.04)); }
.hero-ticks { position: absolute; inset: 8%; border-radius: 50%; background: repeating-conic-gradient(from -1deg,rgba(229,248,255,.74) 0 1deg,transparent 1deg 6deg); mask: radial-gradient(circle,transparent 76%,#000 77%); opacity: .56; }
.hero-scan { position: absolute; inset: 4%; z-index: 2; border-radius: 50%; background: conic-gradient(from 0deg,transparent 0 305deg,rgba(102,227,255,.08) 322deg,rgba(102,227,255,.75) 340deg,transparent 352deg); mask: radial-gradient(circle,transparent 86%,#000 87%); animation: heroScan 7.5s linear infinite; }
.hero-hand { position: absolute; z-index: 4; left: calc(50% - 3px); bottom: 50%; width: 6px; border-radius: 8px; transform-origin: 50% 100%; }
.hero-hand-long { height: 31%; background: linear-gradient(to top,#dffaff 0%,#65dcff 58%,#69a7ff 100%); box-shadow: 0 0 14px rgba(102,227,255,.36); animation: heroLongHand 24s linear infinite; }
.hero-hand-short { height: 22%; background: linear-gradient(to top,#fff,#d8e1f4); box-shadow: 0 0 10px rgba(255,255,255,.22); animation: heroShortHand 96s linear infinite; }
.hero-pin { position: absolute; z-index: 6; width: 16px; height: 16px; left: calc(50% - 8px); top: calc(50% - 8px); border: 3px solid rgba(255,255,255,.92); border-radius: 50%; background: var(--rose); box-shadow: 0 0 0 5px rgba(255,112,141,.12),0 0 24px rgba(255,112,141,.55); }
.hero-edit-label { position: absolute; z-index: 3; left: 50%; bottom: 24%; transform: translateX(-50%); color: rgba(196,235,255,.52); font-style: normal; font-size: 10px; font-weight: 800; letter-spacing: .24em; white-space: nowrap; }
.edit-path { position: absolute; z-index: 8; width: min(25vw,285px); aspect-ratio: 1; pointer-events: none; }
.edit-path::before { content: ""; position: absolute; inset: 0; border: 1px dashed rgba(102,227,255,.28); border-radius: 50%; animation: editDash 12s linear infinite; }
.edit-node { --node-transform: translate(-50%,-50%); width: 16px; height: 16px; position: absolute; color: var(--cyan); border: 2px solid currentColor; border-radius: 4px; background: #07111f; box-shadow: 0 0 0 4px rgba(102,227,255,.06),0 0 16px currentColor; transform: var(--node-transform); animation: editNodePulse 2.8s ease-in-out infinite; }
.edit-node::after { content: ""; position: absolute; inset: 4px; border-radius: 1px; background: currentColor; opacity: .72; }
.node-one { left: 50%; top: 0; }
.node-two { --node-transform: translate(50%,-50%); right: 0; top: 50%; color: var(--violet); animation-delay: -.7s; }
.node-three { --node-transform: translate(-50%,50%); left: 50%; bottom: 0; color: var(--rose); animation-delay: -1.4s; }
.node-four { --node-transform: translate(-50%,-50%); left: 0; top: 50%; color: #80f1cb; animation-delay: -2.1s; }
@keyframes heroAura { 0%,100% { transform: scale(.94); opacity: .58; } 50% { transform: scale(1.06); opacity: .92; } }
@keyframes heroDialFloat { 0%,100% { transform: translateY(3px); } 50% { transform: translateY(-6px); } }
@keyframes heroScan { to { transform: rotate(360deg); } }
@keyframes heroLongHand { from { transform: rotate(38deg); } to { transform: rotate(398deg); } }
@keyframes heroShortHand { from { transform: rotate(-66deg); } to { transform: rotate(294deg); } }
@keyframes editDash { to { transform: rotate(-360deg); } }
@keyframes editNodePulse { 0%,100% { transform: var(--node-transform) scale(.86); opacity: .58; } 45% { transform: var(--node-transform) scale(1.14); opacity: 1; } }

.principles-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 24px 0 74px; }
.principles-grid article, .feature-list article { position: relative; padding: 24px; border: 1px solid var(--line); border-radius: 22px; background: rgba(13,23,42,.6); }
.principles-grid span { color: var(--cyan); font: 800 11px/1 monospace; }
.principles-grid strong { display: block; margin: 14px 0 7px; font-size: 17px; }
.principles-grid p, .feature-list p { margin: 0; color: var(--muted); font-size: 13px; }

.catalog-section { margin-top: 24px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 24px; }
.section-heading h2 { margin: 6px 0 0; font-size: clamp(28px, 4vw, 44px); letter-spacing: -.03em; }
.result-count { color: var(--muted); font-size: 14px; }
.filter-bar { display: grid; grid-template-columns: minmax(220px, 1fr) 170px 170px auto; gap: 10px; padding: 14px; margin-bottom: 28px; border: 1px solid var(--line); border-radius: 20px; background: rgba(13,23,42,.64); }
.filter-bar input, .filter-bar select { width: 100%; min-height: 46px; color: var(--ink); border: 1px solid var(--line); border-radius: 13px; background: #0a1425; padding: 9px 13px; }
.filter-bar button { color: #031018; border: 0; background: var(--cyan); }

.dial-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.dial-card { overflow: hidden; border: 1px solid var(--line); border-radius: 26px; background: linear-gradient(155deg, rgba(19,33,57,.86), rgba(8,15,27,.92)); transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; }
.dial-card:hover { transform: translateY(-6px); border-color: rgba(102,227,255,.35); box-shadow: 0 24px 60px rgba(0,0,0,.32); }
.card-preview { position: relative; display: grid; place-items: center; aspect-ratio: 1.3; padding: 22px; overflow: hidden; background: radial-gradient(circle, rgba(102,227,255,.1), transparent 58%), #070d18; }
.card-preview::after { content: ""; position: absolute; width: 66%; aspect-ratio: 1; border-radius: 50%; border: 1px solid rgba(255,255,255,.07); }
.card-preview img { position: relative; z-index: 1; width: min(72%, 245px); aspect-ratio: 1; object-fit: cover; border-radius: 50%; box-shadow: 0 18px 45px rgba(0,0,0,.48); }
.mode-badge { position: absolute; z-index: 2; left: 16px; top: 16px; padding: 6px 10px; color: #c7f8ff; font-size: 11px; font-weight: 800; border: 1px solid rgba(102,227,255,.24); border-radius: 999px; background: rgba(5,10,19,.76); backdrop-filter: blur(8px); }
.mode-badge.large { position: static; display: inline-flex; font-size: 12px; }
.preview-note { position: absolute; z-index: 2; right: 14px; bottom: 13px; padding: 5px 9px; color: var(--muted); border-radius: 9px; background: rgba(5,10,19,.78); font-size: 10px; }
.card-body { padding: 20px; }
.card-body h3 { margin: 0 0 8px; font-size: 20px; }
.card-body h3 a { color: var(--ink); }
.card-body p { min-height: 46px; margin-bottom: 16px; color: var(--muted); font-size: 13px; }
.card-meta { display: flex; justify-content: space-between; gap: 12px; color: var(--muted-2); font-size: 12px; }

.pagination { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 38px; }
.pagination a { min-width: 40px; height: 40px; display: grid; place-items: center; color: var(--muted); border: 1px solid var(--line); border-radius: 12px; }
.pagination a.active, .pagination a:hover { color: #06101b; background: var(--cyan); border-color: var(--cyan); }

.empty-state { padding: 68px 28px; text-align: center; border: 1px dashed rgba(148,178,221,.24); border-radius: 28px; background: rgba(13,23,42,.45); }
.empty-state.tall { margin-top: 28px; padding-block: 100px; }
.empty-state strong { display: block; margin-bottom: 8px; font-size: 24px; }
.empty-state p { color: var(--muted); }

.notice-card { margin: 24px 0; padding: 22px 24px; border: 1px solid rgba(102,227,255,.2); border-radius: 20px; background: rgba(102,227,255,.055); }
.notice-card.warning { border-color: rgba(255,202,106,.28); background: rgba(255,202,106,.065); }
.notice-card.legal { border-color: rgba(138,108,255,.24); background: rgba(138,108,255,.06); }
.notice-card strong { display: block; margin-bottom: 6px; font-size: 17px; }
.notice-card p { margin: 5px 0; color: var(--muted); font-size: 14px; }
.notice-card.compact-notice { margin-top: 40px; }

.compose-shell { width: min(1180px, calc(100% - 48px)); }
.page-hero.compact h1.upload-title { max-width: none; white-space: nowrap; font-size: clamp(22px,4.2vw,58px); letter-spacing: -.055em; }
.upload-panel { padding: clamp(24px, 5vw, 44px); border: 1px solid var(--line); border-radius: 30px; background: rgba(13,23,42,.7); box-shadow: var(--shadow); }
.drop-zone { min-height: 260px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; text-align: center; border: 1px dashed rgba(102,227,255,.42); border-radius: 24px; background: radial-gradient(circle, rgba(102,227,255,.08), transparent 65%); cursor: pointer; transition: .2s ease; }
.drop-zone:hover, .drop-zone.dragging { border-color: var(--cyan); background-color: rgba(102,227,255,.05); }
.drop-zone input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.drop-zone .drop-icon { color: var(--cyan); font-size: 48px; line-height: 1; }
.drop-zone strong { font-size: 20px; }
.drop-zone small { color: var(--muted); }
.client-parse { margin-top: 14px; padding: 15px 17px; border-radius: 15px; color: var(--muted); background: rgba(255,255,255,.04); font-size: 13px; }
.client-parse strong { color: var(--ink); }
.client-parse.error { color: #ffb7c5; background: rgba(255,102,132,.08); }
.share-compose { display: grid; grid-template-columns: minmax(330px,.9fr) minmax(0,1.1fr); gap: 22px; align-items: start; margin-top: 26px; }
.share-preview-panel, .share-fields-panel { min-width: 0; padding: clamp(20px,3vw,30px); border: 1px solid var(--line); border-radius: 24px; background: rgba(7,15,28,.72); }
.form-section-heading { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 22px; }
.form-section-heading > span { flex: 0 0 auto; margin-top: 4px; color: var(--cyan); font: 800 10px/1.3 ui-monospace,Consolas,monospace; letter-spacing: .13em; }
.form-section-heading strong { display: block; font-size: 19px; }
.form-section-heading p { margin: 3px 0 0; color: var(--muted); font-size: 12px; }
.upload-preview-empty { min-height: 390px; display: grid; place-content: center; justify-items: center; padding: 32px; text-align: center; border: 1px dashed rgba(102,227,255,.25); border-radius: 22px; background: radial-gradient(circle,rgba(102,227,255,.07),transparent 65%); }
.upload-preview-empty[hidden], .upload-preview-shell[hidden] { display: none !important; }
.upload-preview-empty > span { color: var(--cyan); font-size: 58px; filter: drop-shadow(0 0 18px rgba(102,227,255,.22)); }
.upload-preview-empty strong { margin-top: 10px; font-size: 17px; }
.upload-preview-empty p { max-width: 260px; margin: 5px 0 0; color: var(--muted); font-size: 12px; }
.upload-preview-shell { min-width: 0; }
.compact-watch-stage { width: min(100%,360px); }
.compact-preview-controls { grid-template-columns: 1fr 1fr; margin-top: 8px; }
.compact-preview-controls label { grid-column: 1 / -1; grid-row: 2; }
.upload-preview-facts { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; margin-top: 12px; }
.upload-preview-facts span { min-width: 0; padding: 8px 10px; overflow: hidden; color: var(--muted); border: 1px solid var(--line); border-radius: 10px; text-overflow: ellipsis; white-space: nowrap; font-size: 10px; }
.form-field { display: block; margin-top: 19px; }
.form-field:first-of-type { margin-top: 0; }
.form-field > span { display: flex; justify-content: space-between; gap: 14px; margin-bottom: 8px; color: var(--ink); font-size: 14px; font-weight: 750; }
.form-field > span b { color: var(--rose); font-size: 10px; font-weight: 700; }
.form-field > span em { color: var(--muted-2); font-size: 10px; font-style: normal; font-weight: 500; }
.form-field input, .form-field textarea { width: 100%; color: var(--ink); border: 1px solid var(--line); border-radius: 14px; background: var(--bg-input); padding: 12px 14px; outline: 0; transition: border-color .18s ease,box-shadow .18s ease,background .18s ease; }
.form-field textarea { min-height: 170px; resize: vertical; line-height: 1.7; }
.form-field input:focus, .form-field textarea:focus { border-color: var(--accent-primary); box-shadow: 0 0 0 3px rgba(53,132,247,.15); }
.form-field small { display: block; margin-top: 7px; color: var(--muted-2); font-size: 11px; }
.share-agreements { margin-top: 26px; padding-top: 4px; border-top: 1px solid var(--line); }
.check-row { display: flex; align-items: flex-start; gap: 12px; margin-top: 20px; color: #d9e2f4; font-size: 14px; }
.check-row input[type="checkbox"] { appearance: none; width: 21px; height: 21px; flex: 0 0 auto; position: relative; margin-top: 1px; border: 1.5px solid var(--border-color); border-radius: 6px; background: var(--bg-input); box-shadow: inset 0 1px 2px rgba(0,0,0,.16); cursor: pointer; transition: border-color .18s ease,background .18s ease,box-shadow .18s ease,transform .18s ease; }
.check-row input[type="checkbox"]::after { content: ""; width: 6px; height: 10px; position: absolute; left: 6px; top: 2px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg) scale(0); transform-origin: 50% 55%; transition: transform .16s ease; }
.check-row input[type="checkbox"]:hover { border-color: var(--accent-primary); transform: translateY(-1px); }
.check-row input[type="checkbox"]:checked { border-color: transparent; background: var(--accent-gradient); box-shadow: 0 5px 14px rgba(53,132,247,.28),inset 0 1px 0 rgba(255,255,255,.22); }
.check-row input[type="checkbox"]:checked::after { transform: rotate(45deg) scale(1); }
.check-row input[type="checkbox"]:focus-visible { outline: 0; box-shadow: 0 0 0 3px rgba(53,132,247,.22),0 5px 14px rgba(53,132,247,.2); }
.check-row.muted { color: var(--muted); }
.upload-panel > .primary-button { width: 100%; margin-top: 28px; }
.form-hint { margin: 14px 0 0; color: var(--muted-2); text-align: center; font-size: 12px; }
.form-error, .flash, .success-banner { padding: 15px 18px; border-radius: 16px; }
.form-error, .flash.error { color: #ffd1da; border: 1px solid rgba(255,102,132,.3); background: rgba(255,102,132,.1); }
.compose-shell > .form-error { margin: 20px 0; }
.flash { width: min(620px, calc(100% - 32px)); box-shadow: 0 16px 42px rgba(0,0,0,.24); text-align: center; }
.page-flash { position: relative; z-index: 2; margin: 16px auto 0; }
.page-flash + .page-shell { padding-top: 32px; }
.flash[data-js-toast] { position: fixed; z-index: 950; top: calc(var(--site-header-height, 68px) + var(--dial-subnav-height) + 14px); left: 50%; transform: translateX(-50%); box-shadow: var(--shadow); }
.flash.success, .success-banner { color: #d5ffe4; border: 1px solid rgba(166,247,195,.28); background: rgba(36,91,60,.88); }

.detail-shell { padding-top: 34px; }
.success-banner { display: flex; gap: 10px; justify-content: center; margin-bottom: 20px; }
.success-banner span { color: rgba(232,255,239,.75); }
.detail-layout { display: grid; grid-template-columns: minmax(420px, .92fr) minmax(380px, 1.08fr); gap: clamp(42px, 6.4vw, 92px); align-items: start; }
.preview-column { min-width: 0; position: sticky; top: 105px; }
.detail-copy { min-width: 0; }
.watch-stage-frame { width: min(100%, 570px); margin: 0 auto; }
.watch-stage { position: relative; width: min(100%, 570px); margin: 0 auto; padding: 4.8%; border-radius: 50%; background: linear-gradient(145deg, #24344f, #070d16 38%, #1a2940 72%, #04070c); box-shadow: 0 40px 100px rgba(0,0,0,.55), inset 0 0 0 2px rgba(255,255,255,.08), 0 0 0 1px rgba(102,227,255,.18); }
.watch-stage::before { content: ""; position: absolute; inset: 1.6%; border-radius: 50%; border: 1px solid rgba(255,255,255,.12); pointer-events: none; }
.watch-body { position: relative; overflow: hidden; aspect-ratio: 1; border-radius: 50%; background: #000; box-shadow: inset 0 0 36px rgba(0,0,0,.8); }
.watch-body canvas, .preview-fallback { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 50%; }
.watch-body canvas { display: block; }
.preview-fallback { z-index: 2; object-fit: cover; transition: opacity .3s ease; }
.preview-fallback.hidden { opacity: 0; pointer-events: none; }
.preview-loading { position: absolute; z-index: 3; inset: 0; display: grid; place-content: center; justify-items: center; gap: 12px; color: #d8faff; text-shadow: 0 2px 10px #000; background: rgba(2,7,13,.26); transition: opacity .25s ease; }
.preview-loading span { width: 28px; height: 28px; border: 2px solid rgba(255,255,255,.25); border-top-color: var(--cyan); border-radius: 50%; animation: spinner .8s linear infinite; }
.preview-loading strong { font-size: 12px; }
.preview-loading.hidden { opacity: 0; pointer-events: none; }
@keyframes spinner { to { transform: rotate(360deg); } }
.preview-status { margin: 18px auto 12px; color: var(--muted); text-align: center; font-size: 13px; }
.preview-controls { display: grid; grid-template-columns: auto minmax(150px, 1fr) auto auto; align-items: center; gap: 8px; padding: 10px; border: 1px solid var(--line); border-radius: 18px; background: rgba(13,23,42,.78); }
.preview-controls.detail-preview-controls { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.detail-preview-controls button { width: 100%; }
.preview-controls button { min-height: 38px; padding: 8px 11px; color: var(--ink); border-color: var(--line); background: rgba(255,255,255,.045); font-size: 12px; }
.preview-controls button[aria-pressed="true"] { color: #051018; background: var(--cyan); }
.preview-controls button:disabled { opacity: .38; cursor: not-allowed; }
.preview-controls label { display: flex; flex-direction: column; gap: 2px; color: var(--muted-2); font-size: 9px; text-transform: uppercase; }
.preview-controls input { width: 100%; accent-color: var(--cyan); }
.preview-disclosure { max-width: 540px; margin: 13px auto 0; color: var(--muted-2); text-align: center; font-size: 11px; }
.detail-copy { padding-top: 34px; }
.detail-copy h1 { margin: 18px 0 8px; font-size: clamp(42px, 5vw, 72px); line-height: 1.05; letter-spacing: -.045em; }
.byline { color: var(--muted); font-size: 14px; }
.byline strong { color: var(--ink); }
.manifest-credit { margin: -2px 0 0; color: var(--muted-2); font-size: 11px; }
.detail-description { margin: 30px 0; color: #c4cfe2; font-size: 17px; }
.interaction-callout { display: flex; flex-direction: column; gap: 3px; margin-bottom: 26px; padding: 16px 18px; border-left: 3px solid var(--violet); border-radius: 0 14px 14px 0; background: rgba(138,108,255,.08); }
.interaction-callout span { color: var(--muted); font-size: 13px; }
.dial-facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; overflow: hidden; margin: 0 0 28px; border: 1px solid var(--line); border-radius: 20px; background: var(--line); }
.dial-facts div { padding: 14px 17px; background: #0b1526; }
.dial-facts dt { color: var(--muted-2); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; }
.dial-facts dd { margin: 3px 0 0; font-weight: 720; }
.detail-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.hash-line { margin-top: 20px; }
.hash-line span { display: block; margin-bottom: 5px; color: var(--muted-2); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; }
.hash-line code, .release-proof code { display: block; overflow-wrap: anywhere; color: #a9b7d0; font-size: 11px; }

.manage-list { display: grid; gap: 18px; margin-top: 28px; }
.manage-card { display: grid; grid-template-columns: 220px 1fr; overflow: hidden; border: 1px solid var(--line); border-radius: 25px; background: rgba(13,23,42,.72); }
.manage-preview { display: grid; place-items: center; min-height: 220px; padding: 25px; background: radial-gradient(circle, rgba(102,227,255,.11), transparent 62%), #080f1b; }
.manage-preview img { width: 100%; aspect-ratio: 1; border-radius: 50%; object-fit: cover; box-shadow: 0 18px 38px rgba(0,0,0,.42); }
.manage-copy { padding: 24px 26px; }
.manage-heading { display: flex; align-items: start; justify-content: space-between; gap: 20px; }
.manage-heading span { color: var(--cyan); font-size: 11px; }
.manage-heading h2 { margin: 3px 0 8px; font-size: 25px; }
.manage-heading b { color: var(--lime); font-size: 11px; }
.manage-copy > p { color: var(--muted); font-size: 13px; }
.manage-author { color: var(--ink); }
.manage-meta { display: flex; flex-wrap: wrap; gap: 12px 18px; color: var(--muted-2); font-size: 11px; }
.manage-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 20px; }
.manage-actions form { margin-left: auto; }

.edit-share-panel { margin-top: 24px; }
.edit-preview-panel { position: sticky; top: 140px; }
.edit-manifest-facts { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; margin: 18px 0 0; }
.edit-manifest-facts div { min-width: 0; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,255,255,.025); }
.edit-manifest-facts dt { color: var(--muted-2); font-size: 9px; letter-spacing: .08em; text-transform: uppercase; }
.edit-manifest-facts dd { margin: 4px 0 0; overflow: hidden; color: var(--ink); text-overflow: ellipsis; white-space: nowrap; font-size: 12px; }
.edit-manifest-facts code { color: var(--muted); font-size: 10px; }
.edit-file-note { margin-top: 24px; padding: 17px 18px; border: 1px solid rgba(102,227,255,.18); border-radius: 16px; background: rgba(102,227,255,.045); }
.edit-file-note strong { font-size: 14px; }
.edit-file-note p { margin: 5px 0 4px; color: var(--muted); font-size: 12px; }
.edit-form-actions { display: flex; justify-content: flex-end; align-items: center; gap: 10px; margin-top: 24px; }

.guide-shell { max-width: 1120px; }
.guide-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; margin-top: 28px; }
.guide-card { position: relative; overflow: hidden; min-height: 330px; padding: 34px; border: 1px solid var(--line); border-radius: 28px; background: rgba(13,23,42,.66); }
.guide-card.featured { background: radial-gradient(circle at 90% 5%, rgba(102,227,255,.12), transparent 45%), rgba(13,23,42,.76); }
.guide-card.wide { grid-column: 1 / -1; min-height: 0; }
.step-number { position: absolute; right: 22px; top: 15px; color: rgba(102,227,255,.14); font-size: 66px; font-weight: 900; line-height: 1; }
.guide-card h2 { margin: 8px 0 18px; font-size: 27px; }
.guide-card p, .guide-card li { color: #b6c2d8; font-size: 14px; }
.guide-card ol { padding-left: 20px; }
.guide-card li { margin-bottom: 10px; padding-left: 5px; }
.guide-card .muted-copy { color: var(--muted-2); font-size: 12px; }
.two-column-copy { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.faq-section { margin-top: 70px; }
.faq-section details { border-top: 1px solid var(--line); }
.faq-section details:last-child { border-bottom: 1px solid var(--line); }
.faq-section summary { padding: 22px 8px; cursor: pointer; font-size: 17px; font-weight: 700; }
.faq-section details p { max-width: 900px; padding: 0 8px 22px; color: var(--muted); }

.maker-shell { width: min(980px, calc(100% - 48px)); }
.maker-hero { display: flex; flex-direction: column; align-items: center; padding: clamp(42px, 7vw, 82px); text-align: center; border: 1px solid var(--line); border-radius: 36px; background: radial-gradient(circle at 50% 18%, rgba(102,227,255,.13), transparent 40%), linear-gradient(145deg, rgba(19,34,59,.86), rgba(7,13,24,.93)); box-shadow: var(--shadow); }
.maker-hero h1 { margin: 16px 0 15px; font-size: clamp(45px, 7vw, 78px); line-height: 1; letter-spacing: -.05em; }
.maker-hero > p { max-width: 720px; color: var(--muted); }
.maker-icon { width: 126px; aspect-ratio: 1; position: relative; margin-bottom: 28px; border: 5px solid var(--cyan); border-radius: 29%; transform: rotate(5deg); box-shadow: 0 0 50px rgba(102,227,255,.17), inset 0 0 35px rgba(102,227,255,.09); }
.maker-icon::before { content: ""; position: absolute; inset: 17px; border: 2px solid rgba(255,255,255,.28); border-radius: 50%; }
.maker-icon span, .maker-icon i { position: absolute; width: 5px; left: 58px; bottom: 58px; border-radius: 5px; background: var(--ink); transform-origin: 50% 100%; }
.maker-icon span { height: 36px; transform: rotate(40deg); }
.maker-icon i { height: 27px; transform: rotate(-76deg); }
.maker-icon b { position: absolute; width: 14px; height: 14px; border-radius: 50%; background: var(--rose); left: 53px; top: 53px; }
.maker-icon em { position: absolute; width: 13px; height: 13px; right: 9px; top: 24px; border: 2px solid var(--violet); background: #07111f; }
.build-status { max-width: 690px; display: flex; gap: 16px; align-items: flex-start; margin-top: 25px; padding: 20px 22px; text-align: left; border: 1px solid rgba(255,202,106,.24); border-radius: 18px; background: rgba(255,202,106,.06); }
.status-pulse { width: 12px; height: 12px; flex: 0 0 auto; margin-top: 7px; border-radius: 50%; background: var(--warning); box-shadow: 0 0 0 0 rgba(255,202,106,.5); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 12px rgba(255,202,106,0); } 100% { box-shadow: 0 0 0 0 rgba(255,202,106,0); } }
.build-status p { margin: 4px 0 0; color: var(--muted); font-size: 13px; }
.release-proof { margin-top: 16px; }
.release-proof span { color: var(--muted); font-size: 13px; }
.feature-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 22px 0; }
.feature-list span { color: var(--cyan); font-size: 11px; font-weight: 800; text-transform: uppercase; }
.feature-list strong { display: block; margin: 10px 0 5px; }

.terms-shell { width: min(980px, calc(100% - 48px)); }
.terms-lead { margin: 24px 0; padding: 28px 32px; border: 1px solid rgba(255,202,106,.28); border-radius: 22px; background: rgba(255,202,106,.06); }
.terms-lead strong { font-size: 18px; }
.terms-lead p { margin: 8px 0 0; color: #d6c9ab; }
.terms-content { overflow: hidden; border: 1px solid var(--line); border-radius: 28px; background: rgba(13,23,42,.64); }
.terms-content section { display: grid; grid-template-columns: 70px 1fr; gap: 22px; padding: 32px; border-bottom: 1px solid var(--line); }
.terms-content section:last-child { border-bottom: 0; }
.terms-content section > span { color: rgba(102,227,255,.35); font: 900 30px/1 monospace; }
.terms-content h2 { margin-bottom: 12px; font-size: 24px; }
.terms-content p { color: var(--muted); font-size: 14px; }
.terms-actions { display: flex; justify-content: center; gap: 12px; margin-top: 34px; }

.modal-backdrop { position: fixed; z-index: 100; inset: 0; display: grid; place-items: center; padding: 22px; background: rgba(1,4,9,.82); backdrop-filter: blur(14px); }
.modal-backdrop[hidden] { display: none; }
.modal-card { width: min(580px, 100%); max-height: calc(100vh - 44px); overflow: auto; padding: clamp(28px, 5vw, 45px); border: 1px solid rgba(102,227,255,.25); border-radius: 30px; background: linear-gradient(155deg, #14233c, #08111f); box-shadow: 0 40px 120px rgba(0,0,0,.72); }
.modal-symbol { width: 48px; height: 48px; display: grid; place-items: center; color: var(--cyan); border: 1px solid rgba(102,227,255,.35); border-radius: 50%; font-size: 24px; }
.modal-card h2 { margin: 20px 0 12px; font-size: 28px; }
.modal-card p, .modal-card li { color: var(--muted); font-size: 14px; }
.modal-card ul { padding-left: 21px; margin-bottom: 24px; }
.modal-actions { display: flex; gap: 10px; margin: 25px 0 14px; }
.watch-sync-modal-card { width: min(660px, 100%); }
.watch-sync-field { margin-top: 24px; }
.watch-sync-address-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: stretch; }
.watch-sync-address-row input { min-width: 0; height: 48px; font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; letter-spacing: 0; }
.watch-sync-address-row .primary-button { min-width: 138px; }
.watch-sync-history-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 9px; color: var(--muted-2); font-size: 11px; }
.watch-sync-history-row .text-button { min-height: 34px; flex: 0 0 auto; padding: 5px 9px; }
.watch-sync-progress { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); }
.watch-sync-progress-track { width: 100%; height: 9px; display: block; overflow: hidden; border: 0; border-radius: 5px; background: rgba(255,255,255,.08); appearance: none; }
.watch-sync-progress-track::-webkit-progress-bar { border-radius: 5px; background: rgba(255,255,255,.08); }
.watch-sync-progress-track::-webkit-progress-value { border-radius: 5px; background: linear-gradient(90deg, var(--accent-primary), var(--cyan)); transition: width .2s ease; }
.watch-sync-progress-track::-moz-progress-bar { border-radius: 5px; background: linear-gradient(90deg, var(--accent-primary), var(--cyan)); }
.watch-sync-status { min-height: 24px; margin: 10px 0 0; color: var(--muted); font-size: 13px; }
.watch-sync-status.success { color: var(--lime); }
.watch-sync-status.error { color: var(--danger); }
.watch-sync-result { display: grid; grid-template-columns: minmax(70px, auto) minmax(0, 1fr); gap: 7px 14px; margin: 18px 0 0; padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: 13px; }
.watch-sync-result[hidden] { display: none; }
.watch-sync-result dt { color: var(--muted-2); }
.watch-sync-result dd { min-width: 0; margin: 0; overflow-wrap: anywhere; color: var(--ink); }
.watch-sync-fallback { width: 100%; margin-top: 15px; }
.watch-sync-fallback[hidden] { display: none; }
.watch-sync-note { margin: 18px 0 0; }
.watch-sync-modal-actions { justify-content: flex-end; margin-bottom: 0; }

.footer { margin-top: clamp(48px,8vw,88px); padding: clamp(36px,6vw,56px) var(--page-padding) clamp(24px,4vw,32px); border-top: 1px solid var(--border-color); background: var(--bg-header); }
.footer-content { max-width: var(--content-width); margin: 0 auto; display: grid; grid-template-columns: minmax(260px,2fr) repeat(4,minmax(130px,1fr)); gap: clamp(22px,3vw,40px); }
.footer-brand h3 { margin: 0 0 15px; font-size: 24px; background-image: var(--brand-title-gradient); background-size: 200% 100%; background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent; text-shadow: var(--brand-title-shadow); animation: brandTitleGradientFlow 4.8s linear infinite; }
.footer-brand p { margin: 0; color: var(--text-muted); font-size: 14px; line-height: 1.65; }
.footer-brand .footer-brand-note { margin-top: 10px; }
.footer-brand-note a { color: var(--accent-primary); }
.footer-links h4 { margin: 0 0 18px; color: var(--text-primary); font-size: 16px; }
.footer-links a { display: block; margin-bottom: 9px; color: var(--text-muted); font-size: 14px; text-decoration: none; transition: color .2s ease; }
.footer-links a:hover { color: var(--accent-primary); }
.footer-bottom { max-width: var(--content-width); margin: 38px auto 0; padding-top: 24px; color: var(--text-muted); border-top: 1px solid var(--border-light); font-size: 12px; }
.footer-bottom-inner { display: flex; align-items: center; justify-content: center; gap: 20px; flex-wrap: wrap; }
.footer-record-line { margin: 0; }
.footer-theme-modes { display: none; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 4px; padding: 3px; border: 1px solid var(--border-color); border-radius: 10px; background: var(--bg-card); }
.footer-theme-modes button { min-width: 0; min-height: 30px; padding: 4px 8px; display: inline-flex; align-items: center; justify-content: center; gap: 4px; color: var(--text-muted); border: 0; border-radius: 7px; background: transparent; cursor: pointer; font-size: 11px; }
.footer-theme-modes button.is-active { color: var(--accent-primary); background: rgba(53,132,247,.16); }

[data-theme="light"] .page-hero {
    background:
        radial-gradient(circle at 88% 35%, rgba(53,132,247,.12), transparent 28%),
        radial-gradient(circle at 72% 72%, rgba(91,91,214,.1), transparent 30%),
        linear-gradient(135deg, rgba(255,255,255,.98), rgba(238,244,253,.96));
}
[data-theme="light"] .page-hero::after { border-color: rgba(53,132,247,.07); }
[data-theme="light"] .principles-grid article,
[data-theme="light"] .feature-list article,
[data-theme="light"] .filter-bar,
[data-theme="light"] .upload-panel,
[data-theme="light"] .manage-card,
[data-theme="light"] .guide-card,
[data-theme="light"] .terms-content,
[data-theme="light"] .preview-controls { background: var(--bg-card); }
[data-theme="light"] .guide-card.featured { background: radial-gradient(circle at 90% 5%, rgba(53,132,247,.1), transparent 45%), var(--bg-card); }
[data-theme="light"] .hero-dial::before { background: radial-gradient(circle,rgba(53,132,247,.18),rgba(91,91,214,.08) 44%,transparent 70%); }
[data-theme="light"] .hero-ring { border-color: #e7eef8; background: radial-gradient(circle at 42% 34%,#ffffff 0%,#f3f7fd 44%,#dce8f7 100%); box-shadow: 0 0 0 2px rgba(53,132,247,.28),0 28px 60px rgba(44,78,121,.22),inset 0 0 58px rgba(53,132,247,.08); }
[data-theme="light"] .hero-ring::before { border-color: rgba(53,132,247,.24); box-shadow: inset 0 0 25px rgba(53,132,247,.06); }
[data-theme="light"] .hero-ring::after { background: radial-gradient(circle,transparent 58%,rgba(53,132,247,.055)); }
[data-theme="light"] .hero-ticks { background: repeating-conic-gradient(from -1deg,rgba(37,71,116,.62) 0 1deg,transparent 1deg 6deg); opacity: .46; }
[data-theme="light"] .hero-scan { background: conic-gradient(from 0deg,transparent 0 305deg,rgba(53,132,247,.06) 322deg,rgba(53,132,247,.62) 340deg,transparent 352deg); }
[data-theme="light"] .hero-hand-long { background: linear-gradient(to top,#0f5fc9 0%,#3584f7 58%,#65cfee 100%); box-shadow: 0 0 13px rgba(53,132,247,.28); }
[data-theme="light"] .hero-hand-short { background: linear-gradient(to top,#172f54,#46678e); box-shadow: 0 0 9px rgba(34,66,108,.18); }
[data-theme="light"] .hero-pin { border-color: #fff; box-shadow: 0 0 0 5px rgba(219,77,109,.1),0 0 20px rgba(219,77,109,.32); }
[data-theme="light"] .hero-edit-label { color: rgba(29,67,112,.58); }
[data-theme="light"] .edit-path::before { border-color: rgba(53,132,247,.3); }
[data-theme="light"] .edit-node { background: #f8fbff; box-shadow: 0 0 0 4px rgba(53,132,247,.07),0 0 14px currentColor; }
[data-theme="light"] .dial-card { background: linear-gradient(155deg, rgba(255,255,255,.98), rgba(238,244,253,.96)); }
[data-theme="light"] .card-preview,
[data-theme="light"] .manage-preview { background: radial-gradient(circle, rgba(53,132,247,.1), transparent 60%), #edf3fb; }
[data-theme="light"] .filter-bar input,
[data-theme="light"] .filter-bar select { color: var(--text-primary); background: var(--bg-input); }
[data-theme="light"] .empty-state { background: rgba(255,255,255,.72); }
[data-theme="light"] .notice-card { background: rgba(53,132,247,.06); }
[data-theme="light"] .notice-card.warning,
[data-theme="light"] .terms-lead { background: rgba(191,126,0,.07); }
[data-theme="light"] .notice-card.legal { background: rgba(91,91,214,.06); }
[data-theme="light"] .drop-zone { background: radial-gradient(circle, rgba(53,132,247,.08), transparent 65%); }
[data-theme="light"] .client-parse,
[data-theme="light"] .preview-controls button { background: rgba(53,132,247,.055); }
[data-theme="light"] .share-preview-panel,
[data-theme="light"] .share-fields-panel { background: rgba(255,255,255,.9); }
[data-theme="light"] .upload-preview-empty { background: radial-gradient(circle,rgba(53,132,247,.07),transparent 65%); }
[data-theme="light"] .edit-manifest-facts div { background: rgba(53,132,247,.035); }
[data-theme="light"] .edit-file-note { background: rgba(53,132,247,.05); }
[data-theme="light"] .check-row { color: var(--text-primary); }
[data-theme="light"] .dial-facts div { background: #f8fafc; }
[data-theme="light"] .detail-description,
[data-theme="light"] .guide-card p,
[data-theme="light"] .guide-card li,
[data-theme="light"] .terms-lead p { color: var(--text-secondary); }
[data-theme="light"] .hash-line code,
[data-theme="light"] .release-proof code { color: var(--text-muted); }
[data-theme="light"] .maker-hero { background: radial-gradient(circle at 50% 18%, rgba(53,132,247,.12), transparent 40%), linear-gradient(145deg,#fff,#edf3fb); }
[data-theme="light"] .maker-icon em { background: #fff; }
[data-theme="light"] .modal-backdrop { background: rgba(30,41,59,.55); }
[data-theme="light"] .modal-card { color: var(--text-primary); background: linear-gradient(155deg,#fff,#edf3fb); box-shadow: 0 35px 100px rgba(15,23,42,.28); }
[data-theme="light"] .watch-sync-progress-track { background: rgba(30,64,175,.1); }
[data-theme="light"] .primary-button,
[data-theme="light"] .filter-bar button { color: #fff; background: var(--accent-gradient); }
[data-theme="light"] .primary-button:hover { color: #fff; }
[data-theme="light"] .mode-badge { color: var(--accent-primary); background: rgba(255,255,255,.88); }
[data-theme="light"] .preview-note { color: var(--text-secondary); background: rgba(255,255,255,.88); }
[data-theme="light"] .interaction-callout { background: rgba(91,91,214,.07); }
[data-theme="light"] .terms-content section > span { color: rgba(53,132,247,.35); }

@media (max-width: 1000px) {
    body.mobile-nav-open { overflow: hidden; }
    .header-content { position: relative; }
    .theme-toggle.desktop-only { display: none; }
    .mobile-menu-btn { display: grid; place-items: center; }
    .nav { position: absolute; display: none; top: calc(100% + 9px); left: var(--page-padding); right: var(--page-padding); z-index: 1010; max-height: calc(100vh - var(--site-header-height,68px) - 24px); overflow: auto; padding: 12px; flex-direction: column; align-items: stretch; border: 1px solid var(--border-color); border-radius: 16px; background: var(--panel-solid); box-shadow: var(--shadow); }
    .nav.active { display: flex; }
    .nav a { width: 100%; max-width: none; justify-content: flex-start; padding: 11px 14px; }
    .dial-subnav-inner { gap: 12px; }
    .dial-subnav-links { width: 100%; overflow-x: auto; justify-content: flex-start; padding-inline: 4px; scrollbar-width: none; }
    .dial-subnav-links::-webkit-scrollbar { display: none; }
    .footer-content { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
    .footer-theme-modes { display: grid; }
    .site-header { padding-inline: 22px; }
    .nav-toggle { display: block; }
    .site-nav { position: absolute; display: none; flex-direction: column; align-items: stretch; right: 18px; top: 68px; width: min(310px, calc(100vw - 36px)); padding: 12px; border: 1px solid var(--line); border-radius: 18px; background: rgba(8,15,27,.98); box-shadow: var(--shadow); }
    .site-nav.open { display: flex; }
    .site-nav .account { margin-left: 0; }
    .page-hero { grid-template-columns: 1fr; }
    .hero-copy h1 em { white-space: normal; }
    .hero-dial { min-height: 300px; }
    .hero-ring { width: min(60vw, 330px); }
    .share-compose { grid-template-columns: 1fr; }
    .edit-preview-panel { position: static; }
    .compact-watch-stage { width: min(76vw,390px); }
    .principles-grid { grid-template-columns: repeat(2, 1fr); }
    .dial-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .detail-layout { grid-template-columns: 1fr; }
    .preview-column { position: static; }
    .watch-stage-frame { max-width: 530px; }
    .watch-stage { max-width: 530px; }
    .detail-copy { padding-top: 10px; max-width: 760px; margin: 0 auto; }
}

@media (max-width: 720px) {
    :root { --dial-subnav-height: 50px; }
    .header-content { min-height: 62px; padding-block: 9px; }
    .logo { gap: 9px; }
    .logo-icon { width: 38px; height: 38px; }
    .user-name { display: none; }
    .btn-login { padding: 8px 12px; font-size: 12px; }
    .dial-subnav-inner { min-height: 50px; padding-block: 5px; }
    .dial-subnav-brand { display: none; }
    .dial-subnav-links { width: 100%; justify-content: flex-start; }
    .dial-subnav-links a { flex: 0 0 auto; padding: 8px 12px; }
    .page-shell, .page-shell.narrow, .compose-shell, .maker-shell, .terms-shell { width: min(100% - 28px, 100%); padding: 28px 0 68px; }
    .page-hero, .page-hero.compact { padding: 34px 24px; border-radius: 28px; }
    .page-hero { min-height: 0; }
    .page-hero h1, .page-hero.compact h1 { font-size: clamp(36px, 12vw, 54px); }
    .page-hero.split-heading { display: block; }
    .page-hero.split-heading .primary-button { margin-top: 18px; }
    .hero-dial { min-height: 250px; }
    .principles-grid { grid-template-columns: 1fr 1fr; }
    .principles-grid article { padding: 18px; }
    .filter-bar { grid-template-columns: 1fr 1fr; }
    .filter-bar input { grid-column: 1 / -1; }
    .filter-bar button { grid-column: 1 / -1; }
    .dial-grid { grid-template-columns: 1fr; }
    .detail-layout { gap: 25px; }
    .watch-stage-frame { width: min(100%, 530px); }
    .preview-controls { grid-template-columns: 1fr 1fr; }
    .preview-controls label { grid-column: 1 / -1; grid-row: 2; }
    .detail-copy h1 { font-size: 45px; }
    .manage-card { grid-template-columns: 1fr; }
    .manage-preview { min-height: 0; }
    .manage-preview img { width: min(260px, 72%); }
    .manage-actions form { width: 100%; margin: 8px 0 0; }
    .manage-actions form button { width: 100%; }
    .guide-grid, .feature-list { grid-template-columns: 1fr; }
    .upload-panel { padding: 21px 18px; border-radius: 24px; }
    .drop-zone { min-height: 210px; }
    .share-preview-panel, .share-fields-panel { padding: 20px 17px; border-radius: 20px; }
    .form-section-heading { flex-direction: column; gap: 7px; }
    .upload-preview-empty { min-height: 300px; }
    .edit-form-actions { align-items: stretch; flex-direction: column-reverse; }
    .edit-form-actions > * { width: 100%; }
    .guide-card.wide { grid-column: auto; }
    .two-column-copy { grid-template-columns: 1fr; gap: 0; }
    .terms-content section { grid-template-columns: 1fr; gap: 10px; padding: 25px; }
    .terms-content section > span { font-size: 20px; }
    .modal-actions, .terms-actions { flex-direction: column; }
    .modal-actions > *, .terms-actions > * { width: 100%; }
    .watch-sync-address-row { grid-template-columns: 1fr; }
    .watch-sync-address-row .primary-button { width: 100%; }
    .watch-sync-history-row { align-items: flex-start; }
    .footer { padding: 28px 16px 24px; margin-top: 40px; }
    .footer-content { gap: 22px 18px; }
    .footer-brand h3 { font-size: 21px; }
    .footer-brand p, .footer-links a { font-size: 13px; }
    .footer-links h4 { margin-bottom: 12px; font-size: 15px; }
    .footer-bottom { margin-top: 26px; padding-top: 18px; }
    .footer-bottom-inner { gap: 12px; }
    .footer-record-line { width: 100%; text-align: center; }
}

@media (max-width: 460px) {
    .logo-text { font-size: 16px; }
    .mobile-menu-btn { width: 38px; height: 38px; }
    .dial-subnav-links a { padding-inline: 10px; font-size: 12px; }
    .brand small { display: none; }
    .principles-grid { grid-template-columns: 1fr; }
    .filter-bar { grid-template-columns: 1fr; }
    .filter-bar input, .filter-bar button { grid-column: auto; }
    .upload-preview-facts, .edit-manifest-facts { grid-template-columns: 1fr; }
    .card-preview { aspect-ratio: 1.15; }
    .dial-facts { grid-template-columns: 1fr; }
    .detail-actions > * { width: 100%; }
    .preview-controls.detail-preview-controls { grid-template-columns: 1fr; }
    .success-banner { flex-direction: column; text-align: center; }
    .guide-card, .maker-hero { padding: 27px 22px; }
    .footer-content { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 15px 16px; }
    .footer-brand { grid-column: 1 / -1; }
    .footer-links { padding-top: 8px; border-top: 1px solid var(--border-light); }
    .footer-links a { margin-bottom: 4px; font-size: 12px; }
    .footer-theme-modes { width: 170px; }
}

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

[hidden] { display: none !important; }

.dial-home-portal {
    position: relative;
    overflow: hidden;
    padding: clamp(34px, 5vw, 64px);
    border: 1px solid rgba(53, 132, 247, .18);
    border-radius: 34px;
    background:
        radial-gradient(circle at 20% 0%, rgba(53,132,247,.13), transparent 35%),
        radial-gradient(circle at 90% 18%, rgba(52,216,255,.09), transparent 32%),
        color-mix(in srgb, var(--panel-solid) 95%, transparent);
    box-shadow: 0 28px 80px rgba(0,0,0,.18);
}
.dial-home-intro { max-width: 780px; margin: 0 auto 28px; text-align: center; }
.dial-home-intro h1 { margin: 8px 0 10px; font-size: clamp(38px, 5.5vw, 68px); line-height: 1.08; letter-spacing: -.04em; }
.dial-home-intro p { margin: 0; color: var(--text-secondary); font-size: clamp(14px, 1.5vw, 18px); }
.dial-home-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(10px, 2.6vw, 38px); margin-bottom: 24px; }
.dial-home-pills > span { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 10px 22px; border: 1px solid rgba(53,132,247,.34); border-radius: 999px; color: var(--text-primary); background: linear-gradient(135deg, rgba(53,132,247,.07), rgba(52,216,255,.035)); font-size: 14px; box-shadow: inset 0 1px 0 rgba(255,255,255,.08); }
.dial-home-pills b { color: var(--accent-primary); font-size: 19px; }
.dial-home-banners { display: grid; gap: 12px; max-width: 1040px; margin: 0 auto; }
.dial-home-banner { --banner-color: #3584f7; min-height: 62px; display: grid; grid-template-columns: 42px auto minmax(180px,1fr) auto; align-items: center; gap: 12px; padding: 12px 24px; border: 1px solid color-mix(in srgb, var(--banner-color) 34%, transparent); border-radius: 999px; color: var(--text-primary); background: linear-gradient(135deg, color-mix(in srgb, var(--banner-color) 15%, transparent), rgba(53,132,247,.05)); text-decoration: none; transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
.dial-home-banner:hover { color: var(--text-primary); border-color: color-mix(in srgb, var(--banner-color) 58%, transparent); transform: translateY(-2px); box-shadow: 0 14px 34px color-mix(in srgb, var(--banner-color) 16%, transparent); }
.dial-home-banner-icon { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--banner-color); box-shadow: 0 8px 20px color-mix(in srgb, var(--banner-color) 28%, transparent); font-size: 14px; font-weight: 900; }
.dial-home-banner strong { font-size: 15px; white-space: nowrap; }
.dial-home-banner > span:not(.dial-home-banner-icon) { min-width: 0; overflow: hidden; color: var(--text-secondary); text-overflow: ellipsis; white-space: nowrap; font-size: 13px; }
.dial-home-banner em { color: var(--banner-color); font-style: normal; font-size: 13px; font-weight: 800; white-space: nowrap; }
.dial-home-banner.is-ai { --banner-color: #8b5cf6; background: linear-gradient(135deg, rgba(139,92,246,.16), rgba(53,132,247,.08)); }
.dial-home-banner.is-maker { --banner-color: #3584f7; }
.dial-home-banner.is-upload { --banner-color: #00b894; background: linear-gradient(135deg, rgba(0,184,148,.14), rgba(53,132,247,.05)); }
.dial-home-banner.is-guide { --banner-color: #06a8d9; background: linear-gradient(135deg, rgba(6,168,217,.14), rgba(53,132,247,.05)); }
.dial-home-banner.is-feedback { --banner-color: #f59e0b; background: linear-gradient(135deg, rgba(245,158,11,.15), rgba(53,132,247,.05)); }
.dial-home-banner.is-donate { --banner-color: #f05b8c; background: linear-gradient(135deg, rgba(240,91,140,.16), rgba(255,183,77,.07)); }

@media (max-width: 800px) {
    .dial-home-portal { padding: 30px 18px; border-radius: 26px; }
    .dial-home-pills { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
    .dial-home-pills > span { min-height: 46px; padding: 9px 12px; font-size: 13px; }
    .dial-home-banner { grid-template-columns: 38px minmax(0,1fr) auto; border-radius: 20px; padding: 13px 15px; }
    .dial-home-banner > span:not(.dial-home-banner-icon) { grid-column: 2 / -1; grid-row: 2; white-space: normal; line-height: 1.5; }
    .dial-home-banner em { grid-column: 3; grid-row: 1; }
}

@media (max-width: 480px) {
    .dial-home-pills { grid-template-columns: 1fr; }
    .dial-home-banner { grid-template-columns: 38px minmax(0,1fr); }
    .dial-home-banner em { grid-column: 2; grid-row: 3; justify-self: start; }
    .dial-home-banner > span:not(.dial-home-banner-icon) { grid-column: 2; }
}

/* DIY dial feedback and wish list */
.feedback-page-shell { width: min(1160px, calc(100% - 48px)); }
.feedback-hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 88% 12%, rgba(245,158,11,.16), transparent 32%),
        radial-gradient(circle at 18% 100%, rgba(0,184,148,.12), transparent 34%),
        linear-gradient(145deg, rgba(13,23,42,.98), rgba(10,18,32,.98));
}
.feedback-hero::before {
    content: "";
    position: absolute;
    width: 230px;
    height: 230px;
    right: 7%;
    top: 50%;
    border: 1px solid rgba(245,158,11,.23);
    border-radius: 50%;
    transform: translateY(-50%);
    box-shadow: inset 0 0 0 28px rgba(245,158,11,.025), inset 0 0 0 29px rgba(245,158,11,.08);
    pointer-events: none;
}
.feedback-hero > * { position: relative; z-index: 1; }
.feedback-hero h1 { max-width: 760px; margin-bottom: 14px; letter-spacing: 0; }
.feedback-hero p { max-width: 720px; }
.feedback-hero-facts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.feedback-hero-facts span { display: inline-flex; align-items: center; gap: 8px; padding: 8px 13px; border: 1px solid rgba(148,178,221,.18); border-radius: 999px; color: var(--text-secondary); background: rgba(7,14,26,.42); font-size: 12px; }
.feedback-hero-facts b { color: #fbbf24; font-size: 15px; }
.feedback-layout { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(280px, .7fr); gap: 20px; align-items: start; margin-top: 24px; }
.feedback-panel { border: 1px solid var(--line); border-radius: 24px; background: rgba(13,23,42,.72); box-shadow: 0 18px 46px rgba(0,0,0,.14); }
.feedback-form-panel { padding: clamp(24px, 4vw, 42px); }
.feedback-section-heading { display: flex; justify-content: space-between; gap: 28px; align-items: flex-end; margin-bottom: 28px; }
.feedback-section-heading h2 { margin: 5px 0 0; font-size: clamp(25px, 3vw, 36px); letter-spacing: 0; }
.feedback-section-heading p { max-width: 350px; margin: 0; color: var(--muted); text-align: right; font-size: 13px; line-height: 1.7; }
.feedback-form { position: relative; }
.feedback-form .form-error { margin-bottom: 12px; }
.feedback-honeypot { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.feedback-category-fieldset { margin: 0 0 24px; padding: 0; border: 0; }
.feedback-category-fieldset legend { margin-bottom: 10px; color: var(--ink); font-size: 14px; font-weight: 750; }
.feedback-category-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; }
.feedback-category-card { position: relative; cursor: pointer; }
.feedback-category-card > input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.feedback-category-body { min-height: 94px; display: flex; align-items: flex-start; gap: 13px; padding: 15px; border: 1px solid var(--line); border-radius: 16px; background: var(--bg-input); transition: border-color .18s ease, background .18s ease, box-shadow .18s ease, transform .18s ease; }
.feedback-category-card:hover .feedback-category-body { border-color: rgba(245,158,11,.35); transform: translateY(-1px); }
.feedback-category-card > input:focus-visible + .feedback-category-body { outline: 2px solid #f59e0b; outline-offset: 3px; }
.feedback-category-card > input:checked + .feedback-category-body { border-color: rgba(245,158,11,.62); background: linear-gradient(145deg, rgba(245,158,11,.14), rgba(53,132,247,.07)); box-shadow: 0 0 0 3px rgba(245,158,11,.08); }
.feedback-category-symbol { width: 34px; height: 34px; flex: 0 0 34px; display: grid; place-items: center; border-radius: 10px; color: #ffca62; background: rgba(245,158,11,.13); font-size: 18px; font-weight: 900; }
.feedback-category-body strong { display: block; margin: 1px 0 4px; color: var(--ink); font-size: 15px; }
.feedback-category-body small { display: block; color: var(--muted-2); font-size: 11px; line-height: 1.5; }
.feedback-form .form-field textarea { min-height: 156px; }
.feedback-submit-button { width: 100%; margin-top: 24px; min-height: 48px; border: 0; cursor: pointer; }
.feedback-privacy-note { margin: 11px 0 0; color: var(--muted-2); text-align: center; font-size: 11px; line-height: 1.6; }
.feedback-side { display: grid; gap: 16px; }
.feedback-process-card, .feedback-login-card { padding: 25px; }
.feedback-process-card h2 { margin: 7px 0 20px; font-size: 24px; letter-spacing: 0; }
.feedback-process-card ol { display: grid; gap: 18px; margin: 0; padding: 0; list-style: none; }
.feedback-process-card li { display: flex; gap: 13px; align-items: flex-start; }
.feedback-process-card li > b { width: 34px; flex: 0 0 34px; color: #52d8c0; font: 800 11px/1.5 ui-monospace,Consolas,monospace; }
.feedback-process-card li > span { position: relative; flex: 1; padding-bottom: 17px; border-bottom: 1px solid var(--line); }
.feedback-process-card li:last-child > span { padding-bottom: 0; border-bottom: 0; }
.feedback-process-card strong { display: block; color: var(--ink); font-size: 14px; }
.feedback-process-card small { display: block; margin-top: 4px; color: var(--muted-2); font-size: 11px; line-height: 1.5; }
.feedback-login-card { text-align: center; background: linear-gradient(145deg, rgba(0,184,148,.11), rgba(13,23,42,.78)); }
.feedback-login-symbol { width: 48px; height: 48px; display: grid; place-items: center; margin: 0 auto 13px; border: 1px solid rgba(0,184,148,.25); border-radius: 50%; color: #52d8c0; background: rgba(0,184,148,.09); font-size: 21px; }
.feedback-login-card h3 { margin: 0 0 7px; font-size: 17px; }
.feedback-login-card p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.7; }
.feedback-login-card .secondary-button { width: 100%; margin-top: 16px; }
.feedback-history-section { margin-top: 54px; }
.feedback-history-list { display: grid; gap: 12px; }
.feedback-history-item { padding: 22px 24px; border: 1px solid var(--line); border-radius: 18px; background: rgba(13,23,42,.62); }
.feedback-history-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 18px; }
.feedback-history-top h3 { margin: 9px 0 0; font-size: 18px; letter-spacing: 0; }
.feedback-category-pill, .feedback-status { display: inline-flex; align-items: center; min-height: 25px; padding: 4px 10px; border-radius: 999px; font-size: 11px; font-weight: 800; }
.feedback-category-pill { color: #fbc45e; background: rgba(245,158,11,.12); }
.feedback-status { white-space: nowrap; }
.feedback-status.is-pending { color: #ffca62; background: rgba(245,158,11,.13); }
.feedback-status.is-processing { color: #7cc3ff; background: rgba(53,132,247,.14); }
.feedback-status.is-done { color: #69e1bc; background: rgba(0,184,148,.14); }
.feedback-status.is-ignored { color: #b5c1d1; background: rgba(148,163,184,.13); }
.feedback-history-item > p { margin: 15px 0 12px; color: var(--text-secondary); font-size: 13px; line-height: 1.7; }
.feedback-history-item time { color: var(--muted-2); font-size: 11px; }

[data-theme="light"] .feedback-hero { background: radial-gradient(circle at 88% 12%,rgba(245,158,11,.12),transparent 34%), radial-gradient(circle at 18% 100%,rgba(0,184,148,.08),transparent 36%), linear-gradient(145deg,#fff,#edf3fb); }
[data-theme="light"] .feedback-hero-facts span { background: rgba(255,255,255,.64); }
[data-theme="light"] .feedback-panel,
[data-theme="light"] .feedback-history-item { background: rgba(255,255,255,.82); }
[data-theme="light"] .feedback-login-card { background: linear-gradient(145deg,rgba(0,184,148,.08),rgba(255,255,255,.9)); }

@media (max-width: 900px) {
    .feedback-layout { grid-template-columns: 1fr; }
    .feedback-side { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
    .feedback-page-shell { width: min(100% - 28px, 100%); }
    .feedback-hero::before { width: 170px; height: 170px; right: -52px; opacity: .62; }
    .feedback-section-heading { display: block; }
    .feedback-section-heading p { max-width: none; margin-top: 9px; text-align: left; }
    .feedback-side { grid-template-columns: 1fr; }
    .feedback-history-section { margin-top: 38px; }
}

@media (max-width: 520px) {
    .feedback-category-grid { grid-template-columns: 1fr; }
    .feedback-category-body { min-height: 0; }
    .feedback-form-panel, .feedback-process-card, .feedback-login-card { padding: 21px 18px; border-radius: 20px; }
    .feedback-history-item { padding: 19px 17px; }
    .feedback-history-top { display: grid; gap: 11px; }
    .feedback-status { justify-self: start; }
}
