:root {
    color-scheme: dark;
    --bg: #191631;
    --bg-soft: #241f45;
    --panel: #241f42;
    --panel-2: #302757;
    --panel-3: #3b3066;
    --line: rgba(255, 255, 255, 0.24);
    --line-soft: rgba(255, 255, 255, 0.14);
    --text: #fff8f2;
    --muted: #d7d0ee;
    --soft: #afa5d5;
    --accent: #ff3d7f;
    --accent-hot: #ffd23f;
    --cyan: #28e7ff;
    --green: #53f47b;
    --orange: #ff8a2b;
    --violet: #9c6bff;
    --ok: #53f47b;
    --danger: #ff5d5d;
    --radius: 6px;
    --shadow: 0 18px 46px rgba(17, 12, 44, 0.32);
}

@property --beam-angle {
    syntax: "<angle>";
    inherits: false;
    initial-value: 0deg;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background:
        linear-gradient(135deg, #211d3e 0%, #2f2856 30%, #254c66 60%, #4a2a58 100%);
    color: var(--text);
    font-family: Arial, "Microsoft YaHei", "PingFang SC", sans-serif;
    font-size: 15px;
    line-height: 1.65;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(circle at var(--spot-x, 50%) var(--spot-y, 18%), rgba(255, 210, 63, 0.08), transparent 28%),
        linear-gradient(90deg, rgba(255, 61, 127, 0.1), transparent 24%, rgba(40, 231, 255, 0.08) 46%, transparent 70%, rgba(83, 244, 123, 0.07)),
        repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.026) 0 1px, transparent 1px 76px),
        repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.018) 0 1px, transparent 1px 76px);
    pointer-events: none;
}

body::after {
    content: "";
    position: fixed;
    inset: -20%;
    z-index: -2;
    background:
        conic-gradient(from 160deg at 35% 42%, rgba(255, 61, 127, 0.18), rgba(40, 231, 255, 0.1), rgba(83, 244, 123, 0.1), rgba(255, 210, 63, 0.11), rgba(156, 107, 255, 0.14), rgba(255, 61, 127, 0.18));
    animation: auroraDrift 18s ease-in-out infinite alternate;
    opacity: 0.52;
    pointer-events: none;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input {
    font: inherit;
}

button {
    cursor: pointer;
}

.wrap {
    width: min(1160px, calc(100% - 36px));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    background: rgba(12, 8, 34, 0.94);
    border-bottom: 1px solid rgba(255, 210, 63, 0.3);
}

.site-header::before {
    content: "";
    display: block;
    height: 3px;
    background: linear-gradient(90deg, #ff3d7f, #ffd23f, #53f47b, #28e7ff, #9c6bff, #ff3d7f);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 56px;
    gap: 18px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 0;
}

.brand-name {
    color: #fff;
    background: linear-gradient(90deg, #ffd23f 0%, #53f47b 28%, #28e7ff 54%, #9c6bff 76%, #ff3d7f 100%);
    -webkit-background-clip: text;
    background-clip: text;
    text-shadow:
        0 1px 0 rgba(255, 255, 255, 0.22),
        0 0 18px rgba(40, 231, 255, 0.2);
}

@supports (-webkit-background-clip: text) {
    .brand-name {
        -webkit-text-fill-color: transparent;
    }
}

.brand-domain {
    display: inline-flex;
    align-items: center;
    min-height: 22px;
    padding: 0 8px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 999px;
    color: #15101f;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.02em;
    background: linear-gradient(100deg, #ff3d7f, #ffd23f 34%, #53f47b 62%, #28e7ff 100%);
    box-shadow:
        0 0 16px rgba(255, 210, 63, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.42);
}

.brand::before {
    content: "";
    width: 4px;
    height: 18px;
    border-radius: 2px;
    background: linear-gradient(180deg, var(--accent-hot), var(--accent), var(--cyan));
}

.top-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    color: var(--muted);
    font-size: 14px;
}

.top-nav a {
    padding: 7px 11px;
    border-radius: var(--radius);
}

.top-nav a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text);
}

.tool-hero {
    padding: 16px 0 28px;
    border-bottom: 1px solid var(--line-soft);
}

.notice-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 34px;
    padding: 6px 11px;
    background: linear-gradient(90deg, rgba(255, 61, 127, 0.24), rgba(255, 210, 63, 0.18), rgba(40, 231, 255, 0.18));
    border: 1px solid rgba(255, 210, 63, 0.36);
    border-radius: var(--radius);
    color: #fff7df;
}

.notice-bar span {
    flex: 0 0 auto;
    padding: 1px 7px;
    border-radius: 3px;
    background: var(--accent-hot);
    color: #231400;
    font-size: 12px;
    line-height: 22px;
}

.notice-bar p {
    margin: 0;
}

.hero-titlebar {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
    align-items: center;
    gap: 26px;
    margin: 14px 0 14px;
    padding: 28px 30px;
    min-height: 178px;
    border: 1px solid rgba(255, 255, 255, 0.17);
    border-radius: 8px;
    background:
        radial-gradient(circle at 12% 20%, rgba(255, 210, 63, 0.18), transparent 30%),
        radial-gradient(circle at 82% 22%, rgba(40, 231, 255, 0.16), transparent 34%),
        linear-gradient(135deg, rgba(255, 61, 127, 0.18), rgba(35, 31, 72, 0.96) 44%, rgba(17, 45, 70, 0.88));
    box-shadow: 0 18px 48px rgba(13, 9, 34, 0.3);
    overflow: hidden;
    isolation: isolate;
}

.hero-titlebar::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.08), transparent 26%),
        repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.055) 0 1px, transparent 1px 78px);
    opacity: 0.55;
}

.hero-titlebar::after {
    content: "";
    position: absolute;
    left: 28px;
    right: 28px;
    bottom: 0;
    height: 3px;
    background: linear-gradient(90deg, #ff3d7f, #ffd23f, #53f47b, #28e7ff);
    border-radius: 3px 3px 0 0;
}

.hero-copy {
    min-width: 0;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 0 10px;
    border: 1px solid rgba(255, 210, 63, 0.38);
    border-radius: 999px;
    color: #fff2b8;
    background: rgba(255, 210, 63, 0.1);
    font-size: 13px;
    font-weight: 700;
}

.hero-titlebar h1 {
    margin: 10px 0 0;
    font-size: clamp(42px, 6vw, 72px);
    line-height: 0.98;
    letter-spacing: 0;
    color: #fffdf8;
    text-shadow:
        0 3px 0 rgba(255, 61, 127, 0.2),
        0 18px 34px rgba(0, 0, 0, 0.22),
        0 0 30px rgba(40, 231, 255, 0.14);
}

.hero-titlebar p {
    max-width: 520px;
    margin: 14px 0 0;
    color: #e2ddf4;
    font-size: 16px;
}

.hot-tags {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    width: 100%;
}

.hot-tags span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 12px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 7px;
    background: rgba(255, 255, 255, 0.08);
    color: #f5efff;
    font-size: 14px;
    font-weight: 700;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.09);
}

.hot-tags span:nth-child(1) {
    border-color: rgba(255, 61, 127, 0.62);
    background: rgba(255, 61, 127, 0.18);
}

.hot-tags span:nth-child(2) {
    border-color: rgba(40, 231, 255, 0.62);
    background: rgba(40, 231, 255, 0.14);
}

.hot-tags span:nth-child(3) {
    border-color: rgba(83, 244, 123, 0.58);
    background: rgba(83, 244, 123, 0.14);
}

.hot-tags span:nth-child(4) {
    border-color: rgba(255, 210, 63, 0.64);
    background: rgba(255, 210, 63, 0.14);
}

.parse-panel,
.side-panel,
.player-box,
.content-section details,
.platform-grid span {
    background: rgba(31, 27, 58, 0.94);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.parse-panel {
    padding: 14px;
    box-shadow: var(--shadow);
    border-color: rgba(40, 231, 255, 0.32);
    background:
        linear-gradient(135deg, rgba(255, 61, 127, 0.08), transparent 26%, rgba(40, 231, 255, 0.07)),
        rgba(28, 24, 55, 0.97);
    overflow: hidden;
    position: relative;
    isolation: isolate;
}

.parse-panel::before,
.player-box::before,
.side-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    border-radius: inherit;
    padding: 1px;
    background: conic-gradient(from var(--beam-angle, 0deg), transparent, rgba(40, 231, 255, 0.95), rgba(255, 210, 63, 0.95), rgba(255, 61, 127, 0.95), transparent 32%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    animation: beamSpin 7s linear infinite;
}

.parse-panel > *,
.player-box > *,
.side-panel > * {
    position: relative;
    z-index: 2;
}

.parse-form label {
    display: block;
    margin-bottom: 8px;
    color: #fff4c5;
    font-weight: 700;
}

.input-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 172px;
    gap: 12px;
    align-items: stretch;
}

.input-shell {
    position: relative;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    min-height: 60px;
    padding: 3px;
    border-radius: 11px;
    background:
        linear-gradient(rgba(20, 17, 45, 0.96), rgba(20, 17, 45, 0.96)) padding-box,
        conic-gradient(from var(--beam-angle), #ff3d7f, #ffd23f, #53f47b, #28e7ff, #9c6bff, #ff3d7f) border-box;
    border: 1px solid transparent;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.18),
        0 12px 28px rgba(10, 7, 30, 0.28),
        0 0 30px rgba(40, 231, 255, 0.08);
    overflow: hidden;
    animation: beamSpin 8s linear infinite;
    cursor: text;
}

.input-shell::before {
    content: "";
    position: absolute;
    inset: 1px;
    border-radius: 9px;
    background:
        radial-gradient(circle at 14% 20%, rgba(255, 210, 63, 0.18), transparent 28%),
        radial-gradient(circle at 82% 72%, rgba(40, 231, 255, 0.16), transparent 32%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
    pointer-events: none;
}

.input-shell::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg, transparent 0 34%, rgba(255, 255, 255, 0.22) 45%, transparent 56% 100%);
    transform: translateX(-115%);
    opacity: 0;
    pointer-events: none;
}

.input-shell:focus-within {
    box-shadow:
        0 0 0 3px rgba(255, 210, 63, 0.15),
        0 16px 38px rgba(10, 7, 30, 0.34),
        0 0 42px rgba(40, 231, 255, 0.2);
}

.input-shell:focus-within::after {
    animation: inputSweep 1.8s ease;
    opacity: 1;
}

.input-badge {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 34px;
    min-width: 48px;
    margin-left: 10px;
    padding: 0 12px;
    border-radius: 8px;
    color: #15101f;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0;
    background: linear-gradient(135deg, #ffd23f, #53f47b, #28e7ff);
    box-shadow: 0 0 22px rgba(83, 244, 123, 0.22);
}

.input-row input {
    position: relative;
    z-index: 1;
    min-width: 0;
    width: 100%;
    height: 52px;
    padding: 0 18px;
    border: 0;
    border-radius: 9px;
    background: transparent;
    color: var(--text);
    outline: none;
    font-size: 16px;
}

.input-row input:focus {
    box-shadow: none;
}

.input-row input::placeholder {
    color: #a79fd0;
}

.primary-btn,
.quick-actions button,
.line-item,
.text-btn,
.history-list button,
.player-top button {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    color: var(--text);
    background: rgba(255, 255, 255, 0.08);
}

.primary-btn {
    height: 60px;
    border-color: rgba(255, 210, 63, 0.66);
    border-radius: 11px;
    background: linear-gradient(120deg, #ff3d7f, #ff8a2b 42%, #ffd23f 100%);
    color: #220611;
    font-weight: 700;
    font-size: 16px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 12px 26px rgba(255, 61, 127, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.primary-btn::before {
    content: "";
    position: absolute;
    inset: -40% auto -40% -55%;
    width: 42%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.72), transparent);
    transform: skewX(-18deg);
    animation: buttonShine 2.9s ease-in-out infinite;
    pointer-events: none;
}

.primary-btn {
    z-index: 0;
}

.primary-btn:hover::before {
    animation-duration: 1.4s;
}

.primary-btn:hover {
    background: linear-gradient(90deg, #ffd23f, #53f47b, #28e7ff);
    color: #061519;
    transform: translateY(-1px);
}

.quick-actions {
    display: flex;
    gap: 8px;
    margin-top: 10px;
    flex-wrap: wrap;
}

.quick-actions button,
.text-btn,
.player-top button {
    min-height: 32px;
    padding: 0 12px;
    color: #f2ebff;
}

.quick-actions button:hover,
.text-btn:hover,
.player-top button:hover,
.history-list button:hover {
    border-color: #4d5664;
    background: rgba(255, 255, 255, 0.15);
    color: var(--text);
}

.line-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 13px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.13);
    color: #fff4c5;
    font-weight: 700;
}

.line-summary em {
    font-style: normal;
    color: #d8cff5;
    font-size: 13px;
    font-weight: 400;
}

.line-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(104px, 1fr));
    gap: 7px;
    margin-top: 9px;
}

.line-item {
    min-height: 36px;
    padding: 6px 8px;
    text-align: left;
    background: rgba(255, 255, 255, 0.08);
}

.line-item:nth-child(5n+1) {
    border-color: rgba(255, 61, 127, 0.48);
}

.line-item:nth-child(5n+2) {
    border-color: rgba(40, 231, 255, 0.48);
}

.line-item:nth-child(5n+3) {
    border-color: rgba(83, 244, 123, 0.44);
}

.line-item:nth-child(5n+4) {
    border-color: rgba(255, 210, 63, 0.52);
}

.line-item:nth-child(5n+5) {
    border-color: rgba(156, 107, 255, 0.52);
}

.line-item strong,
.line-item span {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.line-item strong {
    font-size: 13px;
}

.line-item span {
    margin-top: 0;
    color: #c9c0ea;
    font-size: 11px;
}

.line-item.is-active {
    border-color: rgba(255, 210, 63, 0.88);
    background: linear-gradient(135deg, rgba(255, 61, 127, 0.28), rgba(255, 210, 63, 0.14));
}

.status-box {
    margin-top: 10px;
    padding: 8px 11px;
    min-height: 38px;
    border-radius: var(--radius);
    border: 1px solid var(--line-soft);
    background: rgba(18, 16, 38, 0.92);
    color: var(--muted);
}

.status-box.ok {
    border-color: rgba(83, 244, 123, 0.5);
    color: #c8ffd4;
}

.status-box.error {
    border-color: rgba(255, 93, 93, 0.58);
    color: #ffc1c1;
}

.status-box.loading {
    border-color: rgba(255, 210, 63, 0.5);
    color: #ffe7a1;
}

.status-box.warn {
    border-color: rgba(255, 174, 66, 0.62);
    color: #ffd39a;
}

.watch-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 286px;
    gap: 14px;
    margin-top: 12px;
}

.player-box {
    overflow: hidden;
    box-shadow: var(--shadow);
    position: relative;
    isolation: isolate;
    scroll-margin-top: 86px;
}

.player-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 44px;
    padding: 0 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
    background: linear-gradient(90deg, rgba(255, 61, 127, 0.14), rgba(40, 231, 255, 0.1), rgba(83, 244, 123, 0.08)), rgba(29, 25, 54, 0.96);
}

.player-top strong {
    margin-right: 10px;
}

.player-top span {
    color: var(--muted);
    font-size: 13px;
}

.player-frame {
    position: relative;
    aspect-ratio: 16 / 9;
    min-height: 350px;
    background: #121026;
}

.player-frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    background: #121026;
}

.player-placeholder {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: grid;
    place-content: center;
    gap: 6px;
    text-align: center;
    color: var(--muted);
    background:
        repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.06) 0 1px, transparent 1px 18px),
        linear-gradient(135deg, rgba(255, 61, 127, 0.1), rgba(40, 231, 255, 0.08), rgba(83, 244, 123, 0.07)),
        #121026;
    background-size: auto, 220% 220%, auto;
    animation: placeholderFlow 9s ease-in-out infinite alternate;
}

.player-placeholder.is-hidden {
    display: none;
}

.player-placeholder strong {
    color: var(--text);
    font-size: 20px;
}

.side-panel {
    display: grid;
    gap: 14px;
    padding: 14px;
    align-content: start;
    overflow: hidden;
    position: relative;
    isolation: isolate;
}

.side-section + .side-section {
    border-top: 1px solid rgba(255, 255, 255, 0.13);
    padding-top: 13px;
}

.side-section h2 {
    margin: 0 0 9px;
    font-size: 16px;
    line-height: 1.25;
}

.history-list {
    display: grid;
    gap: 8px;
    margin: 10px 0;
}

.history-list button {
    min-width: 0;
    padding: 8px 9px;
    text-align: left;
    color: var(--muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.empty-text {
    margin: 0;
    color: var(--soft);
}

.plain-list {
    margin: 0;
    padding-left: 18px;
    color: var(--muted);
}

.content-section {
    padding: 38px 0;
    border-bottom: 1px solid var(--line-soft);
}

.section-head {
    margin-bottom: 16px;
}

.section-head h2,
.split-grid h2 {
    margin: 0 0 7px;
    font-size: 22px;
    line-height: 1.25;
}

.section-head p,
.split-grid p {
    margin: 0;
    color: var(--muted);
}

.platform-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.platform-grid span {
    min-height: 46px;
    padding: 11px 12px;
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

.platform-grid span:hover {
    border-color: rgba(255, 255, 255, 0.42);
    background: rgba(255, 255, 255, 0.14);
}

.platform-grid span:nth-child(8n+1) {
    background: rgba(255, 61, 127, 0.22);
    border-color: rgba(255, 61, 127, 0.44);
}

.platform-grid span:nth-child(8n+2) {
    background: rgba(40, 231, 255, 0.18);
    border-color: rgba(40, 231, 255, 0.42);
}

.platform-grid span:nth-child(8n+3) {
    background: rgba(83, 244, 123, 0.16);
    border-color: rgba(83, 244, 123, 0.38);
}

.platform-grid span:nth-child(8n+4) {
    background: rgba(255, 210, 63, 0.2);
    border-color: rgba(255, 210, 63, 0.46);
}

.platform-grid span:nth-child(8n+5) {
    background: rgba(156, 107, 255, 0.22);
    border-color: rgba(156, 107, 255, 0.44);
}

.platform-grid span:nth-child(8n+6) {
    background: rgba(255, 138, 43, 0.2);
    border-color: rgba(255, 138, 43, 0.44);
}

.platform-grid span:nth-child(8n+7) {
    background: rgba(39, 255, 190, 0.16);
    border-color: rgba(39, 255, 190, 0.4);
}

.platform-grid span:nth-child(8n+8) {
    background: rgba(255, 92, 205, 0.18);
    border-color: rgba(255, 92, 205, 0.42);
}

.split-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.split-grid > div {
    min-width: 0;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: linear-gradient(135deg, rgba(255, 61, 127, 0.16), rgba(40, 231, 255, 0.1), rgba(83, 244, 123, 0.08));
}

.split-grid > div:nth-child(2) {
    background: linear-gradient(135deg, rgba(255, 210, 63, 0.16), rgba(156, 107, 255, 0.14), rgba(255, 138, 43, 0.1));
}

.steps {
    margin: 12px 0 0;
    padding-left: 20px;
    color: var(--muted);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.faq-grid details {
    padding: 13px 14px;
    background: rgba(255, 255, 255, 0.08);
}

.faq-grid details:nth-child(4n+1) {
    border-color: rgba(255, 61, 127, 0.42);
}

.faq-grid details:nth-child(4n+2) {
    border-color: rgba(40, 231, 255, 0.42);
}

.faq-grid details:nth-child(4n+3) {
    border-color: rgba(83, 244, 123, 0.38);
}

.faq-grid details:nth-child(4n+4) {
    border-color: rgba(255, 210, 63, 0.46);
}

.faq-grid summary {
    cursor: pointer;
    color: var(--text);
    font-weight: 700;
}

.faq-grid p {
    margin: 10px 0 0;
    color: var(--muted);
}

.site-footer {
    padding: 26px 0;
    color: var(--muted);
    background:
        linear-gradient(90deg, rgba(255, 61, 127, 0.18), rgba(40, 231, 255, 0.16), rgba(83, 244, 123, 0.12)),
        #080716;
}

.site-footer p {
    margin: 0;
}

.site-footer .disclaimer {
    margin-top: 8px;
    color: var(--soft);
    font-size: 13px;
}

@keyframes auroraDrift {
    0% {
        transform: translate3d(-2%, -2%, 0) rotate(0deg) scale(1);
    }

    100% {
        transform: translate3d(2%, 3%, 0) rotate(12deg) scale(1.08);
    }
}

@keyframes beamSpin {
    0% {
        --beam-angle: 0deg;
    }

    100% {
        --beam-angle: 360deg;
    }
}

@keyframes buttonShine {
    0%,
    45% {
        left: -55%;
    }

    100% {
        left: 115%;
    }
}

@keyframes inputSweep {
    0% {
        transform: translateX(-115%);
    }

    100% {
        transform: translateX(115%);
    }
}

@keyframes placeholderFlow {
    0% {
        background-position: 0 0, 0% 50%, 0 0;
    }

    100% {
        background-position: 0 0, 100% 50%, 0 0;
    }
}

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

@media (max-width: 920px) {
    .hero-titlebar,
    .watch-layout,
    .split-grid,
    .faq-grid {
        grid-template-columns: 1fr;
    }

    .hero-titlebar {
        grid-template-columns: 1fr;
        align-items: start;
        gap: 18px;
        padding: 24px;
    }

    .hot-tags {
        max-width: 100%;
    }

    .watch-layout {
        display: grid;
    }

    .side-panel {
        order: 2;
    }

    .platform-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 620px) {
    .wrap {
        width: min(100% - 22px, 1160px);
    }

    .header-inner {
        min-height: 52px;
    }

    .brand {
        font-size: 17px;
        gap: 7px;
    }

    .brand-domain {
        font-size: 10px;
        letter-spacing: 0.01em;
        min-height: 20px;
        padding: 0 6px;
    }

    .top-nav {
        gap: 0;
        font-size: 13px;
    }

    .top-nav a {
        padding: 6px 7px;
    }

    .tool-hero {
        padding-top: 12px;
    }

    .notice-bar {
        align-items: flex-start;
    }

    .hero-titlebar {
        margin: 12px 0;
        padding: 20px 16px;
        min-height: 0;
    }

    .hero-titlebar h1 {
        font-size: 42px;
    }

    .hero-titlebar p {
        font-size: 14px;
    }

    .hot-tags {
        gap: 8px;
    }

    .hot-tags span {
        min-height: 40px;
        font-size: 13px;
    }

    .parse-panel,
    .side-panel,
    .split-grid > div {
        padding: 13px;
    }

    .input-row {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .input-shell {
        min-height: 56px;
    }

    .input-badge {
        min-width: 62px;
        height: 30px;
        margin-left: 6px;
        padding: 0 8px;
        font-size: 11px;
    }

    .input-row input {
        height: 48px;
        padding: 0 12px;
        font-size: 15px;
    }

    .primary-btn {
        height: 52px;
        width: 100%;
    }

    .line-list {
        display: grid;
        grid-template-columns: 1fr 1fr;
        overflow: visible;
    }

    .player-top {
        align-items: flex-start;
        flex-direction: column;
        padding: 10px 12px;
    }

    .player-frame {
        min-height: 218px;
    }

    .platform-grid {
        grid-template-columns: 1fr;
    }
}
