/* EpicUltraCloud: dark navy desktop. Colors are CSS variables so themes and accents swap instantly. */
:root {
  --accent: #38bdf8;
  --bg: #0a1020; --panel: rgba(13, 20, 38, .9); --panel-solid: #0f1729; --panel-2: #141e35; --panel-3: #1b2742;
  --border: rgba(148, 163, 184, .16); --border-strong: rgba(148, 163, 184, .28);
  --text: #e2e8f0; --muted: #8fa1bb; --faint: #5b6b84;
  --ok: #22c55e; --bad: #f43f5e; --warn: #f59e0b;
  --shadow: 0 24px 60px rgba(0, 0, 0, .45), 0 2px 8px rgba(0, 0, 0, .3);
  --radius: 12px; --bar: 52px;
  --mono: ui-monospace, "JetBrains Mono", "Cascadia Code", Menlo, Consolas, monospace;
  --hover: rgba(148, 163, 184, .1); --sel: color-mix(in srgb, var(--accent) 22%, transparent);
  color-scheme: dark;
}
:root[data-theme="light"] {
  --bg: #e8eef7; --panel: rgba(255, 255, 255, .92); --panel-solid: #ffffff; --panel-2: #f3f6fb; --panel-3: #e7edf6;
  --border: rgba(15, 23, 42, .1); --border-strong: rgba(15, 23, 42, .2);
  --text: #0f172a; --muted: #55657d; --faint: #94a3b8;
  --shadow: 0 24px 60px rgba(15, 23, 42, .18), 0 2px 8px rgba(15, 23, 42, .08);
  --hover: rgba(15, 23, 42, .06);
  color-scheme: light;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; overflow: hidden; background: var(--bg); color: var(--text); font: 14px/1.45 system-ui, -apple-system, "Segoe UI", Roboto, Ubuntu, sans-serif; -webkit-font-smoothing: antialiased; }
#app { height: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
button:disabled { opacity: .45; cursor: default; }
input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
::selection { background: color-mix(in srgb, var(--accent) 40%, transparent); }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb { background: rgba(148, 163, 184, .28); border-radius: 10px; border: 2px solid transparent; background-clip: padding-box; }
::-webkit-scrollbar-track { background: transparent; }
[hidden] { display: none !important; }

/* ---------- basics ---------- */
.ic { display: inline-flex; align-items: center; justify-content: center; flex: none; }
.muted { color: var(--muted); } .small { font-size: 12px; } .right { text-align: right; } .pad { padding: 10px 14px; }
.mono { font-family: var(--mono); font-size: 13px; } .mono-soft { font-family: var(--mono); font-size: 12.5px; word-break: break-all; }
.ellipsis { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.grow { flex: 1; min-width: 0; }
.row-gap { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tile { display: inline-flex; align-items: center; justify-content: center; color: #fff; flex: none; box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 2px 6px rgba(0,0,0,.25); }
.tile-sm { width: 20px; height: 20px; border-radius: 6px; } .tile-md { width: 32px; height: 32px; border-radius: 9px; }
.tile-lg { width: 46px; height: 46px; border-radius: 13px; } .tile.emoji { font-size: 24px; box-shadow: none; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 8px 14px; border-radius: 9px; background: var(--panel-3); border: 1px solid var(--border); font-weight: 550; transition: background .12s, border-color .12s; white-space: nowrap; }
.btn:hover:not(:disabled) { background: color-mix(in srgb, var(--panel-3) 70%, var(--text) 10%); }
.btn.primary { background: var(--accent); border-color: transparent; color: #04121f; }
.btn.primary:hover:not(:disabled) { background: color-mix(in srgb, var(--accent) 85%, #fff); }
.btn.danger { background: var(--bad); color: #fff; border-color: transparent; }
.btn.danger.ghost { background: transparent; color: var(--bad); border-color: color-mix(in srgb, var(--bad) 40%, transparent); }
.btn.danger.ghost:hover:not(:disabled) { background: color-mix(in srgb, var(--bad) 12%, transparent); }
.btn.small { padding: 5px 10px; font-size: 13px; border-radius: 8px; }
.btn.wide { width: 100%; padding: 11px; }
.linkbtn { color: var(--accent); font-size: 13px; } .linkbtn:hover { text-decoration: underline; }
.icon-btn { display: inline-flex; padding: 6px; border-radius: 7px; color: var(--muted); } .icon-btn:hover { background: var(--hover); color: var(--text); }
.btn-row { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }

.input { width: 100%; padding: 9px 12px; border-radius: 9px; background: var(--panel-2); border: 1px solid var(--border-strong); outline: none; transition: border-color .12s, box-shadow .12s; }
.input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent); }
.input.auto { width: auto; min-width: 90px; }
.input.code { font-family: var(--mono); letter-spacing: .15em; text-align: center; font-size: 17px; }
textarea.input { resize: vertical; }
.field-label { display: block; font-size: 12.5px; color: var(--muted); margin: 12px 0 5px; font-weight: 550; }
.check { display: flex; align-items: center; gap: 8px; margin: 8px 0; cursor: pointer; user-select: none; }
.check input { accent-color: var(--accent); width: 16px; height: 16px; }

.pill { display: inline-block; font-size: 11.5px; font-weight: 600; padding: 2px 8px; border-radius: 99px; background: var(--hover); margin-left: 6px; vertical-align: 1px; }
.pill-ok { background: color-mix(in srgb, var(--ok) 18%, transparent); color: var(--ok); }
.pill-bad { background: color-mix(in srgb, var(--bad) 18%, transparent); color: var(--bad); }
.pill-off { color: var(--muted); }
.dot { width: 8px; height: 8px; border-radius: 50%; flex: none; background: var(--faint); }
.dot-ok { background: var(--ok); box-shadow: 0 0 8px var(--ok); } .dot-bad { background: var(--bad); box-shadow: 0 0 8px var(--bad); }
.tag { font-size: 10.5px; padding: 1px 6px; border-radius: 5px; background: var(--hover); color: var(--muted); }
.notice { display: flex; gap: 10px; align-items: center; padding: 9px 14px; background: color-mix(in srgb, var(--warn) 12%, transparent); color: color-mix(in srgb, var(--warn) 80%, var(--text)); font-size: 13px; border-bottom: 1px solid var(--border); }
.empty { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; color: var(--muted); padding: 40px 20px; text-align: center; height: 100%; min-height: 160px; }
.empty .ic { opacity: .6; } .empty.small { padding: 30px 10px; min-height: 0; }
.spinner { width: 26px; height: 26px; border-radius: 50%; border: 3px solid var(--border-strong); border-top-color: var(--accent); animation: spin .8s linear infinite; }
.spinner.sm { width: 13px; height: 13px; border-width: 2px; }
@keyframes spin { to { transform: rotate(360deg); } }
.avatar { width: 38px; height: 38px; border-radius: 50%; background: linear-gradient(135deg, var(--accent), #6366f1); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 16px; flex: none; }
.avatar.big { width: 72px; height: 72px; font-size: 30px; margin: 0 auto 6px; }
.bar { height: 8px; border-radius: 99px; background: var(--hover); overflow: hidden; margin: 6px 0 3px; }
.bar-fill { height: 100%; background: var(--accent); border-radius: 99px; transition: width .4s; }
.bar-fill.warnc { background: var(--warn); } .bar-fill.bad { background: var(--bad); }

/* ---------- lock / login ---------- */
.lockscreen { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 32px; padding: 20px;
  background: radial-gradient(1000px 700px at 15% 10%, rgba(37,99,235,.35), transparent 60%), radial-gradient(900px 700px at 85% 90%, rgba(14,165,233,.28), transparent 60%), linear-gradient(160deg, #0a1020, #0b1730); color: #e2e8f0; }
.lockscreen.overlay { position: fixed; inset: 0; z-index: 9000; background: rgba(6, 10, 22, .55); backdrop-filter: blur(22px) saturate(1.2); -webkit-backdrop-filter: blur(22px) saturate(1.2); }
.lock-clock { text-align: center; text-shadow: 0 2px 20px rgba(0,0,0,.4); }
.lock-time { font-size: clamp(54px, 11vw, 96px); font-weight: 250; letter-spacing: -.02em; line-height: 1; font-variant-numeric: tabular-nums; }
.lock-date { font-size: 18px; opacity: .8; margin-top: 8px; }
.login-card { width: min(360px, 100%); background: rgba(13, 20, 38, .78); border: 1px solid rgba(148,163,184,.2); border-radius: 18px; padding: 26px; display: flex; flex-direction: column; gap: 10px; box-shadow: var(--shadow); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); text-align: center; }
.login-card h1 { font-size: 19px; margin: 0 0 6px; font-weight: 650; }
.login-card .input { background: rgba(10, 16, 32, .8); color: #e2e8f0; }
.login-logo { width: 58px; height: 58px; margin: 0 auto 4px; border-radius: 16px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, #38bdf8, #2563eb); box-shadow: 0 8px 24px rgba(37,99,235,.45); }
.login-err { min-height: 18px; color: #fb7185; font-size: 13px; } .login-err.hint { color: #93c5fd; }
.lock-foot { font-size: 12.5px; color: #fbbf24; text-align: center; max-width: 520px; }
.shake { animation: shake .35s; }
@keyframes shake { 20%, 60% { transform: translateX(-8px); } 40%, 80% { transform: translateX(8px); } }

/* ---------- desktop ---------- */
#desktop { position: fixed; inset: 0; overflow: hidden; background-color: #0a1020; }
#icons { position: absolute; inset: 0 0 var(--bar) 0; user-select: none; touch-action: none; }
.dicon { position: absolute; width: 86px; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 8px 4px; border-radius: 10px; border: 1px solid transparent; color: #fff; transition: left .12s, top .12s; }
.dicon.moving { transition: none; opacity: .8; z-index: 2; }
.marquee { position: fixed; z-index: 9400; pointer-events: none; border: 1px solid var(--accent); background: color-mix(in srgb, var(--accent) 18%, transparent); border-radius: 2px; }
.dicon:hover { background: rgba(255,255,255,.08); }
.dicon.sel { background: color-mix(in srgb, var(--accent) 25%, transparent); border-color: color-mix(in srgb, var(--accent) 45%, transparent); }
.dicon-label { font-size: 12.5px; text-align: center; text-shadow: 0 1px 3px rgba(0,0,0,.8); line-height: 1.25; max-width: 100%; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
#windows { position: absolute; inset: 0 0 var(--bar) 0; pointer-events: none; }
#windows > * { pointer-events: auto; }
#snap-preview { position: absolute; pointer-events: none; border-radius: 12px; background: color-mix(in srgb, var(--accent) 18%, transparent); border: 2px solid color-mix(in srgb, var(--accent) 60%, transparent); opacity: 0; transition: all .15s; inset: 50%; }
#snap-preview.snap-left { inset: 6px 50% 6px 6px; opacity: 1; } #snap-preview.snap-right { inset: 6px 6px 6px 50%; opacity: 1; } #snap-preview.snap-max { inset: 6px; opacity: 1; }

#taskbar { position: absolute; left: 0; right: 0; bottom: 0; height: var(--bar); display: flex; align-items: center; gap: 6px; padding: 0 8px; background: var(--panel); border-top: 1px solid var(--border); backdrop-filter: blur(20px) saturate(1.4); -webkit-backdrop-filter: blur(20px) saturate(1.4); z-index: 5000; }
.start-btn { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; color: var(--accent); flex: none; }
.start-btn:hover, .start-btn.on { background: var(--hover); }
#tasks { flex: 1; display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; min-width: 0; }
#tasks::-webkit-scrollbar { display: none; }
.task { display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 12px 0 9px; border-radius: 10px; max-width: 210px; flex: none; position: relative; }
.task:hover { background: var(--hover); }
.task.on { background: var(--hover); }
.task::after { content: ""; position: absolute; left: 50%; bottom: 3px; width: 6px; height: 3px; border-radius: 3px; background: var(--muted); transform: translateX(-50%); }
.task.on::after { width: 18px; background: var(--accent); }
.task.min { opacity: .7; }
.task-title { font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tray { display: flex; align-items: center; gap: 2px; flex: none; }
.tray-btn { position: relative; width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; color: var(--muted); }
.tray-btn:hover { background: var(--hover); color: var(--text); }
.tray-btn.warn { color: var(--warn); }
.tray-chip { display: flex; align-items: center; gap: 5px; padding: 5px 9px; border-radius: 99px; font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.tray-chip:hover { background: var(--hover); color: var(--text); }
.badge { position: absolute; top: 4px; right: 3px; min-width: 16px; height: 16px; border-radius: 9px; background: var(--bad); color: #fff; font-size: 10px; font-weight: 700; display: grid; place-items: center; padding: 0 4px; }
.tray-clock { text-align: right; padding: 0 8px; cursor: pointer; line-height: 1.2; font-variant-numeric: tabular-nums; }
.tray-time { font-size: 13px; font-weight: 600; } .tray-date { font-size: 11px; color: var(--muted); }

.start { position: absolute; left: 8px; bottom: calc(var(--bar) + 8px); width: min(520px, calc(100vw - 16px)); max-height: calc(100% - var(--bar) - 16px); display: flex; flex-direction: column; gap: 12px; padding: 18px; border-radius: 16px; background: var(--panel); border: 1px solid var(--border); box-shadow: var(--shadow); backdrop-filter: blur(24px) saturate(1.4); -webkit-backdrop-filter: blur(24px) saturate(1.4); z-index: 6000; animation: pop .16s ease-out; }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.98); } }
.start-head { display: flex; gap: 12px; align-items: center; }
.start-user { font-weight: 650; }
.start-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(88px, 1fr)); gap: 4px; overflow-y: auto; min-height: 120px; }
.start-app { display: flex; flex-direction: column; align-items: center; gap: 7px; padding: 12px 4px; border-radius: 12px; font-size: 12.5px; }
.start-app:hover, .start-app:focus-visible { background: var(--hover); }
.start-foot { display: flex; align-items: center; gap: 4px; border-top: 1px solid var(--border); padding-top: 10px; }
.start-foot > span { flex: 1; }

.notes { position: absolute; right: 8px; bottom: calc(var(--bar) + 8px); width: min(380px, calc(100vw - 16px)); max-height: min(560px, calc(100% - var(--bar) - 16px)); display: flex; flex-direction: column; border-radius: 16px; background: var(--panel); border: 1px solid var(--border); box-shadow: var(--shadow); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); z-index: 6000; animation: pop .16s ease-out; overflow: hidden; }
.notes-head { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; border-bottom: 1px solid var(--border); }
.notes-list { overflow-y: auto; padding: 6px; }
.note { display: flex; gap: 10px; padding: 10px; border-radius: 10px; }
.note:hover { background: var(--hover); }
.note > .ic { margin-top: 2px; color: var(--accent); }
.note-warn > .ic { color: var(--warn); } .note-error > .ic { color: var(--bad); } .note-ok > .ic { color: var(--ok); }
.note-title { font-weight: 600; font-size: 13.5px; } .note-body { font-size: 13px; color: var(--muted); word-break: break-word; } .note-time { font-size: 11.5px; color: var(--faint); margin-top: 2px; }

/* ---------- windows ---------- */
.win { position: absolute; display: flex; flex-direction: column; min-width: 320px; min-height: 200px; background: var(--panel-solid); border: 1px solid var(--border-strong); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; animation: winin .14s ease-out; }
@keyframes winin { from { opacity: 0; transform: scale(.97); } }
.win:not(.active) { box-shadow: 0 10px 30px rgba(0,0,0,.3); }
.win:not(.active) .win-bar { opacity: .75; }
.win.minimized { display: none; }
.win.maximized { left: 0 !important; top: 0 !important; width: 100% !important; height: 100% !important; border-radius: 0; border: 0; }
.win.closing { opacity: 0; transform: scale(.97); transition: opacity .14s, transform .14s; }
.win.dragging { user-select: none; } .win.dragging iframe { pointer-events: none; }
.win.blur-hidden { visibility: hidden; }
.win-bar { display: flex; align-items: center; gap: 9px; height: 40px; padding: 0 6px 0 11px; background: var(--panel-2); border-bottom: 1px solid var(--border); flex: none; cursor: default; user-select: none; touch-action: none; }
.win-title { flex: 1; font-size: 13px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.win-btns { display: flex; gap: 2px; }
.win-btn { width: 34px; height: 28px; border-radius: 7px; display: grid; place-items: center; color: var(--muted); }
.win-btn:hover { background: var(--hover); color: var(--text); }
.win-btn.close:hover { background: var(--bad); color: #fff; }
.win-body { flex: 1; min-height: 0; display: flex; flex-direction: column; position: relative; }
.win-body > * { flex: 1; min-height: 0; }
.rz { position: absolute; z-index: 2; touch-action: none; }
.rz-n, .rz-s { left: 8px; right: 8px; height: 6px; cursor: ns-resize; } .rz-n { top: -3px; } .rz-s { bottom: -3px; }
.rz-e, .rz-w { top: 8px; bottom: 8px; width: 6px; cursor: ew-resize; } .rz-e { right: -3px; } .rz-w { left: -3px; }
.rz-ne, .rz-nw, .rz-se, .rz-sw { width: 14px; height: 14px; } .rz-ne { top: -3px; right: -3px; cursor: nesw-resize; } .rz-sw { bottom: -3px; left: -3px; cursor: nesw-resize; }
.rz-nw { top: -3px; left: -3px; cursor: nwse-resize; } .rz-se { bottom: -3px; right: -3px; cursor: nwse-resize; }
.win.maximized .rz { display: none; }

/* ---------- menus, toasts, dialogs ---------- */
.menu { position: fixed; z-index: 9500; min-width: 210px; padding: 5px; border-radius: 11px; background: var(--panel); border: 1px solid var(--border-strong); box-shadow: var(--shadow); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); animation: pop .1s ease-out; }
.menu-item { display: flex; align-items: center; gap: 10px; width: 100%; padding: 7px 10px; border-radius: 7px; font-size: 13.5px; text-align: left; }
.menu-item .ic { width: 15px; color: var(--muted); }
.menu-item:hover:not(:disabled) { background: var(--accent); color: #04121f; } .menu-item:hover:not(:disabled) .ic { color: inherit; }
.menu-item.danger { color: var(--bad); } .menu-item.danger .ic { color: var(--bad); }
.menu-item.danger:hover:not(:disabled) { background: var(--bad); color: #fff; } .menu-item.danger:hover .ic { color: #fff; }
.menu-item span:nth-child(2) { flex: 1; }
.menu-hint { font-size: 11.5px; opacity: .55; }
.menu-sep { height: 1px; background: var(--border); margin: 5px 6px; }
#toasts { position: fixed; right: 14px; bottom: calc(var(--bar) + 14px); z-index: 9800; display: flex; flex-direction: column; gap: 8px; align-items: flex-end; pointer-events: none; }
.toast { display: flex; gap: 9px; align-items: flex-start; max-width: min(420px, calc(100vw - 28px)); padding: 10px 14px; border-radius: 11px; background: var(--panel); border: 1px solid var(--border-strong); box-shadow: var(--shadow); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); font-size: 13.5px; animation: pop .16s ease-out; transition: opacity .3s, transform .3s; pointer-events: auto; word-break: break-word; }
.toast .ic { margin-top: 1px; color: var(--accent); } .toast-ok .ic { color: var(--ok); } .toast-warn .ic { color: var(--warn); } .toast-error .ic { color: var(--bad); }
.toast.out { opacity: 0; transform: translateX(20px); }
.modal-layer { position: fixed; inset: 0; z-index: 9200; background: rgba(2, 6, 16, .45); display: grid; place-items: center; padding: 12px; animation: fade .12s; }
@keyframes fade { from { opacity: 0; } }
.modal { background: var(--panel-solid); border: 1px solid var(--border-strong); border-radius: 16px; box-shadow: var(--shadow); padding: 20px; max-height: calc(100vh - 24px); display: flex; flex-direction: column; animation: pop .14s ease-out; }
.modal-title { font-size: 16.5px; font-weight: 650; margin-bottom: 4px; word-break: break-word; }
.modal-body { overflow-y: auto; margin: 0 -4px; padding: 0 4px; } .modal-body p { margin: 8px 0; }
.modal-btns { display: flex; justify-content: flex-end; gap: 8px; margin-top: 18px; flex-wrap: wrap; }

/* ---------- toolbars ---------- */
.toolbar { display: flex; align-items: center; gap: 4px; padding: 7px 8px; border-bottom: 1px solid var(--border); background: var(--panel-solid); flex: none; flex-wrap: wrap; }
.toolbar.slim { padding: 4px 8px; }
.toolbar .input.search { width: 210px; padding: 6px 10px; }
.tbtn { display: inline-flex; align-items: center; gap: 6px; height: 32px; min-width: 32px; padding: 0 8px; border-radius: 8px; color: var(--muted); justify-content: center; font-size: 13px; }
.tbtn:hover:not(:disabled) { background: var(--hover); color: var(--text); }
.tbtn.on { color: var(--accent); background: color-mix(in srgb, var(--accent) 14%, transparent); }
.statusbar { display: flex; gap: 10px; align-items: center; padding: 5px 12px; font-size: 12px; color: var(--muted); border-top: 1px solid var(--border); background: var(--panel-2); flex: none; min-height: 28px; }

/* ---------- settings ---------- */
.settings { display: flex; }
.settings .sidebar { width: 210px; }
.settings-page { flex: 1; overflow-y: auto; padding: 20px 24px 30px; }
.settings-page h2 { margin: 0 0 14px; font-size: 20px; }
.card { background: var(--panel-2); border: 1px solid var(--border); border-radius: 12px; padding: 16px; margin-bottom: 14px; display: flex; flex-direction: column; gap: 9px; align-items: flex-start; }
.card > .input, .card > textarea { width: 100%; }
.card p { margin: 0; }
.card-title { display: flex; align-items: center; gap: 8px; font-weight: 650; }
.set-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--border); width: 100%; }
.set-label { font-weight: 600; margin: 18px 0 8px; }
.seg { display: inline-flex; background: var(--panel-3); border-radius: 9px; padding: 3px; }
.seg button { padding: 5px 14px; border-radius: 7px; font-size: 13px; } .seg button.on { background: var(--accent); color: #04121f; font-weight: 600; }
.swatches { display: flex; gap: 6px; flex-wrap: wrap; }
.swatch { width: 26px; height: 26px; border-radius: 50%; border: 2px solid transparent; box-shadow: inset 0 0 0 2px rgba(0,0,0,.15); }
.swatch.on { border-color: var(--text); }
.walls { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 10px; }
.wall { height: 76px; border-radius: 10px; border: 2px solid var(--border); display: flex; align-items: flex-end; padding: 6px 8px; font-size: 11.5px; color: #fff; text-shadow: 0 1px 3px rgba(0,0,0,.8); background-size: cover !important; }
.wall.on { border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 30%, transparent); }
.wall.upload { flex-direction: column; justify-content: center; align-items: center; gap: 4px; color: var(--muted); text-shadow: none; background: var(--panel-3); border-style: dashed; }
.checks { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
.toggle { width: 42px; height: 24px; border-radius: 99px; background: var(--panel-3); border: 1px solid var(--border-strong); position: relative; flex: none; transition: background .15s; }
.toggle span { position: absolute; top: 2px; left: 2px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: transform .15s; box-shadow: 0 1px 3px rgba(0,0,0,.3); }
.toggle.on { background: var(--accent); border-color: transparent; } .toggle.on span { transform: translateX(18px); }
.session { display: flex; justify-content: space-between; align-items: center; gap: 10px; width: 100%; padding: 8px 0; border-bottom: 1px solid var(--border); }
.utable { margin-top: 14px; display: flex; flex-direction: column; gap: 8px; }
.urow { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; background: var(--panel-2); border: 1px solid var(--border); }
.qr { width: 190px; margin: 6px auto; background: #fff; border-radius: 10px; padding: 6px; } .qr svg { width: 100%; height: auto; display: block; }
.secret { text-align: center; padding: 8px; border-radius: 8px; background: var(--panel-2); cursor: copy; word-break: break-all; margin: 6px 0; }
.codes { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 12px; background: var(--panel-2); border-radius: 10px; text-align: center; }
.about { text-align: center; padding: 30px 10px; } .about h3 { margin: 12px 0 4px; }

.update-out { width: 100%; display: flex; flex-direction: column; gap: 8px; }
details.card summary { cursor: pointer; font-weight: 600; }
pre.logs { max-height: 260px; width: 100%; overflow: auto; background: var(--panel-solid); border: 1px solid var(--border); border-radius: 8px; padding: 10px; font: 12px/1.5 var(--mono); white-space: pre-wrap; margin: 0; }
.sidebar { width: 200px; flex: none; padding: 8px; border-right: 1px solid var(--border); background: var(--panel-2); overflow-y: auto; display: flex; flex-direction: column; gap: 1px; }
.side-item { display: flex; align-items: center; gap: 9px; padding: 8px 10px; border-radius: 8px; font-size: 13.5px; text-align: left; color: var(--text); }
.side-item span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.side-item .ic { color: var(--muted); } .side-item:hover { background: var(--hover); }
.side-item.on { background: var(--sel); } .side-item.on .ic { color: var(--accent); }
.side-label { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--faint); padding: 12px 10px 4px; font-weight: 650; }
.editor, .viewer, .notepad, .writer { display: flex; flex-direction: column; }
.editor-area { flex: 1; min-height: 0; position: relative; }
.ace-host { position: absolute; inset: 0; }
.plain-editor { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; outline: none; resize: none; padding: 12px 14px; background: var(--panel-solid); font-family: var(--mono); tab-size: 2; }
.callout { display: flex; gap: 8px; align-items: flex-start; padding: 9px 12px; border-radius: 10px; background: color-mix(in srgb, var(--accent) 10%, transparent); border: 1px solid color-mix(in srgb, var(--accent) 25%, transparent); font-size: 13px; margin: 8px 0; }
.callout.warn { background: color-mix(in srgb, var(--warn) 10%, transparent); border-color: color-mix(in srgb, var(--warn) 30%, transparent); }
.callout.bad { background: color-mix(in srgb, var(--bad) 10%, transparent); border-color: color-mix(in srgb, var(--bad) 30%, transparent); }
.callout .ic { margin-top: 2px; flex: none; }
.avatar.sm { width: 26px; height: 26px; font-size: 12px; }
.icon-btn.danger:hover { color: var(--bad); }
.input.slim { padding: 4px 8px; font-size: 13px; }
.plan-chip { display: inline-block; margin-left: 8px; font-size: 10.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 2px 7px; border-radius: 99px; color: var(--pc, var(--accent)); background: color-mix(in srgb, var(--pc, var(--accent)) 16%, transparent); vertical-align: 1px; }
.id-chip { display: inline-flex; align-items: center; gap: 6px; margin-top: 3px; font: 11.5px var(--mono); color: var(--muted); padding: 2px 7px; border-radius: 6px; background: var(--hover); }
.id-chip:hover { color: var(--text); }
.legal { white-space: pre-wrap; line-height: 1.6; font-size: 13.5px; color: var(--muted); }

/* ---------- welcome (log in / create account) ---------- */
.auth { min-height: 100%; height: 100%; overflow-y: auto; display: flex; flex-direction: column; color: #e2e8f0;
  background: radial-gradient(1100px 760px at 8% 0%, color-mix(in srgb, var(--accent) 34%, transparent), transparent 62%), radial-gradient(900px 700px at 100% 100%, rgba(99,102,241,.32), transparent 60%), linear-gradient(160deg, #070b18, #0b1730 55%, #070b18); }
.auth-main { flex: 1; display: flex; align-items: center; justify-content: center; gap: clamp(24px, 7vw, 110px); padding: 32px 22px; flex-wrap: wrap; }
.auth-brand { max-width: 400px; }
.auth-logo { width: 68px; height: 68px; border-radius: 20px; display: grid; place-items: center; background: linear-gradient(135deg, var(--accent), #6366f1); box-shadow: 0 14px 40px color-mix(in srgb, var(--accent) 45%, transparent); margin-bottom: 20px; }
.auth-brand h1 { font-size: clamp(30px, 4.4vw, 46px); margin: 0 0 8px; letter-spacing: -.025em; line-height: 1.05; background: linear-gradient(120deg, #fff 30%, color-mix(in srgb, var(--accent) 70%, #fff)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.auth-tag { font-size: 17px; color: #a8b6cc; margin: 0 0 24px; }
.auth-points { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; color: #c3cfe2; font-size: 14.5px; }
.auth-points li { display: flex; gap: 11px; align-items: center; } .auth-points .ic { color: var(--accent); width: 32px; height: 32px; border-radius: 10px; background: rgba(148,163,184,.1); }
.auth-side { width: min(410px, 100%); display: flex; flex-direction: column; gap: 12px; }
.auth-card { background: rgba(11, 17, 34, .78); border: 1px solid rgba(148,163,184,.2); border-radius: 22px; padding: 24px; box-shadow: 0 30px 80px rgba(0,0,0,.5); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border-radius: 13px; background: rgba(148,163,184,.1); margin-bottom: 18px; }
.auth-tabs button { padding: 9px; border-radius: 10px; font-weight: 600; color: #a8b6cc; } .auth-tabs button.on { background: var(--accent); color: #04121f; }
.auth-form { display: flex; flex-direction: column; gap: 12px; } .auth-form h2 { margin: 0; font-size: 20px; } .auth-form p { margin: 0; font-size: 13.5px; line-height: 1.5; }
.auth-field { display: flex; flex-direction: column; gap: 5px; } .auth-field > span { font-size: 12.5px; color: #a8b6cc; font-weight: 600; }
.auth-card .input { background: rgba(7, 11, 24, .85); color: #e2e8f0; padding: 11px 13px; border-radius: 11px; }
.auth-card .btn.wide { padding: 12px; border-radius: 12px; font-size: 15px; margin-top: 2px; }
.auth-card .linkbtn { align-self: center; }
.input.code.big { font-size: 28px; letter-spacing: .32em; padding: 14px; }
.auth-err { min-height: 18px; color: #fb7185; font-size: 13px; text-align: center; } .auth-err.hint { color: #93c5fd; }
.auth-icon { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: color-mix(in srgb, var(--accent) 18%, transparent); color: var(--accent); }
.auth-closed { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 26px 10px; text-align: center; color: #a8b6cc; } .auth-closed p { margin: 0; }
.auth-warn { display: flex; gap: 8px; align-items: center; font-size: 12.5px; color: #fbbf24; justify-content: center; }
.auth-banner { display: flex; gap: 10px; align-items: center; justify-content: center; padding: 10px 16px; background: color-mix(in srgb, var(--warn) 18%, transparent); color: #fde68a; font-size: 13.5px; }
.auth-foot { text-align: center; font-size: 12px; color: #5b6b84; padding: 14px; }
.meter-row { display: flex; align-items: center; gap: 8px; min-height: 14px; }
.meter { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; flex: 1; } .meter i { height: 4px; border-radius: 4px; background: rgba(148,163,184,.2); transition: background .2s; }
.meter[data-n="1"] i:nth-child(-n+1) { background: var(--bad); } .meter[data-n="2"] i:nth-child(-n+2) { background: var(--warn); } .meter[data-n="3"] i:nth-child(-n+3) { background: #a3e635; } .meter[data-n="4"] i { background: var(--ok); }
.meter-text { font-size: 11.5px; color: #a8b6cc; width: 44px; text-align: right; }

/* ---------- desktop extras ---------- */
.announce { position: absolute; top: 10px; left: 50%; transform: translateX(-50%); z-index: 4000; display: flex; align-items: center; gap: 10px; max-width: min(720px, calc(100% - 24px)); padding: 9px 10px 9px 14px; border-radius: 13px; background: var(--panel); border: 1px solid color-mix(in srgb, var(--accent) 40%, transparent); box-shadow: var(--shadow); backdrop-filter: blur(16px); font-size: 13.5px; }
.announce > .ic { color: var(--accent); } .announce-warn { border-color: color-mix(in srgb, var(--warn) 50%, transparent); } .announce-warn > .ic { color: var(--warn); } .announce-ok > .ic { color: var(--ok); }
.up-btn { --p: 0%; } .up-btn.busy { color: var(--accent); }
.up-btn::before { content: ""; position: absolute; inset: 5px; border-radius: 50%; background: conic-gradient(var(--accent) var(--p), color-mix(in srgb, var(--muted) 25%, transparent) 0); -webkit-mask: radial-gradient(circle, transparent 57%, #000 59%); mask: radial-gradient(circle, transparent 57%, #000 59%); }
.uploads { position: absolute; right: 8px; bottom: calc(var(--bar) + 8px); width: min(390px, calc(100vw - 16px)); max-height: min(480px, calc(100% - var(--bar) - 16px)); display: flex; flex-direction: column; border-radius: 16px; background: var(--panel); border: 1px solid var(--border-strong); box-shadow: var(--shadow); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); z-index: 4900; animation: pop .14s ease-out; overflow: hidden; }
.up-head { display: flex; align-items: center; gap: 10px; padding: 12px 10px 10px 16px; }
.up-total { height: 3px; background: var(--hover); } .up-total i { display: block; height: 100%; background: linear-gradient(90deg, var(--accent), #818cf8); transition: width .3s; }
.up-list { overflow-y: auto; padding: 6px 8px 10px; }
.up-row { padding: 8px; border-radius: 10px; } .up-row:hover { background: var(--hover); }
.up-line { display: flex; align-items: center; gap: 8px; } .up-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; font-size: 13px; }
.up-state { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; } .up-line .icon-btn { padding: 3px; }
.up-bar { height: 4px; border-radius: 4px; background: var(--hover); margin: 6px 0 4px; overflow: hidden; } .up-bar i { display: block; height: 100%; border-radius: 4px; background: var(--accent); transition: width .25s; }
.up-done .up-bar i { background: var(--ok); } .up-done .up-state { color: var(--ok); } .up-error .up-bar i, .up-cancelled .up-bar i { background: var(--bad); } .up-error .up-state { color: var(--bad); }
.up-sub { font-size: 11.5px; color: var(--faint); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .up-error .up-sub { color: var(--bad); white-space: normal; }

/* ---------- Files ---------- */
.files { display: flex; flex-direction: column; background: var(--panel-solid); }
.cmdbar { display: flex; align-items: center; gap: 2px; padding: 6px 8px; flex: none; overflow-x: auto; scrollbar-width: none; background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 7%, var(--panel-2)), var(--panel-2)); border-bottom: 1px solid var(--border); }
.cmdbar::-webkit-scrollbar { display: none; }
.cmd { display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 11px; border-radius: 9px; font-size: 13px; font-weight: 550; white-space: nowrap; flex: none; }
.cmd .ic { color: var(--accent); } .cmd:hover:not(:disabled) { background: var(--hover); }
.cmd.accent { background: var(--accent); color: #04121f; padding: 0 14px; margin: 0 4px 0 2px; box-shadow: 0 4px 14px color-mix(in srgb, var(--accent) 30%, transparent); } .cmd.accent .ic { color: inherit; }
.cmd.accent:hover:not(:disabled) { background: color-mix(in srgb, var(--accent) 85%, #fff); }
.cmd:disabled .ic { color: inherit; }
.vsep { width: 1px; height: 20px; background: var(--border-strong); margin: 0 6px; flex: none; }
.cmdbar .seg { padding: 2px; margin: 0 4px; flex: none; } .cmdbar .seg button { padding: 5px 8px; display: inline-flex; color: var(--muted); } .cmdbar .seg button.on { color: #04121f; }
.navrow { display: flex; align-items: center; gap: 4px; padding: 7px 8px; border-bottom: 1px solid var(--border); flex: none; }
.pathbar { flex: 1; min-width: 100px; display: flex; align-items: center; gap: 1px; padding: 0 5px; height: 34px; border-radius: 10px; background: var(--panel-2); border: 1px solid var(--border); overflow-x: auto; white-space: nowrap; scrollbar-width: none; cursor: text; }
.pathbar::-webkit-scrollbar { display: none; } .pathbar:focus-within { border-color: var(--accent); }
.crumb { padding: 4px 8px; border-radius: 7px; font-size: 13px; display: inline-flex; align-items: center; gap: 7px; font-weight: 550; flex: none; } .crumb:hover:not(.static) { background: var(--hover); }
.crumb .ic { color: var(--accent); } .crumb.drop-on { background: var(--sel); outline: 1px dashed var(--accent); }
.crumb-sep { color: var(--faint); display: inline-flex; flex: none; }
.path-input { width: 100%; background: transparent; border: 0; outline: none; font-family: var(--mono); font-size: 13px; padding: 0 6px; }
.search-wrap { position: relative; width: 220px; flex: none; } .search-wrap > .ic { position: absolute; left: 10px; top: 50%; transform: translateY(-50%); color: var(--faint); pointer-events: none; }
.search-wrap .input { padding: 7px 10px 7px 32px; border-radius: 10px; height: 34px; border-color: var(--border); }
.files-main { flex: 1; display: flex; min-height: 0; }
.navpane { width: 224px; flex: none; display: flex; flex-direction: column; border-right: 1px solid var(--border); background: color-mix(in srgb, var(--panel-2) 60%, var(--panel-solid)); min-height: 0; }
.nav-list { flex: 1; overflow-y: auto; padding: 4px 6px 8px; }
.nav-head { font-size: 10.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--faint); padding: 12px 10px 5px; font-weight: 700; }
.nav-item { position: relative; display: flex; align-items: center; gap: 7px; width: 100%; padding: 6px 8px 6px 6px; border-radius: 8px; font-size: 13.5px; text-align: left; }
.nav-item:hover { background: var(--hover); } .nav-item > .ic { color: var(--muted); flex: none; } .nav-item .fic { color: unset; }
.nav-item.on { background: var(--sel); font-weight: 600; } .nav-item.on > .ic:not(.fic) { color: var(--accent); }
.nav-item.on::before { content: ""; position: absolute; left: 0; top: 7px; bottom: 7px; width: 3px; border-radius: 3px; background: var(--accent); box-shadow: 0 0 10px var(--accent); }
.nav-item.drop-on { background: var(--sel); outline: 1px dashed var(--accent); }
.nav-label { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nav-cloud { color: var(--accent) !important; }
.caret { width: 14px; height: 18px; display: inline-flex; align-items: center; justify-content: center; flex: none; color: var(--faint); border-radius: 4px; transition: transform .12s; }
.caret:hover { color: var(--text); background: var(--hover); } .caret.open { transform: rotate(90deg); } .caret.none { visibility: hidden; }
.nav-tail { font-size: 11px; color: var(--faint); max-width: 70px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nav-count { font-size: 11px; font-weight: 700; min-width: 18px; text-align: center; padding: 1px 5px; border-radius: 99px; background: var(--hover); color: var(--muted); }
.storage-card { margin: 0 8px 8px; padding: 11px 12px; border-radius: 12px; text-align: left; display: flex; flex-direction: column; gap: 7px; flex: none; background: linear-gradient(140deg, color-mix(in srgb, var(--accent) 12%, var(--panel-2)), var(--panel-2)); border: 1px solid var(--border); }
.storage-card:hover { border-color: color-mix(in srgb, var(--accent) 45%, transparent); }
.storage-top { display: flex; align-items: center; gap: 7px; font-size: 13px; } .storage-top .ic { color: var(--accent); }
.storage-pct { margin-left: auto; font-weight: 700; font-variant-numeric: tabular-nums; } .storage-pct.warnc { color: var(--warn); } .storage-pct.bad { color: var(--bad); }
.segbar { display: flex; gap: 2px; height: 7px; border-radius: 6px; background: var(--hover); overflow: hidden; } .segbar i { height: 100%; border-radius: 2px; min-width: 3px; }
.storage-text { font-size: 12px; color: var(--muted); } .storage-warn { font-size: 11.5px; font-weight: 700; color: var(--warn); }
.files-pane { flex: 1; min-width: 0; position: relative; display: flex; container-type: inline-size; }
@container (max-width: 700px) { .flist .c-type { display: none; } }
@container (max-width: 560px) { .flist .c-share { display: none; } }
@container (max-width: 470px) { .flist .c-date { display: none; } }
.files-content { flex: 1; overflow: auto; outline: none; }
.flist { min-width: 300px; padding: 0 6px 12px; } .flist.padded { padding: 4px 14px 16px; }
.fhead { display: flex; position: sticky; top: 0; background: var(--panel-solid); border-bottom: 1px solid var(--border); z-index: 1; margin: 0 -6px 4px; padding: 0 6px; }
.fh { display: flex; align-items: center; gap: 5px; padding: 8px 10px; font-size: 11.5px; color: var(--muted); text-align: left; font-weight: 600; white-space: nowrap; border-right: 1px solid transparent; }
button.fh:hover { color: var(--text); background: var(--hover); } .fh.on { color: var(--text); } .fh.on .ic { color: var(--accent); }
.frow { display: flex; align-items: center; height: 34px; border-radius: 9px; border: 1px solid transparent; cursor: default; user-select: none; }
.frow:hover { background: var(--hover); } .frow.static { height: 42px; } .frow.faded { opacity: .55; }
.frow.sel, .ftile.sel { background: linear-gradient(90deg, color-mix(in srgb, var(--accent) 24%, transparent), color-mix(in srgb, var(--accent) 12%, transparent)); border-color: color-mix(in srgb, var(--accent) 55%, transparent); }
.frow.drop-on, .ftile.drop-on { background: var(--sel); border: 1px dashed var(--accent); }
.fc { padding: 0 10px; font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--muted); }
.c-name { flex: 1; min-width: 180px; display: flex; align-items: center; gap: 10px; color: var(--text); }
.c-date { width: 158px; flex: none; } .c-type { width: 150px; flex: none; } .c-size { width: 86px; flex: none; text-align: right; font-variant-numeric: tabular-nums; } .fh.c-size { justify-content: flex-end; }
.c-share { width: 108px; flex: none; } .c-act { width: 130px; flex: none; display: flex; gap: 4px; align-items: center; justify-content: flex-end; overflow: visible; } .c-act.wide { width: 220px; }
.fname { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13.5px; } .fwhere { font-size: 11.5px; color: var(--faint); overflow: hidden; text-overflow: ellipsis; flex-shrink: 2; }
.rename-input { flex: 1; min-width: 60px; font: inherit; font-size: 13.5px; padding: 2px 6px; border-radius: 6px; border: 1px solid var(--accent); background: var(--panel-solid); outline: none; box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent); color: var(--text); }
.badges { display: inline-flex; gap: 4px; }
.badge-pill { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 99px; background: var(--hover); color: var(--muted); flex: none; }
.badge-pill.pub { background: color-mix(in srgb, var(--warn) 18%, transparent); color: var(--warn); } .badge-pill.fr { background: color-mix(in srgb, var(--accent) 18%, transparent); color: var(--accent); } .badge-pill.bad { background: color-mix(in srgb, var(--bad) 18%, transparent); color: var(--bad); }
.fgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); gap: 6px; padding: 12px; align-content: start; }
.ftile { display: flex; flex-direction: column; align-items: center; gap: 7px; padding: 10px 6px 8px; border-radius: 12px; border: 1px solid transparent; cursor: default; user-select: none; }
.ftile:hover { background: var(--hover); }
.ftile-art { position: relative; width: 84px; height: 72px; display: grid; place-items: center; }
.thumb { max-width: 84px; max-height: 72px; border-radius: 7px; object-fit: cover; box-shadow: 0 3px 10px rgba(0,0,0,.35); }
.tile-share { position: absolute; right: 2px; bottom: 0; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: #04121f; }
.ftile-name { font-size: 12.5px; text-align: center; line-height: 1.25; max-width: 100%; word-break: break-word; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.ftile .rename-input { width: 100%; font-size: 12.5px; text-align: center; flex: none; }
.empty-art { opacity: .9; filter: drop-shadow(0 8px 18px rgba(0,0,0,.3)); } .empty b { color: var(--text); font-size: 15px; }
.drop-hint { position: absolute; inset: 0; z-index: 3; display: grid; place-items: center; background: color-mix(in srgb, var(--panel-solid) 72%, transparent); backdrop-filter: blur(3px); pointer-events: none; }
.drop-box { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 30px 46px; border-radius: 20px; border: 2px dashed var(--accent); background: color-mix(in srgb, var(--accent) 10%, transparent); color: var(--accent); animation: pulse 1.2s ease-in-out infinite; }
.drop-box b { font-size: 17px; } .drop-where { font-size: 13px; color: var(--muted); }
@keyframes pulse { 50% { transform: scale(1.025); } }
.details-pane { width: 250px; flex: none; border-left: 1px solid var(--border); padding: 16px 14px; overflow-y: auto; display: flex; flex-direction: column; gap: 8px; background: color-mix(in srgb, var(--panel-2) 45%, var(--panel-solid)); }
.dp-art { height: 150px; display: grid; place-items: center; border-radius: 14px; background: repeating-conic-gradient(color-mix(in srgb, var(--muted) 9%, transparent) 0 25%, transparent 0 50%) 0 0 / 18px 18px; overflow: hidden; flex: none; }
.dp-img { max-width: 100%; max-height: 150px; object-fit: contain; } .dp-icon { filter: drop-shadow(0 8px 16px rgba(0,0,0,.35)); } .dp-cloud { color: var(--accent); }
.dp-stack { display: flex; } .dp-stack > * { margin-left: -18px; filter: drop-shadow(0 4px 8px rgba(0,0,0,.4)); } .dp-stack > :first-child { margin-left: 0; }
.dp-name { font-weight: 650; font-size: 14.5px; word-break: break-word; margin-top: 4px; } .dp-type { font-size: 12.5px; font-weight: 600; margin-top: -4px; }
.dp-line { display: flex; justify-content: space-between; gap: 10px; font-size: 12.5px; padding: 5px 0; border-bottom: 1px solid var(--border); } .dp-line span { color: var(--muted); } .dp-line b { font-weight: 550; text-align: right; word-break: break-word; }
.dp-actions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; } .dp-empty { color: var(--faint); font-size: 12.5px; text-align: center; padding: 14px 4px; }
.status-sel { color: var(--accent); font-weight: 600; } .status-ro { display: inline-flex; align-items: center; gap: 4px; color: var(--warn); }
.viewbar { display: flex; align-items: center; gap: 8px; padding: 10px 6px; font-size: 13px; flex-wrap: wrap; }
.view-title { font-size: 15px; font-weight: 650; margin: 18px 0 8px; } .view-empty { padding: 14px; border: 1px dashed var(--border-strong); border-radius: 12px; font-size: 13px; }
.props { display: flex; flex-direction: column; gap: 2px; } .prop-head { display: flex; align-items: center; gap: 12px; padding-bottom: 12px; margin-bottom: 6px; border-bottom: 1px solid var(--border); } .prop-name { font-weight: 650; word-break: break-word; }
.prop-line { display: flex; gap: 14px; padding: 6px 0; font-size: 13.5px; } .prop-line span { width: 84px; flex: none; color: var(--muted); } .prop-line b { font-weight: 500; word-break: break-word; }
.share-list { margin-top: 6px; } .share-row { display: flex; align-items: center; gap: 10px; padding: 6px 0; }

/* ---------- Open / Save windows ---------- */
.picker { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; }
.pick-crumbs { display: flex; align-items: center; flex-wrap: wrap; gap: 1px; min-width: 0; }
.pick-list { height: 260px; overflow-y: auto; border: 1px solid var(--border); border-radius: 12px; padding: 5px; background: var(--panel-2); }
.pick-row { display: flex; align-items: center; gap: 10px; width: 100%; padding: 7px 9px; border-radius: 8px; text-align: left; font-size: 13.5px; }
.pick-row:hover { background: var(--hover); } .pick-row.on { background: var(--sel); outline: 1px solid color-mix(in srgb, var(--accent) 50%, transparent); }
.pick-row span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.print-frame { position: fixed; right: 0; bottom: 0; width: 0; height: 0; border: 0; visibility: hidden; }

/* ---------- Viewer ---------- */
.viewer-stage { flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center; overflow: hidden; background: color-mix(in srgb, var(--panel-solid) 70%, #000); position: relative; }
.viewer-stage.scroll { display: block; overflow: auto; }
.view-img { display: block; max-width: none; image-rendering: auto; transition: transform .15s; margin: auto; }
.view-img.fit { max-width: 100%; max-height: 100%; object-fit: contain; }
.viewer-stage.scroll .view-img { margin: 0 auto; }
.view-media { max-width: 100%; max-height: 100%; outline: none; background: #000; }
.view-audio { display: flex; flex-direction: column; align-items: center; gap: 16px; padding: 30px; text-align: center; } .view-audio audio { width: min(460px, 80vw); }
.disc { width: 150px; height: 150px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: conic-gradient(from 40deg, #a78bfa, #6366f1, #22d3ee, #a78bfa); box-shadow: 0 16px 40px rgba(99,102,241,.4); animation: spin 14s linear infinite; }
.view-pdf { width: 100%; height: 100%; border: 0; background: #fff; }
.zoom-label { min-width: 40px; text-align: center; }
.doc-page { max-width: 820px; margin: 22px auto; padding: 56px 64px; background: #fff; color: #111827; border-radius: 4px; box-shadow: 0 10px 40px rgba(0,0,0,.35); font: 11pt/1.55 Calibri, "Segoe UI", Arial, sans-serif; overflow-wrap: break-word; min-height: 300px; }
.doc-page h1 { font-size: 20pt; margin: 18px 0 8px; } .doc-page h1.doc-title { font-size: 28pt; margin-top: 0; } .doc-page h2 { font-size: 15pt; margin: 16px 0 6px; } .doc-page h2.doc-subtitle { color: #6b7280; font-weight: 600; } .doc-page h3 { font-size: 12.5pt; margin: 14px 0 6px; }
.doc-page p { margin: 0 0 8pt; } .doc-page a { color: #1d4ed8; } .doc-page img { max-width: 100%; height: auto; }
.doc-page table, .page table { border-collapse: collapse; width: 100%; margin: 8px 0; } .doc-page td, .doc-page th, .page td, .page th { border: 1px solid #9ca3af; padding: 5px 9px; vertical-align: top; min-width: 30px; }
.doc-page blockquote, .page blockquote { border-left: 4px solid #9ca3af; margin: 8px 0; padding: 2px 14px; color: #4b5563; font-style: italic; }
.doc-page pre, .page pre { background: #f3f4f6; padding: 10px 12px; border-radius: 6px; white-space: pre-wrap; font: 10pt/1.45 Consolas, ui-monospace, monospace; }
.doc-page code { background: #f3f4f6; padding: 1px 5px; border-radius: 4px; font: .92em Consolas, ui-monospace, monospace; } .doc-page hr, .page hr { border: 0; border-top: 1px solid #9ca3af; margin: 14px 0; }
.page-break { display: block; height: 0; border-top: 2px dashed #cbd5e1; margin: 22px -40px; position: relative; } .page-break::after { content: "Page break"; position: absolute; left: 50%; top: -9px; transform: translateX(-50%); background: #fff; color: #94a3b8; font: 600 10px/1.6 system-ui, sans-serif; padding: 0 8px; letter-spacing: .06em; text-transform: uppercase; }
.book-wrap { height: 100%; overflow: auto; } .doc-page.book { font: 12pt/1.7 Georgia, "Times New Roman", serif; max-width: 720px; }
.text-view { margin: 0; padding: 16px 18px; font: 13px/1.55 var(--mono); white-space: pre-wrap; word-break: break-word; color: var(--text); min-height: 100%; background: var(--panel-solid); tab-size: 4; }
.hex-view .callout { margin: 12px 14px 0; } .hex-view .text-view { white-space: pre; overflow-x: auto; }
.sheet-view { display: flex; flex-direction: column; height: 100%; width: 100%; } .sheet-body { flex: 1; min-height: 0; overflow: auto; background: var(--panel-solid); }
.sheet-wrap { background: var(--panel-solid); min-height: 100%; }
.sheet { border-collapse: collapse; font-size: 13px; } .sheet td, .sheet th { border: 1px solid var(--border-strong); padding: 4px 9px; white-space: nowrap; max-width: 420px; overflow: hidden; text-overflow: ellipsis; text-align: left; }
.sheet th { background: var(--panel-2); color: var(--muted); font-weight: 600; position: sticky; top: 0; z-index: 1; } .sheet tr > th:first-child { position: sticky; left: 0; z-index: 2; text-align: center; min-width: 38px; } .sheet th.corner { z-index: 3; }
.sheet td.num { text-align: right; font-variant-numeric: tabular-nums; }
.sheet-tabs { display: flex; gap: 2px; padding: 5px 8px; border-top: 1px solid var(--border); background: var(--panel-2); overflow-x: auto; flex: none; }
.sheet-tab { padding: 5px 13px; border-radius: 7px; font-size: 12.5px; white-space: nowrap; color: var(--muted); } .sheet-tab:hover { background: var(--hover); } .sheet-tab.on { background: var(--panel-solid); color: #34d399; font-weight: 650; box-shadow: inset 0 -2px 0 #34d399; }
.slides { max-width: 760px; margin: 0 auto; padding: 16px; display: flex; flex-direction: column; gap: 14px; }
.slide { position: relative; aspect-ratio: 16 / 9; background: #fff; color: #111827; border-radius: 10px; padding: 34px 44px; box-shadow: 0 8px 28px rgba(0,0,0,.35); overflow: auto; } .slide h3 { font-size: 22px; margin: 0 0 12px; } .slide p { margin: 0 0 7px; font-size: 15px; }
.slide-n { position: absolute; right: 12px; bottom: 9px; font-size: 12px; color: #9ca3af; }
.archive { padding-bottom: 12px; background: var(--panel-solid); min-height: 100%; } .arch-row { display: flex; align-items: center; gap: 8px; padding: 4px 12px; font-size: 13px; } .arch-row .ic { color: var(--muted); } .arch-row:hover { background: var(--hover); }
.font-view { padding: 26px 30px; background: #fff; color: #111; min-height: 100%; } .font-view p { margin: 0 0 14px; line-height: 1.25; overflow-wrap: break-word; }
.md h1, .md h2 { border-bottom: 1px solid #e5e7eb; padding-bottom: 6px; } .md ul, .md ol { padding-left: 24px; } .md img { max-width: 100%; }

/* ---------- Notepad ---------- */
.np-bar { display: flex; padding: 2px 4px; background: var(--panel-2); border-bottom: 1px solid var(--border); flex: none; }
.np-menu { padding: 5px 11px; border-radius: 6px; font-size: 13px; } .np-menu:hover { background: var(--hover); }
.np-area { flex: 1; min-height: 0; width: 100%; border: 0; outline: none; resize: none; padding: 10px 14px; background: var(--panel-solid); color: var(--text); font-family: Consolas, "Cascadia Mono", ui-monospace, Menlo, monospace; line-height: 1.5; tab-size: 4; }
.np-status { gap: 0; justify-content: flex-end; } .np-status > span { padding: 0 12px; }

/* ---------- Writer ---------- */
.ribbon { flex: none; background: linear-gradient(180deg, color-mix(in srgb, #3b82f6 9%, var(--panel-2)), var(--panel-2)); border-bottom: 1px solid var(--border); }
.ribbon-row { display: flex; align-items: center; gap: 2px; padding: 5px 8px; flex-wrap: wrap; } .ribbon-row + .ribbon-row { border-top: 1px solid var(--border); }
.ribbon .input.slim { height: 30px; padding: 3px 6px; } .ribbon .tbtn { height: 30px; min-width: 30px; }
.color-wrap { position: relative; display: inline-flex; align-items: center; } .color-btn { flex-direction: column; gap: 1px !important; padding: 0 6px !important; }
.color-bar { display: block; width: 16px; height: 3px; border-radius: 2px; } .color-input { width: 14px; height: 30px; padding: 0; border: 0; background: none; cursor: pointer; opacity: .75; }
.color-input::-webkit-color-swatch-wrapper { padding: 10px 2px; } .color-input::-webkit-color-swatch { border: 1px solid var(--border-strong); border-radius: 3px; }
.paper { flex: 1; min-height: 0; overflow: auto; background: color-mix(in srgb, var(--panel-solid) 55%, #000); padding: 24px 16px 60px; }
.page { width: 794px; max-width: 100%; min-height: 1060px; margin: 0 auto; padding: 86px 96px; background: #fff; color: #111827; box-shadow: 0 12px 44px rgba(0,0,0,.4); outline: none; font: 11pt/1.5 Calibri, "Segoe UI", Arial, sans-serif; overflow-wrap: break-word; caret-color: #111; color-scheme: light; }
.page p { margin: 0 0 8pt; } .page h1 { font-size: 18pt; margin: 14pt 0 5pt; } .page h1.doc-title { font-size: 28pt; margin: 0 0 6pt; } .page h2 { font-size: 14pt; margin: 12pt 0 5pt; } .page h3 { font-size: 12pt; margin: 10pt 0 5pt; }
.page a { color: #1d4ed8; } .page img { max-width: 100%; height: auto; } .page ::selection { background: #bfdbfe; } .page .empty { color: #6b7280; }

/* ---------- Settings and Owner Panel ---------- */
.profile { flex-direction: row !important; align-items: center !important; gap: 16px !important; } .profile .avatar.big { margin: 0; width: 60px; height: 60px; font-size: 26px; } .profile-name { font-size: 19px; font-weight: 650; }
.danger-zone { border-color: color-mix(in srgb, var(--bad) 35%, transparent); } .danger-zone .card-title { color: var(--bad); }
.usage-top { display: flex; justify-content: space-between; align-items: flex-end; width: 100%; } .usage-big { font-size: 34px; font-weight: 700; letter-spacing: -.02em; line-height: 1; } .usage-free { text-align: right; display: flex; flex-direction: column; } .usage-free b { font-size: 18px; color: var(--ok); }
.segbar.tall { height: 14px; width: 100%; border-radius: 8px; gap: 3px; } .segbar.tall i { border-radius: 4px; }
.legend { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 4px 18px; width: 100%; } .legend-row { display: flex; align-items: center; gap: 8px; font-size: 13px; padding: 3px 0; } .legend-row i { width: 10px; height: 10px; border-radius: 3px; flex: none; }
.plans { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; margin-bottom: 16px; }
.plan-card { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 18px 16px 16px; border-radius: 16px; text-align: left; background: linear-gradient(160deg, color-mix(in srgb, var(--pc, var(--accent)) 16%, var(--panel-2)), var(--panel-2) 62%); border: 1px solid color-mix(in srgb, var(--pc, var(--accent)) 30%, var(--border)); overflow: hidden; }
.plan-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--pc, var(--accent)); }
.plan-card.current { box-shadow: 0 0 0 2px var(--pc, var(--accent)), 0 10px 30px color-mix(in srgb, var(--pc, var(--accent)) 22%, transparent); }
.plan-card.add { align-items: center; justify-content: center; color: var(--muted); border-style: dashed; background: none; min-height: 150px; } .plan-card.add::before { display: none; } .plan-card.add:hover { color: var(--text); background: var(--hover); }
.plan-name { font-weight: 700; color: var(--pc, var(--accent)); display: flex; align-items: center; flex-wrap: wrap; gap: 2px; } .plan-size { font-size: 28px; font-weight: 750; letter-spacing: -.02em; } .plan-price { font-weight: 600; min-height: 20px; }
.plan-points { list-style: none; padding: 0; margin: 6px 0 0; display: grid; gap: 4px; font-size: 12.5px; color: var(--muted); } .plan-points li { display: flex; gap: 7px; align-items: center; } .plan-points .ic { color: var(--pc, var(--accent)); }
.buy-text { white-space: pre-wrap; }
.admin-page { padding-bottom: 40px; } .admin .sidebar { width: 196px; } .two.wide { grid-template-columns: 3fr 2fr; margin-bottom: 0; } .two.wide .card { margin-bottom: 14px; }
.stats { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; margin-bottom: 14px; }
.stat { text-align: left; padding: 14px 16px; border-radius: 14px; background: var(--panel-2); border: 1px solid var(--border); display: flex; flex-direction: column; gap: 4px; cursor: default; } button.stat[onclick], .stat:hover { border-color: color-mix(in srgb, var(--accent) 40%, var(--border)); }
.stat-top { display: flex; align-items: center; gap: 7px; font-size: 12px; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; } .stat-top .ic { color: var(--accent); }
.stat-value { font-size: 26px; font-weight: 720; letter-spacing: -.02em; } .stat-sub { font-size: 12px; color: var(--muted); }
.bars { display: flex; align-items: flex-end; gap: 3px; height: 110px; width: 100%; padding-top: 6px; } .bar-col { flex: 1; height: 100%; display: flex; align-items: flex-end; border-radius: 4px; background: var(--hover); } .bar-col i { display: block; width: 100%; min-height: 2px; border-radius: 4px; background: linear-gradient(180deg, var(--accent), #6366f1); }
.bars-axis { display: flex; justify-content: space-between; width: 100%; }
.plan-line { display: flex; align-items: center; gap: 9px; width: 100%; font-size: 13.5px; flex-wrap: wrap; } .plan-line > i { width: 10px; height: 10px; border-radius: 3px; } .mini-bar { flex-basis: 100%; height: 4px; border-radius: 4px; background: var(--hover); overflow: hidden; margin-bottom: 4px; } .mini-bar i { display: block; height: 100%; border-radius: 4px; }
.meters { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; width: 100%; } .meter-card { padding: 10px 12px; border-radius: 11px; background: var(--panel-solid); border: 1px solid var(--border); } .meter-top { display: flex; justify-content: space-between; font-size: 13px; }
.afield { display: flex; flex-direction: column; gap: 4px; width: 100%; margin: 4px 0; } .afield-label { font-size: 12.5px; color: var(--muted); font-weight: 600; }
.card .two { width: 100%; } .input.color { padding: 3px; height: 38px; cursor: pointer; } .pager { justify-content: center; margin-top: 14px; }
.urow.suspended { opacity: .62; } .bar.thin { height: 4px; max-width: 320px; } .user-card { display: flex; flex-direction: column; gap: 2px; margin-top: 6px; }
.code-list { width: 100%; max-height: 300px; overflow-y: auto; display: flex; flex-direction: column; gap: 2px; } .code-row { display: flex; align-items: center; gap: 12px; padding: 4px 6px; border-radius: 8px; } .code-row:hover { background: var(--hover); } .code-row.faded { opacity: .5; }
.code-text { font-weight: 600; letter-spacing: .04em; padding: 3px 8px; border-radius: 6px; background: var(--panel-solid); border: 1px solid var(--border); } .code-text:hover { border-color: var(--accent); }
.log { margin-top: 12px; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; } .log-row { display: flex; gap: 12px; padding: 7px 12px; font-size: 13px; border-bottom: 1px solid var(--border); align-items: baseline; } .log-row:last-child { border-bottom: 0; } .log-row:hover { background: var(--hover); }
.log-time { width: 82px; flex: none; color: var(--faint); font-size: 12px; } .log-ev { width: 190px; flex: none; font-weight: 600; } .log-bad .log-ev { color: var(--bad); } .log-who { width: 120px; flex: none; color: var(--accent); overflow: hidden; text-overflow: ellipsis; } .log-detail { flex: 1; min-width: 0; color: var(--muted); word-break: break-word; } .log-ip { color: var(--faint); font-size: 12px; }

/* ---------- phones ---------- */
@media (max-width: 760px) {
  :root { --bar: 58px; }
  #icons { display: grid; padding: 14px; gap: 6px; align-content: start; grid-auto-flow: row; grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); grid-auto-rows: 96px; touch-action: auto; }
  .dicon { position: static; width: auto; }
  .win, .win.maximized { left: 0 !important; top: 0 !important; width: 100% !important; height: 100% !important; border-radius: 0; border: 0; animation: none; }
  .win-btn[title="Maximize"], .rz { display: none; }
  .win-bar { height: 46px; }
  .task-title, .tray-date { display: none; } .task { padding: 0 10px; }
  .settings .sidebar, .admin .sidebar { display: flex; width: auto; flex-direction: row; overflow-x: auto; border-right: 0; border-bottom: 1px solid var(--border); flex: none; }
  .settings .side-item { flex: none; } .settings { flex-direction: column; } .settings-page { padding: 16px; }
  .navpane, .details-pane, .flist .c-date, .flist .c-type, .flist .c-share, .cmd > span:not(.ic), .auth-points { display: none; }
  .cmd { padding: 0 9px; } .cmd.accent > span:not(.ic) { display: inline; } .flist { min-width: 0; } .search-wrap { width: 120px; } .c-act.wide { width: auto; }
  .start { left: 6px; right: 6px; width: auto; } .two, .two.wide { grid-template-columns: 1fr; }
  .auth-main { padding: 20px 14px; gap: 18px; } .auth-brand { text-align: center; } .auth-logo { margin: 0 auto 12px; } .auth-tag { margin-bottom: 0; }
  .page { padding: 28px 22px; min-height: 60vh; } .doc-page { padding: 24px 20px; margin: 0; border-radius: 0; } .log-who, .log-ip { display: none; } .log-ev { width: 120px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
/* desktop labels stay white on dark wallpapers and turn dark on the one light wallpaper */
#desktop.light-wall .dicon { color: #0f172a; }
#desktop.light-wall .dicon-label { text-shadow: 0 0 6px rgba(255,255,255,.9), 0 0 2px rgba(255,255,255,.9); }

/* ---------- stats ---------- */
.auth-stats { margin-top: 22px; display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.stat-tiles { display: flex; flex-wrap: wrap; gap: 8px; }
.stat-tile { display: flex; align-items: center; gap: 7px; padding: 7px 11px; border-radius: 11px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); font-size: 12.5px; color: #a8b6cc; }
.stat-tile b { color: #f1f5f9; font-size: 14px; font-variant-numeric: tabular-nums; } .stat-tile .ic { color: var(--accent); }
.stats-app { height: 100%; overflow: auto; padding: 18px 20px; display: flex; flex-direction: column; gap: 14px; }
.stats-head { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; } .stats-head h2 { margin: 0; }
.stats-big { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.stat-card { display: flex; flex-direction: column; gap: 3px; margin: 0; } .stat-card b { font-size: 26px; font-variant-numeric: tabular-nums; line-height: 1.15; } .stat-card .pill { align-self: flex-start; margin-top: 4px; }
.stat-bars { display: flex; align-items: flex-end; gap: 3px; height: 70px; margin: 6px 0 12px; } .stat-bars i { flex: 1; border-radius: 3px 3px 0 0; min-width: 3px; opacity: .85; } .stat-bars i:hover { opacity: 1; }
.stats-table { width: 100%; border-collapse: collapse; font-size: 13.5px; font-variant-numeric: tabular-nums; }
.stats-table th { text-align: right; color: var(--muted); font-weight: 550; padding: 6px 8px; font-size: 12.5px; } .stats-table th:first-child { text-align: left; }
.stats-table td { text-align: right; padding: 8px; border-top: 1px solid var(--border); } .stats-table td:first-child { text-align: left; white-space: nowrap; }
.stats-how { margin: 0; display: grid; grid-template-columns: max-content 1fr; gap: 8px 16px; font-size: 13.5px; } .stats-how dt { font-weight: 650; } .stats-how dd { margin: 0; color: var(--muted); }
@media (max-width: 760px) { .stats-app { padding: 14px; } .stats-how { grid-template-columns: 1fr; gap: 2px; } .stats-how dd { margin-bottom: 8px; } .stats-table { font-size: 12.5px; } .auth-stats { align-items: center; } .stat-tiles { justify-content: center; } }
.stat-row { width: 100%; align-self: stretch; } .stat-bars { width: 100%; }

/* EpicUltra Account login */
.auth-sso{display:flex;flex-direction:column;gap:12px}.auth-sso h2{margin:0}.auth-sso a.btn{text-align:center;text-decoration:none;justify-content:center}

/* files on the UltraBio page */
.bio-chip{margin-left:8px;font-size:11px;font-weight:600;padding:1px 7px;border-radius:99px;background:rgba(250,204,21,.16);color:#facc15;white-space:nowrap}.tile-bio{position:absolute;left:6px;top:6px;font-size:10px;font-weight:700;padding:1px 6px;border-radius:99px;background:#facc15;color:#111}.ftile-art{position:relative}
