/* HQ Studio — mobile-first, native-feel. Desktop gets a 3-column layout from 960px. */
:root {
  --bg: #f7f7f5; --surface: #ffffff; --surface-2: #efefec; --line: #e4e4df; --text: #141517; --muted: #6e7074; --faint: #a3a5a8;
  --accent: #ff5200; --accent-press: #e64a00; --accent-soft: #fff1ea;
  --ok: #15924b; --ok-soft: #e6f5ec; --warn: #a96a06; --warn-soft: #fdf3df; --bad: #cf3b3b; --bad-soft: #fcebeb; --info: #2463b4; --info-soft: #e9f0fa;
  --mine: #ffe9dd; --r: 14px; --tab-h: 58px;
  --st: env(safe-area-inset-top, 0px); --sb: env(safe-area-inset-bottom, 0px);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Noto Sans Bengali", "Noto Sans", sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0e0f11; --surface: #17181b; --surface-2: #212327; --line: #2b2d31; --text: #ededeb; --muted: #9b9da1; --faint: #66686c;
    --accent-soft: #3a1c0c; --ok-soft: #10281a; --warn-soft: #2e230c; --bad-soft: #321515; --info-soft: #12223a; --mine: #3a2215;
    color-scheme: dark;
  }
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; height: 100%; background: var(--bg); color: var(--text); font: 16px/1.45 var(--font); -webkit-font-smoothing: antialiased; }
body { overscroll-behavior-y: none; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
svg.i { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.muted { color: var(--muted); }
.err { color: var(--bad); margin: 0; font-size: 14px; }

/* ---------- controls ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 12px;
  border: 0; background: var(--surface-2); font-weight: 600; font-size: 15.5px; white-space: nowrap; transition: transform .08s, background .15s; }
.btn:active { transform: scale(.97); }
.btn.primary { background: var(--accent); color: #fff; }
.btn.primary:active { background: var(--accent-press); }
.btn.ok { background: var(--ok); color: #fff; }
.btn.danger { color: var(--bad); }
.btn.block { width: 100%; }
.btn.sm { min-height: 34px; padding: 0 12px; font-size: 14px; border-radius: 10px; }
.btn:disabled { opacity: .45; }
.icon-btn { width: 44px; height: 44px; display: inline-grid; place-items: center; border: 0; background: none; border-radius: 12px; color: var(--text); }
.icon-btn:active { background: var(--surface-2); }
.pill { display: inline-flex; align-items: center; gap: 5px; height: 22px; padding: 0 8px; border-radius: 6px; font-size: 12px; font-weight: 600;
  background: var(--surface-2); color: var(--muted); white-space: nowrap; }
.pill.q { background: var(--info-soft); color: var(--info); }
.pill.w { background: var(--accent-soft); color: var(--accent); }
.pill.n { background: var(--warn-soft); color: var(--warn); }
.pill.r { background: var(--ok-soft); color: var(--ok); }
.pill.a { background: var(--ok); color: #fff; }
.pill.f { background: var(--bad-soft); color: var(--bad); }
.live { width: 8px; height: 8px; border-radius: 50%; background: currentColor; animation: pulse 1.3s ease-in-out infinite; flex: none; }
@keyframes pulse { 50% { opacity: .25; transform: scale(.8); } }
.scroller { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 -16px; padding: 0 16px; }
.scroller::-webkit-scrollbar { display: none; }
.chip { flex: none; height: 38px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); font-size: 15px; font-weight: 500; }
.chip.on { background: var(--text); border-color: var(--text); color: var(--bg); }
.seg { display: flex; background: var(--surface-2); border-radius: 11px; padding: 3px; gap: 2px; }
.seg button { flex: 1; height: 32px; border: 0; border-radius: 9px; background: none; font-size: 14px; font-weight: 600; color: var(--muted); }
.seg button.on { background: var(--surface); color: var(--text); box-shadow: 0 1px 3px rgba(0,0,0,.12); }
.switch { position: relative; width: 50px; height: 30px; flex: none; }
.switch input { opacity: 0; position: absolute; inset: 0; margin: 0; z-index: 1; }
.switch span { position: absolute; inset: 0; border-radius: 99px; background: var(--line); transition: .2s; }
.switch span::after { content: ""; position: absolute; top: 2px; left: 2px; width: 26px; height: 26px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: .2s; }
.switch input:checked + span { background: var(--accent); }
.switch input:checked + span::after { transform: translateX(20px); }
input.text, select.sel, textarea.big { width: 100%; border: 1px solid var(--line); background: var(--surface); border-radius: 12px; padding: 12px 14px; font-size: 16px; }
select.sel { appearance: none; padding-right: 34px; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 18px) 52%, calc(100% - 13px) 52%; background-size: 5px 5px; background-repeat: no-repeat; }
input.text:focus, textarea:focus, select.sel:focus { outline: 2px solid var(--accent); outline-offset: -1px; border-color: transparent; }

/* ---------- login ---------- */
.login { min-height: 100dvh; display: grid; place-items: center; padding: 24px; }
.login-card { width: min(360px, 100%); display: grid; gap: 14px; justify-items: center; text-align: center; }
.login-icon { border-radius: 16px; }
.login-card h1 { margin: 0; font-size: 26px; letter-spacing: -.02em; }
.login-card p { margin: -8px 0 8px; }
.login-step { display: grid; gap: 12px; width: 100%; }
.login-step input { width: 100%; height: 52px; border: 1px solid var(--line); background: var(--surface); border-radius: 14px; padding: 0 16px; font-size: 17px; text-align: center; }
.login-step input:focus { outline: 2px solid var(--accent); outline-offset: -1px; border-color: transparent; }
.login-step input.otp { font-size: 30px; font-weight: 700; letter-spacing: .5em; text-indent: .5em; font-variant-numeric: tabular-nums; height: 64px; }
.login-links { display: flex; justify-content: space-between; }
.linkish { border: 0; background: none; color: var(--muted); font-size: 14.5px; padding: 6px 2px; }

/* ---------- app shell ---------- */
.app { height: 100dvh; display: grid; grid-template-columns: 1fr; }
.pane { height: 100dvh; overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; min-width: 0; }
.list-pane { padding-bottom: calc(var(--tab-h) + var(--sb) + 16px); }
.app[data-view="jobs"] .main-pane { display: none; }
.app:not([data-view="jobs"]) .list-pane { display: none; }
.app:not([data-view="job"]) .main-pane { padding-bottom: calc(var(--tab-h) + var(--sb) + 16px); }
.app[data-view="job"] .tabbar { display: none; }
.main-pane.enter { animation: slidein .22s cubic-bezier(.2,.8,.2,1); }
@keyframes slidein { from { transform: translateX(24px); opacity: .4; } to { transform: none; opacity: 1; } }

.tabbar { position: fixed; z-index: 20; left: 0; right: 0; bottom: 0; height: calc(var(--tab-h) + var(--sb)); padding-bottom: var(--sb);
  display: grid; grid-template-columns: repeat(4, 1fr); background: color-mix(in srgb, var(--surface) 92%, transparent);
  backdrop-filter: saturate(1.6) blur(18px); -webkit-backdrop-filter: saturate(1.6) blur(18px); border-top: 1px solid var(--line); }
.tabbar a { display: grid; justify-items: center; align-content: center; gap: 2px; font-size: 11px; font-weight: 600; color: var(--faint); position: relative; }
.tabbar a.on { color: var(--accent); }
.tabbar a .dot { position: absolute; top: 6px; left: calc(50% + 8px); min-width: 17px; height: 17px; padding: 0 5px; border-radius: 99px; background: var(--accent); color: #fff; font-size: 10.5px; display: grid; place-items: center; }

/* header bars */
.bar { position: sticky; top: 0; z-index: 10; padding: calc(var(--st) + 8px) 16px 8px; background: color-mix(in srgb, var(--bg) 90%, transparent);
  backdrop-filter: saturate(1.6) blur(18px); -webkit-backdrop-filter: saturate(1.6) blur(18px); }
.bar.line { border-bottom: 1px solid var(--line); }
.bar .row { display: flex; align-items: center; gap: 6px; min-height: 44px; }
.bar h1 { margin: 0; font-size: 30px; font-weight: 800; letter-spacing: -.025em; flex: 1; }
.bar .tt { flex: 1; min-width: 0; }
.bar .tt b { display: block; font-size: 16.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bar .tt small { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 13px; }
.content { padding: 4px 16px 24px; display: grid; gap: 14px; align-content: start; }
.section-title { margin: 10px 0 -4px; font-size: 13px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.group { background: var(--surface); border-radius: var(--r); overflow: hidden; }

/* jobs list */
.now { display: grid; grid-template-columns: 64px 1fr; gap: 12px; align-items: center; padding: 12px; background: var(--surface); border-radius: var(--r); border: 1.5px solid var(--accent); }
.now .th { width: 64px; height: 64px; }
.now .lbl { display: flex; align-items: center; gap: 6px; color: var(--accent); font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.now b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.now .act { font-size: 13.5px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.next { display: flex; gap: 10px; align-items: center; padding: 11px 14px; font-size: 15px; border-top: 1px solid var(--line); }
.next:first-child { border-top: 0; }
.next .n { width: 22px; height: 22px; border-radius: 6px; background: var(--surface-2); display: grid; place-items: center; font-size: 12px; font-weight: 700; color: var(--muted); flex: none; }
.next span.t { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.jrow { display: grid; grid-template-columns: 56px 1fr; gap: 12px; padding: 10px 14px; align-items: center; border-top: 1px solid var(--line); }
.jrow:first-child { border-top: 0; }
.jrow:active, .jrow.on { background: var(--surface-2); }
.jrow b { font-size: 15.5px; font-weight: 600; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.3; }
.jrow .meta { display: flex; align-items: center; gap: 6px; margin-top: 4px; font-size: 12.5px; color: var(--muted); flex-wrap: wrap; }
.th { width: 56px; height: 56px; border-radius: 10px; background: var(--surface-2); overflow: hidden; display: grid; place-items: center; color: var(--faint); }
.th img { width: 100%; height: 100%; object-fit: cover; }
.empty { text-align: center; padding: 40px 20px; color: var(--muted); display: grid; gap: 14px; justify-items: center; }

/* new job */
.field { display: grid; gap: 8px; }
.field > label { font-size: 13px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
textarea.big { min-height: 190px; resize: none; line-height: 1.5; }
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.tile { position: relative; aspect-ratio: 1; border-radius: 12px; background: var(--surface-2); overflow: hidden; display: grid; place-items: center; font-size: 12px; color: var(--muted); text-align: center; }
.tile img, .tile video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tile .nm { position: absolute; left: 0; right: 0; bottom: 0; padding: 4px 6px; font-size: 11px; background: linear-gradient(transparent, rgba(0,0,0,.55)); color: #fff; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tile .rm { position: absolute; top: 5px; right: 5px; width: 26px; height: 26px; border-radius: 50%; border: 0; background: rgba(0,0,0,.55); color: #fff; display: grid; place-items: center; z-index: 2; }
.tile .rm svg.i { width: 15px; height: 15px; }
.tile .prog { position: absolute; left: 8px; right: 8px; bottom: 26px; height: 4px; border-radius: 4px; background: rgba(255,255,255,.4); overflow: hidden; z-index: 2; }
.tile .prog i { display: block; height: 100%; background: #fff; }
.tile .bad { position: absolute; inset: 0; background: rgba(207,59,59,.75); color: #fff; display: grid; place-items: center; z-index: 2; font-weight: 600; }
.tiles:has(.tile:only-child) { grid-template-columns: 1fr; }
.tiles:has(.tile:only-child) .tile.add { grid-column: 1 / -1; aspect-ratio: auto; height: 92px; display: flex; justify-content: center; align-items: center; gap: 8px; font-size: 15px; }
.tile.add { border: 1.5px dashed var(--line); background: var(--surface); color: var(--accent); gap: 4px; align-content: center; font-weight: 600; }
.setting { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; background: var(--surface); border-radius: var(--r); }
.setting small { display: block; color: var(--muted); font-size: 13px; }
.group > .setting { border-radius: 0; background: transparent; min-height: 60px; }
.group > .setting + .setting { box-shadow: inset 0 .5px 0 var(--line); }
.stickybtn { position: sticky; bottom: calc(var(--tab-h) + var(--sb)); z-index: 5; margin: 0 -16px; padding: 10px 16px; background: color-mix(in srgb, var(--bg) 88%, transparent); -webkit-backdrop-filter: saturate(1.6) blur(18px); backdrop-filter: saturate(1.6) blur(18px); border-top: .5px solid var(--line); }
.stickybtn .btn { box-shadow: none; min-height: 52px; font-size: 16.5px; }

/* thread */
.thread { padding: 12px 14px 16px; display: flex; flex-direction: column; gap: 10px; }
.msg { max-width: 86%; padding: 10px 13px; border-radius: 18px; background: var(--surface); font-size: 15.5px; word-wrap: break-word; }
.msg.mine { align-self: flex-end; background: var(--mine); border-bottom-right-radius: 6px; }
.msg.theirs { align-self: flex-start; border-bottom-left-radius: 6px; }
.msg .mh { font-size: 12px; font-weight: 600; color: var(--muted); margin-bottom: 3px; }
.msg.q { background: var(--warn-soft); }
.msg.e { background: var(--bad-soft); }
.sys { align-self: center; font-size: 12.5px; color: var(--muted); text-align: center; padding: 2px 10px; }
.prog-line { align-self: flex-start; display: flex; gap: 8px; align-items: baseline; font-size: 14px; color: var(--muted); padding: 0 6px; }
.prog-line::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); flex: none; transform: translateY(-2px); }
.atts { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 6px; margin-top: 8px; }
.atts .tile { aspect-ratio: 1; }
.atts audio { width: 100%; grid-column: 1 / -1; }
.deliv { align-self: stretch; background: var(--surface); border-radius: 20px; overflow: hidden; }
.deliv .dh { display: flex; justify-content: space-between; align-items: center; padding: 12px 14px 8px; font-weight: 700; }
.deliv .dh small { font-weight: 500; color: var(--muted); font-size: 12.5px; }
.deliv .note { padding: 0 14px 10px; font-size: 15px; }
.deliv video { display: block; width: 100%; max-height: 72dvh; background: #000; object-fit: contain; }
.deliv img.still { display: block; width: 100%; }
.deliv .fileinfo { padding: 8px 14px 0; font-size: 12.5px; color: var(--muted); }
.deliv .tools { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 10px 14px 0; }
.deliv .cap { margin: 10px 14px 0; padding: 10px 12px; border-radius: 12px; background: var(--surface-2); font-size: 14.5px; white-space: pre-wrap; }
.deliv .cap .copy { float: right; margin: -2px -4px 4px 8px; }
.deliv .decide { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 12px 14px 14px; }
.deliv .done { display: flex; justify-content: space-between; align-items: center; padding: 12px 14px 14px; }
.stars { display: inline-flex; }
.stars button { width: 34px; height: 34px; border: 0; background: none; color: var(--line); padding: 0; display: grid; place-items: center; }
.stars button.on { color: #f2a516; }
.stars svg.i { width: 24px; height: 24px; fill: currentColor; stroke: none; }
.working { align-self: stretch; background: var(--surface); border-radius: 18px; padding: 13px 15px; border: 1.5px solid var(--accent); }
.working .wh { display: flex; align-items: center; gap: 8px; color: var(--accent); font-weight: 700; font-size: 15px; }
.working .steps { margin-top: 8px; display: grid; gap: 4px; font-size: 14px; }
.working .steps div { display: flex; gap: 8px; color: var(--muted); }
.working .steps div::before { content: ""; width: 14px; height: 14px; flex: none; border-radius: 50%; border: 1.5px solid var(--faint); margin-top: 3px; }
.working .steps div.completed { text-decoration: line-through; }
.working .steps div.completed::before { background: var(--ok); border-color: var(--ok); }
.working .steps div.in_progress { color: var(--text); font-weight: 600; }
.working .steps div.in_progress::before { border-color: var(--accent); border-top-color: transparent; animation: spin .9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.working .feed { margin-top: 8px; font-size: 13px; color: var(--muted); display: grid; gap: 2px; }
.working .feed div { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.queued-card { align-self: stretch; background: var(--info-soft); color: var(--info); border-radius: 18px; padding: 12px 15px; font-weight: 600; font-size: 15px; }
.composer { position: sticky; bottom: 0; z-index: 10; padding: 8px 10px calc(var(--sb) + 8px); background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: saturate(1.6) blur(18px); -webkit-backdrop-filter: saturate(1.6) blur(18px); border-top: 1px solid var(--line); }
.composer .hint { font-size: 12.5px; color: var(--muted); padding: 0 6px 6px; }
.composer .chips-row { display: flex; gap: 6px; overflow-x: auto; padding: 0 4px 8px; }
.composer .chips-row .tile { width: 64px; flex: none; }
.composer .box { display: flex; align-items: flex-end; gap: 6px; }
.composer textarea { flex: 1; min-height: 42px; max-height: 38dvh; resize: none; border: 1px solid var(--line); border-radius: 21px; padding: 9px 15px; background: var(--surface); font-size: 16px; line-height: 1.4; }
.composer textarea:focus { outline: none; border-color: var(--accent); }
.send { width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--accent); color: #fff; display: grid; place-items: center; flex: none; }
.send:disabled { background: var(--line); }
.send svg.i { width: 20px; height: 20px; stroke-width: 2.3; }

/* library */
.searchbar { position: relative; }
.searchbar svg.i { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--faint); width: 19px; height: 19px; }
.searchbar input { padding-left: 40px; background: var(--surface-2); border-color: transparent; height: 42px; }
.agrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.acard { background: var(--surface); border-radius: var(--r); overflow: hidden; text-align: left; border: 0; padding: 0; }
.acard .ath { aspect-ratio: 4 / 3; background: var(--surface-2); display: grid; place-items: center; color: var(--faint); overflow: hidden; }
.acard .ath img { width: 100%; height: 100%; object-fit: cover; }
.acard .ath.contain img { object-fit: contain; padding: 12px; }
.acard .ab { padding: 8px 10px 10px; }
.acard .ab b { display: block; font-size: 14px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.acard .ab small { display: block; color: var(--muted); font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* inbox */
.notice { background: var(--surface); border-radius: var(--r); padding: 12px 14px; font-size: 15px; }
.notice small { display: block; color: var(--muted); font-size: 12px; margin-bottom: 4px; }

/* bottom sheet */
.sheet { position: fixed; inset: 0; z-index: 40; }
.sheet-bg { position: absolute; inset: 0; background: rgba(0,0,0,.38); animation: fade .2s; }
.sheet-panel { position: absolute; left: 0; right: 0; bottom: 0; max-height: 88dvh; overflow-y: auto; background: var(--bg); border-radius: 20px 20px 0 0;
  padding: 8px 16px calc(var(--sb) + 16px); animation: up .25s cubic-bezier(.2,.8,.2,1); display: grid; gap: 12px; }
.sheet-panel::before { content: ""; justify-self: center; width: 38px; height: 5px; border-radius: 9px; background: var(--line); margin-bottom: 4px; }
.sheet-panel h3 { margin: 0; font-size: 18px; }
.sheet-panel .menu { background: var(--surface); border-radius: var(--r); overflow: hidden; }
.sheet-panel .menu button { display: flex; width: 100%; align-items: center; gap: 12px; min-height: 50px; padding: 0 16px; border: 0; border-top: 1px solid var(--line); background: none; font-size: 16px; text-align: left; }
.sheet-panel .menu button:first-child { border-top: 0; }
.sheet-panel .menu button.on { color: var(--accent); font-weight: 600; }
.sheet-panel .menu button.danger { color: var(--bad); }
.sheet-panel .preview { border-radius: var(--r); overflow: hidden; background: var(--surface-2); }
.sheet-panel .preview img, .sheet-panel .preview video { display: block; width: 100%; max-height: 50dvh; object-fit: contain; background: #000; }
@keyframes up { from { transform: translateY(100%); } }
@keyframes fade { from { opacity: 0; } }

/* toasts */
.toasts { position: fixed; z-index: 60; left: 12px; right: 12px; top: calc(var(--st) + 10px); display: grid; gap: 8px; justify-items: center; pointer-events: none; }
.toast { pointer-events: auto; max-width: 420px; width: 100%; background: var(--text); color: var(--bg); padding: 12px 14px; border-radius: 14px; font-size: 14.5px;
  box-shadow: 0 8px 28px rgba(0,0,0,.25); display: flex; justify-content: space-between; gap: 10px; align-items: center; animation: drop .25s cubic-bezier(.2,.8,.2,1); }
.toast a { color: var(--accent); font-weight: 700; flex: none; }
@keyframes drop { from { transform: translateY(-16px); opacity: 0; } }

/* ---------- desktop ---------- */
@media (min-width: 960px) {
  .app { grid-template-columns: 84px 380px 1fr; }
  .tabbar { position: static; height: 100dvh; padding: 20px 0; grid-template-columns: 1fr; grid-auto-rows: 72px; align-content: start; border-top: 0; border-right: 1px solid var(--line); }
  .tabbar a .dot { top: 8px; }
  .app .list-pane, .app[data-view="jobs"] .main-pane, .app:not([data-view="jobs"]) .list-pane { display: block; }
  .app[data-view="job"] .tabbar { display: grid; }
  .list-pane { border-right: 1px solid var(--line); padding-bottom: 24px; }
  .main-pane, .app:not([data-view="job"]) .main-pane { padding-bottom: 24px; }
  .main-pane > .narrow { max-width: 760px; margin: 0 auto; }
  .back-btn { display: none !important; }
  .stickybtn { bottom: 0; }
  .agrid { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
  .sheet-panel { left: 50%; right: auto; bottom: auto; top: 50%; width: 460px; transform: translate(-50%, -50%); border-radius: 20px; animation: fade .2s; }
  .sheet-panel::before { display: none; }
  .deliv video { max-height: 64vh; }
  .msg { max-width: 72%; }
}
