:root {
    color-scheme: light;
    --canvas: #f4f5f7;
    --surface: #ffffff;
    --surface-muted: #f8f9fa;
    --ink: #17191c;
    --ink-soft: #5c626b;
    --line: #dfe2e6;
    --line-strong: #c8cdd3;
    --yellow: #f0b90b;
    --yellow-soft: #fff6d6;
    --cyan: #087e8b;
    --cyan-soft: #e4f5f6;
    --green: #16845b;
    --red: #c73e4d;
    --shadow: 0 8px 22px rgba(23, 25, 28, 0.07);
}

* {
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    min-height: 100%;
    margin: 0;
}

.login-page {
    min-height: 100vh;
    overflow: auto;
}

.login-shell {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 24px;
    background:
        linear-gradient(var(--line) 1px, transparent 1px),
        linear-gradient(90deg, var(--line) 1px, transparent 1px),
        var(--canvas);
    background-size: 40px 40px;
}

.login-panel {
    width: min(100%, 420px);
    overflow: hidden;
    border: 1px solid var(--line-strong);
    border-top: 3px solid var(--yellow);
    border-radius: 6px;
    background: var(--surface);
    box-shadow: var(--shadow);
}

.login-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 20px;
    border-bottom: 1px solid var(--line);
}

.login-brand div {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.login-brand strong {
    overflow: hidden;
    font-size: 14px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.login-brand div span,
.login-copy p {
    color: var(--ink-soft);
    font-size: 11px;
}

.login-copy {
    padding: 28px 28px 18px;
}

.access-state {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--green);
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 10px;
    font-weight: 700;
}

.access-state i,
.login-footer i {
    width: 7px;
    height: 7px;
    flex: 0 0 7px;
    border-radius: 50%;
    background: var(--green);
}

.login-copy h1 {
    margin: 13px 0 5px;
    font-size: 24px;
    line-height: 1.25;
}

.login-copy p {
    margin: 0;
}

.login-form {
    display: grid;
    padding: 0 28px 30px;
}

.login-form label {
    margin-bottom: 7px;
    color: var(--ink-soft);
    font-size: 11px;
    font-weight: 650;
}

.login-form input {
    width: 100%;
    height: 44px;
    padding: 0 12px;
    border: 1px solid var(--line-strong);
    border-radius: 4px;
    background: var(--surface-muted);
    font-size: 16px;
}

.login-form input:focus {
    border-color: var(--cyan);
    background: var(--surface);
}

.login-form button {
    height: 42px;
    border: 1px solid #d6a300;
    border-radius: 4px;
    background: var(--yellow);
    color: var(--ink);
    cursor: pointer;
    font-weight: 750;
}

.login-form button:hover {
    background: #e5af08;
}

.login-form button:disabled {
    cursor: wait;
    opacity: 0.65;
}

.login-error {
    min-height: 31px;
    margin: 7px 0 0;
    color: var(--red);
    font-size: 11px;
    line-height: 1.4;
}

.login-footer {
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 20px;
    border-top: 1px solid var(--line);
    background: var(--surface-muted);
    color: var(--ink-soft);
    font-size: 10px;
}

.login-footer span:first-child {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

body {
    background: var(--canvas);
    color: var(--ink);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 14px;
    letter-spacing: 0;
    overflow: hidden;
}

button,
input {
    color: inherit;
    font: inherit;
    letter-spacing: 0;
}

button,
a,
input,
.sound-control {
    -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
.sound-control:has(input:focus-visible) {
    outline: 2px solid var(--cyan);
    outline-offset: 2px;
}

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

.topbar {
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 0 24px;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
}

.brand,
.brand-zone,
.system-metrics,
.topbar-actions,
.column-heading,
.item-header,
.alpha-item-header {
    display: flex;
    align-items: center;
}

.brand-zone {
    min-width: 0;
    gap: 22px;
}

.brand {
    min-width: 0;
    gap: 12px;
}

.system-metrics {
    flex: 0 0 auto;
    gap: 14px;
    padding-left: 20px;
    border-left: 1px solid var(--line);
}

.system-stat {
    width: 78px;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 4px 7px;
    color: var(--ink-soft);
    font-size: 9px;
}

.system-stat strong {
    color: var(--ink);
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 10px;
    font-variant-numeric: tabular-nums;
}

.system-stat i {
    height: 3px;
    grid-column: 1 / -1;
    overflow: hidden;
    border-radius: 2px;
    background: #e5e8eb;
}

.system-stat i b {
    width: 0;
    height: 100%;
    display: block;
    border-radius: inherit;
    background: var(--cyan);
    transition: width 300ms ease;
}

.memory-stat i b {
    background: var(--yellow);
}

.brand-mark {
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    display: grid;
    place-items: center;
    background: var(--yellow);
    border: 1px solid #d6a300;
    border-radius: 6px;
    color: #161616;
    font-size: 18px;
    font-weight: 800;
}

.brand h1,
.brand p,
.column-header h2,
.column-header p {
    margin: 0;
}

.brand h1 {
    overflow: hidden;
    font-size: 15px;
    font-weight: 750;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.brand p {
    margin-top: 2px;
    color: var(--ink-soft);
    font-size: 11px;
    line-height: 1.2;
}

.topbar-actions {
    flex: 0 0 auto;
    gap: 18px;
}

.sound-control {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--ink-soft);
    cursor: pointer;
    font-size: 12px;
    user-select: none;
}

.sound-control input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.switch {
    width: 30px;
    height: 18px;
    position: relative;
    border: 1px solid var(--line-strong);
    border-radius: 10px;
    background: #e8eaed;
    transition: background 160ms ease, border-color 160ms ease;
}

.switch::after {
    content: "";
    width: 12px;
    height: 12px;
    position: absolute;
    top: 2px;
    left: 2px;
    border-radius: 50%;
    background: var(--surface);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    transition: transform 160ms ease;
}

.sound-control input:checked + .switch {
    background: var(--cyan);
    border-color: var(--cyan);
}

.sound-control input:checked + .switch::after {
    transform: translateX(12px);
}

.clock {
    min-width: 62px;
    color: var(--ink-soft);
    font-variant-numeric: tabular-nums;
    text-align: right;
}

.logout-button {
    height: 30px;
    padding: 0 9px;
    border: 1px solid var(--line-strong);
    border-radius: 4px;
    background: var(--surface);
    color: var(--ink-soft);
    cursor: pointer;
    font-size: 11px;
}

.logout-button:hover {
    border-color: var(--ink-soft);
    color: var(--ink);
}

.logout-button:disabled {
    opacity: 0.55;
}

.connection-state {
    min-width: 88px;
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 7px;
    color: var(--ink-soft);
    font-size: 12px;
    white-space: nowrap;
}

.status-dot {
    width: 8px;
    height: 8px;
    flex: 0 0 8px;
    border-radius: 50%;
    background: #9298a1;
}

.connection-state.is-online .status-dot {
    background: var(--green);
    box-shadow: 0 0 0 3px rgba(22, 132, 91, 0.12);
}

.connection-state.is-offline .status-dot {
    background: var(--red);
}

.connection-state.is-connecting .status-dot {
    background: var(--yellow);
    animation: status-pulse 1.2s ease-in-out infinite;
}

.workspace {
    height: calc(100vh - 72px);
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr) minmax(0, 1fr);
    background: var(--surface);
}

.stream-column {
    min-width: 0;
    min-height: 0;
    display: flex;
    flex-direction: column;
    position: relative;
    background: var(--surface);
    border-top: 3px solid var(--ink);
}

.stream-column + .stream-column {
    border-left: 1px solid var(--line);
}

.custom-column {
    border-top-color: var(--cyan);
}

.alpha-column {
    border-top-color: var(--yellow);
}

.column-header {
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 17px 20px 15px;
    border-bottom: 1px solid var(--line);
}

.column-heading {
    min-width: 0;
    gap: 11px;
}

.column-index {
    align-self: flex-start;
    padding-top: 2px;
    color: #949aa3;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 10px;
    font-weight: 700;
}

.column-header h2 {
    font-size: 18px;
    font-weight: 760;
    line-height: 1.25;
}

.column-tools {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 6px;
}

.sound-test {
    min-width: 42px;
    height: 28px;
    padding: 0 8px;
    border: 1px solid var(--line-strong);
    border-radius: 4px;
    background: var(--surface);
    color: var(--ink-soft);
    cursor: pointer;
    font-size: 11px;
}

.sound-test:hover {
    border-color: var(--ink-soft);
    color: var(--ink);
}

.sound-test:active {
    background: var(--surface-muted);
}

.source-status {
    max-width: 210px;
    margin-top: 4px !important;
    overflow: hidden;
    color: var(--ink-soft);
    font-size: 11px;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.source-status[data-state="online"] {
    color: var(--green);
}

.source-status[data-state="offline"] {
    color: var(--red);
}

.source-status[data-state="degraded"] {
    color: #9a6810;
}

.feed-count {
    min-width: 47px;
    padding: 5px 7px;
    border: 1px solid var(--line);
    border-radius: 4px;
    color: var(--ink-soft);
    background: var(--surface-muted);
    font-size: 11px;
    font-variant-numeric: tabular-nums;
    text-align: center;
    white-space: nowrap;
}

.handle-list {
    min-height: 51px;
    display: flex;
    align-items: center;
    align-content: center;
    flex-wrap: wrap;
    gap: 6px;
    padding: 10px 20px;
    background: var(--surface-muted);
    border-bottom: 1px solid var(--line);
}

.custom-handles:empty::before {
    content: "未选择账号";
    color: #999fa7;
    font-size: 11px;
}

.handle-chip {
    min-width: 0;
    max-width: 100%;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 4px 7px;
    overflow: hidden;
    border: 1px solid var(--line-strong);
    border-radius: 4px;
    background: var(--surface);
    color: #394049;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 11px;
    line-height: 1.3;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.fixed-handle:first-child {
    border-color: #c79c11;
    background: var(--yellow-soft);
}

.removable-handle {
    padding-right: 3px;
    border-color: #9bc6cb;
    background: var(--cyan-soft);
}

.remove-handle {
    width: 22px;
    height: 22px;
    display: grid;
    place-items: center;
    padding: 0;
    border: 0;
    background: transparent;
    color: #59636c;
    cursor: pointer;
    font-size: 16px;
    line-height: 1;
}

.remove-handle:hover {
    color: var(--red);
}

.custom-form {
    height: 51px;
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr) auto;
    align-items: center;
    padding: 7px 20px;
    background: var(--surface-muted);
    border-bottom: 1px solid var(--line);
}

.input-prefix {
    height: 36px;
    display: grid;
    place-items: center;
    border: 1px solid var(--line-strong);
    border-right: 0;
    border-radius: 4px 0 0 4px;
    background: var(--surface);
    color: var(--ink-soft);
}

.custom-form input {
    width: 100%;
    min-width: 0;
    height: 36px;
    padding: 0 9px;
    border: 1px solid var(--line-strong);
    border-left: 0;
    border-radius: 0;
    background: var(--surface);
    outline: 0;
}

.custom-form input:focus {
    border-color: var(--cyan);
    box-shadow: inset 0 0 0 1px var(--cyan);
}

.custom-form button {
    height: 36px;
    padding: 0 14px;
    border: 1px solid #096f7a;
    border-radius: 0 4px 4px 0;
    background: var(--cyan);
    color: #ffffff;
    cursor: pointer;
    font-size: 12px;
    font-weight: 700;
}

.custom-form button:hover {
    background: #086d77;
}

.custom-form button:disabled {
    cursor: wait;
    opacity: 0.55;
}

.custom-column .handle-list {
    min-height: 42px;
    padding-top: 6px;
    padding-bottom: 6px;
}

.alpha-strip {
    min-height: 51px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 20px;
    border-bottom: 1px solid #ead89b;
    background: var(--yellow-soft);
    color: #574613;
    font-size: 12px;
    font-weight: 700;
}

.alpha-live-dot {
    width: 7px;
    height: 7px;
    flex: 0 0 7px;
    border-radius: 50%;
    background: var(--yellow);
    box-shadow: 0 0 0 3px rgba(240, 185, 11, 0.18);
}

.transport-badge {
    margin-left: auto;
    padding: 3px 6px;
    border: 1px solid #d5b23b;
    border-radius: 3px;
    background: #ffffff;
    color: #6b560d;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 10px;
}

.feed-list {
    min-height: 0;
    flex: 1;
    margin: 0;
    padding: 14px;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    list-style: none;
    background: var(--canvas);
    scrollbar-color: #c4c8cd transparent;
    scrollbar-width: thin;
}

.feed-item {
    min-width: 0;
    margin-bottom: 10px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: var(--surface);
    box-shadow: 0 1px 2px rgba(23, 25, 28, 0.03);
}

.feed-item:last-child {
    margin-bottom: 0;
}

.feed-item article {
    min-width: 0;
    padding: 14px;
}

.feed-item.is-new {
    animation: item-enter 420ms ease-out;
}

.item-header,
.alpha-item-header {
    min-width: 0;
    align-items: flex-start;
    gap: 9px;
}

.avatar-frame,
.token-icon {
    position: relative;
    overflow: hidden;
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    background: #e9ecef;
}

.avatar-frame {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    border-radius: 50%;
}

.avatar-frame img,
.token-icon img {
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0;
    object-fit: cover;
}

.avatar-fallback,
.token-fallback {
    color: #656d76;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
}

.item-identity,
.alpha-identity {
    min-width: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.item-name,
.alpha-symbol {
    overflow: hidden;
    font-size: 13px;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.item-handle,
.alpha-name {
    overflow: hidden;
    margin-top: 1px;
    color: var(--ink-soft);
    font-size: 11px;
    line-height: 1.3;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.item-meta {
    flex: 0 0 auto;
    display: flex;
    align-items: flex-end;
    flex-direction: column;
    gap: 4px;
}

.event-kind,
.alpha-source {
    padding: 3px 6px;
    border-radius: 3px;
    background: #edf0f2;
    color: #4f5862;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
}

.event-newTweet,
.event-quote {
    background: var(--cyan-soft);
    color: #086873;
}

.event-retweet,
.event-follow {
    background: #e8f5ee;
    color: #146b4d;
}

.item-time {
    color: #858b93;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 9px;
    white-space: nowrap;
}

.reference-line {
    margin: 12px 0 0;
    padding: 7px 9px;
    overflow-wrap: anywhere;
    border-left: 2px solid var(--cyan);
    background: var(--cyan-soft);
    color: #3a6267;
    font-size: 11px;
    line-height: 1.45;
}

.item-content {
    margin: 12px 0 0;
    overflow-wrap: anywhere;
    color: #30353b;
    font-size: 13px;
    line-height: 1.62;
    white-space: pre-wrap;
}

.media-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 5px;
    margin-top: 12px;
    overflow: hidden;
    border-radius: 5px;
}

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

.media-grid img {
    width: 100%;
    min-width: 0;
    aspect-ratio: 16 / 9;
    display: block;
    background: #e9ecef;
    object-fit: cover;
}

.item-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px solid #eceef0;
}

.source-link {
    color: #087985;
    font-size: 11px;
    font-weight: 650;
    text-decoration: none;
}

.source-link:hover {
    text-decoration: underline;
}

.translate-button {
    min-height: 24px;
    padding: 2px 7px;
    border: 1px solid #9bc6cb;
    border-radius: 3px;
    background: var(--cyan-soft);
    color: #086873;
    cursor: pointer;
    font-size: 11px;
    font-weight: 650;
}

.translate-button:hover {
    border-color: var(--cyan);
}

.translate-button:disabled {
    cursor: wait;
    opacity: 0.6;
}

.item-translation {
    margin-top: 9px;
    padding: 9px 10px;
    border-left: 2px solid var(--cyan);
    background: var(--cyan-soft);
}

.translation-label {
    display: block;
    color: #08727e;
    font-size: 9px;
    font-weight: 750;
}

.item-translation p {
    margin: 4px 0 0;
    overflow-wrap: anywhere;
    color: #294b4f;
    font-size: 12px;
    line-height: 1.6;
    white-space: pre-wrap;
}

.token-icon {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    border-radius: 6px;
    background: var(--yellow-soft);
}

.alpha-source {
    margin-left: auto;
    background: var(--yellow-soft);
    color: #745d0e;
}

.listing-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 13px;
    padding: 8px 9px;
    border-left: 3px solid var(--yellow);
    background: var(--yellow-soft);
    color: #604d0d;
}

.listing-banner strong {
    font-size: 11px;
}

.listing-banner time {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 9px;
}

.alpha-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 13px 0 0;
    padding: 0;
}

.metric {
    min-width: 0;
    padding: 0 8px;
    border-right: 1px solid var(--line);
}

.metric:first-child {
    padding-left: 0;
}

.metric:last-child {
    padding-right: 0;
    border-right: 0;
}

.metric dt {
    color: var(--ink-soft);
    font-size: 9px;
}

.metric dd {
    margin: 4px 0 0;
    overflow: hidden;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 11px;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.is-positive {
    color: var(--green);
}

.is-negative {
    color: var(--red);
}

.alpha-details {
    min-width: 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 13px;
    padding-top: 10px;
    border-top: 1px solid #eceef0;
}

.alpha-id,
.chain-name {
    padding: 3px 5px;
    border: 1px solid var(--line);
    border-radius: 3px;
    color: var(--ink-soft);
    background: var(--surface-muted);
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 9px;
}

.contract-address {
    min-width: 0;
    flex: 1 1 120px;
    overflow: hidden;
    color: #717780;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 9px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.copy-contract {
    height: 25px;
    flex: 0 0 auto;
    padding: 0 8px;
    border: 1px solid var(--line-strong);
    border-radius: 3px;
    background: var(--surface);
    color: var(--ink-soft);
    cursor: pointer;
    font-size: 10px;
}

.copy-contract:hover {
    border-color: var(--cyan);
    color: var(--cyan);
}

.empty-state {
    min-height: 210px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: var(--ink-soft);
    text-align: center;
}

.empty-state strong {
    margin-top: 16px;
    color: #50565e;
    font-size: 13px;
}

.empty-state > span:last-child {
    margin-top: 4px;
    color: #9298a0;
    font-size: 11px;
}

.empty-signal {
    width: 44px;
    height: 28px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 4px;
}

.empty-signal i {
    width: 5px;
    display: block;
    border-radius: 2px 2px 0 0;
    background: #cdd1d6;
}

.empty-signal i:nth-child(1) {
    height: 10px;
}

.empty-signal i:nth-child(2) {
    height: 22px;
    background: var(--yellow);
}

.empty-signal i:nth-child(3) {
    height: 15px;
}

.toast {
    max-width: min(420px, calc(100vw - 32px));
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 10;
    padding: 11px 14px;
    transform: translateY(14px);
    border: 1px solid #2e3339;
    border-radius: 5px;
    background: #202328;
    box-shadow: var(--shadow);
    color: #ffffff;
    font-size: 12px;
    line-height: 1.4;
    opacity: 0;
    pointer-events: none;
    transition: opacity 160ms ease, transform 160ms ease;
}

.toast[data-tone="alpha"] {
    border-color: #d3a300;
    background: #2a2515;
    color: #ffe69a;
}

.toast.is-visible {
    transform: translateY(0);
    opacity: 1;
}

@keyframes status-pulse {
    0%,
    100% {
        opacity: 0.45;
    }
    50% {
        opacity: 1;
    }
}

@keyframes item-enter {
    from {
        transform: translateY(-6px);
        border-color: var(--yellow);
        opacity: 0.2;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@media (max-width: 1100px) {
    body {
        overflow: auto;
    }

    .workspace {
        height: auto;
        grid-template-columns: 1fr;
    }

    .stream-column {
        min-height: 620px;
        border-left: 0 !important;
        border-bottom: 1px solid var(--line-strong);
    }

    .feed-list {
        max-height: 650px;
    }
}

@media (max-width: 680px) {
    .topbar {
        height: auto;
        min-height: 68px;
        flex-wrap: wrap;
        gap: 8px;
        padding: 10px 14px;
    }

    .brand-zone {
        width: 100%;
        justify-content: space-between;
        gap: 10px;
    }

    .system-metrics {
        gap: 9px;
        padding-left: 10px;
    }

    .system-stat {
        width: 62px;
    }

    .brand-mark {
        width: 32px;
        height: 32px;
        flex-basis: 32px;
    }

    .brand h1 {
        max-width: 105px;
        font-size: 13px;
    }

    .brand p,
    .clock,
    .sound-control > span:last-child {
        display: none;
    }

    .topbar-actions {
        width: 100%;
        justify-content: flex-end;
        gap: 8px;
    }

    .connection-state {
        min-width: 74px;
    }

    .stream-column {
        min-height: 560px;
    }

    .column-header {
        min-height: 76px;
        padding: 14px;
    }

    .handle-list,
    .custom-form,
    .alpha-strip {
        padding-left: 14px;
        padding-right: 14px;
    }

    .feed-list {
        padding: 10px;
    }

    .feed-item article {
        padding: 12px;
    }

    .item-header {
        display: grid;
        grid-template-columns: 36px minmax(0, 1fr);
    }

    .avatar-frame {
        width: 36px;
        height: 36px;
        grid-row: span 2;
    }

    .item-meta {
        grid-column: 2;
        align-items: center;
        flex-direction: row;
    }

    .alpha-metrics {
        gap: 0;
    }

    .metric {
        padding: 0 6px;
    }
}

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