:root {
    --bg: #fff7ef;
    --bg-soft: #fffaf5;
    --surface: rgba(255, 255, 255, 0.9);
    --surface-solid: #ffffff;
    --text: #0f172a;
    --muted: #64748b;
    --primary: #f97316;
    --primary-2: #ea580c;
    --danger: #be123c;
    --line: rgba(15, 23, 42, 0.12);
    --line-strong: rgba(15, 23, 42, 0.2);
    --shadow: 0 20px 50px rgba(15, 23, 42, 0.1);
    --shadow-soft: 0 10px 24px rgba(15, 23, 42, 0.08);
    --radius-lg: 20px;
    --radius-md: 14px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

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

body {
    margin: 0;
    color: var(--text);
    font-family: "HarmonyOS Sans SC", "Source Han Sans SC", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
    background:
        radial-gradient(1200px 580px at 0% 0%, rgba(249, 115, 22, 0.16), transparent 55%),
        radial-gradient(900px 560px at 100% 18%, rgba(245, 158, 11, 0.16), transparent 55%),
        linear-gradient(145deg, #fffaf5 0%, #fff3e8 48%, #fff7ef 100%);
    position: relative;
}

body::before,
body::after {
    content: "";
    position: fixed;
    border-radius: 50%;
    z-index: -1;
    filter: blur(40px);
    opacity: 0.35;
}

body::before {
    width: 340px;
    height: 340px;
    top: -120px;
    right: -90px;
    background: #fb923c;
}

body::after {
    width: 300px;
    height: 300px;
    bottom: -120px;
    left: -100px;
    background: #f59e0b;
}

a {
    color: var(--primary-2);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.container {
    width: min(1240px, 92%);
    margin: 0 auto;
}

.topbar {
    position: sticky;
    top: 0;
    z-index: 20;
    border-bottom: 1px solid rgba(255, 255, 255, 0.45);
    background: linear-gradient(120deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.58));
    backdrop-filter: blur(12px);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.05);
}

.topbar-inner {
    min-height: 74px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 18px;
}

.brand {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: 0.02em;
    color: transparent;
    background: linear-gradient(92deg, #fb923c 0%, #ea580c 100%);
    background-clip: text;
    -webkit-background-clip: text;
}

.nav {
    display: flex;
    flex: 1;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
}

.nav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 38px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid rgba(15, 23, 42, 0.09);
    background: rgba(255, 255, 255, 0.72);
    color: #1f2937;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.nav a:hover {
    text-decoration: none;
    transform: translateY(-1px);
    border-color: rgba(249, 115, 22, 0.35);
    box-shadow: 0 8px 20px rgba(249, 115, 22, 0.16);
}

main.container {
    padding: 24px 0 56px;
}

.alert {
    margin: 0 0 16px;
    padding: 12px 14px;
    border-radius: var(--radius-md);
    border: 1px solid;
    box-shadow: var(--shadow-soft);
    font-size: 14px;
}

.alert.success {
    background: #ecfdf5;
    border-color: #9de3c0;
    color: #176442;
}

.alert.error {
    background: #fff1f2;
    border-color: #f9b5c0;
    color: #9f1239;
}

.card {
    position: relative;
    margin-bottom: 18px;
    padding: 20px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--line);
    background: linear-gradient(180deg, var(--surface), rgba(255, 255, 255, 0.78));
    backdrop-filter: blur(8px);
    box-shadow: var(--shadow);
}

.card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 14px;
    right: 14px;
    height: 3px;
    border-radius: 2px;
    background: linear-gradient(90deg, rgba(249, 115, 22, 0.56), rgba(234, 88, 12, 0.46));
}

.grid {
    display: grid;
    gap: 16px;
}

.grid.tasks {
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}

.grid.tasks .card {
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.grid.tasks .card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 35px rgba(15, 23, 42, 0.12);
}

.title {
    margin: 0 0 12px;
    font-size: 29px;
    line-height: 1.2;
    letter-spacing: 0.01em;
}

.subtitle {
    margin: 0 0 16px;
    color: var(--muted);
    font-size: 14px;
}

h2 {
    font-size: 23px;
    margin: 0 0 12px;
}

h3 {
    font-size: 18px;
}

.task-icon {
    width: 66px;
    height: 66px;
    object-fit: cover;
    border-radius: 14px;
    border: 1px solid var(--line);
    display: block;
    box-shadow: 0 8px 14px rgba(15, 23, 42, 0.1);
}

.meta {
    color: var(--muted);
    font-size: 14px;
    margin: 6px 0;
}

label {
    display: block;
    margin: 13px 0 7px;
    color: #24364f;
    font-size: 14px;
    font-weight: 600;
}

input,
select,
textarea,
button {
    font: inherit;
}

input[type="text"],
input[type="password"],
input[type="number"],
input[type="file"],
select,
textarea {
    width: 100%;
    border-radius: 12px;
    border: 1px solid rgba(15, 23, 42, 0.2);
    background: var(--surface-solid);
    color: var(--text);
    padding: 11px 13px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

textarea {
    min-height: 108px;
    resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: rgba(249, 115, 22, 0.58);
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.16);
}

button,
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    border: 0;
    border-radius: 11px;
    padding: 0 16px;
    background: #f97316;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.01em;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
    box-shadow: 0 10px 20px rgba(249, 115, 22, 0.27);
}

button:hover,
.btn:hover {
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 14px 26px rgba(249, 115, 22, 0.32);
    background: #ea580c;
}

button:active,
.btn:active {
    transform: translateY(0);
}

.btn.alt {
    background: #ea580c;
    box-shadow: 0 10px 20px rgba(234, 88, 12, 0.3);
}

.btn.danger {
    background: #ef4444;
    box-shadow: 0 10px 20px rgba(220, 38, 38, 0.32);
}

.btn.success {
    background: #f97316;
    box-shadow: 0 10px 20px rgba(249, 115, 22, 0.28);
}

.btn.notice-btn {
    background: #16a34a;
    box-shadow: 0 10px 20px rgba(22, 163, 74, 0.28);
}

.btn.notice-btn:hover {
    background: #15803d;
    box-shadow: 0 14px 26px rgba(21, 128, 61, 0.32);
}

.btn.warn {
    background: #f59e0b;
    box-shadow: 0 10px 20px rgba(245, 158, 11, 0.3);
}

.btn.disabled {
    background: #94a3b8;
    box-shadow: none;
    opacity: 0.82;
    cursor: not-allowed;
    pointer-events: none;
}

.row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.row > form {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
}

.table-wrap {
    overflow: auto;
    border-radius: 14px;
    border: 1px solid var(--line);
    background: var(--surface-solid);
}

table {
    width: 100%;
    min-width: 760px;
    border-collapse: collapse;
    background: #fff;
}

th,
td {
    padding: 12px 10px;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    font-size: 14px;
}

th {
    position: sticky;
    top: 0;
    z-index: 1;
    background: #f8fafc;
    color: #344256;
    font-weight: 700;
    border-bottom: 1px solid var(--line-strong);
}

tbody tr:nth-child(even) {
    background: #fcfdff;
}

tbody tr:hover {
    background: #fff7ed;
}

.dashboard-summary-card .dashboard-summary-head {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) minmax(360px, 430px);
    gap: 14px 16px;
    align-items: start;
    margin-bottom: 14px;
}

.dashboard-summary-card .dashboard-summary-meta .title {
    margin-bottom: 10px;
}

.dashboard-summary-card .dashboard-summary-meta .subtitle {
    margin-bottom: 0;
}

.dashboard-summary-card .server-expiry-card {
    width: 100%;
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid;
    box-shadow: var(--shadow-soft);
    display: grid;
    gap: 4px;
}

.dashboard-summary-card .server-expiry-title {
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
}

.dashboard-summary-card .server-expiry-countdown {
    font-size: 22px;
    font-weight: 800;
    line-height: 1.2;
}

.dashboard-summary-card .server-expiry-note {
    font-size: 12px;
    line-height: 1.45;
}

.dashboard-summary-card .server-expiry-card.normal {
    background: #fff8f1;
    border-color: #fed7aa;
    color: #9a3412;
}

.dashboard-summary-card .server-expiry-card.urgent {
    background: #fff7ed;
    border-color: #fdba74;
    color: #9a3412;
}

.dashboard-summary-card .server-expiry-card.expired {
    background: #fff1f2;
    border-color: #fda4af;
    color: #9f1239;
}

.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 12px;
}

.stat {
    border-radius: 15px;
    border: 1px solid rgba(15, 23, 42, 0.12);
    background:
        linear-gradient(120deg, rgba(249, 115, 22, 0.08), transparent 36%),
        linear-gradient(160deg, #ffffff, #fffaf5);
    padding: 14px;
    box-shadow: var(--shadow-soft);
}

.stat .value {
    margin: 6px 0;
    line-height: 1.2;
    font-size: 30px;
    font-weight: 800;
    letter-spacing: 0.01em;
}

.hint {
    font-size: 12px;
    color: var(--muted);
}

.badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 26px;
    padding: 0 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.01em;
    border: 1px solid transparent;
    margin-right: 6px;
}

.badge.ok {
    color: #166534;
    background: #ecfdf3;
    border-color: #a7f3d0;
}

.badge.bad {
    color: #991b1b;
    background: #fff1f2;
    border-color: #fecdd3;
}

.badge.warn {
    color: #92400e;
    background: #fffbeb;
    border-color: #fde68a;
}

.badge.info {
    color: #9a3412;
    background: #fff7ed;
    border-color: #fdba74;
}

.preview {
    max-width: 170px;
    border-radius: 10px;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-soft);
}

.task-mini-icon {
    width: 46px;
    height: 46px;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid var(--line);
}

.img-link {
    color: var(--primary-2);
    text-decoration: underline;
    font-weight: 600;
}

.image-preview-dialog {
    width: min(760px, 94vw);
}

.desktop-only {
    display: block;
}

.mobile-only {
    display: none;
}

.order-card {
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 12px;
    background: #fff;
    margin-bottom: 12px;
}

.status-completed-text {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 26px;
    padding: 0 10px;
    border-radius: 999px;
    border: 1px solid #fdba74;
    background: #fff7ed;
    color: #b45309;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.task-hall-list {
    display: grid;
    gap: 12px;
}

.hall-strip {
    margin-bottom: 0;
    padding: 14px 16px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
}

.hall-strip-main {
    min-width: 0;
    display: grid;
    gap: 8px;
}

.hall-strip-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.hall-strip-title {
    margin: 0;
    font-size: 24px;
    line-height: 1.2;
    word-break: break-word;
}

.hall-strip-status {
    flex-shrink: 0;
}

.hall-strip-amount {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    padding: 6px 10px;
    border-radius: 10px;
    border: 1px solid #fed7aa;
    background: #fff7ed;
    color: #9a3412;
    font-size: 13px;
    font-weight: 600;
}

.hall-strip-amount strong {
    color: #ea580c;
    font-size: 20px;
    line-height: 1;
}

.hall-strip-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}

.task-detail-top {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 16px;
    align-items: start;
}

.task-detail-main {
    min-width: 0;
    display: block;
}

.task-detail-icon {
    flex-shrink: 0;
}

.task-detail-main-content {
    min-width: 0;
    width: 100%;
}

.task-title-line {
    margin: 0 0 10px;
}

.task-title-prefix {
    color: #475569;
    font-size: 18px;
    font-weight: 700;
}

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

.task-overview-item {
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #f8fbff;
    padding: 10px 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.task-overview-item span {
    color: #64748b;
    font-size: 12px;
}

.task-overview-item strong {
    color: #0f172a;
    font-size: 20px;
    line-height: 1.2;
}

.task-overview-item.task-metric-amount strong {
    color: #16a34a;
}

.task-overview-item.task-metric-joined strong {
    color: #c2410c;
}

.task-overview-item.task-metric-limit strong {
    color: #d97706;
}

.task-detail-side {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}

.task-detail-side-actions {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.task-detail-side-actions .btn,
.task-detail-side-actions button {
    width: 100%;
}

.task-condition-alert {
    margin: 14px 0 0;
    border: 1px solid #fecaca;
    background: #fff1f2;
    border-radius: 12px;
    padding: 10px 12px;
    color: #dc2626;
    font-weight: 700;
}

.task-condition-alert span {
    color: #b91c1c;
}

.task-progress-board {
    margin-top: 10px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.task-progress-item {
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    padding: 10px 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.task-progress-item.is-full {
    grid-column: 1 / -1;
}

.task-progress-label {
    color: #64748b;
    font-size: 12px;
}

.task-progress-value {
    color: #0f172a;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
    word-break: break-word;
}

.text-danger {
    color: #b91c1c;
}

.task-steps-list {
    display: grid;
    gap: 10px;
    margin-top: 8px;
}

.task-step-item {
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
    overflow: hidden;
}

.task-step-head {
    padding: 10px 12px;
    font-size: 18px;
    font-weight: 800;
    border-bottom: 1px solid var(--line);
    background: #f8fbff;
}

.task-step-body {
    display: grid;
    grid-template-columns: minmax(200px, 280px) 1fr;
    gap: 10px;
    padding: 12px;
}

.task-step-image-wrap {
    min-width: 0;
}

.task-step-image {
    width: 100%;
    max-height: 320px;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid var(--line);
}

.task-step-image-empty {
    display: grid;
    place-items: center;
    background: #f1f5f9;
    color: #64748b;
}

.task-step-text {
    min-height: 120px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
    padding: 10px 12px;
    color: #0f172a;
    font-size: 16px;
    line-height: 1.7;
    white-space: pre-wrap;
    word-break: break-word;
}

.task-tool-box {
    margin-top: 12px;
    border: 1px dashed #fdba74;
    border-radius: 12px;
    background: #fff7ed;
    padding: 12px;
}

.task-link-row {
    display: flex;
    gap: 8px;
    align-items: center;
}

.task-link-row input[type="text"] {
    flex: 1;
}

.task-detail-divider {
    height: 1px;
    margin: 16px 0 14px;
    background: var(--line);
}

dialog {
    width: min(600px, 92vw);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 20px;
    box-shadow: var(--shadow);
}

dialog::backdrop {
    background: rgba(15, 23, 42, 0.3);
    backdrop-filter: blur(2px);
}

.auth-page {
    background:
        radial-gradient(860px 400px at 8% 0%, rgba(249, 115, 22, 0.2), transparent 60%),
        radial-gradient(900px 500px at 100% 20%, rgba(245, 158, 11, 0.22), transparent 60%),
        linear-gradient(160deg, #fffaf5 0%, #fff3e8 45%, #fff7ed 100%);
}

.auth-page::before,
.auth-page::after {
    display: none;
}

.auth-wrap {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 24px;
}

.auth-panel {
    width: min(520px, 100%);
    padding: 30px 26px;
    border-radius: 24px;
    border: 1px solid rgba(15, 23, 42, 0.12);
    background:
        linear-gradient(140deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.9));
    box-shadow:
        0 35px 90px rgba(234, 88, 12, 0.18),
        0 12px 24px rgba(15, 23, 42, 0.08);
    position: relative;
}

.auth-panel::before {
    content: "";
    position: absolute;
    top: 0;
    left: 24px;
    right: 24px;
    height: 4px;
    border-radius: 3px;
    background: linear-gradient(90deg, rgba(249, 115, 22, 0.82), rgba(234, 88, 12, 0.78));
}

.auth-brand {
    font-size: 14px;
    color: #c2410c;
    font-weight: 700;
    letter-spacing: 0.08em;
    margin-bottom: 14px;
}

.auth-btn {
    min-width: 108px;
}

@keyframes rise-in {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: no-preference) {
    .card {
        animation: rise-in 0.35s ease both;
    }
    .grid.tasks .card:nth-child(2n) {
        animation-delay: 0.04s;
    }
    .grid.tasks .card:nth-child(3n) {
        animation-delay: 0.08s;
    }
}

@media (max-width: 980px) {
    .container {
        width: min(1240px, 94%);
    }

    .title {
        font-size: 25px;
    }

    .topbar-inner {
        min-height: auto;
        padding: 12px 0;
        align-items: flex-start;
        flex-direction: column;
    }

    .nav {
        width: 100%;
        justify-content: flex-start;
        overflow-x: auto;
        white-space: nowrap;
        padding-bottom: 2px;
        flex-wrap: nowrap;
    }

    .task-detail-top {
        grid-template-columns: 1fr;
    }

    .task-detail-side {
        align-items: flex-end;
    }

    .task-overview-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .task-step-body {
        grid-template-columns: 1fr;
    }

    .task-step-image {
        max-height: 260px;
    }

    .dashboard-summary-card .dashboard-summary-head {
        grid-template-columns: 1fr;
        gap: 10px;
    }
}

@media (max-width: 700px) {
    main.container {
        padding: 14px 0 36px;
    }

    .card {
        padding: 12px;
        border-radius: 14px;
        margin-bottom: 12px;
    }

    .card::before {
        left: 10px;
        right: 10px;
        height: 2px;
    }

    .task-icon {
        width: 42px;
        height: 42px;
        border-radius: 9px;
    }

    .task-mini-icon {
        width: 30px;
        height: 30px;
        border-radius: 7px;
    }

    .title {
        font-size: 21px;
    }

    h2 {
        font-size: 18px;
    }

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

    .stat {
        padding: 10px;
        border-radius: 12px;
    }

    .stat .value {
        font-size: 21px;
    }

    button,
    .btn {
        height: 35px;
        padding: 0 12px;
        font-size: 13px;
    }

    .nav a {
        height: 34px;
        padding: 0 12px;
        font-size: 13px;
    }

    .badge {
        height: 22px;
        font-size: 11px;
        padding: 0 8px;
    }

    .row {
        gap: 8px;
    }

    .grid.tasks {
        gap: 10px;
    }

    .grid.tasks .card h2 {
        font-size: 17px;
        margin: 8px 0 6px;
    }

    .meta {
        margin: 4px 0;
    }

    .order-card {
        border-radius: 12px;
        padding: 10px;
        margin-bottom: 10px;
    }

    .status-completed-text {
        height: 22px;
        font-size: 11px;
        padding: 0 8px;
    }

    .hall-strip {
        padding: 10px;
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .hall-strip-head {
        align-items: flex-start;
    }

    .hall-strip-title {
        font-size: 18px;
    }

    .hall-strip-metrics {
        margin-top: 4px;
        gap: 6px;
    }

    .hall-strip-metric,
    .hall-strip-amount {
        padding: 4px 8px;
    }

    .hall-strip-amount strong {
        font-size: 18px;
    }

    .hall-strip-actions {
        justify-content: flex-end;
    }

    .task-title-prefix {
        font-size: 16px;
    }

    .task-overview-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
    }

    .task-overview-item {
        padding: 8px 10px;
    }

    .task-overview-item strong {
        font-size: 18px;
    }

    .task-detail-side {
        width: 100%;
        align-items: stretch;
    }

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

    .task-progress-board {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .task-progress-item {
        padding: 8px 10px;
    }

    .task-progress-value {
        font-size: 16px;
    }

    .task-step-item {
        border-radius: 12px;
    }

    .task-step-head {
        padding: 8px 10px;
        font-size: 16px;
    }

    .task-step-body {
        gap: 8px;
        padding: 10px;
    }

    .task-step-text {
        min-height: 96px;
        font-size: 14px;
        line-height: 1.6;
        padding: 8px 10px;
    }

    .task-link-row {
        flex-direction: column;
        align-items: stretch;
    }

    .preview {
        max-width: 130px;
    }

    th,
    td {
        padding: 9px 8px;
    }

    dialog {
        padding: 14px;
    }

    .auth-wrap {
        padding: 16px;
    }

    .auth-panel {
        padding: 22px 16px;
        border-radius: 18px;
    }

    .desktop-only {
        display: none;
    }

    .mobile-only {
        display: block;
    }
}

@media (max-width: 460px) {
    .card {
        padding: 10px;
        border-radius: 12px;
    }

    .title {
        font-size: 19px;
    }

    .subtitle,
    .meta,
    th,
    td {
        font-size: 13px;
    }

    .task-icon {
        width: 38px;
        height: 38px;
    }

    .task-mini-icon {
        width: 26px;
        height: 26px;
    }

    .hall-strip-title {
        font-size: 17px;
    }

    button,
    .btn {
        height: 33px;
        font-size: 12px;
    }

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