/* ============================================================
   星光小站 v3.23 · 华彩国庆主题（覆盖层）
   用法：在 starry.css 之后引入本文件，即切换为国庆特别版
   说明：不改动任何业务逻辑，仅统一视觉体系；平时可继续使用
   背景图：根目录 bg-festival.jpg / bg-festival-login.jpg
   ============================================================ */

/* ---------- 设计令牌：华彩国庆（柔和红金） ---------- */
:root {
    --primary-color: #d84a3a;          /* 柔和中国红 */
    --primary-light: #ef6a5a;
    --primary-dark: #b03a2e;
    --secondary-color: #e0a800;        /* 华彩金 */
    --accent-color: #f5c518;
    --light-bg: #faf3e8;               /* 暖米底 */
    --light-card: rgba(255, 250, 242, 0.86);
    --light-text: #4a3b32;             /* 深暖灰正文 */
    --light-border: rgba(216, 74, 58, 0.28);
    --success-color: #22a85a;
    --warning-color: #f59e0b;
    --error-color: #e64545;
    --shadow: 0 8px 24px rgba(120, 60, 30, 0.14);
    --shadow-hover: 0 14px 34px rgba(216, 74, 58, 0.22);
    --glass-blur: 14px;
}

/* ---------- 全局：暖米天空 + 国风背景图 ---------- */
body,
.zr-body {
    background-color: #faf3e8 !important;
    background-image:
        radial-gradient(circle at 82% 8%, rgba(255, 255, 255, 0.9) 0%, transparent 38%),
        radial-gradient(circle at 10% 90%, rgba(255, 244, 220, 0.85) 0%, transparent 42%),
        url('../bg-festival.jpg') !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-attachment: fixed !important;
}

/* 登录页：专属竖版国风背景 */
.login-container {
    background-image:
        radial-gradient(circle at 50% 30%, rgba(255, 250, 240, 0.85) 0%, transparent 55%),
        url('../bg-festival-login.jpg') !important;
    background-size: cover !important;
    background-position: center !important;
    background-attachment: fixed !important;
}

/* 柔和光斑（暖金色调） */
body::after,
.zr-body::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 20% 16%, rgba(255, 220, 150, 0.35) 0%, transparent 30%),
        radial-gradient(circle at 78% 76%, rgba(216, 74, 58, 0.08) 0%, transparent 36%);
}

/* 页面内容置于装饰层之上 */
body > *:not(script),
.zr-body > *:not(script),
.login-container > *:not(script) {
    position: relative;
    z-index: 1;
}

/* ---------- 玻璃卡片体系（暖白半透明） ---------- */
header,
.panel,
.login-box,
.system-container,
.zr-container,
.error-container,
.period-item,
.control-panel,
.result-panel,
.stat-item,
.selector-content,
.history-list,
.analysis-results,
.info-panel,
.bottom-quote {
    background: var(--light-card) !important;
    backdrop-filter: blur(var(--glass-blur)) saturate(1.2);
    -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(1.2);
    border-color: var(--light-border) !important;
    box-shadow: var(--shadow) !important;
}

/* ---------- 通用文字与输入 ---------- */
body, .login-container, .zr-body {
    color: var(--light-text);
}

label,
.period-title,
.panel-title,
.tool-title,
.history-title,
.selected-count,
.stat-value,
.zr-task-title,
.login-footer a,
.page-footer a,
.beian-info a,
.zr-footer a {
    color: var(--primary-color) !important;
}

.time,
.zr-date,
.zr-footer,
.page-footer,
.login-footer,
.login-system-info,
.beian-info,
.error-description,
.student-count,
.zr-task-people,
.group-info,
.stat-label,
.last-update {
    color: #8a7a6a !important;
}

select, input {
    background-color: rgba(255, 255, 255, 0.94) !important;
    color: #4a3b32 !important;
    border-color: rgba(216, 74, 58, 0.32) !important;
}

select:focus, input:focus {
    border-color: var(--primary-color) !important;
    box-shadow: 0 0 0 3px rgba(216, 74, 58, 0.16);
}

input::placeholder {
    color: #b0a090;
}

/* ---------- 按钮：中国红主按钮 ---------- */
button,
.btn,
.login-btn,
.admin-btn,
.tool-btn,
.download-btn,
.selector-toggle {
    background-image: linear-gradient(135deg, #d84a3a 0%, #b03a2e 100%) !important;
    color: #fffdf5 !important;
    border: none;
    box-shadow: 0 6px 18px rgba(216, 74, 58, 0.28);
    transition: transform 0.22s ease, box-shadow 0.22s ease, filter 0.22s ease !important;
}

button:hover,
.btn:hover,
.login-btn:hover,
.admin-btn:hover,
.tool-btn:hover,
.download-btn:hover,
.selector-toggle:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 26px rgba(216, 74, 58, 0.38);
    filter: brightness(1.06);
}

button:disabled,
.download-btn:disabled {
    background-image: linear-gradient(135deg, #d8cfc4 0%, #c6bdb2 100%) !important;
    color: #8a7a6a !important;
    box-shadow: none;
}

/* 次级 / 语义按钮 */
.tool-btn.secondary {
    background: linear-gradient(135deg, #e0a800 0%, #c08a00 100%) !important;
    color: #fffdf5 !important;
}

.tool-btn.reset,
#doResetBtn {
    background: linear-gradient(135deg, #e64545 0%, #c73535 100%) !important;
    color: #fff !important;
}

.logout-btn {
    background: linear-gradient(135deg, #e0a800 0%, #c08a00 100%) !important;
    color: #fffdf5 !important;
}

.duty-edit-btn,
.zr-edit-btn {
    background: rgba(216, 74, 58, 0.08) !important;
    border: 1.5px dashed rgba(216, 74, 58, 0.55) !important;
    color: var(--primary-color) !important;
}

.duty-cancel-btn,
.zr-cancel-btn {
    background: rgba(138, 122, 106, 0.15) !important;
    color: #8a7a6a !important;
    border: 1px solid rgba(138, 122, 106, 0.35) !important;
}

/* ---------- 登录页 ---------- */
.login-box {
    border: 1.5px solid rgba(245, 197, 24, 0.55) !important;
    box-shadow: 0 24px 60px rgba(120, 60, 30, 0.20) !important;
    animation: fadeUp 0.7s ease both;
}

.login-header {
    background: linear-gradient(135deg, #d84a3a 0%, #e0a800 110%) !important;
    color: #fffdf5 !important;
}

.login-header h1, .login-header p {
    color: #fffdf5 !important;
}

.login-header .class-badge {
    position: static !important;
    display: inline-block;
    margin-top: 10px;
    background: rgba(255, 255, 255, 0.24) !important;
    color: #fffdf5 !important;
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.login-footer {
    background: rgba(255, 250, 242, 0.92) !important;
    border-top: 1px solid rgba(216, 74, 58, 0.18) !important;
}

.login-success-message {
    background: rgba(34, 168, 90, 0.12) !important;
    color: #15803d !important;
    border: 1px solid rgba(34, 168, 90, 0.35) !important;
}

/* ---------- 主页统计卡：中国红 + 语义点缀 ---------- */
.stats .stat-box {
    background: linear-gradient(135deg, #d84a3a 0%, #b03a2e 100%) !important;
    color: #fffdf5 !important;
    box-shadow: 0 8px 20px rgba(216, 74, 58, 0.26);
    border: none !important;
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.stats .stat-box:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(216, 74, 58, 0.40);
}

.stats .stat-box:nth-child(4) {
    background: linear-gradient(135deg, #ff9f43 0%, #f97316 100%) !important;
    box-shadow: 0 8px 20px rgba(249, 115, 22, 0.26);
}

.stats .stat-box:nth-child(5) {
    background: linear-gradient(135deg, #e64545 0%, #c73535 100%) !important;
    box-shadow: 0 8px 20px rgba(230, 69, 69, 0.26);
}

.current-period {
    background: linear-gradient(135deg, #e0a800 0%, #c08a00 100%) !important;
    color: #fffdf5 !important;
}

/* ---------- 学生网格 ---------- */
.student-item {
    background: rgba(255, 253, 248, 0.92) !important;
    border: 1.5px solid rgba(216, 74, 58, 0.20) !important;
    color: #4a3b32 !important;
    box-shadow: 0 2px 8px rgba(120, 60, 30, 0.07);
}

.student-item:hover {
    transform: translateY(-3px);
    border-color: var(--primary-color) !important;
    box-shadow: 0 10px 22px rgba(216, 74, 58, 0.20);
}

.student-item.checked {
    background: #f0faf2 !important;
    border-color: rgba(34, 168, 90, 0.6) !important;
    color: #166534 !important;
    box-shadow: 0 0 14px rgba(34, 168, 90, 0.15);
}

.student-item.late {
    background: #fff8ec !important;
    border-color: rgba(245, 158, 11, 0.6) !important;
    color: #9a5b04 !important;
}

.student-item.absent {
    background: #fef2f2 !important;
    border-color: rgba(230, 69, 69, 0.55) !important;
    color: #b91c1c !important;
}

.status-badge.on-time {
    box-shadow: 0 0 8px rgba(34, 168, 90, 0.55);
    animation: badgeGlow 2.2s ease-in-out infinite;
}

.status-badge.late {
    box-shadow: 0 0 8px rgba(245, 158, 11, 0.55);
    animation: badgeGlow 2.2s ease-in-out infinite;
}

@keyframes badgeGlow {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.55; }
}

/* 签到弹窗：入场弹跳 */
.checkin-popup {
    animation: popIn 0.28s ease both;
}

@keyframes popIn {
    from { transform: translate(-50%, -100%) scale(0.8); opacity: 0; }
    to   { transform: translate(-50%, -100%) scale(1); opacity: 1; }
}

/* ---------- 榜单 / 最近签到 ---------- */
.leaderboard li, .recent-checkins li {
    color: var(--light-text) !important;
    border-bottom-color: rgba(216, 74, 58, 0.12) !important;
}

.leaderboard li:hover, .recent-checkins li:hover {
    background: rgba(216, 74, 58, 0.06) !important;
}

.leaderboard li:nth-child(1) {
    background: linear-gradient(90deg, rgba(245, 197, 24, 0.20) 0%, rgba(245, 197, 24, 0.05) 100%) !important;
    border-left: 4px solid #e0a800 !important;
    color: #7a5200 !important;
}

.leaderboard li:nth-child(2),
.leaderboard li:nth-child(3) {
    background: linear-gradient(90deg, rgba(216, 74, 58, 0.14) 0%, rgba(216, 74, 58, 0.03) 100%) !important;
    border-left: 4px solid #d84a3a !important;
}

.rank {
    color: var(--primary-color) !important;
}

/* 迟到 / 缺勤列表 */
.late-list, .absent-list, .error-panel {
    background: rgba(255, 253, 248, 0.88) !important;
    border: 1px solid rgba(216, 74, 58, 0.18) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 12px !important;
}

.error-panel {
    color: #b91c1c !important;
    border-color: rgba(230, 69, 69, 0.35) !important;
}

/* ---------- 值日面板 ---------- */
.duty-panel {
    background: var(--light-card) !important;
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
}

.duty-group-btn, .zr-group-btn {
    background: rgba(255, 253, 248, 0.92) !important;
    border: 2px solid rgba(216, 74, 58, 0.28) !important;
    color: #4a3b32 !important;
}

.duty-group-btn:hover, .zr-group-btn:hover {
    border-color: var(--primary-color) !important;
    color: var(--primary-color) !important;
    box-shadow: 0 0 12px rgba(216, 74, 58, 0.32);
}

.duty-group-btn.active, .zr-group-btn.active {
    background: linear-gradient(135deg, #d84a3a 0%, #b03a2e 100%) !important;
    color: #fffdf5 !important;
    border-color: #d84a3a !important;
    box-shadow: 0 0 18px rgba(216, 74, 58, 0.42);
}

.duty-group-title {
    color: var(--primary-color) !important;
    border-bottom-color: rgba(216, 74, 58, 0.32) !important;
}

.duty-students {
    color: #7a3b2e !important;
}

.duty-divider {
    background: rgba(216, 74, 58, 0.20) !important;
}

.duty-slide {
    background: transparent !important;
}

/* 全屏模式（教室大屏）：半透明保持背景可见 */
body.fullscreen-mode .bottom-panel .panel,
body.fullscreen-mode .duty-panel {
    background: rgba(255, 250, 242, 0.60) !important;
    box-shadow: none !important;
}

body.fullscreen-mode .student-item {
    background: rgba(255, 253, 248, 0.80) !important;
}

/* ---------- 管理后台 ---------- */
.magic-wand,
.parent-tip,
.fun-message,
.no-period-message {
    background: rgba(224, 168, 0, 0.12) !important;
    color: #7a5200 !important;
    border-left: 4px solid #e0a800 !important;
}

.period-item {
    border: 1.5px solid rgba(216, 74, 58, 0.20) !important;
}

.time-control input {
    background-color: rgba(255, 255, 255, 0.94) !important;
    color: #4a3b32 !important;
}

.analysis-results {
    border-color: rgba(216, 74, 58, 0.20) !important;
}

.analysis-table {
    background: transparent !important;
}

.analysis-table th,
.analysis-table td {
    color: var(--light-text) !important;
    border-bottom: 1px solid rgba(216, 74, 58, 0.12) !important;
}

.analysis-table th {
    background: linear-gradient(135deg, rgba(216, 74, 58, 0.12) 0%, rgba(216, 74, 58, 0.04) 100%) !important;
    color: var(--primary-color) !important;
}

.analysis-table tr:nth-child(even) {
    background-color: rgba(216, 74, 58, 0.03) !important;
}

.analysis-table tr:hover {
    background: rgba(216, 74, 58, 0.06) !important;
}

.success-message {
    background: rgba(34, 168, 90, 0.12) !important;
    color: #15803d !important;
    border: 1px solid rgba(34, 168, 90, 0.35) !important;
}

.error-message-panel {
    background: rgba(230, 69, 69, 0.10) !important;
    color: #b91c1c !important;
    border: 1px solid rgba(230, 69, 69, 0.35) !important;
}

.reset-warning {
    background: rgba(245, 158, 11, 0.12) !important;
    color: #92400e !important;
    border: 1px solid rgba(245, 158, 11, 0.35) !important;
}

/* ---------- 抽签工具 ---------- */
.current-result {
    color: var(--primary-color) !important;
    text-shadow: 0 0 26px rgba(216, 74, 58, 0.30);
}

.group-number {
    color: var(--primary-color) !important;
    text-shadow: 0 0 30px rgba(216, 74, 58, 0.40);
}

.group-result {
    color: var(--primary-color) !important;
}

.selector-toggle span {
    color: #fffdf5;
}

.selector-content {
    border-color: rgba(216, 74, 58, 0.28) !important;
    border-radius: 0 0 10px 10px;
}

.selector-content.expanded {
    border: 2px solid rgba(216, 74, 58, 0.28) !important;
    border-top: none !important;
}

.selector-controls {
    border-bottom-color: rgba(216, 74, 58, 0.14) !important;
}

.student-checkbox label {
    color: var(--light-text) !important;
}

.student-checkboxes {
    color: var(--light-text) !important;
}

/* ---------- 值日页 zr ---------- */
.zr-container {
    border: 1.5px solid rgba(216, 74, 58, 0.28) !important;
}

.zr-group-value {
    background: linear-gradient(135deg, #d84a3a 0%, #b03a2e 100%) !important;
    color: #fffdf5 !important;
    box-shadow: 0 0 18px rgba(216, 74, 58, 0.38);
}

.zr-task-card {
    background: rgba(255, 253, 248, 0.92) !important;
    border: 1.5px solid rgba(216, 74, 58, 0.20) !important;
}

.zr-task-card:hover {
    border-color: rgba(216, 74, 58, 0.55) !important;
    box-shadow: 0 8px 20px rgba(216, 74, 58, 0.16);
}

.zr-task-title {
    border-bottom-color: rgba(216, 74, 58, 0.24) !important;
}

.zr-loading, .zr-empty {
    background: rgba(255, 253, 248, 0.88) !important;
    border-color: rgba(216, 74, 58, 0.20) !important;
    color: #8a7a6a !important;
}

.zr-footer {
    border-top-color: rgba(216, 74, 58, 0.14) !important;
}

/* ---------- 404 ---------- */
.error-code {
    color: var(--primary-color) !important;
    text-shadow: 0 0 34px rgba(216, 74, 58, 0.35) !important;
}

.lost-illustration {
    background: linear-gradient(135deg, #fdf3e3 0%, #f9e3b8 100%) !important;
    box-shadow: 0 10px 30px rgba(120, 60, 30, 0.12) !important;
}

.lost-illustration i {
    color: var(--primary-color) !important;
    text-shadow: 0 0 22px rgba(216, 74, 58, 0.35);
}

.fun-message {
    background: rgba(224, 168, 0, 0.12) !important;
    color: #7a5200 !important;
    border-left: 4px solid #e0a800 !important;
}

/* ---------- 通用动画 ---------- */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(18px); }
    to   { opacity: 1; transform: translateY(0); }
}

header, .panel, .duty-panel, .login-box, .zr-container, .error-container {
    animation: fadeUp 0.55s ease both;
}

/* 主按钮呼吸光晕 */
@keyframes glowPulse {
    0%, 100% { box-shadow: 0 6px 18px rgba(216, 74, 58, 0.26); }
    50%      { box-shadow: 0 6px 24px rgba(216, 74, 58, 0.45); }
}

.stats .stat-box:nth-child(1),
.login-btn,
#drawBtn {
    animation: glowPulse 3s ease-in-out infinite;
}

/* 名言区 */
.bottom-quote {
    border: 1px solid rgba(216, 74, 58, 0.24) !important;
    color: #7a3b2e !important;
    font-style: normal !important;
}

/* 滚动条适配暖色 */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-thumb {
    background: rgba(216, 74, 58, 0.28);
    border-radius: 6px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 250, 242, 0.6);
}

/* 无背景媒体：保留可读性 */
@media (prefers-reduced-motion: reduce) {
    * { animation: none !important; transition: none !important; }
}

/* ============================================================
   v3.25 · 华彩国庆增强
   1) SVG 图标体系  2) 面板更透  3) 全屏模式保留国风背景
   ============================================================ */

/* ---------- SVG 图标 ---------- */
.icon-svg {
    width: 1.15em;
    height: 1.15em;
    vertical-align: -0.22em;
    display: inline-block;
    flex: none;
}

.icon-svg.spin {
    animation: iconSpin 1.1s linear infinite;
}

@keyframes iconSpin {
    to { transform: rotate(360deg); }
}

/* 按钮 / 标签内图标对齐 */
button, .btn, .login-btn, .admin-btn, .tool-btn, .download-btn,
.selector-toggle, .duty-group-btn, .fullscreen-btn, .logout-btn,
.duty-edit-btn, .stat-box, .panel-title, .tool-title, .history-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.panel-title, .tool-title, .history-title, .stat-box {
    display: flex;
    align-items: center;
    gap: 7px;
}

.stat-box {
    flex-wrap: wrap;
}

/* ---------- 面板更透：多透出国风背景 ---------- */
:root {
    --light-card: rgba(255, 250, 242, 0.58);
    --glass-blur: 12px;
}

.student-item {
    background: rgba(255, 253, 248, 0.74) !important;
}

.duty-group-btn, .zr-group-btn {
    background: rgba(255, 253, 248, 0.72) !important;
}

.selector-content {
    background: rgba(255, 250, 242, 0.70) !important;
}

.leaderboard li:hover, .recent-checkins li:hover {
    background: rgba(216, 74, 58, 0.08) !important;
}

/* ---------- 全屏模式：保留国风背景 ---------- */
:fullscreen,
:-webkit-full-screen {
    background-color: transparent !important;
}

body.fullscreen-mode {
    background-color: transparent !important;
}

body.fullscreen-mode header,
body.fullscreen-mode .beian-info,
body.fullscreen-mode .stats {
    background: transparent !important;
    box-shadow: none !important;
}

body.fullscreen-mode .bottom-panel .panel,
body.fullscreen-mode .duty-panel {
    background: rgba(255, 250, 242, 0.42) !important;
    box-shadow: none !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

body.fullscreen-mode .student-item {
    background: rgba(255, 253, 248, 0.60) !important;
}

body.fullscreen-mode .bottom-quote {
    background: rgba(255, 250, 242, 0.35) !important;
}

/* ============ v3.25：成员名单与值日安排 字体加大、布局更宽松 ============ */
/* 成员名单：标签加宽、间距放宽、字体加大 */
.student-grid,
.bottom-panel .student-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)) !important;
    gap: 16px !important;
    margin: 18px 0 26px !important;
}

.student-item,
.bottom-panel .student-item {
    font-size: 1.55rem !important;
    padding: 16px 10px !important;
    border-radius: 12px !important;
}

/* 全屏模式：同样放大（替代原先压缩名单的规则） */
body.fullscreen-mode .student-grid,
body.fullscreen-mode .bottom-panel .student-grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)) !important;
    gap: 16px !important;
    margin: 12px 0 20px !important;
}

body.fullscreen-mode .student-item,
body.fullscreen-mode .bottom-panel .student-item {
    font-size: 1.55rem !important;
    padding: 14px 8px !important;
}

/* 值日面板：标题与内容字体加大 */
.duty-panel {
    padding: 28px !important;
    margin-top: 26px !important;
}

.duty-panel .panel-title {
    font-size: 2.1rem !important;
    margin-bottom: 18px !important;
}

.duty-group-title {
    font-size: 1.95rem !important;
    margin-bottom: 18px !important;
    padding-bottom: 8px !important;
}

.duty-students {
    font-size: 1.85rem !important;
    line-height: 1.55 !important;
}

.duty-item {
    padding: 12px 0 !important;
}

/* 值日三区域：加大分隔与留白 */
.duty-carousel {
    min-height: 260px !important;
    padding: 14px 0 !important;
}

.duty-slide {
    padding: 24px !important;
}

.duty-group-wrapper {
    padding: 0 30px !important;
}

.duty-divider {
    margin: 0 26px !important;
}

body.fullscreen-mode .duty-carousel {
    min-height: 240px !important;
}

/* 移动端适度回退：保持可读但不溢出 */
@media (max-width: 768px) {
    .student-grid,
    .bottom-panel .student-grid {
        grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)) !important;
        gap: 12px !important;
    }
    .student-item,
    .bottom-panel .student-item {
        font-size: 1.3rem !important;
        padding: 12px 6px !important;
    }
    .duty-students {
        font-size: 1.45rem !important;
    }
    .duty-group-wrapper {
        padding: 0 14px !important;
    }
    .duty-divider {
        margin: 0 14px !important;
    }
}

@media (max-width: 480px) {
    .student-grid,
    .bottom-panel .student-grid {
        grid-template-columns: repeat(auto-fill, minmax(90px, 1fr)) !important;
    }
    .student-item,
    .bottom-panel .student-item {
        font-size: 1.15rem !important;
        padding: 10px 4px !important;
    }
    .duty-students {
        font-size: 1.3rem !important;
    }
    .duty-group-wrapper {
        padding: 0 8px !important;
    }
}
/* ============ v3.26：全屏模式一屏完整显示（名单+值日不滚动） ============ */
body.fullscreen-mode .bottom-panel .panel {
    padding: 4px 0 !important;
}

body.fullscreen-mode .bottom-header .panel-title {
    font-size: 1.5rem !important;
    margin-bottom: 2px !important;
}

body.fullscreen-mode .bottom-quote {
    font-size: 1.15rem !important;
    margin: 2px 0 6px !important;
    padding: 6px 14px !important;
}

/* 名单：9 列 × 6 行，紧凑行高，字体保持大号 */
body.fullscreen-mode .student-grid,
body.fullscreen-mode .bottom-panel .student-grid {
    grid-template-columns: repeat(9, 1fr) !important;
    gap: 10px !important;
    margin: 6px 0 12px !important;
}

body.fullscreen-mode .student-item,
body.fullscreen-mode .bottom-panel .student-item {
    font-size: 1.35rem !important;
    padding: 9px 4px !important;
    border-radius: 10px !important;
}

/* 值日：整体压扁，内容仍大字号 */
body.fullscreen-mode .duty-panel {
    padding: 14px 24px !important;
    margin-top: 10px !important;
}

body.fullscreen-mode .duty-panel .panel-title {
    font-size: 1.5rem !important;
    margin-bottom: 8px !important;
}

body.fullscreen-mode .duty-group-selector {
    margin: 4px 0 8px !important;
}

body.fullscreen-mode .duty-group-btn {
    width: 38px !important;
    height: 38px !important;
    font-size: 1rem !important;
}

body.fullscreen-mode .duty-carousel {
    min-height: 150px !important;
    padding: 8px 0 !important;
}

body.fullscreen-mode .duty-slide {
    padding: 12px !important;
}

body.fullscreen-mode .duty-group-wrapper {
    padding: 0 22px !important;
}

body.fullscreen-mode .duty-divider {
    margin: 0 18px !important;
}

body.fullscreen-mode .duty-group-title {
    font-size: 1.5rem !important;
    margin-bottom: 6px !important;
    padding-bottom: 4px !important;
}

body.fullscreen-mode .duty-students {
    font-size: 1.45rem !important;
    line-height: 1.3 !important;
}

body.fullscreen-mode .duty-item {
    padding: 4px 0 !important;
}

body.fullscreen-mode .duty-edit-btn {
    font-size: 1rem !important;
    padding: 6px 16px !important;
    margin-top: 4px !important;
}