/* KarnatakaNews.com: site + admin styles (no build step) */

:root {
    --ink: #151a24;
    --muted: #5d6677;
    --line: #e2e6ee;
    --bg: #f4f6fa;
    --surface: #ffffff;
    --brand: #003cfc;
    --brand-dark: #002ab3;
    --brand-soft: #e7eeff;
    --danger: #c42b2b;
    --danger-soft: #fdecec;
    --success: #18794a;
    --success-soft: #e5f5ec;
    --warning-soft: #fff6db;
    --radius: 10px;
    --shadow: 0 1px 2px rgba(16, 24, 40, .06), 0 1px 3px rgba(16, 24, 40, .08);
    --font: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", "Noto Sans Kannada", "Helvetica Neue", Arial, sans-serif;
    --gutter: 16px;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.55;
    color: var(--ink);
    background: var(--bg);
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--brand); text-underline-offset: 2px; }
a:hover { color: var(--brand-dark); }

h1, h2, h3 { line-height: 1.25; margin: 0 0 .5em; }
h1 { font-size: clamp(1.4rem, 1.1rem + 1.2vw, 1.9rem); }
h2 { font-size: 1.25rem; }
h3 { font-size: 1.05rem; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 var(--gutter); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--muted); }
.stack > * + * { margin-top: 1rem; }

/* ---------- Buttons & forms ---------- */

.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .4em;
    min-height: 40px; padding: .5em 1em;
    font: inherit; font-size: .9rem; font-weight: 600; line-height: 1.2;
    color: var(--ink); background: var(--surface);
    border: 1px solid var(--line); border-radius: 8px;
    text-decoration: none; cursor: pointer;
    transition: background .15s, border-color .15s, color .15s;
}
.btn:hover { border-color: #c8cfdc; background: #f8f9fc; color: var(--ink); }
.btn-primary { background: var(--brand); border-color: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); border-color: var(--brand-dark); color: #fff; }
.btn-danger { color: var(--danger); }
.btn-success { color: var(--success); }
.btn-success:hover { background: var(--success-soft); border-color: #bfe5cf; color: var(--success); }
.btn-danger:hover { background: var(--danger-soft); border-color: #f2c4c4; color: var(--danger); }
.btn-danger-solid { background: var(--danger); border-color: var(--danger); color: #fff; }
.btn-danger-solid:hover { background: #a32121; border-color: #a32121; color: #fff; }
.btn-sm { min-height: 32px; padding: .3em .7em; font-size: .8rem; }
.btn-block { width: 100%; }
.btn-link { background: none; border: 0; padding: 0; min-height: 0; color: var(--brand); font-weight: 600; text-decoration: underline; }

.inline-form { display: inline; margin: 0; }

label, .label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: .35rem; }

input[type=text], input[type=password], input[type=search], input[type=email], input[type=date], select, textarea {
    width: 100%; min-height: 42px; padding: .55em .75em;
    font: inherit; font-size: 1rem; color: var(--ink);
    background: var(--surface); border: 1px solid #cfd5e1; border-radius: 8px;
}
textarea { min-height: 120px; resize: vertical; }
input:focus, select:focus, textarea:focus, .btn:focus-visible, a:focus-visible {
    outline: 3px solid rgba(0, 60, 252, .25); outline-offset: 1px; border-color: var(--brand);
}

.field { margin-bottom: 1rem; }
.field-hint { font-size: .8rem; color: var(--muted); margin-top: .3rem; }
.form-grid { display: grid; gap: 0 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 720px) { .form-grid { grid-template-columns: 1fr 1fr; } .form-grid .span-2 { grid-column: span 2; } }
.form-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: .5rem; }

.choice-group { display: flex; flex-wrap: wrap; gap: .5rem; }
.choice { display: inline-flex; align-items: center; gap: .45rem; padding: .45rem .85rem; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); font-weight: 500; font-size: .9rem; cursor: pointer; margin: 0; }
.choice input { accent-color: var(--brand); margin: 0; }

/* ---------- Alerts, badges, cards ---------- */

.alert { padding: .8rem 1rem; border-radius: var(--radius); margin-bottom: 1rem; font-size: .95rem; border: 1px solid transparent; }
.alert-success { background: var(--success-soft); border-color: #bfe5cf; color: #0f5132; }
.alert-error { background: var(--danger-soft); border-color: #f2c4c4; color: #8a1c1c; }
.alert ul { margin: 0; padding-left: 1.2rem; }

.badge { display: inline-block; padding: .15em .6em; border-radius: 999px; font-size: .75rem; font-weight: 700; letter-spacing: .02em; background: #eef0f4; color: var(--muted); }
.badge-success { background: var(--success-soft); color: var(--success); }
.badge-muted { background: #eef0f4; color: var(--muted); }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.25rem; }
.card + .card { margin-top: 1rem; }
.card-title { font-size: 1rem; margin-bottom: .9rem; }

.empty-state { text-align: center; padding: 2.5rem 1rem; color: var(--muted); background: var(--surface); border: 1px dashed #cfd5e1; border-radius: var(--radius); }

/* ---------- Site header ---------- */

.site-header { background: var(--surface); border-bottom: 1px solid var(--line); }
.masthead { display: block; background: #fff; }
.masthead img { width: 100%; max-height: 260px; object-fit: cover; object-position: center; }

.navbar { background: var(--brand); color: #fff; position: sticky; top: 0; z-index: 50; box-shadow: 0 2px 6px rgba(0, 20, 90, .18); }
.navbar .container { display: flex; align-items: center; gap: .75rem; min-height: 56px; flex-wrap: wrap; }
.navbar a { color: #fff; text-decoration: none; }
.nav-brand { display: none; font-weight: 800; letter-spacing: .02em; }
.nav-toggle { display: none; margin-left: auto; background: transparent; border: 1px solid rgba(255, 255, 255, .45); color: #fff; border-radius: 8px; min-height: 40px; padding: 0 .8rem; font: inherit; font-weight: 600; cursor: pointer; }
.nav-links { display: flex; gap: .25rem; margin: 0; padding: 0; list-style: none; }
.nav-links a { display: block; padding: .5rem .75rem; border-radius: 6px; font-size: .9rem; font-weight: 600; letter-spacing: .02em; }
.nav-links a:hover, .nav-links a[aria-current=page] { background: rgba(255, 255, 255, .16); }
.nav-search { margin-left: auto; display: flex; gap: .4rem; flex: 0 1 300px; }
.nav-search input { min-height: 38px; border: 0; }
.nav-search .btn { min-height: 38px; background: #fff; color: var(--brand); border: 0; }
.nav-date { font-size: .8rem; opacity: .85; white-space: nowrap; }

.admin-strip { background: #0b1a4a; color: #dfe6ff; font-size: .85rem; }
.admin-strip .container { display: flex; gap: 1rem; align-items: center; min-height: 40px; flex-wrap: wrap; }
.admin-strip a { color: #fff; font-weight: 600; }

@media (max-width: 860px) {
    .nav-toggle { display: inline-flex; align-items: center; }
    .nav-brand { display: block; }
    .js .nav-panel { display: none; }
    .js .nav-panel.is-open { display: flex; }
    .nav-panel { flex-direction: column; align-items: stretch; width: 100%; gap: .5rem; padding-bottom: .9rem; }
    .nav-links { flex-direction: column; }
    .nav-links a { padding: .7rem .5rem; font-size: 1rem; }
    .nav-search { flex: 1 1 auto; margin: 0; }
    .nav-date { display: none; }
}
@media (min-width: 861px) {
    .nav-panel { display: flex; align-items: center; gap: .75rem; flex: 1; }
}

/* ---------- Page layout ---------- */

.page { display: grid; gap: 1.5rem; grid-template-columns: minmax(0, 1fr); padding-top: 1.5rem; padding-bottom: 2.5rem; }
@media (min-width: 1000px) { .page { grid-template-columns: minmax(0, 1fr) 300px; } }

.page-header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem; margin-bottom: 1.25rem; }
.page-header h1 { margin: 0; }
.page-header .subtitle { color: var(--muted); font-size: .95rem; margin: .2rem 0 0; }
.actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.search-bar { display: flex; flex-wrap: wrap; align-items: flex-end; gap: .75rem; margin-bottom: 1.25rem; padding: 1rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.search-field { flex: 1 1 240px; }
.search-date { flex: 0 1 180px; }
.search-actions { display: flex; gap: .5rem; }

.sidebar { display: flex; flex-direction: column; gap: 1rem; }
.sidebar .card { margin: 0; }
.login-error { color: var(--danger); font-size: .9rem; margin-bottom: .75rem; }

.site-footer { border-top: 1px solid var(--line); background: var(--surface); color: var(--muted); font-size: .9rem; }
.site-footer .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem; padding-top: 1.25rem; padding-bottom: 1.25rem; }
.site-footer a { color: var(--muted); }

/* ---------- Notice + carousel ---------- */

.notice { background: var(--warning-soft); border: 1px solid #f3e2a6; border-radius: var(--radius); padding: .9rem 1.1rem; font-size: clamp(1.05rem, .95rem + .6vw, 1.4rem); font-weight: 600; margin-bottom: 1.25rem; text-align: center; }

.carousel { position: relative; margin-bottom: 1.5rem; border-radius: var(--radius); overflow: hidden; background: #0d1222; box-shadow: var(--shadow); }
.carousel-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; }
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-slide { flex: 0 0 100%; scroll-snap-align: center; display: flex; justify-content: center; align-items: center; aspect-ratio: 16 / 9; max-height: 340px; }
@media (min-width: 1000px) { .carousel-slide { aspect-ratio: 21 / 9; max-height: 300px; } }
.carousel-slide img { width: 100%; height: 100%; object-fit: contain; }
.carousel-dots { position: absolute; left: 0; right: 0; bottom: 10px; display: flex; justify-content: center; gap: 6px; }
.carousel-dots button { width: 9px; height: 9px; padding: 0; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .5); cursor: pointer; }
.carousel-dots button[aria-current=true] { background: #fff; }

/* ---------- Photo grid ---------- */

.photo-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); }
@media (max-width: 480px) { .photo-grid { grid-template-columns: 1fr 1fr; gap: .6rem; } }

.photo-card { margin: 0; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.photo-frame { display: block; width: 100%; padding: 0; border: 0; background: #eef1f6; aspect-ratio: 4 / 3; cursor: zoom-in; }
.photo-frame img { width: 100%; height: 100%; object-fit: contain; }
.photo-card figcaption { padding: .7rem .8rem .2rem; font-size: .88rem; }
.photo-caption { margin: 0 0 .25rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.photo-desc { margin: 0; color: var(--muted); font-size: .8rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.photo-actions { margin-top: auto; display: flex; flex-wrap: wrap; gap: .4rem; padding: .6rem .8rem .8rem; }
@media (max-width: 480px) {
    .photo-card figcaption { padding: .5rem .55rem 0; font-size: .8rem; }
    .photo-desc { display: none; }
    .photo-actions { padding: .5rem .55rem .6rem; }
}

.lightbox { border: 0; padding: 0; border-radius: var(--radius); max-width: min(92vw, 640px); width: 100%; background: var(--surface); box-shadow: 0 20px 50px rgba(0, 0, 0, .35); }
.lightbox::backdrop { background: rgba(8, 12, 24, .78); }
.confirm-dialog { border: 0; padding: 1.4rem 1.4rem 1.1rem; border-radius: var(--radius); width: min(92vw, 400px); background: var(--surface); color: var(--ink); box-shadow: 0 20px 50px rgba(0, 0, 0, .3); }
.confirm-dialog[open] { animation: confirm-in .15s ease-out; }
.confirm-dialog::backdrop { background: rgba(8, 12, 24, .55); }
.confirm-message { margin: 0 0 1.25rem; font-size: 1rem; line-height: 1.5; }
.confirm-actions { display: flex; gap: .5rem; justify-content: flex-end; }
@keyframes confirm-in { from { opacity: 0; transform: translateY(8px) scale(.98); } }
@media (prefers-reduced-motion: reduce) { .confirm-dialog[open] { animation: none; } }
.lightbox img { width: 100%; max-height: 70vh; object-fit: contain; background: #0d1222; }
.lightbox-body { padding: 1rem 1.1rem 1.1rem; }
.lightbox-body p { margin: 0 0 .5rem; }
.lightbox-close { position: absolute; top: 8px; right: 8px; width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(0, 0, 0, .55); color: #fff; font-size: 1.4rem; line-height: 1; cursor: pointer; }

/* ---------- Day chips ---------- */

.chips { display: flex; gap: .5rem; overflow-x: auto; padding-bottom: .25rem; margin-bottom: 1.25rem; scrollbar-width: thin; }
.chip { flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; min-width: 74px; padding: .5rem .7rem; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); color: var(--ink); text-decoration: none; line-height: 1.2; }
.chip small { color: var(--muted); font-size: .72rem; text-transform: uppercase; letter-spacing: .05em; }
.chip strong { font-size: 1.15rem; }
.chip:hover { border-color: var(--brand); color: var(--ink); }
.chip[aria-current=page] { background: var(--brand); border-color: var(--brand); color: #fff; }
.chip[aria-current=page] small { color: rgba(255, 255, 255, .8); }

/* ---------- Ads ---------- */

.ad-rotator { position: relative; }
.ad-rotator img { width: 100%; border-radius: 8px; }
.js .ad-rotator > :not(:first-child) { display: none; }
.ad-label { font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: .4rem; }

/* ---------- Static pages ---------- */

.prose { max-width: 72ch; }
.prose blockquote { margin: 0 0 1.25rem; padding: .75rem 1rem; border-left: 4px solid var(--brand); background: var(--brand-soft); border-radius: 0 8px 8px 0; font-style: italic; }
.prose blockquote footer { font-style: normal; font-weight: 600; margin-top: .4rem; font-size: .9rem; }
.feature { display: grid; gap: 1.25rem; align-items: start; }
@media (min-width: 760px) { .feature { grid-template-columns: 1fr 1fr; } .feature.reverse > :first-child { order: 2; } }
.feature figure { margin: 0; }
.feature > .card { margin: 0; }
.feature figcaption { font-size: .85rem; color: var(--muted); font-style: italic; margin-top: .5rem; }
.feature img { border-radius: 8px; margin: 0 auto; }
.people { display: grid; gap: .75rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); margin: 0; padding: 0; list-style: none; }
.people li { padding: .9rem 1rem; border: 1px solid var(--line); border-radius: var(--radius); background: #fafbfd; }
.people strong { display: block; }
.people span { color: var(--muted); font-size: .9rem; }
.details { display: grid; grid-template-columns: max-content 1fr; gap: .55rem 1.25rem; margin: 0; }
.details dt { font-weight: 600; color: var(--muted); }
.details dd { margin: 0; }
@media (max-width: 520px) { .details { grid-template-columns: 1fr; gap: .1rem; } .details dd { margin-bottom: .6rem; } }

/* ---------- Tables (stack into cards on phones) ---------- */

.table-wrap { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.table th, .table td { padding: .7rem .9rem; text-align: left; vertical-align: middle; border-bottom: 1px solid var(--line); }
.table th { background: #f8f9fc; font-size: .75rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.table tr:last-child td { border-bottom: 0; }
.table .thumb { width: 72px; height: 54px; object-fit: cover; border-radius: 6px; background: #eef1f6; }
.thumb-button { display: block; padding: 0; border: 0; background: none; border-radius: 6px; cursor: zoom-in; }
.thumb-button img { display: block; transition: opacity .15s; }
.thumb-button:hover img { opacity: .85; }
.table .row-actions { display: flex; gap: .4rem; justify-content: flex-end; flex-wrap: wrap; }
.table .clip { max-width: 34ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

@media (max-width: 720px) {
    .table thead { display: none; }
    .table, .table tbody, .table tr, .table td { display: block; width: 100%; }
    .table tr { padding: .8rem .9rem; border-bottom: 1px solid var(--line); }
    .table tr:last-child { border-bottom: 0; }
    .table td { border: 0; padding: .2rem 0; display: flex; gap: .75rem; }
    .table td[data-label]::before { content: attr(data-label); flex: 0 0 96px; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); padding-top: .15rem; }
    .table .row-actions { justify-content: flex-start; padding-top: .5rem; }
    .table .clip { max-width: none; white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }

    /* Photo lists: thumbnail left, text right, meta + actions underneath */
    .table-media tr { display: grid; grid-template-columns: 84px minmax(0, 1fr); column-gap: .8rem; align-items: center; }
    .table-media td { padding: 0; }
    .table-media td::before { display: none !important; }
    .table-media td.cell-thumb { grid-row: span 2; align-self: start; }
    .table-media .thumb { width: 84px; height: 63px; }
    .table-media td.cell-meta { font-size: .8rem; color: var(--muted); gap: .5rem; align-items: center; }
    .table-media td.cell-actions { grid-column: 1 / -1; }
}

/* ---------- Pagination (Laravel bootstrap-3 markup) ---------- */

.pagination { display: flex; flex-wrap: wrap; gap: .35rem; list-style: none; padding: 0; margin: 1.25rem 0 0; justify-content: center; }
.pagination li > a, .pagination li > span { display: inline-flex; align-items: center; justify-content: center; min-width: 38px; height: 38px; padding: 0 .6rem; border-radius: 8px; border: 1px solid var(--line); background: var(--surface); text-decoration: none; color: var(--ink); font-size: .9rem; }
.pagination li.active > span { background: var(--brand); border-color: var(--brand); color: #fff; font-weight: 700; }
.pagination li.disabled > span { color: #a7afbd; }

/* ---------- Admin layout ---------- */

.admin-body { background: var(--bg); }
.admin-top { position: sticky; top: 0; z-index: 50; background: #0b1a4a; color: #fff; }
.admin-top .container { display: flex; align-items: center; gap: .75rem; min-height: 56px; max-width: none; }
.admin-top a { color: #fff; text-decoration: none; }
.admin-brand { font-weight: 800; letter-spacing: .02em; }
.admin-brand span { opacity: .65; font-weight: 600; }
.admin-top .spacer { flex: 1; }
.admin-top .btn { min-height: 36px; background: transparent; color: #fff; border-color: rgba(255, 255, 255, .35); }
.admin-top .btn:hover { background: rgba(255, 255, 255, .1); }

.admin-shell { display: grid; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 960px) { .admin-shell { grid-template-columns: 250px minmax(0, 1fr); min-height: calc(100vh - 56px); } }

.admin-nav { background: var(--surface); border-right: 1px solid var(--line); padding: 1rem .75rem 2rem; }
.admin-nav h2 { font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin: 1.1rem .6rem .4rem; }
.admin-nav h2:first-child { margin-top: 0; }
.admin-nav ul { list-style: none; margin: 0; padding: 0; }
.admin-nav a { display: flex; justify-content: space-between; padding: .5rem .65rem; border-radius: 7px; color: var(--ink); text-decoration: none; font-size: .92rem; }
.admin-nav a:hover { background: #f1f4fa; }
.admin-nav a[aria-current=page] { background: var(--brand-soft); color: var(--brand-dark); font-weight: 700; }
@media (max-width: 959px) {
    .admin-nav { border-right: 0; border-bottom: 1px solid var(--line); }
    .js .admin-nav { display: none; }
    .js .admin-nav.is-open { display: block; }
}
.admin-top .nav-toggle { display: inline-flex; align-items: center; margin-left: 0; }
@media (min-width: 960px) { .admin-top .nav-toggle { display: none; } }

.admin-main { padding: 1.5rem var(--gutter) 3rem; max-width: 1100px; width: 100%; }
@media (min-width: 960px) { .admin-main { padding: 2rem 2rem 3rem; } }

.split { display: grid; gap: 1.25rem; align-items: start; }
@media (min-width: 820px) { .split { grid-template-columns: 300px minmax(0, 1fr); } }
.preview-img { border-radius: 8px; border: 1px solid var(--line); background: #eef1f6; margin: 0 auto; }

/* ---------- File uploader (js/fileuploader.js) ---------- */

.qq-uploader { position: relative; width: 100%; }
.qq-upload-button { display: inline-flex !important; align-items: center; justify-content: center; min-height: 44px; padding: .55em 1.2em; border-radius: 8px; background: var(--brand) !important; color: #fff !important; font-weight: 600; border: 0 !important; width: auto !important; text-align: center; cursor: pointer; }
.qq-upload-button-hover { background: var(--brand-dark) !important; }
.qq-upload-drop-area { position: absolute; inset: 0; min-height: 100%; display: flex; align-items: center; justify-content: center; background: var(--brand-soft) !important; border: 2px dashed var(--brand); border-radius: var(--radius); z-index: 2; }
.qq-upload-drop-area span { margin: 0 !important; position: static !important; color: var(--brand-dark); font-weight: 700; }
.qq-upload-drop-area-active { background: #d6e2ff !important; }
.qq-upload-list { list-style: none; margin: 1rem 0 0 !important; padding: 0; }
.qq-upload-list li { margin: 0 0 .4rem !important; padding: .55rem .8rem !important; border-radius: 8px; background: #f3f5f9 !important; color: var(--ink) !important; font-size: .9rem !important; display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.qq-upload-list li.qq-upload-success { background: var(--success-soft) !important; }
.qq-upload-list li.qq-upload-fail { background: var(--danger-soft) !important; }
.qq-upload-spinner { display: inline-block; width: 15px; height: 15px; border: 2px solid #c9d3ea; border-top-color: var(--brand); border-radius: 50%; animation: spin .8s linear infinite; background: none !important; }
.qq-upload-size, .qq-upload-cancel { font-size: .8rem !important; margin: 0 !important; }
.upload-zone { border: 2px dashed #cfd5e1; border-radius: var(--radius); padding: 1.5rem; text-align: center; background: #fafbfd; position: relative; }
.upload-zone .muted { font-size: .85rem; margin: .75rem 0 0; }
@keyframes spin { to { transform: rotate(360deg); } }
.qq-upload-button { position: relative; overflow: hidden; }
.qq-upload-failed-text { display: none; }
.qq-upload-fail .qq-upload-failed-text { display: inline; color: var(--danger); font-weight: 600; }
