@font-face {
    font-family: "StudyRoomIcons";
    src: url('/assets/fontawesome/webfonts/fa-solid-900.woff2') format('woff2');
    font-display: block;
}
.sr-classic.sr-fireplace.sr-coastal { background: #18110e; color: #f8e8d2; overflow: hidden; }
.sr-classic.sr-coastal .sr-fireplace-shell { display: flex; flex-direction: column; height: 100dvh; min-height: 0; overflow: hidden; }
.sr-classic .sr-classic-header {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 58px;
    padding: calc(5px + env(safe-area-inset-top)) 20px 5px;
    background: #201713;
    border-bottom: 1px solid #4d3729;
}
.sr-classic .sr-classic-header h1 {
    margin: 0;
    font-size: clamp(18px, 1.7vw, 27px);
    color: #f4e1ca;
    white-space: nowrap;
}
.sr-classic-header h1:focus { outline: none; }
.sr-classic-nav, .sr-classic-tools { display: flex; align-items: center; gap: 7px; }
.sr-classic-nav { margin-left: auto; }
.sr-classic .sr-classic-header button {
    min-height: 36px;
    padding: 6px 12px;
    border: 1px solid #624735;
    border-radius: 20px;
    background: #30221b;
    color: #f6e1c7;
    font-size: 14px;
    white-space: nowrap;
}
.sr-classic .sr-classic-header .sr-classic-back { min-width: 34px; padding: 4px; border: 0; background: none; }
.sr-classic-back i { font: normal 14px "StudyRoomIcons"; }
.sr-classic-back i::before { content: '\f053'; }
.sr-classic .sr-classic-header .sr-classic-tasks { min-height: 41px; padding: 7px 18px; background: #bc4e1b; color: #fff; border-color: #f08b53; font-weight: 800; }
.sr-classic .sr-classic-header button[aria-pressed="true"] { background: #f0d6b4; border-color: #f0d6b4; color: #492d1d; font-weight: 650; }
.sr-classic-preview { color: #d5ad88; font-size: 12px; }
.sr-classic-task-strip {
    display: flex;
    align-items: center;
    gap: 28px;
    min-height: 76px;
    padding: 12px 28px;
    border-bottom: 1px solid #765132;
    background: linear-gradient(100deg, #302015, #241c18 70%);
    color: #fae8d0;
}
.sr-task-strip-progress { display: flex; flex: none; align-items: center; gap: 14px; padding-right: 24px; border-right: 1px solid #a17e5655; }
.sr-classic .sr-task-strip-title { border: 0; padding: 0; background: transparent; color: #fff1dc; font: inherit; font-size: 23px; font-weight: 750; cursor: pointer; white-space: nowrap; }
.sr-task-strip-progress > span { font-size: 14px; white-space: nowrap; }
.sr-task-strip-track { width: 80px; height: 7px; overflow: hidden; border-radius: 6px; background: #70553e; }
.sr-task-strip-track > span { display: block; height: 100%; background: #ed9246; border-radius: inherit; transition: width .2s ease; }
.sr-task-strip-next { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; }
.sr-task-strip-stage { color: #d5b58f; font-size: 13px; white-space: nowrap; }
.sr-task-strip-next strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 18px; font-weight: 650; }
.sr-task-strip-next small { flex: none; max-width: 34%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #d6bea0; font-size: 12px; }
.sr-task-strip-actions { display: flex; flex: none; align-items: center; gap: 20px; }
.sr-classic .sr-task-strip-actions .sr-primary { min-height: 44px; padding: 9px 24px; font-size: 16px; font-weight: 700; border-radius: 24px; }
.sr-classic .sr-task-strip-all { padding: 8px 0; border: 0; border-bottom: 1px solid #d8b78e; border-radius: 0; background: transparent; color: #f5dec0; font: inherit; font-size: 14px; cursor: pointer; white-space: nowrap; }
@media (max-width: 1250px) {
    .sr-classic-task-strip { gap: 18px; padding-inline: 20px; }
    .sr-task-strip-progress { flex-wrap: wrap; width: 195px; gap: 5px 12px; padding-right: 16px; }
    .sr-task-strip-track { width: 100%; }
    .sr-task-strip-next { flex-wrap: wrap; gap: 3px 8px; }
    .sr-task-strip-next strong { max-width: 100%; font-size: 16px; }
    .sr-task-strip-next small { max-width: 100%; flex-basis: 100%; }
}
.sr-classic-view { position: relative; isolation: isolate; overflow: hidden; flex: 1; min-height: 0; container-type: size; background: #15100d; }
.sr-classic-ambient {
    position: absolute;
    z-index: -1;
    inset: -36px;
    background-position: center;
    background-size: cover;
    filter: blur(32px) brightness(.65) saturate(.88);
}
.sr-classic-camera {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    overflow: hidden;
}
.sr-classic-surface { position: relative; display: flex; align-items: center; width: 100%; height: 100%; min-height: 0; }
.sr-classic-scene { position: relative; flex: none; width: min(100%, calc(100cqh * var(--scene-ratio))); margin: 0 auto; overflow: hidden; isolation: isolate; container-type: inline-size; background: #211910; }
.sr-classic-art { display: block; width: 100%; height: 100%; }
.sr-classic-photograph { position: absolute; inset: 0; pointer-events: none; }
.sr-classic-person { position: absolute; display: block; max-width: none; pointer-events: none; }
@media (min-width: 768px) and (min-aspect-ratio: 2 / 1) {
    .sr-classic-scene { mask-image: linear-gradient(90deg, transparent, #000 2%, #000 98%, transparent); }
}
.sr-classic-loading, .sr-classic-room-signal {
    position: absolute;
    bottom: calc(12px + env(safe-area-inset-bottom));
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    margin: 0;
    padding: 6px 12px;
    border-radius: 20px;
    background: #241710e8;
    color: #ffe7c9;
    font-size: 12px;
    white-space: nowrap;
    pointer-events: none;
}
.sr-classic-loading, .sr-classic-room-signal { bottom: calc(47px + env(safe-area-inset-bottom)); }
.sr-classic .sr-classic-pin {
    position: absolute;
    display: grid;
    justify-items: center;
    min-width: 40px;
    max-width: 126px;
    max-width: 9.2cqw;
    gap: .07cqw;
    padding: 5px 9px;
    padding: .34cqw .59cqw .39cqw;
    transform: translate(-50%, -50%);
    border: 1px solid #dfc29c;
    border-radius: clamp(4px, .72cqw, 16px);
    background: #fff3da;
    color: #322418;
    font-size: 14px;
    font-size: clamp(8px, 1.07cqw, 27px);
    font-weight: 700;
    line-height: 1.17;
    text-align: center;
    white-space: nowrap;
    box-shadow: 0 2px 5px #22140644;
}
.sr-classic-pin strong { max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
.sr-classic-pin::before { content: ''; position: absolute; inset: -11px -5px; }
.sr-classic-pin span { font-size: .83em; color: #49604a; }
.sr-classic-pin [data-activity="听课"] { color: #24506d; }
.sr-classic-pin [data-activity="做题"] { color: #855330; }
.sr-classic-pin [data-activity="休息中"] { color: #695076; }
.sr-classic-scene[data-scene="overview"] .sr-classic-pin[data-seat-id^="C-"] { min-width: 0; max-width: 5.2cqw; }
.sr-classic-scene[data-scene="overview"] .sr-classic-pin[data-seat-id^="B-"] { min-width: 0; max-width: 8cqw; }
.sr-classic .sr-classic-pin.is-me { outline: 2px solid #f6a84e; }
.sr-classic .sr-classic-pin:not(.is-occupied) { background: #482b1bdd; color: #fff1dc; font-size: clamp(9px, .86cqw, 17px); }
.sr-classic .sr-fireplace-panel-backdrop { z-index: 8; }
@media (max-width: 767px) {
    .sr-classic .sr-classic-header { display: grid; grid-template-columns: auto auto minmax(0, 1fr); gap: 5px; padding: calc(6px + env(safe-area-inset-top)) 8px 8px; }
    .sr-classic .sr-classic-header h1 { font-size: clamp(14px, 4vw, 18px); }
    .sr-classic-nav { grid-column: 1 / -1; grid-row: 2; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; }
    .sr-classic-tools { grid-column: 3; grid-row: 1; justify-content: flex-end; }
    .sr-classic .sr-classic-header button { min-height: 33px; padding: 4px 6px; font-size: 11px; }
    .sr-classic .sr-classic-header .sr-classic-back { min-width: 22px; }
    .sr-classic .sr-classic-header .sr-classic-tasks { padding: 6px 17px; font-size: 14px; }
    .sr-classic-preview { display: none; }
}
@media (max-width: 767px) and (orientation: portrait) {
    .sr-classic-camera:is(.is-mobile-overview, .is-mobile-floor) {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
    }
    .sr-classic-camera.is-mobile-overview { grid-template-rows: repeat(3, minmax(0, 1fr)); }
    .sr-classic-camera.is-mobile-floor { grid-template-rows: minmax(0, 1fr); }
    .sr-classic-surface { container-type: inline-size; overflow: hidden; }
    .sr-classic-surface .sr-classic-scene {
        width: 100%;
        height: min(100%, calc(100cqw / var(--scene-ratio)));
    }
    .sr-classic-extension {
        position: absolute;
        inset: 0;
        display: grid;
        grid-template-rows: 1fr min(100%, calc(100cqw / var(--scene-ratio))) 1fr;
        pointer-events: none;
    }
    .sr-classic-extension::before, .sr-classic-extension::after {
        content: '';
        min-height: 0;
        background-repeat: no-repeat;
        background-size: 100% 100%;
    }
    .sr-classic-extension::before { grid-row: 1; background-image: var(--portrait-top); background-position: bottom; }
    .sr-classic-extension::after { grid-row: 3; background-image: var(--portrait-bottom); background-position: top; }
    .is-mobile-overview .sr-classic-extension::before, .is-mobile-overview .sr-classic-extension::after { background-size: 100% auto; }
    .is-mobile-overview .sr-classic-surface + .sr-classic-surface { border-top: 1px solid #392215; }
    .sr-classic-floor-tag {
        position: absolute;
        top: 8px;
        right: 9px;
        padding: 3px 7px;
        border: 1px solid #dab08160;
        border-radius: 7px;
        color: #fff0dc;
        background: #24170edb;
        font-size: 11px;
        line-height: 1.35;
        pointer-events: none;
    }
    .sr-classic .sr-classic-pin { min-width: 0; max-width: 11cqw; padding-inline: 2px; font-size: clamp(9px, 2.4cqw, 14px); }
    .sr-classic-pin::before { inset: -6px -2px; }
}
