/* Painel de Redes Sociais Lumos — identidade: preto #0F0F0F, creme #F2F2E9, verde #B2FA55→#CFFC44, Manrope */
@font-face { font-family: "Manrope"; src: url("assets/fonts/Manrope-VariableFont_wght.ttf") format("truetype"); font-weight: 200 800; font-display: swap; }

:root {
  --ink: #0F0F0F; --ink-2: #2A2A28; --ink-3: #5E5E58; --ink-4: #8A8A82;
  --paper: #F2F2E9; --paper-2: #E9E9DE; --paper-3: #DDDDD0; --card: #FBFBF7;
  --lime: #B2FA55; --lime-2: #CFFC44; --lime-ink: #2F5A00;
  --warn: #FFD966; --adj: #FF8A65; --blue: #8FB3FF; --purple: #C9A6FF;
  --radius: 14px; --radius-s: 8px;
  --shadow: 0 10px 30px rgba(15,15,15,.08), 0 1px 2px rgba(15,15,15,.06);
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 40px;
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body { font-family: var(--font); background: var(--paper); color: var(--ink); -webkit-font-smoothing: antialiased; font-size: 15px; line-height: 1.45; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; }
img, video { display: block; max-width: 100%; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- Topo ---------- */
.top {
  position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: var(--s3);
  padding: 10px 20px; background: rgba(242,242,233,.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--paper-3);
}
.top .brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.top .brand img { height: 22px; }
.top .brand span { font-weight: 700; font-size: 13px; letter-spacing: .02em; color: var(--ink-3); }
.top .crumbs { display: flex; align-items: center; gap: 6px; color: var(--ink-3); font-size: 13px; min-width: 0; }
.top .crumbs a { text-decoration: none; color: var(--ink-3); } .top .crumbs a:hover { color: var(--ink); }
.top .crumbs b { color: var(--ink); font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.top .spacer { flex: 1; }
.top .user { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-3); }
.top .user .av { width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: var(--lime); display: grid; place-items: center; font-weight: 800; font-size: 12px; }

.btn { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; font-weight: 700; font-size: 13px; background: var(--paper-2); color: var(--ink); transition: background .15s, transform .05s; white-space: nowrap; }
.btn:hover { background: var(--paper-3); } .btn:active { transform: translateY(1px); }
.btn.primary { background: var(--ink); color: var(--lime); } .btn.primary:hover { background: #000; }
.btn.lime { background: var(--lime); color: var(--ink); } .btn.lime:hover { background: var(--lime-2); }
.btn.ghost { background: transparent; border: 1px solid var(--paper-3); } .btn.ghost:hover { background: var(--paper-2); }
.btn.sm { padding: 6px 10px; font-size: 12px; }
.btn.icon { padding: 8px; border-radius: 50%; width: 36px; height: 36px; justify-content: center; }
.btn[disabled] { opacity: .45; cursor: default; }
.btn svg { width: 16px; height: 16px; }

.chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 6px; font-size: 11.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; background: var(--paper-2); color: var(--ink-2); white-space: nowrap; }
.chip.pink { background: #C979A3; color: #fff; }         /* Instagram, como no PPT atual */
.chip.blue { background: #2C64B8; color: #fff; }         /* LinkedIn / Facebook */
.chip.green { background: #2FB36A; color: #fff; }        /* WhatsApp */
.chip.dark { background: var(--ink); color: var(--lime); }
.chip.ver { background: var(--ink); color: var(--lime); }
.chip .dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }

/* ---------- Páginas ---------- */
.page { padding: var(--s5) 20px var(--s6); max-width: 1440px; margin: 0 auto; }
.page h1 { font-size: 28px; letter-spacing: -.02em; margin: 0 0 var(--s2); font-weight: 800; }
.page .lead { color: var(--ink-3); margin: 0 0 var(--s5); }
.grid { display: grid; gap: var(--s4); grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: var(--s4); }
.client-card { display: flex; flex-direction: column; gap: var(--s3); min-height: 180px; text-decoration: none; }
.client-card .logo { height: 48px; display: flex; align-items: center; } .client-card .logo img { max-height: 48px; max-width: 160px; }
.client-card h3 { margin: 0; font-size: 17px; } .client-card .sub { color: var(--ink-4); font-size: 13px; }
.client-card .months { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.client-card .months a { text-decoration: none; font-size: 12px; font-weight: 700; padding: 5px 9px; border-radius: 6px; background: var(--paper-2); }
.client-card .months a.live { background: var(--lime); }
.empty { color: var(--ink-4); font-size: 13px; }

/* ---------- Mês ---------- */
.month-head { display: flex; align-items: flex-end; gap: var(--s4); flex-wrap: wrap; margin-bottom: var(--s5); }
.month-head .title h1 { margin: 0; } .month-head .title .sub { color: var(--ink-3); }
.month-head .actions { margin-left: auto; display: flex; gap: 8px; flex-wrap: wrap; }
.tabs { display: inline-flex; background: var(--paper-2); border-radius: 999px; padding: 3px; }
.tabs button { padding: 7px 14px; border-radius: 999px; font-weight: 700; font-size: 13px; color: var(--ink-3); }
.tabs button.on { background: var(--ink); color: var(--lime); }
.summary { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: var(--s4); }
.summary .pill { display: inline-flex; gap: 8px; align-items: center; padding: 6px 10px; border-radius: 999px; background: var(--card); box-shadow: var(--shadow); font-size: 12.5px; font-weight: 700; }
.summary .pill i { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }

/* Capa */
.cover { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--ink); color: var(--paper); min-height: 320px; padding: 36px; display: flex; flex-direction: column; justify-content: space-between; margin-bottom: var(--s5); box-shadow: var(--shadow); }
.cover .logos { display: flex; align-items: center; gap: 28px; }
.cover .logos img { height: 34px; } .cover .logos .client { height: 40px; padding: 8px 14px; background: rgba(242,242,233,.95); border-radius: 8px; }
.cover .logos .client img { height: 24px; }
.cover .kicker { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--paper); opacity: .8; }
.cover h2 { margin: 2px 0 0; font-size: clamp(28px, 4vw, 44px); color: var(--lime); letter-spacing: -.02em; font-weight: 800; }
.cover .arrow { position: absolute; right: -4%; top: -20%; width: 48%; max-width: 560px; opacity: .95; pointer-events: none; }
.cover .meta { display: flex; gap: 18px; flex-wrap: wrap; font-size: 13px; opacity: .75; margin-top: 10px; }

/* Calendário */
.cal { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: var(--s4); margin-bottom: var(--s5); }
.cal .head { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; margin-bottom: 6px; }
.cal .head div { font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-4); padding: 0 6px; }
.cal .body { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.cal .day { min-height: 84px; border-radius: 10px; background: var(--paper); padding: 6px; display: flex; flex-direction: column; gap: 4px; }
.cal .day.off { background: transparent; } .cal .day.wk { background: var(--paper-2); }
.cal .day .n { font-size: 12px; font-weight: 800; color: var(--ink-3); }
.cal .day.today .n { color: var(--lime-ink); }
.cal .ev { display: flex; gap: 6px; align-items: center; text-align: left; font-size: 11.5px; line-height: 1.25; padding: 4px 6px; border-radius: 6px; background: var(--lime); color: var(--ink); font-weight: 600; border-left: 3px solid transparent; }
.cal .ev:hover { background: var(--lime-2); }
.cal .ev .f { font-size: 10px; font-weight: 800; opacity: .7; text-transform: uppercase; letter-spacing: .04em; }
.cal .ev.noart { background: var(--paper-3); color: var(--ink-3); }
.cal .ev .tt { overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }

/* Grade de posts */
.posts { display: grid; gap: var(--s4); grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.post-card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; text-align: left; display: flex; flex-direction: column; transition: transform .12s; }
.post-card:hover { transform: translateY(-2px); }
.post-card .thumb { position: relative; aspect-ratio: 4/5; background: var(--paper-2); overflow: hidden; }
.post-card .thumb img, .post-card .thumb video { width: 100%; height: 100%; object-fit: cover; }
.post-card .thumb.story { aspect-ratio: 4/5; } .post-card .thumb.story img { object-fit: contain; background: var(--ink); }
.post-card .thumb .ph { position: absolute; inset: 0; display: grid; place-items: center; color: var(--ink-4); font-size: 12px; font-weight: 700; text-align: center; padding: 20px; }
.post-card .thumb .count { position: absolute; right: 8px; top: 8px; background: rgba(15,15,15,.8); color: #fff; font-size: 11px; font-weight: 800; padding: 3px 7px; border-radius: 6px; }
.post-card .thumb .play { position: absolute; left: 8px; top: 8px; background: rgba(15,15,15,.8); color: #fff; font-size: 11px; font-weight: 800; padding: 3px 7px; border-radius: 6px; }
.post-card .thumb .ver { position: absolute; left: 8px; bottom: 8px; background: var(--ink); color: var(--lime); font-size: 11px; font-weight: 800; padding: 3px 7px; border-radius: 6px; }
.post-card .thumb .cm { position: absolute; right: 8px; bottom: 8px; background: var(--card); color: var(--ink); font-size: 11px; font-weight: 800; padding: 3px 7px; border-radius: 6px; display: flex; gap: 4px; align-items: center; }
.post-card .body { padding: 12px 12px 14px; display: flex; flex-direction: column; gap: 6px; }
.post-card .row { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.post-card .date { font-weight: 800; font-size: 13px; } .post-card .fmt { color: var(--ink-4); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.post-card h4 { margin: 0; font-size: 14px; line-height: 1.3; font-weight: 700; }
.status { display: inline-flex; align-items: center; gap: 6px; padding: 4px 9px; border-radius: 6px; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); }
.status.dark { color: var(--lime); }

/* ---------- Apresentação (um post por tela) ---------- */
.deck { display: grid; grid-template-columns: 240px 1fr; gap: var(--s4); align-items: start; }
.deck .side { position: sticky; top: 70px; background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 8px; max-height: calc(100vh - 90px); overflow: auto; }
.deck .side button { width: 100%; display: flex; gap: 10px; align-items: center; padding: 8px; border-radius: 10px; text-align: left; }
.deck .side button:hover { background: var(--paper); } .deck .side button.on { background: var(--ink); color: var(--paper); }
.deck .side button .mini { width: 34px; height: 42px; border-radius: 5px; object-fit: cover; background: var(--paper-2); flex: none; }
.deck .side button .t { min-width: 0; } .deck .side button .t b { display: block; font-size: 12px; }
.deck .side button .t span { display: block; font-size: 11.5px; opacity: .75; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.deck .side button .st { width: 8px; height: 8px; border-radius: 50%; flex: none; margin-left: auto; }

.slide { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.slide .bar { display: flex; align-items: center; gap: 10px; padding: 12px 18px; border-bottom: 1px solid var(--paper-3); flex-wrap: wrap; }
.slide .bar .date { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 15px; }
.slide .bar .date svg { width: 20px; height: 20px; }
.slide .bar .spacer { flex: 1; }
.slide .bar .nav { display: flex; gap: 4px; }
.slide .body { display: grid; grid-template-columns: minmax(280px, 1fr) minmax(300px, 1fr); gap: var(--s5); padding: var(--s5); }
.slide .media { display: flex; flex-direction: column; gap: 10px; align-items: center; }
.viewer { position: relative; width: 100%; display: flex; justify-content: center; }
.viewer .frame { position: relative; border-radius: 10px; overflow: hidden; background: var(--paper-2); box-shadow: 0 8px 28px rgba(15,15,15,.14); }
.viewer .frame.r45 { aspect-ratio: 4/5; width: min(100%, 440px); }
.viewer .frame.r11 { aspect-ratio: 1/1; width: min(100%, 440px); }
.viewer .frame.r916 { aspect-ratio: 9/16; width: min(100%, 320px); background: var(--ink); }
.viewer .frame.r169 { aspect-ratio: 16/9; width: 100%; }
.viewer .frame img, .viewer .frame video, .viewer .frame iframe { width: 100%; height: 100%; object-fit: contain; border: 0; }
.viewer .frame .ph { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; color: var(--ink-4); font-weight: 700; padding: 24px; }
.viewer .arr { position: absolute; top: 50%; transform: translateY(-50%); width: 38px; height: 38px; border-radius: 50%; background: rgba(251,251,247,.92); box-shadow: var(--shadow); display: grid; place-items: center; }
.viewer .arr.l { left: 6px; } .viewer .arr.r { right: 6px; } .viewer .arr svg { width: 18px; height: 18px; }
.viewer .idx { position: absolute; top: 10px; right: 10px; background: rgba(15,15,15,.75); color: #fff; font-size: 11px; font-weight: 800; padding: 3px 8px; border-radius: 6px; }
.strip { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; }
.strip button { width: 48px; height: 60px; border-radius: 6px; overflow: hidden; border: 2px solid transparent; background: var(--paper-2); position: relative; padding: 0; }
.strip button img { width: 100%; height: 100%; object-fit: cover; }
.strip button.on { border-color: var(--ink); }
.strip button .cm { position: absolute; right: 2px; top: 2px; width: 14px; height: 14px; border-radius: 50%; background: var(--adj); color: #fff; font-size: 9px; font-weight: 800; display: grid; place-items: center; }
.cardtext { width: 100%; max-width: 440px; background: var(--paper); border-radius: 10px; padding: 10px 12px; font-size: 13px; color: var(--ink-2); white-space: pre-wrap; }
.cardtext b { display: block; font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-4); margin-bottom: 4px; }

.slide .text { display: flex; flex-direction: column; gap: var(--s4); min-width: 0; }
.fmt-block { background: var(--lime); border-radius: 10px; padding: 12px 16px; }
.fmt-block .k { font-weight: 800; font-size: 15px; letter-spacing: .02em; text-transform: uppercase; }
.fmt-block .k small { font-size: 10.5px; margin-left: 8px; letter-spacing: .1em; color: var(--lime-ink); }
.fmt-block .t { font-size: 13px; font-weight: 700; color: var(--ink-2); text-transform: uppercase; letter-spacing: .02em; }
.caption { white-space: pre-wrap; font-size: 15px; line-height: 1.55; color: var(--ink); }
.caption.edit { outline: 2px dashed var(--ink-4); border-radius: 8px; padding: 8px; background: #fff; }
.text .tools { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.text .src { font-size: 12px; color: var(--ink-4); }
.text .src.manual { color: var(--adj); font-weight: 700; }
.link-btn { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 10px; background: var(--ink); color: var(--lime); font-weight: 800; letter-spacing: .04em; text-decoration: none; }
.link-btn.off { background: var(--paper-2); color: var(--ink-4); pointer-events: none; }
.link-btn svg { width: 16px; height: 16px; }
.arttext { background: var(--paper); border-radius: 10px; padding: 12px 14px; font-size: 13.5px; white-space: pre-wrap; color: var(--ink-2); }
.arttext h5 { margin: 0 0 6px; font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-4); }
.arttext .sc { display: grid; grid-template-columns: 70px 1fr; gap: 6px 10px; }
.arttext .sc span:first-child { font-weight: 800; color: var(--ink-4); font-size: 12px; }

/* Dropdowns */
.dd { position: relative; }
.dd > button { display: inline-flex; align-items: center; gap: 8px; padding: 6px 10px 6px 12px; border-radius: 6px; font-size: 11.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.dd > button svg { width: 14px; height: 14px; }
.dd .menu { position: absolute; right: 0; top: calc(100% + 6px); background: var(--card); border-radius: 10px; box-shadow: 0 14px 40px rgba(15,15,15,.18); padding: 6px; min-width: 200px; z-index: 30; display: none; }
.dd.open .menu { display: block; }
.dd .menu button { width: 100%; text-align: left; display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 8px; font-size: 13px; font-weight: 600; }
.dd .menu button:hover { background: var(--paper); } .dd .menu button.on { font-weight: 800; }
.dd .menu button i { width: 10px; height: 10px; border-radius: 50%; display: inline-block; flex: none; }
.dd .menu .hint { font-size: 11px; color: var(--ink-4); padding: 6px 10px 2px; }

/* Gaveta lateral (comentários / histórico) */
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(420px, 100vw); background: var(--card); box-shadow: -20px 0 60px rgba(15,15,15,.18); z-index: 40; transform: translateX(100%); transition: transform .2s; display: flex; flex-direction: column; }
.drawer.open { transform: none; }
.drawer .dh { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-bottom: 1px solid var(--paper-3); }
.drawer .dh h3 { margin: 0; font-size: 15px; flex: 1; }
.drawer .db { flex: 1; overflow: auto; padding: 14px 16px; display: flex; flex-direction: column; gap: 12px; }
.drawer .df { border-top: 1px solid var(--paper-3); padding: 12px 16px; display: flex; flex-direction: column; gap: 8px; }
.cmt { display: flex; flex-direction: column; gap: 4px; padding: 10px 12px; border-radius: 10px; background: var(--paper); }
.cmt.team { background: #EEF6E0; } .cmt.resolved { opacity: .55; }
.cmt .who { display: flex; gap: 8px; align-items: center; font-size: 12px; color: var(--ink-3); }
.cmt .who b { color: var(--ink); } .cmt .who .tag { font-size: 10px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 2px 6px; border-radius: 4px; background: var(--paper-3); }
.cmt .who .tag.v { background: var(--ink); color: var(--lime); }
.cmt .body { white-space: pre-wrap; font-size: 14px; }
.cmt .act { display: flex; gap: 8px; margin-top: 4px; }
.cmt .act button { font-size: 12px; font-weight: 700; color: var(--ink-3); padding: 2px 0; } .cmt .act button:hover { color: var(--ink); }
.field { display: flex; flex-direction: column; gap: 4px; }
.field label { font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-4); }
.field input, .field textarea, .field select { border: 1px solid var(--paper-3); border-radius: 8px; padding: 9px 11px; background: #fff; font-size: 14px; }
.field textarea { min-height: 80px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: 2px solid var(--lime); border-color: transparent; }
.scope { display: flex; gap: 6px; flex-wrap: wrap; } .scope button { font-size: 12px; font-weight: 700; padding: 5px 9px; border-radius: 999px; background: var(--paper-2); } .scope button.on { background: var(--ink); color: var(--lime); }
.logrow { display: grid; grid-template-columns: 112px 1fr; gap: 10px; font-size: 13px; padding: 8px 0; border-bottom: 1px solid var(--paper-2); }
.logrow time { color: var(--ink-4); font-size: 12px; } .logrow b { font-weight: 800; }
.logrow .a { display: inline-block; font-size: 10px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 2px 6px; border-radius: 4px; background: var(--paper-2); margin-right: 6px; }

/* Cliente: barra de decisão */
.decide { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; padding: 12px 16px; background: var(--paper); border-radius: 10px; }
.decide .msg { font-size: 13px; color: var(--ink-3); flex: 1; min-width: 180px; }

/* Configurações */
.settings { display: grid; gap: var(--s4); grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.strow { display: grid; grid-template-columns: 28px 1fr 100px 60px 32px; gap: 8px; align-items: center; padding: 6px 0; border-bottom: 1px solid var(--paper-2); }
.strow input[type=text] { border: 1px solid var(--paper-3); border-radius: 6px; padding: 6px 8px; }
.strow input[type=color] { width: 100%; height: 30px; border: 0; background: none; padding: 0; }
.strow .h { font-size: 10.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-4); }

/* Toast / modal */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 999px; font-size: 13px; font-weight: 700; z-index: 60; box-shadow: var(--shadow); }
.overlay { position: fixed; inset: 0; background: rgba(15,15,15,.45); z-index: 50; display: grid; place-items: center; padding: 20px; }
.modal { background: var(--card); border-radius: var(--radius); padding: 20px; width: min(520px, 100%); display: flex; flex-direction: column; gap: 12px; box-shadow: 0 30px 80px rgba(0,0,0,.3); }
.modal h3 { margin: 0; font-size: 17px; } .modal .acts { display: flex; gap: 8px; justify-content: flex-end; }
.lightbox { position: fixed; inset: 0; background: rgba(15,15,15,.92); z-index: 70; display: grid; place-items: center; }
.lightbox img, .lightbox video { max-width: 94vw; max-height: 92vh; object-fit: contain; }
.lightbox button { position: absolute; top: 14px; right: 14px; color: #fff; font-size: 28px; }

/* Rodapé de slide (cliente) */
.foot { display: flex; align-items: center; justify-content: space-between; padding: 12px 18px; border-top: 1px solid var(--paper-3); font-size: 12px; color: var(--ink-4); }
.foot img { height: 16px; opacity: .8; }

@media (max-width: 980px) {
  .deck { grid-template-columns: 1fr; } .deck .side { position: static; max-height: 180px; display: flex; gap: 6px; overflow-x: auto; }
  .deck .side button { width: auto; flex: none; } .deck .side button .t span { display: none; }
  .slide .body { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .top { padding: 8px 12px; } .page { padding: var(--s4) 12px var(--s6); }
  .cover { padding: 22px; min-height: 240px; } .cover .arrow { display: none; }
  .cal .day { min-height: 54px; } .cal .ev .tt { display: none; }
  .slide .body { padding: var(--s4); }
}
@media (max-width: 640px) {
  .top .brand span, .top .user { display: none; }
  .top .crumbs { font-size: 12px; } .toast { bottom: 12px; max-width: 92vw; text-align: center; }
}
