:root {
  --bg: #eef2f7;
  --paper: #fff;
  --ink: #152033;
  --muted: #66758a;
  --line: #e4eaf3;
  --blue: #2f5bff;
  --blue-2: #1e3a8a;
  --shadow: 0 18px 50px rgba(21,32,51,.12);
  --radius: 22px;
}
body.theme-okyanus { --bg: #e6f4f8; --paper: #f7fcff; --ink: #0f3a4a; --muted: #4a7380; --line: #c5e2ea; --blue: #0e7490; --blue-2: #155e75; }
body.theme-lavanta { --bg: #f3eef8; --paper: #fcf9ff; --ink: #3b1f54; --muted: #6b5a7a; --line: #e4d7f0; --blue: #7c3aed; --blue-2: #5b21b6; }
body.theme-seker { --bg: #fdeef3; --paper: #fff7fa; --ink: #5b1a33; --muted: #8a5a6c; --line: #f5d0dc; --blue: #db2777; --blue-2: #9d174d; }
body.theme-gunisigi { --bg: #eef2f7; --paper: #fff; --ink: #152033; --muted: #66758a; --line: #e4eaf3; --blue: #2f5bff; --blue-2: #1e3a8a; }
* { box-sizing: border-box; }
html, body { height: 100%; margin: 0; }
body {
  font-family: "Segoe UI", "Trebuchet MS", sans-serif;
  color: var(--ink);
  background: radial-gradient(1200px 500px at 80% -10%, #dbe7ff 0%, transparent 55%), linear-gradient(#f5f7fb, #e8eef7);
  overflow: hidden;
}
body.reduce-motion *, body.reduce-motion *::before, body.reduce-motion *::after,
body.motion-kapali *, body.motion-kapali *::before, body.motion-kapali *::after {
  animation: none !important;
  transition: none !important;
}
.hidden { display: none !important; }
.update-banner {
  display: flex; gap: 10px; align-items: center; justify-content: center; flex-wrap: wrap;
  padding: 8px 14px; background: #1e3a8a; color: #fff; font-size: 13px; font-weight: 650;
}
.update-banner .btn { background: #fff; color: #1e3a8a; }
.update-banner .btn.ghost { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.45); }
img { max-width: 100%; }
.gate { height: 100%; display: grid; place-items: center; text-align: center; padding: 40px; }
.gate img {
  width: 88px; height: 88px;
  background: #12203d;
  border-radius: 50%;
  box-shadow: 0 0 0 3px #e8b923, 0 0 0 6px #1a2a4d;
  object-fit: cover;
}
#app { height: 100%; display: flex; flex-direction: column; }
.top {
  display: grid; grid-template-columns: 280px 1fr auto; gap: 16px; align-items: center;
  padding: 14px 18px; background: rgba(255,255,255,.8); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.brand, .brand.mini { display: flex; gap: 10px; align-items: center; }
.brand img, .brand.mini img {
  width: 42px; height: 42px;
  background: #12203d;
  border-radius: 50%;
  box-shadow: 0 0 0 2px #e8b923, 0 0 0 4px #1a2a4d;
  object-fit: cover;
}
.brand span, .brand.mini span { display: block; color: var(--muted); font-size: 12px; }
.search input { width: 100%; border: 0; background: #f1f4fa; border-radius: 999px; padding: 12px 18px; font: inherit; }
.top-actions, .row { display: flex; gap: 8px; align-items: center; }
.who { text-align: right; line-height: 1.15; }
.who small { color: var(--muted); }
.btn, .icon-btn, .folder, .pill { font: inherit; cursor: pointer; border: 0; }
.btn { border-radius: 14px; padding: 10px 16px; font-weight: 700; }
.btn.primary { background: linear-gradient(180deg, #4f6fff, var(--blue)); color: #fff; box-shadow: 0 8px 18px rgba(47,91,255,.28); }
.btn.ghost { background: #fff; border: 1px solid var(--line); }
.btn.wide { width: 100%; }
.btn.tiny { padding: 8px 12px; font-size: 13px; }
.icon-btn { width: 40px; height: 40px; border-radius: 12px; background: #f3f6fb; }
.linkish { background: none; color: var(--muted); font-size: 12px; text-align: left; padding: 8px 4px; border: 0; cursor: pointer; }
.shell { flex: 1; min-height: 0; display: grid; grid-template-columns: 280px var(--yy-list-w, 320px) 8px 1fr; gap: 12px; padding: 12px; }
.side, .rail, .list-col, .read-col { background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow); min-height: 0; }
.rail { padding: 12px 10px 10px; display: flex; flex-direction: column; gap: 8px; width: 280px; transition: none; overflow: hidden; }
.rail-account { display: flex; gap: 10px; align-items: center; padding: 6px 8px 10px; }
.rail-avatar { width: 42px; height: 42px; border-radius: 50%; background: linear-gradient(180deg, #4f6fff, var(--blue)); color: #fff; display: grid; place-items: center; font-weight: 800; flex-shrink: 0; }
.rail-who { min-width: 0; }
.rail-who b, .rail-who small, .rail-status { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rail-who small, .rail-status { color: var(--muted); font-size: 11px; font-style: normal; }
.rail-status.ok { color: #059669; }
.compose-split { display: flex; gap: 4px; }
.compose-main { flex: 1; }
.compose-caret { width: 40px; padding: 10px 0; }
.compose-menu { display: grid; background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.compose-menu button { background: #fff; border: 0; border-bottom: 1px solid var(--line); text-align: left; padding: 9px 12px; font: inherit; cursor: pointer; }
.compose-menu button:last-child { border-bottom: 0; }
.compose-menu button:hover { background: #eef2ff; }
.rail-scroll { flex: 1; min-height: 0; overflow: auto; padding-right: 4px; }
.rail-h { margin: 12px 4px 4px; font-size: 11px; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; }
.rail-nav { display: grid; gap: 2px; }
.folder { width: 100%; text-align: left; padding: 8px 10px; border-radius: 12px; background: transparent; display: flex; justify-content: flex-start; align-items: center; gap: 8px; }
.folder .rail-ico { flex: 0 0 22px; width: 22px; display: inline-flex; justify-content: center; }
.folder span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex: 0 1 auto; min-width: 0; text-align: left; }
.folder.on { background: #eef2ff; color: var(--blue-2); font-weight: 700; }
.folder i { background: #e0e7ff; border-radius: 999px; font-style: normal; font-size: 11px; padding: 1px 7px; min-width: 18px; text-align: center; flex-shrink: 0; }
.folder > i:not(.dot) { margin-left: auto; }
.folder i:empty { display: none; }
.folder.tag { justify-content: flex-start; }
.rail-h { text-align: left; }
.folder.drop { outline: 2px dashed var(--blue); }
.dot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; flex-shrink: 0; }
.dot.red { background: #dc2626; } .dot.orange { background: #ea580c; } .dot.green { background: #16a34a; }
.dot.blue { background: #2563eb; } .dot.purple { background: #7c3aed; }
.rail-foot { border-top: 1px solid var(--line); padding-top: 8px; display: grid; gap: 6px; }
.storage { font-size: 12px; color: var(--muted); padding: 0 8px; }
.storage b { display: block; color: var(--ink); }
.rail-foot-btns { display: flex; justify-content: space-between; align-items: center; padding: 0 4px; }
body.rail-slim .rail { width: 72px; overflow-x: hidden; min-width: 0; padding: 10px 6px; }
body.rail-slim .mark { display: none; }
body.rail-slim .rail-who, body.rail-slim .rail-h, body.rail-slim .folder span, body.rail-slim .folder i:not(.dot),
body.rail-slim .compose-caret, body.rail-slim .compose-menu, body.rail-slim .linkish, body.rail-slim .storage span, body.rail-slim #btn-logout,
body.rail-slim .compose-main span, body.rail-slim .foot-ico span { display: none !important; }
body.rail-slim .compose-main { padding: 10px 0; font-size: 0; letter-spacing: 0; min-width: 0; }
body.rail-slim .compose-main::before { content: "+"; font-size: 22px; font-weight: 800; }
body.rail-slim .folder { justify-content: center; padding: 8px 0; min-width: 0; overflow: hidden; }
body.rail-slim .rail-ico { font-style: normal; font-size: 16px; line-height: 1; }
body.rail-slim .rail-ico svg, body.rail-slim .yy-i, body.rail-slim .gear-ico { display: block; width: 18px; height: 18px; }
body.rail-slim .shell { grid-template-columns: 72px var(--yy-list-w, 320px) 8px 1fr; }
body.rail-slim .top { grid-template-columns: 72px 1fr auto; }
.studio-card { width: min(720px, 96vw); }
.side { padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.side .linkish { margin-top: auto; }
.side-h { margin: 12px 0 6px; font-size: 12px; color: var(--muted); letter-spacing: .04em; text-transform: uppercase; }
.contact-list { overflow: auto; max-height: 180px; display: grid; gap: 4px; }
.contact-list button { text-align: left; background: #f8fafc; border: 0; border-radius: 10px; padding: 8px 10px; font: inherit; cursor: pointer; }
.contact-list b { display: block; font-size: 13px; }
.contact-list small { color: var(--muted); font-size: 11px; }
.mail-row { cursor: grab; }
@media (max-width: 980px) {
  .shell { grid-template-columns: 280px 1fr; }
  .read-col, .col-split { display: none; }
  body.rail-slim .shell { grid-template-columns: 72px 1fr; }
}
.list-col { overflow: hidden; display: flex; flex-direction: column; min-width: 0; }
.col-split {
  width: 8px; margin: 0 -4px; cursor: col-resize; align-self: stretch; position: relative; z-index: 4;
}
.col-split::after {
  content: ""; position: absolute; top: 14%; bottom: 14%; left: 3px; width: 2px; border-radius: 2px;
  background: #c4b5fd; opacity: .85;
}
.col-split:hover::after, body.col-resizing .col-split::after { background: #8a70ff; opacity: 1; }
body.col-resizing { cursor: col-resize; user-select: none; }
body.col-resizing iframe, body.col-resizing img { pointer-events: none; }
.list-head { padding: 16px 16px 8px; }
.list-head h2 { margin: 0 0 10px; font-size: 22px; }
.pills { display: flex; gap: 6px; }
.pill { padding: 6px 12px; border-radius: 999px; background: #f1f5f9; }
.pill.on { background: #e0e7ff; color: var(--blue-2); font-weight: 700; }
.mail-list { overflow: auto; }
.mail-row { display: grid; grid-template-columns: 42px 1fr auto; gap: 10px; padding: 12px 16px; border-top: 1px solid var(--line); cursor: grab; }
.mail-row.unread .from, .mail-row.unread .subj { font-weight: 800; }
.mail-row.active { background: #eef2ff; }
.avatar { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 800; }
.from { font-size: 14px; }
.subj, .when { color: var(--muted); font-size: 13px; }
.subj { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.read-col { overflow: auto; }
.empty-read { padding: 48px 24px; text-align: center; color: var(--muted); }
.empty-ico { font-size: 56px; line-height: 1; margin-bottom: 8px; }
.empty-read h3 { color: var(--ink); margin: 8px 0; }
.pref-check { display: flex; gap: 8px; align-items: center; margin: 10px 0; font-weight: 700; font-size: 13px; cursor: pointer; }
.read-pane { padding: 18px 20px 40px; }
.read-tools { display: flex; gap: 8px; margin-bottom: 10px; }
.read-tools button { background: #f1f5f9; border: 0; border-radius: 10px; padding: 8px 12px; font: inherit; cursor: pointer; }
.read-body { line-height: 1.65; }
.meta { display: flex; justify-content: space-between; color: var(--muted); font-size: 13px; margin-bottom: 16px; }
@keyframes ken { from { transform: scale(1.04); } to { transform: scale(1.14) translateX(-18px); } }
.login-screen { position: fixed; inset: 0; z-index: 40; display: grid; place-items: start center; align-content: start; overflow-x: hidden; overflow-y: auto; padding: 24px; background: var(--bg); }
.login-screen.hidden { display: none !important; }
.login-card { width: min(440px, 96vw); }
.modal { position: fixed; inset: 0; z-index: 40; background: rgba(15,23,42,.45); display: grid; place-items: center; padding: 20px; }
.card { width: min(460px, 96vw); background: #fff; border-radius: 24px; padding: 22px; box-shadow: var(--shadow); }
.letter-card { width: min(640px, 96vw); max-height: 92vh; overflow: auto; }
.paper-row, .emoji-row, .paper-list { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0; }
.paper-chip, .emoji-chip { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 6px 10px; font: inherit; cursor: pointer; font-size: 13px; font-weight: 700; }
.paper-chip.on { border-color: var(--blue); background: #eef2ff; }
.letter-preview { min-height: 120px; border: 1px solid var(--line); border-radius: 14px; overflow: auto; background: #f8fafc; }
.letter-preview.compact { max-height: 160px; margin: 8px 0 12px; }
.ws-tabs { display: flex; gap: 6px; padding: 10px 18px 0; }
.ws-tabs button { background: transparent; border: 0; border-bottom: 2px solid transparent; padding: 8px 12px; font: inherit; font-weight: 700; cursor: pointer; color: var(--muted); }
.ws-tabs button.on { color: var(--blue-2); border-bottom-color: var(--blue); }
.ws-grid[data-panel="rive"] { grid-template-columns: 1fr; }
.rive-steps { margin: 0; padding-left: 22px; line-height: 1.5; }
.rive-steps li { margin: 0 0 12px; }
.rive-steps strong { display: block; }
.login-card img { width: 64px; }
.login-card h2 { margin: 8px 0; }
.login-card p { color: var(--muted); }
.card label { display: block; font-size: 13px; font-weight: 700; margin: 10px 0; }
.card input, .card textarea { width: 100%; margin-top: 6px; border: 1px solid var(--line); border-radius: 12px; padding: 11px 12px; font: inherit; }
.err { color: #b91c1c; background: #fef2f2; padding: 8px 10px; border-radius: 10px; font-size: 13px; }
.workshop { position: fixed; inset: 0; z-index: 50; background: #f4f1ea url("posta/atolye.png") center/cover no-repeat; padding: 18px; }
.ws-inner { height: 100%; background: rgba(255,255,255,.88); border-radius: 28px; display: flex; flex-direction: column; overflow: hidden; }
.ws-inner > header { display: grid; grid-template-columns: 1fr auto 48px; align-items: center; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.ws-inner h1 { margin: 0; font-size: 28px; color: var(--blue-2); display: flex; align-items: center; gap: 10px; }
.gear-ico { flex-shrink: 0; display: inline-block; vertical-align: middle; }
#btn-settings-3 { display: inline-flex; align-items: center; gap: 6px; }
.ws-grid { flex: 1; min-height: 0; display: grid; grid-template-columns: 260px 1fr 280px; gap: 14px; padding: 14px; overflow: auto; }
.theme-list, .char-grid { display: grid; gap: 8px; }
.theme-card, .char-card, .sound-btn, .motion-btn,
.theme-card, .char-card, .sound-btn, .motion-btn { border: 2px solid transparent; border-radius: 14px; overflow: hidden; cursor: pointer; background: #fff; text-align: left; padding: 0; font: inherit; }
.theme-card img, .char-card img { width: 100%; height: 72px; object-fit: cover; display: block; background: #eef3fb; }
.char-card img[src$=".svg"] { object-fit: contain; padding: 4px 0; }
.theme-card span, .char-card span, .theme-card span, .char-card span { display: block; padding: 6px 8px; font-size: 13px; font-weight: 700; text-align: left; }
.theme-card.on, .char-card.on, .sound-btn.on, .motion-btn.on,
.theme-card.on, .char-card.on, .sound-btn.on, .motion-btn.on { border-color: var(--blue); box-shadow: 0 0 0 3px #dbe4ff; }
.ws-preview img { width: 100%; max-height: 520px; object-fit: cover; border-radius: 18px; }
.sound-list, .motion-list { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 12px; }
.sound-btn, .motion-btn { padding: 10px; font-weight: 700; }
.ws-inner footer { display: flex; justify-content: flex-end; gap: 8px; padding: 12px 18px; border-top: 1px solid var(--line); }
.arrival { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; background: rgba(8,12,24,.42); }
.arrival-scene, .arrival-scene { width: min(980px, 94vw); height: min(620px, 86vh); border-radius: 28px; overflow: hidden; position: relative; box-shadow: var(--shadow); }
.arrival-scene img, .arrival-scene img { width: 100%; height: 100%; object-fit: cover; animation: enter 1.15s cubic-bezier(.16,1,.3,1); }
.arrival-card, .arrival-card { position: absolute; right: 24px; bottom: 24px; width: min(340px, 80%); background: rgba(255,255,255,.94); border-radius: 20px; padding: 16px; animation: pop .45s .35s both; }
.arrival-card .row, .arrival-card .row { margin-top: 10px; }
@keyframes enter { from { transform: translate(80px, 30px) scale(.86); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes pop { from { transform: translateY(18px); opacity: 0; } to { transform: none; opacity: 1; } }
.motion-sakin .arrival-scene img, .motion-sakin .arrival-scene img { animation-duration: 2.4s; }
.motion-canli .arrival-scene img, .motion-canli .arrival-scene img { animation: enter .7s cubic-bezier(.16,1,.3,1), ken 8s linear 1s infinite alternate; }
.motion-cok .arrival-scene img, .motion-cok .arrival-scene img { animation: enter .45s cubic-bezier(.16,1,.3,1), ken 4s linear .5s infinite alternate; }
.hint { color: var(--muted); font-size: 12px; line-height: 1.45; margin: 8px 0 0; }
.arrival-stage { width: min(980px, 94vw); height: min(620px, 86vh); border-radius: 28px; overflow: hidden; position: relative; box-shadow: var(--shadow); background: radial-gradient(circle at 70% 80%, #ffe8b8 0%, #7eb6d9 42%, #1e3a5f 100%); }
.postman-track { position: absolute; inset: 0; }
.postman-walk, .postman-deliver { position: absolute; height: 92%; bottom: 0; right: 6%; width: auto; max-width: 58%; object-fit: contain; filter: drop-shadow(0 18px 24px rgba(0,0,0,.28)); }
.postman-deliver { opacity: 0; }
.arrival-stage[data-phase="enter"] .postman-walk { animation: postman-in 1.2s cubic-bezier(.16,1,.3,1) both; }
.arrival-stage[data-phase="walk"] .postman-walk, .arrival-stage[data-phase="ring"] .postman-walk { animation: postman-bob .7s ease-in-out infinite; }
.arrival-stage[data-phase="talk"] .postman-walk { animation: postman-bob .9s ease-in-out infinite; }
.arrival-stage[data-phase="present"] .postman-walk, .arrival-stage[data-phase="wait"] .postman-walk { opacity: 0; }
.arrival-stage[data-phase="present"] .postman-deliver, .arrival-stage[data-phase="wait"] .postman-deliver { opacity: 1; animation: postman-present .7s cubic-bezier(.16,1,.3,1) both; }
.speech { position: absolute; left: 28px; top: 28px; max-width: 340px; margin: 0; padding: 14px 16px; border-radius: 18px 18px 18px 4px; background: #fff; font-weight: 800; color: #243b63; box-shadow: var(--shadow); animation: pop .35s both; }
.arrival-stage .arrival-card { position: absolute; left: 24px; bottom: 24px; width: min(340px, 80%); background: rgba(255,255,255,.95); border-radius: 20px; padding: 16px; }
@keyframes postman-in { from { transform: translateX(42%) scale(.92); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes postman-bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes postman-present { from { transform: translate(24px, 12px) scale(.9); opacity: 0; } to { transform: none; opacity: 1; } }
.motion-sakin .postman-walk { animation-duration: 1.6s !important; }
.motion-canli .postman-walk, .motion-cok .postman-walk { animation-duration: .45s !important; }
.search-extra { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; font-size: 12px; color: var(--muted); padding: 0 4px 8px; }
.search-extra label { display: flex; gap: 6px; align-items: center; }
.search-extra select, .search-extra input[type="date"] { border: 1px solid var(--line); border-radius: 8px; padding: 4px 8px; font: inherit; }
.attach-preview img { max-width: 100%; max-height: 280px; border-radius: 12px; margin: 8px 0; display: block; }
.lock-screen { position: fixed; inset: 0; z-index: 80; background: rgba(26,20,51,.72); display: grid; place-items: center; }
.lock-screen.hidden { display: none !important; }
.lock-card { background: #fff; border-radius: 20px; padding: 28px; width: min(360px, 90vw); display: grid; gap: 10px; }
.lock-card input { border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; font: inherit; }
.account-list { display: grid; gap: 8px; }
.account-list button { text-align: left; border: 1px solid var(--line); background: #fff; border-radius: 12px; padding: 10px 12px; font: inherit; cursor: pointer; }
.account-list button.on { border-color: #8A70FF; background: #f3f0ff; }
.thread-n { display: inline-block; margin-left: 6px; background: #efeaff; color: #6c5ce7; border-radius: 999px; padding: 0 7px; font-size: 11px; font-weight: 800; }
.thread-toggle { position: absolute; right: 8px; top: 36px; border: 0; background: transparent; cursor: pointer; font-size: 14px; }
.thread-block { position: relative; }
.thread-child { margin-left: 18px; opacity: .92; }
body.list-compact .mail-row { padding: 6px 12px; gap: 6px; }
body.list-compact .avatar { width: 28px; height: 28px; font-size: 11px; }
body.list-compact .snip, body.list-compact .tag-pill { display: none; }
body.list-compact .from, body.list-compact .subj { font-size: 13px; }
body.list-conversation .mail-row { padding: 10px 12px; }
body.list-conversation .thread-block { position: relative; border-bottom: 1px solid var(--line); }
body.list-conversation .thread-n { display: inline-block; margin-left: 6px; font-size: 11px; font-weight: 800; color: #6c5ce7; background: #efeaff; border-radius: 999px; padding: 0 7px; }
body.list-conversation .thread-toggle { position: absolute; right: 8px; top: 14px; border: 0; background: #f3eeff; border-radius: 8px; width: 28px; height: 28px; cursor: pointer; }
body.list-conversation .thread-child { padding-left: 36px; opacity: .92; }
.thread-stack { margin: 16px 0; padding: 12px; border: 1px solid var(--line); border-radius: 14px; background: #fbfaff; display: grid; gap: 6px; }
.thread-stack.hidden { display: none !important; }
.thread-stack h4 { margin: 0 0 6px; font-size: 13px; }
.thread-link { display: grid; text-align: left; border: 0; background: #fff; border-radius: 10px; padding: 8px 10px; font: inherit; cursor: pointer; }
.thread-link small { color: var(--muted); }
.sticker-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.sticker-grid button, .card-grid button { min-width: 72px; padding: 10px; border: 1px solid var(--line); background: #fff; border-radius: 14px; font: inherit; cursor: pointer; }
.card-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.server-adv input { display: block; width: 100%; margin: 6px 0; border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; font: inherit; }
.tool-pane { padding: 10px 12px 24px; display: grid; gap: 8px; }
.tool-form { display: grid; gap: 8px; }
.tool-form input { border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; font: inherit; }
.tool-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.tool-row { display: flex; align-items: stretch; gap: 6px; border: 1px solid var(--line); background: #fff; border-radius: 12px; overflow: hidden; }
.tool-main { flex: 1; text-align: left; border: 0; background: #fff; padding: 10px 12px; font: inherit; cursor: pointer; display: grid; }
.tool-main small { color: var(--muted); }
.tool-x { border: 0; background: #f6f3ff; padding: 0 12px; cursor: pointer; font: inherit; }
.tool-row.task { align-items: center; padding: 8px 10px; }
.tool-row.task.done b { text-decoration: line-through; opacity: .6; }
.puppet-states { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0; }
.puppet-states button { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 6px 12px; font: inherit; cursor: pointer; }
.puppet-states button:hover { border-color: #8A70FF; background: #f3f0ff; }
#btn-unsub { font-weight: 700; }
body.is-web [data-native-only] { display: none !important; }
body.is-native .web-only { display: none !important; }
body.is-web .web-only { display: block; }
#btn-refresh-list { margin-left: auto; }
