/* Alpha Live Studio — shared visual system (Guide + Dashboard)
   Dark warm surfaces, gold only for the primary action and meaningful active states, red only for LIVE.
   Burmese-first type: Noto Sans Myanmar for Burmese, Inter for Latin; generous line height for stacked Burmese glyphs. */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Noto+Sans+Myanmar:wght@400;500;600;700&display=swap');

:root {
  --bg:#0d0b09; --surface:#14110d; --raised:#1b1712; --hover:#221d16;
  --line:#2a241c; --line-2:#3a3226;
  --text:#f1ebe0; --text-2:#d3c8b6; --muted:#a59780; --subtle:#8a7e6b;
  --gold:#e9b54c; --gold-ink:#1e1404; --gold-soft:rgba(var(--ac-rgb,233,181,76),.12);
  --live:#ef4444; --ok:#3fbf75; --warn:#e3a33b; --bad:#f07070;
  --font:"Inter","Noto Sans Myanmar","Pyidaungsu","Myanmar Text",system-ui,sans-serif;
  --r-sm:6px; --r:10px; --r-lg:14px;
  --t-fast:120ms; --t:200ms; --ease:cubic-bezier(.2,.8,.2,1);
}
* { box-sizing:border-box; }
html { -webkit-text-size-adjust:100%; }
body { margin:0; background:var(--bg); color:var(--text); font-family:var(--font); font-size:15px; line-height:1.7; -webkit-font-smoothing:antialiased; word-break:keep-all; overflow-wrap:break-word; }   /* Burmese breaks only at syllable marks from mywrap.js */
a { color:var(--gold); text-decoration:none; } a:hover { text-decoration:underline; text-underline-offset:3px; }
button, input, select { font:inherit; color:inherit; }
button { cursor:pointer; }
:focus-visible { outline:2px solid var(--gold); outline-offset:2px; border-radius:4px; }
h1, h2, h3 { margin:0; line-height:1.45; font-weight:600; text-wrap:balance; }
p, li, .txt { text-wrap:pretty; }
code { font-family:ui-monospace,SFMono-Regular,Menlo,monospace; font-size:.9em; color:var(--text); background:var(--raised); border:1px solid var(--line); border-radius:4px; padding:0 4px; }
.ic { width:18px; height:18px; flex:none; fill:none; stroke:currentColor; stroke-width:1.75; stroke-linecap:round; stroke-linejoin:round; vertical-align:-3px; }
.ic.sm { width:15px; height:15px; } .ic.lg { width:22px; height:22px; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation:none !important; transition:none !important; } }

/* buttons — gold = the one primary action on screen */
.btn { display:inline-flex; align-items:center; justify-content:center; gap:8px; min-height:40px; padding:0 16px; border-radius:var(--r); border:1px solid transparent; font-weight:600; font-size:14px; white-space:nowrap; text-decoration:none !important; transition:background var(--t-fast), border-color var(--t-fast); }
.btn-primary { background:var(--gold); color:var(--gold-ink); } .btn-primary:hover { background:#f2c262; }
.btn-quiet { background:transparent; border-color:var(--line-2); color:var(--text); } .btn-quiet:hover { background:var(--hover); }

/* site header (Guide and other pages) */
.site-head { position:sticky; top:0; z-index:10; display:flex; align-items:center; gap:16px; padding:10px 20px; background:rgba(13,11,9,.92); backdrop-filter:blur(8px); border-bottom:1px solid var(--line); }
.site-head .brand { white-space:nowrap; display:flex; align-items:center; gap:10px; color:var(--text); font-weight:600; text-decoration:none; }
.site-head .brand img { width:28px; height:28px; border-radius:7px; }
.site-head nav { margin-left:auto; display:flex; align-items:center; gap:18px; }
.site-head nav a:not(.btn) { color:var(--muted); font-size:14px; }

/* numbered steps: the number owns a column, the instruction uses the rest */
.steps { list-style:none; margin:0; padding:0; counter-reset:step; }
.steps > li { counter-increment:step; display:grid; grid-template-columns:28px minmax(0,1fr); column-gap:14px; padding:12px 0; border-top:1px solid var(--line); }
.steps > li:first-child { border-top:0; }
.steps > li::before { content:counter(step); grid-row:1 / span 9; width:28px; height:28px; margin-top:2px; border-radius:50%; display:flex; align-items:center; justify-content:center;
  font-size:13px; font-weight:700; color:var(--gold); border:1.5px solid rgba(var(--ac-rgb,233,181,76),.55); font-variant-numeric:tabular-nums; }
.steps > li > * { grid-column:2; }
.steps .txt { color:var(--text-2); overflow-wrap:break-word; word-break:normal; }   /* never 'anywhere': it splits Burmese syllables */
.steps b, .prose b { color:var(--text); font-weight:600; }

/* action path: "TikTok → + → LIVE → Mobile gaming" — reads in order, wraps only between actions */
.path { display:inline; }
.path .act { display:inline-block; max-width:100%; color:var(--text); font-weight:600; white-space:normal; }
.path .act:not(:last-child)::after { content:"→"; display:inline-block; margin:0 .42em; color:var(--muted); font-weight:400; }   /* the arrow ends a line, so a wrapped line starts flush with the next action */
.path .act.plain { display:inline; font-weight:400; color:var(--text-2); }   /* longer Burmese phrases flow like text; short UI labels stay whole */

/* callouts — only for "most important" and safety */
.callout { display:grid; grid-template-columns:20px minmax(0,1fr); gap:10px; padding:12px 14px; border-left:3px solid var(--gold); background:var(--surface); border-radius:0 var(--r) var(--r) 0; }
.callout .ic { color:var(--gold); margin-top:4px; }
.callout.warn { border-left-color:var(--live); } .callout.warn .ic { color:var(--live); }
