/* =========================================================
   Tutorial Studio
   Screen Recorder
   ========================================================= */

:root {
    --primary: #2864f0;
    --primary-hover: #174fce;
    --primary-light: #eef4ff;

    --success: #16a36a;
    --danger: #e5484d;

    --text-primary: #1d2939;
    --text-secondary: #667085;
    --text-muted: #98a2b3;

    --border: #e5eaf2;
    --border-strong: #d8e0ed;

    --surface: #ffffff;
    --surface-soft: #f7f9fc;

    --radius: 12px;

    --shadow:
        0 2px 8px rgba(16, 24, 40, 0.025);
}


* {
    box-sizing: border-box;
}


html {
    min-height: 100%;
    background: #f5f7fb;
}


body {
    margin: 0;

    min-width: 320px;
    min-height: 100vh;

    color: var(--text-primary);

    background:
        linear-gradient(180deg,
            #f8faff 0%,
            #f4f7fb 100%);

    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        "PingFang SC",
        "Microsoft YaHei",
        sans-serif;

    font-size: 14px;

    -webkit-font-smoothing: antialiased;
}


button,
input,
select {
    font: inherit;
}


button,
select {
    -webkit-tap-highlight-color: transparent;
}


button:focus-visible,
input:focus-visible,
select:focus-visible,
a:focus-visible {
    outline: 3px solid rgba(40, 100, 240, 0.24);
    outline-offset: 2px;
}


button:disabled {
    cursor: not-allowed;
    opacity: 0.45;
}


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


[hidden] {
    display: none !important;
}


.recorder-app {
    min-height: 100vh;
}


/* =========================================================
   顶部导航
   ========================================================= */

.recorder-header {
    position: sticky;
    top: 0;
    z-index: 20;

    display: flex;
    align-items: center;

    height: 68px;

    padding: 0 32px;

    background: rgba(255, 255, 255, 0.96);

    border-bottom: 1px solid var(--border);

    backdrop-filter: blur(16px);
}


.brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;

    flex-shrink: 0;
}


.brand-icon {
    display: grid;
    place-items: center;

    width: 36px;
    height: 36px;

    color: white;

    font-size: 21px;
    font-weight: 800;

    border-radius: 10px;

    background:
        linear-gradient(135deg,
            #4c83ff,
            #2258e7);

    box-shadow:
        0 4px 10px rgba(40, 100, 240, 0.18);
}


.brand-name {
    font-size: 19px;
    font-weight: 750;

    letter-spacing: -0.5px;
}


.header-divider {
    width: 1px;
    height: 28px;

    margin: 0 24px;

    background: var(--border);
}


.header-title {
    display: flex;
    align-items: center;
    gap: 10px;
}


.header-title-main {
    font-size: 15px;
    font-weight: 700;
}


.header-title-sub {
    color: var(--text-muted);

    font-size: 12px;
}


.header-spacer {
    flex: 1;
}


.local-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;

    padding: 8px 12px;

    color: #16734b;

    font-size: 12px;
    font-weight: 600;

    background: #ecfdf3;

    border: 1px solid #d4f4e2;
    border-radius: 20px;
}


.local-badge-dot {
    width: 7px;
    height: 7px;

    background: #16a36a;

    border-radius: 50%;
}


.back-link {
    margin-left: 20px;

    color: #475467;

    font-size: 13px;
    font-weight: 600;

    transition: color 0.2s;
}


.back-link:hover {
    color: var(--primary);
}


/* =========================================================
   主体
   ========================================================= */

.recorder-main {
    width: 100%;
    max-width: 1760px;

    margin: 0 auto;

    padding: 28px 32px 24px;
}


.page-intro {
    display: flex;
    align-items: center;
    gap: 17px;

    margin-bottom: 24px;
}


.intro-icon {
    display: grid;
    place-items: center;

    width: 56px;
    height: 56px;

    flex-shrink: 0;

    color: var(--primary);

    background: #eaf1ff;

    border: 1px solid #dce8ff;
    border-radius: 15px;
}


.intro-icon svg {
    width: 30px;
    height: 30px;
}


.intro-content h1 {
    margin: 0 0 7px;

    font-size: 25px;
    font-weight: 760;

    letter-spacing: -0.7px;
}


.intro-content p {
    margin: 0;

    color: var(--text-secondary);

    font-size: 13px;
    line-height: 1.7;
}


/* =========================================================
   通知
   ========================================================= */

.notice {
    display: flex;
    align-items: flex-start;
    gap: 10px;

    margin-bottom: 18px;
    padding: 13px 15px;

    color: #2858a6;

    background: #eff6ff;

    border: 1px solid #d7e7ff;
    border-radius: 10px;

    line-height: 1.7;
}


.notice.notice-error {
    color: #a12a30;

    background: #fff2f2;

    border-color: #ffd9da;
}


.notice.notice-success {
    color: #146b45;

    background: #effcf5;

    border-color: #d3f5e1;
}


.notice-icon {
    display: grid;
    place-items: center;

    width: 20px;
    height: 20px;

    flex-shrink: 0;

    font-size: 12px;
    font-weight: 800;

    border: 1px solid currentColor;
    border-radius: 50%;
}


#noticeText {
    flex: 1;
}


.notice-close {
    padding: 0 4px;

    color: inherit;

    font-size: 21px;
    line-height: 1;

    background: transparent;
    border: 0;

    cursor: pointer;
}


/* =========================================================
   三列布局
   ========================================================= */

.workspace {
    display: grid;

    grid-template-columns:
        minmax(360px, 1.06fr) minmax(340px, 1fr) minmax(260px, 0.74fr);

    align-items: stretch;

    gap: 18px;
}


.panel {
    min-width: 0;

    padding: 22px;

    background: var(--surface);

    border: 1px solid var(--border);
    border-radius: var(--radius);

    box-shadow: var(--shadow);
}


.panel-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;

    margin-bottom: 24px;
}


.panel-heading>div {
    display: flex;
    align-items: center;
    gap: 10px;
}


.panel-heading h2 {
    margin: 0;

    font-size: 16px;
    font-weight: 750;
}


.section-number {
    color: #7b9cf7;

    font-size: 11px;
    font-weight: 800;

    letter-spacing: 0.4px;
}


.state-badge {
    display: inline-flex;
    align-items: center;

    padding: 5px 9px;

    white-space: nowrap;

    font-size: 11px;
    font-weight: 650;

    border-radius: 20px;
}


.state-idle {
    color: #667085;
    background: #f2f4f7;
}


.state-recording {
    color: #b42318;
    background: #fff0f0;
}


.state-paused {
    color: #9a6700;
    background: #fff7db;
}


.state-completed {
    color: #16734b;
    background: #e9f9f0;
}


/* =========================================================
   分区
   ========================================================= */

.setting-section {
    padding-bottom: 22px;
    margin-bottom: 22px;

    border-bottom: 1px solid #edf0f5;
}


.setting-section:last-of-type {
    margin-bottom: 18px;
}


.setting-section h3,
.monitor-heading h3 {
    margin: 0;

    font-size: 14px;
    font-weight: 730;
}


.section-description {
    margin: 7px 0 15px;

    color: var(--text-secondary);

    font-size: 12px;
    line-height: 1.6;
}


.field-hint {
    margin: 11px 0 0;

    color: var(--text-muted);

    font-size: 11px;
    line-height: 1.8;
}


/* =========================================================
   录制来源卡片
   ========================================================= */

.source-options {
    display: grid;

    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 10px;
}


.source-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    min-width: 0;
    min-height: 126px;

    padding: 13px 5px;

    color: var(--text-primary);

    background: #fff;

    border: 1px solid var(--border-strong);
    border-radius: 10px;

    cursor: pointer;

    transition:
        border-color 0.18s,
        background 0.18s,
        box-shadow 0.18s;
}


.source-card:hover {
    border-color: #9dbaff;
    background: #f9fbff;
}


.source-card.selected {
    color: var(--primary);

    background: #f3f7ff;

    border: 1.5px solid var(--primary);

    box-shadow:
        inset 0 0 0 1px rgba(40, 100, 240, 0.04);
}


.source-icon {
    display: grid;
    place-items: center;

    width: 36px;
    height: 36px;

    margin-bottom: 9px;

    color: #4d78df;
}


.source-icon svg {
    width: 31px;
    height: 31px;
}


.source-name {
    font-size: 12px;
    font-weight: 700;

    text-align: center;
}


.source-desc {
    margin-top: 6px;

    color: var(--text-muted);

    font-size: 10px;
    line-height: 1.5;

    text-align: center;
}


/* =========================================================
   音频设置
   ========================================================= */

.audio-setting {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;

    min-height: 32px;

    margin-top: 16px;
}


.audio-toggle {
    display: inline-flex;
    align-items: center;
    gap: 9px;

    min-width: 0;

    cursor: pointer;
}


.audio-toggle input {
    position: absolute;

    width: 1px;
    height: 1px;

    opacity: 0;
}


.custom-checkbox {
    display: grid;
    place-items: center;

    width: 17px;
    height: 17px;

    flex-shrink: 0;

    background: white;

    border: 1.5px solid #c7d0df;
    border-radius: 4px;

    transition: all 0.15s;
}


.audio-toggle input:checked+.custom-checkbox {
    background: var(--primary);
    border-color: var(--primary);
}


.audio-toggle input:checked+.custom-checkbox::after {
    content: "";

    width: 8px;
    height: 4px;

    margin-top: -2px;

    border-left: 2px solid white;
    border-bottom: 2px solid white;

    transform: rotate(-45deg);
}


.audio-toggle input:focus-visible+.custom-checkbox {
    outline: 3px solid rgba(40, 100, 240, 0.25);
    outline-offset: 2px;
}


.audio-label {
    font-size: 12px;
    font-weight: 600;
}


.audio-status {
    color: var(--text-muted);

    font-size: 11px;
    white-space: nowrap;
}


.audio-status.active {
    color: var(--success);
}


.audio-status.warning {
    color: #b54708;
}


.audio-controls {
    margin: 10px 0 0 26px;
}


.audio-control-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;

    margin-bottom: 9px;
}


.audio-control-heading label {
    color: var(--text-secondary);

    font-size: 11px;
}


.audio-control-heading output {
    color: #475467;

    font-size: 11px;
    font-weight: 650;
}


.volume-slider {
    display: block;

    width: 100%;
    height: 5px;

    margin: 0;

    accent-color: var(--primary);

    cursor: pointer;
}


.meter-track {
    overflow: hidden;

    width: 100%;
    height: 4px;

    margin-top: 11px;

    background: #edf1f7;

    border-radius: 10px;
}


.meter-fill {
    width: 0;
    height: 100%;

    background:
        linear-gradient(90deg,
            #20b77b,
            #64d7a7);

    border-radius: inherit;

    transition: width 0.1s linear;
}


.audio-tip {
    display: flex;
    align-items: flex-start;
    gap: 9px;

    margin-top: 19px;
    padding: 12px;

    background: #f4f8ff;

    border: 1px solid #e3edff;
    border-radius: 8px;
}


.tip-icon {
    display: grid;
    place-items: center;

    width: 16px;
    height: 16px;

    flex-shrink: 0;

    color: white;

    font-size: 10px;
    font-weight: 800;

    background: #78a1f5;

    border-radius: 50%;
}


.audio-tip p {
    margin: 0;

    color: #637697;

    font-size: 10px;
    line-height: 1.8;
}


/* =========================================================
   视频质量
   ========================================================= */

.quality-grid {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 12px;
}


.form-field {
    display: flex;
    flex-direction: column;
    gap: 8px;

    min-width: 0;
}


.form-field label {
    color: #475467;

    font-size: 11px;
    font-weight: 600;
}


.form-field select {
    width: 100%;
    min-width: 0;
    height: 38px;

    padding: 0 9px;

    color: var(--text-primary);

    background: white;

    border: 1px solid var(--border-strong);
    border-radius: 7px;

    outline: none;

    font-size: 11px;

    cursor: pointer;
}


.form-field select:focus {
    border-color: var(--primary);
}


.format-field {
    margin-top: 15px;
}


/* =========================================================
   操作按钮
   ========================================================= */

.record-actions {
    display: grid;

    grid-template-columns: 1.35fr 0.85fr 0.85fr 1.1fr;

    gap: 8px;
}


.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;

    min-width: 0;
    min-height: 42px;

    padding: 0 10px;

    border: 1px solid transparent;
    border-radius: 8px;

    font-size: 11px;
    font-weight: 700;

    white-space: nowrap;

    cursor: pointer;

    transition:
        background 0.18s,
        border-color 0.18s,
        transform 0.18s;
}


.button:not(:disabled):active {
    transform: translateY(1px);
}


.button-primary {
    color: white;

    background: var(--primary);

    box-shadow:
        0 3px 7px rgba(40, 100, 240, 0.13);
}


.button-primary:hover:not(:disabled) {
    background: var(--primary-hover);
}


.button-secondary {
    color: #475467;

    background: #f5f7fa;

    border-color: #edf0f4;
}


.button-secondary:hover:not(:disabled) {
    color: var(--primary);

    background: #edf3ff;

    border-color: #dbe7ff;
}


.button-danger {
    color: white;

    background: var(--danger);
}


.button-danger:hover:not(:disabled) {
    background: #c9343a;
}


.button-dot {
    width: 9px;
    height: 9px;

    background: #fff;

    border: 2px solid #ffccd0;
    border-radius: 50%;
}


/* =========================================================
   中间预览
   ========================================================= */

.preview-panel {
    display: flex;
    flex-direction: column;
}


.recording-indicator {
    display: inline-flex;
    align-items: center;
    gap: 6px;

    color: #c42e37;

    font-size: 11px;
    font-weight: 800;

    letter-spacing: 0.5px;
}


.recording-indicator>span {
    width: 8px;
    height: 8px;

    background: #e5484d;

    border-radius: 50%;

    animation: recorder-pulse 1.3s infinite;
}


@keyframes recorder-pulse {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.3;
    }

    100% {
        opacity: 1;
    }
}


.preview-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    min-height: 260px;

    padding: 24px 12px;

    background:
        linear-gradient(145deg,
            #f0f4fa,
            #e8edf5);

    border: 1px solid #e2e8f1;
    border-radius: 9px;

    text-align: center;
}


.placeholder-icon {
    display: grid;
    place-items: center;

    width: 74px;
    height: 74px;

    margin-bottom: 16px;

    color: #90a4c6;

    background: rgba(255, 255, 255, 0.72);

    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 19px;
}


.placeholder-icon svg {
    width: 52px;
    height: 52px;
}


.preview-placeholder h3 {
    margin: 0;

    font-size: 14px;
    font-weight: 700;
}


.preview-placeholder p {
    margin: 9px 0 0;

    color: #667085;

    font-size: 12px;
    line-height: 1.7;
}


.placeholder-hint {
    margin-top: 18px;

    color: #98a2b3;

    font-size: 10px;
}


.video-wrap {
    position: relative;

    overflow: hidden;

    width: 100%;

    aspect-ratio: 16 / 9;

    background: #111827;

    border-radius: 9px;
}


.video-wrap video {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: contain;

    background: #111827;
}


.paused-overlay {
    position: absolute;
    inset: 0;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    color: white;

    background: rgba(16, 24, 40, 0.66);

    text-align: center;
}


.paused-overlay>span {
    display: grid;
    place-items: center;

    width: 46px;
    height: 46px;

    font-size: 21px;

    background: rgba(255, 255, 255, 0.16);

    border-radius: 50%;
}


.paused-overlay p {
    margin: 12px 0 0;

    font-size: 12px;
}


.stats-grid {
    display: grid;

    grid-template-columns: repeat(4, minmax(0, 1fr));

    margin-top: 16px;

    padding: 16px 0;

    background: #fff;

    border: 1px solid var(--border);
    border-radius: 9px;
}


.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;

    min-width: 0;
    padding: 0 5px;

    border-right: 1px solid #edf0f5;
}


.stat-item:last-child {
    border-right: 0;
}


.stat-label {
    color: var(--text-muted);

    font-size: 10px;
    text-align: center;
}


.stat-value {
    max-width: 100%;
    overflow-wrap: anywhere;

    color: #344054;

    font-size: 12px;
    font-weight: 750;

    text-align: center;
}


.stat-muted {
    color: #98a2b3;
}


.stat-value.stat-active {
    color: var(--success);
}


/* =========================================================
   音量监测
   ========================================================= */

.monitor-section {
    margin-top: 24px;
}


.monitor-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-bottom: 18px;
}


.monitor-heading>span {
    color: var(--text-muted);

    font-size: 10px;
}


.monitor-row {
    display: grid;

    grid-template-columns: 95px minmax(0, 1fr) 30px;

    align-items: center;
    gap: 12px;

    margin-top: 15px;
}


.monitor-name {
    display: flex;
    align-items: center;
    gap: 7px;

    color: #475467;

    font-size: 11px;
    font-weight: 600;
}


.monitor-icon {
    display: grid;
    place-items: center;

    width: 23px;
    height: 23px;

    color: #6280ba;

    font-size: 10px;

    background: #f1f5fc;

    border-radius: 6px;
}


.monitor-bar {
    overflow: hidden;

    height: 6px;

    background: #edf1f7;

    border-radius: 10px;
}


.monitor-fill {
    width: 0;
    height: 100%;

    background:
        linear-gradient(90deg,
            #19b579,
            #58d4a1);

    border-radius: inherit;

    transition: width 0.1s linear;
}


.monitor-value {
    color: #667085;

    font-size: 10px;

    text-align: right;
}


.preview-footer {
    display: flex;
    align-items: center;
    gap: 8px;

    margin-top: auto;
    padding-top: 28px;

    color: #7b879a;

    font-size: 10px;
}


.footer-check {
    display: grid;
    place-items: center;

    width: 17px;
    height: 17px;

    color: #178451;

    font-size: 10px;
    font-weight: 800;

    background: #e6f8ef;

    border-radius: 50%;
}


/* =========================================================
   右侧栏
   ========================================================= */

.right-column {
    display: flex;
    flex-direction: column;
    gap: 18px;

    min-width: 0;
}


.help-panel {
    padding: 20px;
}


.side-heading {
    display: flex;
    align-items: center;
    gap: 10px;

    margin-bottom: 20px;
}


.side-heading h2 {
    margin: 0;

    font-size: 14px;
    font-weight: 750;
}


.side-icon {
    display: grid;
    place-items: center;

    width: 29px;
    height: 29px;

    color: var(--primary);

    font-size: 19px;

    background: #eef4ff;

    border-radius: 8px;
}


.help-item {
    display: grid;

    grid-template-columns: 24px minmax(0, 1fr);

    gap: 9px;

    margin-top: 15px;
}


.help-number {
    display: grid;
    place-items: center;

    width: 23px;
    height: 23px;

    color: #4e75cb;

    font-size: 10px;
    font-weight: 800;

    background: #eff4ff;

    border-radius: 7px;
}


.help-item p {
    margin: 0;

    color: #667085;

    font-size: 11px;
    line-height: 1.9;
}


.result-panel {
    flex: 1;

    padding: 20px;
}


.empty-result {
    display: flex;
    flex-direction: column;
    align-items: center;

    padding: 28px 0 10px;

    text-align: center;
}


.empty-result-icon {
    display: grid;
    place-items: center;

    width: 86px;
    height: 86px;

    margin-bottom: 17px;

    color: #86a3e9;

    background: #f1f5ff;

    border: 1px solid #e8efff;
    border-radius: 50%;
}


.empty-result-icon svg {
    width: 54px;
    height: 54px;
}


.empty-result h3 {
    margin: 0;

    font-size: 13px;
    font-weight: 700;
}


.empty-result p {
    margin: 10px 0 0;

    color: var(--text-muted);

    font-size: 11px;
    line-height: 1.8;
}


.result-content {
    margin-top: 10px;
}


.result-success {
    display: flex;
    align-items: flex-start;
    gap: 10px;

    margin-bottom: 16px;
    padding: 12px;

    background: #f0fbf5;

    border: 1px solid #dcf6e6;
    border-radius: 9px;
}


.success-icon {
    display: grid;
    place-items: center;

    width: 23px;
    height: 23px;

    flex-shrink: 0;

    color: white;

    font-size: 12px;
    font-weight: 800;

    background: #1aab6b;

    border-radius: 50%;
}


.result-success strong {
    font-size: 12px;
}


.result-success p {
    margin: 5px 0 0;

    color: #667085;

    font-size: 10px;
    line-height: 1.7;
}


.result-video {
    display: block;

    width: 100%;

    max-height: 240px;

    background: #111827;

    border-radius: 8px;
}


.result-meta {
    margin-top: 15px;
}


.result-meta>div {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;

    padding: 10px 0;

    border-bottom: 1px solid #f0f2f6;
}


.result-meta>div>span {
    flex-shrink: 0;

    color: var(--text-muted);

    font-size: 10px;
}


.result-meta>div>strong {
    max-width: 68%;

    overflow-wrap: anywhere;

    color: #475467;

    font-size: 10px;

    text-align: right;
}


.download-button {
    width: 100%;

    margin-top: 18px;

    font-size: 12px;
}


.new-recording-button {
    width: 100%;

    margin-top: 9px;
}


/* =========================================================
   底部功能说明
   ========================================================= */

.feature-strip {
    display: grid;

    grid-template-columns: repeat(4, minmax(0, 1fr));

    margin-top: 22px;
    padding: 22px 12px;

    background: rgba(255, 255, 255, 0.75);

    border: 1px solid var(--border);
    border-radius: 12px;
}


.feature-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;

    min-width: 0;

    padding: 4px 12px;

    border-right: 1px solid var(--border);
}


.feature-item:last-child {
    border-right: 0;
}


.feature-icon {
    display: grid;
    place-items: center;

    width: 38px;
    height: 38px;

    flex-shrink: 0;

    color: #5879b8;

    font-size: 22px;

    background: #f1f5fc;

    border-radius: 10px;
}


.feature-item strong {
    display: block;

    font-size: 12px;
    font-weight: 700;
}


.feature-item p {
    margin: 6px 0 0;

    color: var(--text-muted);

    font-size: 10px;
}


.page-footer {
    display: flex;
    justify-content: space-between;

    padding: 22px 2px 0;

    color: #98a2b3;

    font-size: 10px;
}


/* =========================================================
   响应式布局
   ========================================================= */

@media (max-width: 1250px) {

    .recorder-main {
        padding-right: 22px;
        padding-left: 22px;
    }

    .recorder-header {
        padding-right: 22px;
        padding-left: 22px;
    }

    .workspace {
        grid-template-columns:
            minmax(330px, 1fr) minmax(320px, 1fr);
    }

    .right-column {
        grid-column: 1 / -1;

        display: grid;

        grid-template-columns: 1fr 1fr;
    }

    .result-panel {
        min-height: 300px;
    }

}


@media (max-width: 800px) {

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

    .right-column {
        grid-column: auto;

        grid-template-columns: minmax(0, 1fr);
    }

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

        row-gap: 20px;
    }

    .feature-item:nth-child(2) {
        border-right: 0;
    }

    .feature-item:nth-child(3),
    .feature-item:nth-child(4) {
        padding-top: 12px;
    }

}


@media (max-width: 560px) {

    .recorder-header {
        height: 60px;

        padding: 0 14px;
    }

    .brand-name {
        font-size: 15px;
    }

    .brand-icon {
        width: 31px;
        height: 31px;
    }

    .header-divider,
    .header-title-sub,
    .local-badge {
        display: none;
    }

    .header-title {
        margin-left: 14px;
    }

    .header-title-main {
        font-size: 12px;
    }

    .back-link {
        margin-left: 10px;

        font-size: 11px;
    }

    .recorder-main {
        padding: 20px 12px;
    }

    .page-intro {
        align-items: flex-start;

        gap: 12px;

        margin-bottom: 18px;
    }

    .intro-icon {
        width: 44px;
        height: 44px;

        border-radius: 12px;
    }

    .intro-icon svg {
        width: 24px;
        height: 24px;
    }

    .intro-content h1 {
        font-size: 21px;
    }

    .intro-content p {
        font-size: 11px;
    }

    .panel {
        padding: 16px;
    }

    .source-options {
        gap: 6px;
    }

    .source-card {
        min-height: 115px;

        padding-right: 3px;
        padding-left: 3px;
    }

    .source-name {
        font-size: 11px;
    }

    .source-desc {
        font-size: 9px;
    }

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

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

        row-gap: 15px;
    }

    .stat-item:nth-child(2) {
        border-right: 0;
    }

    .monitor-row {
        grid-template-columns: 78px minmax(0, 1fr) 28px;

        gap: 7px;
    }

    .feature-strip {
        padding: 16px 5px;
    }

    .feature-item {
        justify-content: flex-start;

        gap: 8px;

        padding-right: 7px;
        padding-left: 7px;
    }

    .feature-icon {
        width: 30px;
        height: 30px;

        font-size: 17px;
    }

    .feature-item strong {
        font-size: 10px;
    }

    .feature-item p {
        font-size: 9px;
    }

}


/* =========================================================
   减少动态效果
   ========================================================= */

@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;
    }

}