/* ================= Màu sắc (sáng / tối) ================= */
:root {
  --bg: #faf5ec;
  --surface: #fffaf2;
  --text: #2b1d14;
  --muted: #7a6656;
  --accent: #b8541f;
  --accent-2: #d9a441;
  --line: #ead9c3;
  --shadow: 0 6px 24px rgba(80, 40, 10, 0.08);
  --on-accent: #fff;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #17110c; --surface: #221a13; --text: #f2e6d6; --muted: #b09a85;
    --accent: #e0803f; --accent-2: #e6b85a; --line: #3a2d21; --shadow: 0 6px 24px rgba(0, 0, 0, 0.4);
    --on-accent: #1a0f08;
  }
}
:root[data-theme="dark"] {
  --bg: #17110c; --surface: #221a13; --text: #f2e6d6; --muted: #b09a85;
  --accent: #e0803f; --accent-2: #e6b85a; --line: #3a2d21; --shadow: 0 6px 24px rgba(0, 0, 0, 0.4);
  --on-accent: #1a0f08;
}

/* ================= Nền tảng ================= */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: "Be Vietnam Pro", system-ui, sans-serif; line-height: 1.6;
  overflow-x: hidden;
}
a { color: var(--accent); text-decoration: none; }
h1, h2, h3 { font-family: "Noto Serif", serif; line-height: 1.3; }
h1 { font-size: clamp(1.6rem, 4vw, 2.4rem); margin: .3em 0; }
h3 { margin: 1.2em 0 .5em; font-size: 1rem; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.center { text-align: center; }
.row { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: 16px 0; }
[hidden] { display: none !important; }
main:focus { outline: none; }
select, input, textarea, button { font: inherit; }
select, input[type=search], input:not([type]), textarea {
  color: var(--text); background: var(--surface); border: 1px solid var(--line);
  border-radius: 12px; padding: 10px 12px; max-width: 100%;
}
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ================= Thanh trên ================= */
.topbar {
  position: sticky; top: 0; z-index: 10;
  display: flex; justify-content: space-between; align-items: center; gap: 8px 16px; flex-wrap: wrap;
  padding: 10px 16px;
  background: color-mix(in srgb, var(--bg) 90%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.brand { font-family: "Noto Serif", serif; font-weight: 700; font-size: 1.15rem; color: var(--text); white-space: nowrap; }
.topbar nav { display: flex; gap: 4px; overflow-x: auto; max-width: 100%; scrollbar-width: none; }
.topbar nav a { color: var(--muted); font-weight: 500; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.topbar nav a:hover { color: var(--accent); }
.topbar nav a.active { color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, transparent); }

main { max-width: 1040px; margin: 0 auto; padding: 20px 16px 48px; min-height: 70vh; }
.footer { text-align: center; color: var(--muted); font-size: .9rem; padding: 24px 16px; border-top: 1px solid var(--line); }

/* ================= Nút ================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  border: 1px solid transparent; cursor: pointer; font-weight: 500;
  background: var(--accent); color: var(--on-accent); padding: 10px 22px; border-radius: 999px;
  transition: filter .15s, transform .15s;
}
.btn:hover { filter: brightness(1.08); }
.btn:active { transform: scale(.97); }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn.ghost { background: transparent; color: var(--accent); border-color: var(--accent); }
.btn.small { padding: 6px 14px; font-size: .85rem; }
.btn.big { padding: 14px 32px; font-size: 1.05rem; margin-top: 20px; }
.back { display: inline-block; margin-bottom: 8px; color: var(--muted); }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill {
  border: 1px solid var(--line); background: var(--surface); color: var(--text);
  padding: 6px 14px; border-radius: 999px; cursor: pointer;
}
.pill.on { border-color: var(--accent); color: var(--accent); font-weight: 500; background: color-mix(in srgb, var(--accent) 8%, var(--surface)); }

/* ================= Trang chủ ================= */
.hero { text-align: center; padding: 16px 0 24px; }
.hero p { color: var(--muted); max-width: 560px; margin: 0 auto; }
.hero .streak { color: var(--accent); font-weight: 500; margin-top: 8px; }
.verse-day {
  max-width: 720px; margin: 0 auto 24px; padding: 20px 24px; text-align: center;
  background: var(--surface); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow);
}
.verse-day small { text-transform: uppercase; letter-spacing: .1em; color: var(--accent); font-weight: 500; font-size: .75rem; }
.verse-day blockquote { font-family: "Noto Serif", serif; font-size: 1.2rem; font-style: italic; margin: 10px 0; }
.verse-day cite { color: var(--muted); font-size: .85rem; font-style: normal; }
.quick { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-bottom: 32px; }
.quick-item {
  display: flex; align-items: center; gap: 10px; padding: 14px 16px; font-size: 1.4rem;
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px; color: var(--text);
}
.quick-item span { font-size: .95rem; font-weight: 500; }
.quick-item:hover { border-color: var(--accent); }
.section-title { font-size: 1.3rem; margin: 8px 0 16px; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: 16px; overflow: hidden;
  color: var(--text); box-shadow: var(--shadow); transition: transform .2s;
}
.card:hover { transform: translateY(-4px); }
.art { display: block; width: 100%; height: auto; }
.card-body { padding: 14px 16px 18px; }
.card-body h3 { margin: 0; font-size: 1.15rem; }
.card-body small { color: var(--accent); font-weight: 500; }
.card-body p { margin: 6px 0 0; color: var(--muted); font-size: .92rem; }

/* ================= Trang chùa ================= */
.temple { max-width: 760px; margin: 0 auto; }
.temple-head { text-align: center; margin-bottom: 12px; }
.temple-head h1 { margin-bottom: 0; }
.temple-art { max-width: 560px; margin: 0 auto; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); }
.history { margin: 8px 0; }

/* Chánh điện */
.hall { position: relative; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); background: #2a170d; transition: filter .6s; }
.hall svg { display: block; width: 100%; height: auto; }
.hall.dim { filter: brightness(.55) saturate(.8); }
.flame { transform-origin: center bottom; animation: flicker 1.6s ease-in-out infinite alternate; }
.flame.b { animation-delay: -.8s; }
@keyframes flicker { 0% { transform: scaleY(1) translateX(0); opacity: .95; } 50% { transform: scaleY(1.12) translateX(.4px); } 100% { transform: scaleY(.92) translateX(-.4px); opacity: .85; } }
.halo { animation: halo 6s ease-in-out infinite; transform-origin: 200px 128px; }
@keyframes halo { 50% { opacity: .75; transform: scale(1.04); } }
.sticks { position: absolute; left: 45%; width: 10%; bottom: 26.5%; height: 22%; pointer-events: none; }
.stick { position: absolute; bottom: 0; width: 2px; height: 100%; background: linear-gradient(#c0542a, #6d2a12); border-radius: 1px; animation: burn 180s linear forwards; }
.stick::before { content: ""; position: absolute; top: -2px; left: -1.5px; width: 5px; height: 5px; border-radius: 50%; background: #ffb057; box-shadow: 0 0 8px 2px #ff8a2a; }
.stick::after {
  content: ""; position: absolute; left: -8px; bottom: 100%; width: 18px; height: 70px;
  background: radial-gradient(ellipse at bottom, rgba(255, 255, 255, .5), transparent 70%);
  filter: blur(3px); animation: smoke 3.5s ease-out infinite;
}
@keyframes smoke { 0% { opacity: 0; transform: translateY(10px) scaleX(.6); } 30% { opacity: .9; } 100% { opacity: 0; transform: translateY(-50px) scaleX(1.8) rotate(10deg); } }
@keyframes burn { to { height: 25%; } }
.hall-overlay {
  position: absolute; inset: 0; display: grid; place-content: center; text-align: center; gap: 8px;
  color: #fff4dc; text-shadow: 0 2px 12px rgba(0, 0, 0, .7); font-family: "Noto Serif", serif; pointer-events: none;
}
.hall-overlay .big { font-size: clamp(1.2rem, 3.5vw, 1.8rem); }
.hall-overlay .mini-timer { font-size: 1rem; font-variant-numeric: tabular-nums; opacity: .9; }
.wish { position: absolute; left: 50%; bottom: 50%; transform: translateX(-50%); max-width: 70%; color: #fff4dc; font-family: "Noto Serif", serif; font-style: italic; text-shadow: 0 2px 10px #000; animation: rise 6s ease-out forwards; pointer-events: none; text-align: center; }
@keyframes rise { 0% { opacity: 0; transform: translate(-50%, 20px); } 20% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, -90px); } }
.breath-ring { width: 90px; height: 90px; margin: 0 auto; border-radius: 50%; border: 2px solid rgba(255, 228, 170, .8); box-shadow: 0 0 30px rgba(255, 200, 120, .5); animation: breathe 8s ease-in-out infinite; }

/* 3 việc chính */
.acts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 16px 0 12px; }
.act {
  display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 14px 6px; cursor: pointer;
  background: var(--surface); color: var(--text); border: 1px solid var(--line); border-radius: 16px; font-weight: 500;
}
.act span { font-size: 1.8rem; }
.act small { color: var(--muted); font-weight: 400; font-size: .8rem; }
.act.on { border-color: var(--accent); color: var(--accent); box-shadow: 0 0 0 2px color-mix(in srgb, var(--accent) 22%, transparent); }
.act-panel { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 16px; text-align: center; }
.act-panel p { margin: 4px 0 12px; }
.act-panel textarea { width: 100%; margin: 6px 0 10px; }
.act-panel .pills { justify-content: center; margin-bottom: 12px; }
.bow-steps { display: flex; justify-content: center; gap: 8px; margin: 8px 0 12px; }
.bow-steps i { width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--accent); }
.bow-steps i.done { background: var(--accent); }
.counts { display: flex; justify-content: center; gap: 18px; flex-wrap: wrap; color: var(--muted); font-size: .85rem; margin-top: 10px; }
.more { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 20px 0; }
.sources { font-size: .85rem; color: var(--muted); border-top: 1px dashed var(--line); margin-top: 12px; padding-top: 8px; }
.sources ul { margin: 4px 0 0; padding-left: 18px; }
.sources a { overflow-wrap: anywhere; }
@media (max-width: 480px) { .act small { display: none; } }

.choices { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.choice {
  display: flex; flex-direction: column; gap: 4px; align-items: center;
  padding: 22px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px;
  color: var(--text); box-shadow: var(--shadow); transition: border-color .2s, transform .2s;
}
.choice:hover { border-color: var(--accent); transform: translateY(-3px); }
.choice span { font-size: 2.2rem; }
.choice small { color: var(--muted); }

/* ================= Thiền ================= */
.meditate { max-width: 640px; margin: 0 auto; }
.meditate h1, #session, .done { text-align: center; }
.guides { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 10px; }
.guide {
  display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 14px 8px; cursor: pointer;
  background: var(--surface); color: var(--text); border: 1px solid var(--line); border-radius: 14px; font-weight: 500;
}
.guide span { font-size: 1.8rem; }
.guide.on { border-color: var(--accent); color: var(--accent); box-shadow: 0 0 0 2px color-mix(in srgb, var(--accent) 25%, transparent); }
.volume { display: flex; align-items: center; gap: 10px; margin-top: 12px; font-size: .95rem; }
.volume input { flex: 1; max-width: 240px; accent-color: var(--accent); }
.toggles { display: flex; flex-direction: column; gap: 6px; margin-top: 16px; }
.toggles input, .inline input { accent-color: var(--accent); }
#setup .btn.big { display: flex; margin: 24px auto 0; }
.breath {
  width: 220px; height: 220px; margin: 24px auto; border-radius: 50%;
  display: grid; place-items: center; color: #fff; font-weight: 500; font-size: 1.1rem;
  background: radial-gradient(circle, var(--accent-2), var(--accent));
  box-shadow: 0 0 60px color-mix(in srgb, var(--accent-2) 50%, transparent);
  transform: scale(.7);
}
.breath.run { animation: breathe 8s ease-in-out infinite; }
@keyframes breathe { 0%, 100% { transform: scale(.7); } 50% { transform: scale(1); } }
.timer { font-size: 2.8rem; font-family: "Noto Serif", serif; font-variant-numeric: tabular-nums; }
.guide-text { font-family: "Noto Serif", serif; font-size: 1.1rem; min-height: 3.2em; max-width: 480px; margin: 8px auto; }
.lotus { font-size: 3rem; text-align: center; }

/* ================= Kinh ================= */
.search { width: 100%; margin: 8px 0 12px; }
.collection { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 4px 20px 12px; margin: 14px 0; }
.collection summary { cursor: pointer; list-style: none; }
.collection summary::-webkit-details-marker { display: none; }
.collection summary h2 { display: inline-block; margin: 14px 0 6px; font-size: 1.25rem; }
.collection summary::after { content: "▾"; float: right; margin-top: 18px; color: var(--muted); transition: transform .2s; }
.collection:not([open]) summary::after { transform: rotate(-90deg); }
.group { margin: 16px 0 0; color: var(--accent); font-size: .9rem; }
.list { list-style: none; padding: 0; margin: 4px 0; }
.list li a { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 10px 0; border-top: 1px solid var(--line); color: var(--text); }
.list li a:hover span { color: var(--accent); }
.reader { max-width: 720px; margin: 0 auto; }
.player { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin: 12px 0 20px; }
.player audio { width: 100%; }
.player p { flex-basis: 100%; margin: 0; }
.inline { display: inline-flex; align-items: center; gap: 6px; font-size: .9rem; }
.inline select { padding: 4px 8px; }
.verses p {
  font-family: "Noto Serif", serif; font-size: 1.15rem; padding: 12px 16px; margin: 0 0 10px; cursor: pointer;
  border-left: 3px solid var(--line); border-radius: 4px; transition: background .3s, border-color .3s;
}
.verses p:hover { border-color: var(--accent-2); }
.verses p.reading { background: color-mix(in srgb, var(--accent-2) 20%, transparent); border-color: var(--accent); }
.notice { padding: 14px 16px; border-radius: 12px; background: color-mix(in srgb, var(--accent-2) 12%, var(--surface)); border: 1px dashed var(--accent-2); margin: 16px 0; }
.pager { display: flex; justify-content: space-between; gap: 12px; margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--line); font-size: .9rem; }
.pager a:last-child { text-align: right; }

/* ================= Sám hối ================= */
.repent { max-width: 720px; margin: 0 auto; }
.card-like { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 16px; }
.form { display: flex; flex-direction: column; gap: 10px; margin: 16px 0 20px; }
.form textarea, .form input, .form select { width: 100%; }
.form .btn { align-self: flex-start; }
.summary { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 16px; }
.summary div { display: flex; flex-direction: column; align-items: center; padding: 10px 4px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; text-align: center; }
.summary b { font-size: 1.4rem; font-family: "Noto Serif", serif; }
.summary small { font-size: .78rem; }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 12px; overflow-x: auto; }
.tab { background: none; border: 0; padding: 8px 12px; color: var(--muted); cursor: pointer; border-bottom: 2px solid transparent; white-space: nowrap; }
.tab.on { color: var(--accent); border-bottom-color: var(--accent); font-weight: 500; }
.entry {
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px;
  padding: 12px 16px; margin-bottom: 10px; transition: opacity .9s, transform .9s, filter .9s;
}
.entry-main { flex: 1 1 260px; min-width: 0; }
.entry p { margin: 4px 0; overflow-wrap: anywhere; }
.tag { font-size: .78rem; color: var(--accent); font-weight: 500; }
.vow { color: var(--accent); font-size: .92rem; }
.entry.done { opacity: .8; border-style: dashed; }
.entry-actions { display: flex; gap: 6px; align-items: flex-start; flex-wrap: wrap; }
.entry.editing { flex-direction: column; flex-wrap: nowrap; margin: 0 0 10px; border-color: var(--accent); }
.entry.editing .row { justify-content: flex-start; margin: 0; }
.entry.burn { opacity: 0; transform: translateY(-30px) scale(.95); filter: blur(4px) sepia(1); }
.backup { display: flex; gap: 8px; justify-content: center; margin-top: 24px; flex-wrap: wrap; }

.modal { position: fixed; inset: 0; background: rgba(0, 0, 0, .6); display: grid; place-items: center; padding: 16px; z-index: 20; }
.modal-box {
  background: var(--surface); border-radius: 20px; padding: 28px 24px; width: min(440px, 100%);
  max-height: 90vh; overflow-y: auto; text-align: center; animation: pop .3s ease;
}
@keyframes pop { from { transform: scale(.94); opacity: 0; } }
.modal-box .step { color: var(--accent); font-weight: 500; letter-spacing: .05em; }
.modal-box h3 { font-size: 1.2rem; margin: .4em 0; }
.modal-box .ke { font-family: "Noto Serif", serif; font-size: 1.1rem; margin: 4px 0; }
.modal-box .deed { font-style: italic; color: var(--muted); margin: 12px 0 16px; overflow-wrap: anywhere; }
.modal-box .btn { margin-top: 12px; }

/* ================= Hành trình ================= */
.journey { max-width: 720px; margin: 0 auto; }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; margin: 20px 0 32px; }
.tile { display: flex; flex-direction: column; align-items: center; padding: 16px 8px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; }
.tile span { font-size: 1.6rem; }
.tile b { font-size: 1.8rem; font-family: "Noto Serif", serif; line-height: 1.2; }
.tile small { color: var(--muted); }
.bars { display: flex; gap: 8px; align-items: flex-end; height: 180px; padding: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; }
.bar-col { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; gap: 4px; }
.bar { width: 100%; max-width: 36px; min-height: 2px; background: var(--accent); border-radius: 6px 6px 2px 2px; }

/* ================= Cài đặt ================= */
.settings { max-width: 560px; margin: 0 auto; }
.field { display: flex; flex-direction: column; gap: 6px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.field label { font-weight: 500; }
.field .btn { align-self: flex-start; }
.field input[type=range] { accent-color: var(--accent); }
.help { padding: 14px 0; border-bottom: 1px solid var(--line); }
.help summary { cursor: pointer; color: var(--accent); }

/* ================= Video YouTube (bản ghi âm thật) ================= */
.yt { margin: 8px 0 12px; }
.yt-frame { position: relative; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: #000; box-shadow: var(--shadow); }
.yt-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.yt-off { position: absolute; inset: 0; display: grid; place-content: center; gap: 12px; padding: 16px; text-align: center; color: #f2e6d6; font-size: .92rem; }
.yt-off .btn { justify-self: center; }
.sc-frame { height: 166px; border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); background: var(--surface); }
.sc-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.yt figcaption { font-size: .88rem; margin-top: 8px; color: var(--muted); }
.tts { margin: 4px 0 12px; padding: 4px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.tts summary { cursor: pointer; padding: 8px 0; color: var(--muted); font-size: .92rem; }
.video-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px; margin: 12px 0 16px; }
.video-pick {
  display: flex; flex-direction: column; gap: 4px; text-align: left; cursor: pointer; padding: 12px 14px;
  background: var(--surface); color: var(--text); border: 1px solid var(--line); border-radius: 14px;
}
.video-pick b { font-weight: 500; font-size: .93rem; line-height: 1.4; }
.video-pick.on { border-color: var(--accent); box-shadow: 0 0 0 2px color-mix(in srgb, var(--accent) 25%, transparent); }
#modeTabs { margin: 8px 0 16px; }
.city-filter { margin: -4px 0 16px; }
.card[hidden] { display: none !important; }

/* ================= Thông báo ================= */
#toast {
  position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); opacity: 0;
  background: var(--text); color: var(--bg); padding: 10px 18px; border-radius: 999px;
  font-size: .9rem; z-index: 30; pointer-events: none; transition: .3s; max-width: calc(100% - 32px); text-align: center;
}
#toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 520px) {
  .summary { grid-template-columns: repeat(2, 1fr); }
  .timer { font-size: 2.2rem; }
  .breath { width: 180px; height: 180px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

.verses.read-only p { cursor: default; }
.verses.read-only p:hover { border-color: var(--line); }

/* ================= Lưu trữ & đồng bộ ================= */
.store-bar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 10px 14px; margin: 8px 0 16px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); font-size: .9rem; }
.store-bar span { flex: 1 1 260px; }
.store-bar.ok { border-color: color-mix(in srgb, #3f8f5a 45%, var(--line)); }
.store-bar.warn { border-color: var(--accent-2); background: color-mix(in srgb, var(--accent-2) 12%, var(--surface)); }
.sync-code { font-family: ui-monospace, Menlo, monospace; font-size: clamp(1.05rem, 4vw, 1.4rem); letter-spacing: .08em; padding: 12px; margin: 8px 0; border-radius: 12px; background: color-mix(in srgb, var(--accent) 8%, var(--surface)); border: 1px dashed var(--accent); text-align: center; overflow-wrap: anywhere; user-select: all; }
.row.left { justify-content: flex-start; margin: 10px 0; }
#syncBox #sCode { width: 100%; font-family: ui-monospace, Menlo, monospace; letter-spacing: .06em; text-transform: uppercase; }
#syncBox label.inline { margin: 6px 0; }
