/* ============================================================
   EMYSTI — LIGHT THEME OVERRIDE  (纯白 + 电子蓝)
   loaded AFTER tech.css — flips dark surfaces to white,
   keeps the AI terminal + product "screens" dark as accents.
   ============================================================ */

:root {
  --bg-0:        #FFFFFF;          /* page */
  --bg-1:        #F4F6FA;          /* alt section */
  --bg-2:        rgba(14,17,22,0.04);
  --bg-card:     #FFFFFF;
  --bg-elev:     rgba(255,255,255,0.78);

  --fg-0:        #0E1116;          /* ink */
  --fg-1:        #4A4F5A;          /* secondary */
  --fg-2:        #8A8F9A;          /* meta */
  --fg-3:        #C9CDD4;          /* hairline-ish */

  --cyan:        #1B57F0;          /* electric blue */
  --cyan-deep:   #1241C0;
  --cyan-glow:   rgba(27,87,240,0.28);

  --line:        rgba(14,17,22,0.10);
  --line-strong: rgba(14,17,22,0.16);
}

body { background: var(--bg-0); color: var(--fg-0); }

/* subtle grid + kill the dark grit-noise on white */
.bg-grid {
  background-image:
    linear-gradient(to right, rgba(14,17,22,0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(14,17,22,0.04) 1px, transparent 1px);
}
.bg-noise { display: none; }

/* nav: white frosted */
.nav.is-scrolled {
  background: rgba(255,255,255,0.82);
  border-bottom-color: var(--line);
}

/* small chips / kbd on white */
.kbd  { background: rgba(14,17,22,0.05); }
.chip { background: #fff; border-color: var(--line-strong); color: var(--fg-1); }
.chip:hover { background: rgba(27,87,240,0.06); border-color: var(--cyan); color: var(--cyan); }

/* hero watermark — faint ink-blue ghost on white */
.hero__kanji { color: rgba(27,87,240,0.05); }
.hero__title .glow { text-shadow: 0 0 26px rgba(27,87,240,0.20); }

/* hero — single centered column; the AI box is the focal element on top */
.hero__inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: clamp(24px,4vw,40px); grid-template-columns: none; }
.hero__ai { width: 100%; max-width: 820px; }
.ai-cue { font-family: var(--mono); font-size: 15px; font-weight: 600; letter-spacing: .03em; color: var(--cyan); margin-bottom: 18px; text-shadow: 0 0 20px rgba(27,87,240,.4); animation: cuepulse 2.4s ease-in-out infinite; }
@keyframes cuepulse { 0%,100% { opacity: .82; } 50% { opacity: 1; } }
.hero__ai .terminal { box-shadow: 0 26px 80px rgba(14,17,22,.26), 0 0 0 1px rgba(27,87,240,.22); }
.hero__ai .suggestions { justify-content: center; margin-top: 16px; }
.hero__lead { max-width: 760px; }
.hero__lead .hero__meta-row, .hero__lead .hero__id { justify-content: center; display: flex; }
.hero__title { font-size: clamp(27px,3.4vw,44px); line-height: 1.2; }
.hero__sub { max-width: 60ch; margin: 12px auto 0; }
.hero__stats { display: flex; justify-content: center; gap: clamp(30px,6vw,72px); margin-top: 0; }

/* status pill / live dots read on white */
.status-pill { border-color: var(--line-strong); }

/* real logo in nav (replaces the "E" badge + wordmark) */
.nav-logo-img { height: 28px; width: auto; display: block; }

/* ============================================================
   Keep the AI terminal DARK (a dark card on the white page)
   — variables re-scoped so every child renders dark.
   ============================================================ */
.terminal {
  --bg-card: #0E1018;
  --fg-0: #ECEAE0;
  --fg-1: #A8ABB6;
  --fg-2: #6B6F7B;
  --fg-3: #3F424D;
  --line: rgba(236,234,224,0.10);
  --line-strong: rgba(236,234,224,0.18);
  --cyan: #5BD8F3;                /* brighter cyan glows better on the dark terminal */
  --cyan-glow: rgba(91,216,243,0.5);
  background: #0E1018;
  color: #ECEAE0;
  border: 1px solid rgba(14,17,22,0.12);
  box-shadow: 0 30px 80px rgba(14,17,22,0.16);
}

/* partner strip — small, subtle (icons were rendering at full natural size before) */
.partner-strip { background: #fff; border-top: 1px solid var(--line); padding: 15px 0; }
.partner-strip .wrap { display: flex; align-items: center; justify-content: center; gap: 20px; flex-wrap: wrap; }
.ps-logo img { height: 18px; width: auto; display: block; opacity: .8; }
.ps-partner { display: flex; align-items: center; gap: 12px; }
.ps-label { font-family: var(--mono); font-size: 10px; letter-spacing: .14em; color: var(--fg-2); text-transform: uppercase; white-space: nowrap; }
.ps-badge { height: 24px; width: auto; }
@media (max-width: 600px) { .partner-strip .wrap { gap: 12px; } .ps-badge { height: 20px; } .ps-logo img { height: 14px; } .ps-label { display: none; } }

/* footer: light with hairline */
.footer { background: var(--bg-1); border-top: 1px solid var(--line); }
.footer__logo { height: 24px; width: auto; max-width: 130px; align-self: flex-start; display: block; margin-bottom: 16px; }
.footer__contact .frole { font-family: var(--mono); font-size: 10.5px; color: var(--fg-2); letter-spacing: 0.04em; }
.footer__legal { color: var(--fg-2); font-size: 11px; letter-spacing: 0.08em; margin-top: 14px; line-height: 1.8; }

/* ============================================================
   NAV — mobile burger + current highlight (shared shell)
   ============================================================ */
.nav__right { display: flex; gap: 12px; align-items: center; }
.nav-burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-burger span { width: 22px; height: 2px; background: var(--fg-0); display: block; transition: .25s; }
.nav__links a.is-current { color: var(--cyan); }
@media (max-width: 920px) {
  .nav__links {
    display: none; position: absolute; top: 58px; left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 4px;
    background: rgba(255,255,255,.97); backdrop-filter: blur(12px);
    padding: 14px 24px 20px; border-bottom: 1px solid var(--line);
    box-shadow: 0 16px 30px rgba(14,17,22,.08);
  }
  .nav__links.is-open { display: flex; }
  .nav__links a { padding: 8px 0; font-size: 15px; }
  .nav-burger { display: flex; }
  .status-pill { display: none; }
}

/* ============================================================
   CONTENT-PAGE COMPONENTS  (sub-pages reuse these class names)
   restyled into the white + electric-blue + mono system
   ============================================================ */

/* page hero (sub-pages) */
.page-hero { padding: 148px 0 56px; text-align: center; position: relative; }
.page-hero .eyebrow { justify-content: center; margin-bottom: 18px; }
.page-hero h1 { font-family: var(--serif-jp); font-size: clamp(34px,5vw,58px); font-weight: 500; letter-spacing: .5px; line-height: 1.14; color: var(--fg-0); margin: 0; }
html[lang="en"] .page-hero h1 { font-family: var(--serif-en); }
.page-hero > .wrap > p { color: var(--fg-1); margin: 16px auto 0; font-size: 16px; max-width: 620px; line-height: 1.85; }

/* generic block + section head */
section.block { padding: 86px 0; }
.sec-head { text-align: center; margin-bottom: 46px; }
.sec-head .kicker { font-family: var(--mono); font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--cyan); display: block; margin-bottom: 14px; }
.sec-head h2 { font-family: var(--serif-jp); font-size: clamp(28px,3.6vw,42px); font-weight: 500; letter-spacing: .5px; color: var(--fg-0); margin: 0; }
html[lang="en"] .sec-head h2 { font-family: var(--serif-en); }
.sec-head h2 .en { font-family: var(--serif-en); font-style: italic; color: var(--cyan); }
.sec-head .sub { color: var(--fg-1); margin: 14px auto 0; font-size: 15.5px; max-width: 640px; line-height: 1.8; }

/* buttons (single-dash names used by sub-pages) */
.btn-primary, .btn-ghost, .btn-about {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 14px 30px; border-radius: 7px; font-size: 14px; font-weight: 600;
  font-family: var(--sans-jp); cursor: pointer; transition: all .25s var(--ease);
  border: 1px solid transparent; letter-spacing: .02em; text-decoration: none;
}
.btn-primary { background: var(--cyan); color: #fff; }
.btn-primary:hover { background: var(--cyan-deep); transform: translateY(-2px); box-shadow: 0 12px 28px rgba(27,87,240,.25); }
.btn-ghost, .btn-about { background: transparent; color: var(--fg-0); border-color: var(--line-strong); }
.btn-ghost:hover, .btn-about:hover { border-color: var(--cyan); color: var(--cyan); }

/* services grid */
.svc-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.svc { display: flex; flex-direction: column; background: var(--bg-card); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; transition: all .25s var(--ease); text-decoration: none; color: inherit; }
a.svc:hover { transform: translateY(-4px); border-color: var(--cyan); box-shadow: 0 18px 40px rgba(14,17,22,.08); }
.svc-img { width: 100%; height: 150px; object-fit: cover; display: block; }
.svc-ph { width: 100%; height: 150px; display: flex; align-items: center; justify-content: center; font-family: var(--serif-en); font-size: 42px; font-weight: 500; color: #fff; background: linear-gradient(135deg,var(--cyan),var(--cyan-deep)); }
.svc-body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.svc .n { font-family: var(--mono); font-size: 12px; color: var(--cyan); margin-bottom: 8px; letter-spacing: .08em; }
.svc h4 { font-size: 17px; font-weight: 600; margin: 0 0 8px; color: var(--fg-0); }
.svc p { font-size: 13.5px; color: var(--fg-1); line-height: 1.7; margin: 0; }
.svc-more { margin-top: 14px; font-family: var(--mono); font-size: 12px; font-weight: 600; color: var(--cyan); letter-spacing: .04em; }
@media (max-width: 880px) { .svc-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .svc-grid { grid-template-columns: 1fr; } }

/* service detail pages */
.svc-detail { max-width: 900px; margin: 0 auto; }
.svc-lead { max-width: 680px; margin: 0 auto; text-align: center; color: var(--fg-1); font-size: 17px; line-height: 1.85; }
.detail-h { display: flex; align-items: center; gap: 14px; font-family: var(--mono); font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--cyan); margin: 0 0 26px; font-weight: 600; }
.detail-h::before { content: ""; width: 26px; height: 1px; background: var(--cyan); display: inline-block; }
.svc-overview p { color: var(--fg-1); font-size: 15.5px; line-height: 2.0; margin-bottom: 18px; }
.svc-overview p:last-child { margin-bottom: 0; }
.detail-card { background: var(--bg-card); border: 1px solid var(--line); border-radius: 10px; padding: 22px 24px; }
.feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.feature-grid .detail-card h4 { font-size: 16px; font-weight: 600; margin: 0 0 9px; color: var(--fg-0); }
.feature-grid .detail-card p { font-size: 13.5px; color: var(--fg-1); line-height: 1.8; margin: 0; }
.flow-list { display: flex; flex-direction: column; gap: 14px; }
.flow-item { display: grid; grid-template-columns: 50px 1fr; gap: 18px; align-items: start; background: var(--bg-card); border: 1px solid var(--line); border-radius: 10px; padding: 20px 24px; }
.flow-num { font-family: var(--mono); font-size: 24px; font-weight: 600; color: var(--cyan); line-height: 1; }
.flow-item h4 { font-size: 15.5px; font-weight: 600; margin: 0 0 7px; color: var(--fg-0); }
.flow-item p { font-size: 13.5px; color: var(--fg-1); line-height: 1.8; margin: 0; }
.strength-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.strength-grid .detail-card { border-top: 2px solid var(--cyan); }
.strength-grid .detail-card h4 { font-size: 15px; font-weight: 600; margin: 0 0 10px; color: var(--fg-0); line-height: 1.5; }
.strength-grid .detail-card p { font-size: 13px; color: var(--fg-1); line-height: 1.8; margin: 0; }
.svc-nav { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; margin-top: 8px; font-family: var(--mono); font-size: 13px; }
.svc-nav a { color: var(--cyan); font-weight: 600; text-decoration: none; }
@media (max-width: 760px) { .feature-grid, .strength-grid { grid-template-columns: 1fr; } }

/* group / related studio callout (UNO Visual Studio etc.) */
.uno-card { display: flex; align-items: center; justify-content: space-between; gap: 22px; flex-wrap: wrap; background: var(--bg-card); border: 1px solid var(--line); border-top: 2px solid var(--cyan); border-radius: 12px; padding: 22px 26px; margin: 8px 0 50px; }
.uno-card__tag { font-family: var(--mono); font-size: 11px; letter-spacing: .18em; color: var(--cyan); text-transform: uppercase; margin-bottom: 8px; }
.uno-card h4 { font-size: 17px; font-weight: 600; margin: 0 0 6px; color: var(--fg-0); }
.uno-card p { font-size: 14px; color: var(--fg-1); line-height: 1.7; margin: 0; max-width: 60ch; }
.uno-card .btn-primary { white-space: nowrap; }

/* works (case grid) */
.case-cat { font-family: var(--mono); font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--cyan); text-align: center; margin: 48px 0 26px; }
.case-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.case-card { background: var(--bg-card); border: 1px solid var(--line); border-radius: 12px; padding: 26px 24px; display: flex; flex-direction: column; transition: all .25s var(--ease); }
.case-card:hover { transform: translateY(-4px); border-color: var(--cyan); box-shadow: 0 18px 40px rgba(14,17,22,.08); }
.case-card .tag { align-self: flex-start; font-family: var(--mono); font-size: 10.5px; letter-spacing: .08em; background: rgba(27,87,240,.08); color: var(--cyan); padding: 4px 11px; border-radius: 4px; font-weight: 600; margin-bottom: 14px; text-transform: uppercase; }
.case-card h4 { font-size: 16.5px; font-weight: 600; margin: 0 0 6px; line-height: 1.45; color: var(--fg-0); }
.case-card .date { font-family: var(--mono); font-size: 12px; color: var(--fg-2); margin-bottom: 12px; }
.case-card p { font-size: 13.5px; color: var(--fg-1); line-height: 1.8; margin: 0; }
.case-card b { color: var(--cyan); }
@media (max-width: 880px) { .case-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .case-grid { grid-template-columns: 1fr; } }

/* series flagship cards (works page) */
.series .sec-head h2 .en, .series h2 .en { font-family: var(--serif-en); font-style: italic; color: var(--cyan); }
.series-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.series-grid .card { background: var(--bg-card); border: 1px solid var(--line); border-radius: 12px; padding: 30px 26px; text-decoration: none; color: inherit; transition: all .25s var(--ease); display: flex; flex-direction: column; position: relative; }
.series-grid a.card:hover { transform: translateY(-4px); border-color: var(--cyan); box-shadow: 0 18px 40px rgba(14,17,22,.08); }
.series-grid .icon img { width: 52px; height: 52px; object-fit: contain; margin-bottom: 16px; }
.series-grid h3 { font-size: 19px; font-weight: 600; margin: 0 0 2px; color: var(--fg-0); }
.series-grid .jp-name { font-family: var(--mono); font-size: 12px; color: var(--cyan); margin-bottom: 12px; letter-spacing: .06em; }
.series-grid p { font-size: 13.5px; color: var(--fg-1); line-height: 1.8; }
.series-grid .card-cta { margin-top: auto; padding-top: 14px; font-family: var(--mono); font-size: 12px; font-weight: 600; color: var(--cyan); }
.series-grid .badge { position: absolute; top: 18px; right: 18px; font-family: var(--mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; background: rgba(14,17,22,.05); color: var(--fg-2); padding: 4px 9px; border-radius: 4px; }
@media (max-width: 880px) { .series-grid { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; } }

/* blog grid */
.blog-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 18px; }
.blog-card { background: var(--bg-card); border: 1px solid var(--line); border-radius: 12px; padding: 28px; text-decoration: none; color: inherit; transition: all .25s var(--ease); }
.blog-card:hover { transform: translateY(-4px); border-color: var(--cyan); box-shadow: 0 18px 40px rgba(14,17,22,.08); }
.blog-card .meta { font-family: var(--mono); font-size: 11.5px; letter-spacing: .06em; color: var(--cyan); margin-bottom: 12px; text-transform: uppercase; }
.blog-card h3 { font-size: 18px; font-weight: 600; margin: 0 0 12px; line-height: 1.5; color: var(--fg-0); }
.blog-card p { font-size: 14px; color: var(--fg-1); line-height: 1.8; margin: 0; }
@media (max-width: 760px) { .blog-grid { grid-template-columns: 1fr; } }

/* article / long-form content (posts, legal) */
.content { max-width: 760px; margin: 0 auto; padding: 16px 0; }
.content h2 { font-family: var(--serif-jp); font-size: 25px; font-weight: 500; margin: 38px 0 14px; color: var(--fg-0); }
.content h3 { font-size: 19px; font-weight: 600; margin: 30px 0 10px; color: var(--fg-0); }
.content p, .content li { color: var(--fg-1); font-size: 15.5px; line-height: 1.95; }
.content ul, .content ol { padding-left: 22px; margin: 10px 0; }
.content a { color: var(--cyan); }
.content img { max-width: 100%; border-radius: 10px; border: 1px solid var(--line); }
.content blockquote { border-left: 3px solid var(--cyan); padding-left: 18px; margin: 18px 0; color: var(--fg-1); }

/* info table (about / legal) */
.info-table { max-width: 760px; margin: 0 auto; border-top: 1px solid var(--line); }
.info-row { display: grid; grid-template-columns: 200px 1fr; gap: 20px; padding: 18px 4px; border-bottom: 1px solid var(--line); }
.info-row dt { font-weight: 600; color: var(--fg-0); font-size: 14.5px; }
.info-row dd { color: var(--fg-1); font-size: 14.5px; line-height: 1.85; margin: 0; }
@media (max-width: 600px) { .info-row { grid-template-columns: 1fr; gap: 4px; } }

/* about intro + meta */
.about { background: var(--bg-1); }
.about-body { max-width: 820px; margin: 0 auto; text-align: center; }
.about-body p { font-size: 16px; color: var(--fg-1); line-height: 2.0; }
.about-meta { display: flex; justify-content: center; gap: 48px; flex-wrap: wrap; margin: 34px 0 8px; text-align: left; }
.about-meta > div { font-size: 13.5px; color: var(--fg-1); }
.about-meta b { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--cyan); margin-bottom: 6px; font-weight: 600; }
@media (max-width: 540px) { .about-meta { flex-direction: column; gap: 20px; } }

/* contact form */
.contact-form { display: flex; flex-direction: column; gap: 14px; max-width: 600px; margin: 36px auto 0; }
.contact-form input, .contact-form textarea { font-family: var(--sans-jp); font-size: 15px; padding: 14px 16px; border: 1px solid var(--line-strong); border-radius: 8px; background: var(--bg-card); color: var(--fg-0); transition: border-color .2s; width: 100%; }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--cyan); }
.contact-form textarea { min-height: 140px; resize: vertical; }
.contact-form button { background: var(--cyan); color: #fff; border: none; padding: 15px; border-radius: 8px; font-size: 15px; font-weight: 600; cursor: pointer; font-family: var(--sans-jp); transition: all .25s; }
.contact-form button:hover { background: var(--cyan-deep); transform: translateY(-2px); }
#formMsg { text-align: center; font-size: 14.5px; margin-top: 8px; display: none; }

/* tel role table (contact) */
.tel-roles { max-width: 560px; margin: 26px auto 0; display: flex; flex-direction: column; gap: 12px; text-align: left; }
.tel-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 15px 20px; background: var(--bg-card); border: 1px solid var(--line); border-radius: 10px; }
.tel-row .role b { display: block; font-family: var(--mono); font-size: 12px; font-weight: 600; color: var(--cyan); letter-spacing: .04em; margin-bottom: 3px; }
.tel-row .role small { font-size: 12px; color: var(--fg-2); }
.tel-row .num { font-family: var(--mono); font-size: 17px; color: var(--fg-0); white-space: nowrap; text-decoration: none; }
.tel-row .num:hover { color: var(--cyan); }
@media (max-width: 480px) { .tel-row { flex-direction: column; align-items: flex-start; gap: 6px; } }

/* ============================================================
   AI chat — bubble layout (user right, AI left), typewriter, markdown
   (rendered inside the dark terminal scope; --cyan is bright there)
   ============================================================ */
.tmsg { display: flex; margin-bottom: 10px; gap: 0; align-items: flex-end; }
.tmsg--user { justify-content: flex-end; }
.tmsg--ai { justify-content: flex-start; }
.tmsg__body {
  flex: 0 1 auto; max-width: 80%;
  padding: 10px 14px; border-radius: 16px;
  font-size: 14px; line-height: 1.7; word-break: break-word;
}
.tmsg--user .tmsg__body {
  background: var(--cyan); color: #fff; border-bottom-right-radius: 5px;
  box-shadow: 0 4px 14px var(--cyan-glow);
}
.tmsg--user .tmsg__body a { color: #fff; }
.tmsg--ai .tmsg__body {
  background: rgba(236,234,224,0.07); color: var(--fg-0);
  border: 1px solid rgba(236,234,224,0.09); border-bottom-left-radius: 5px;
}
/* markdown inside answers */
.tmsg__body p { margin: 0 0 7px; }
.tmsg__body p:last-child { margin-bottom: 0; }
.tmsg__body ul { margin: 7px 0; padding-left: 18px; }
.tmsg__body li { margin: 3px 0; }
.tmsg__body strong { color: #fff; font-weight: 600; }
.tmsg--ai .tmsg__body a { color: var(--cyan); text-decoration: underline; text-underline-offset: 2px; }
/* typewriter caret */
.caret { display: inline-block; width: 7px; height: 1.05em; background: var(--cyan); margin-left: 2px; vertical-align: text-bottom; box-shadow: 0 0 8px var(--cyan-glow); animation: caretblink .85s steps(1) infinite; }
@keyframes caretblink { 50% { opacity: 0; } }

/* animated hint inside the chat box (invites input on load) */
.terminal__welcome .ok { color: #5DE0A4; font-size: 11px; letter-spacing: .05em; margin-left: 8px; }
.ai-hint-row { display: flex; align-items: center; gap: 8px; margin-top: 8px; }
.ai-hint-row .prompt { color: var(--cyan); }
.ai-hint { color: var(--fg-1); font-family: var(--mono); font-size: 12.5px; }
.ai-hint.fade { animation: hintfade 2.6s ease both; }
@keyframes hintfade { 0% { opacity: 0; transform: translateY(5px); } 12% { opacity: 1; transform: none; } 84% { opacity: 1; } 100% { opacity: .15; } }
.ai-hint-caret { display: inline-block; width: 7px; height: 1em; background: var(--cyan); box-shadow: 0 0 8px var(--cyan-glow); animation: caretblink .85s steps(1) infinite; vertical-align: text-bottom; }
.terminal__welcome.is-hidden { display: none; }

/* ---------- Blog article translate bar ---------- */
.tr-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 30px; padding: 12px 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--bg-1); }
.tr-bar__label { font-size: 13px; color: var(--fg-1); margin-right: 4px; font-weight: 500; }
.tr-bar button { appearance: none; border: 1px solid var(--line-strong); background: var(--bg-card); color: var(--fg-0); font-family: inherit; font-size: 13px; line-height: 1; padding: 7px 13px; border-radius: 999px; cursor: pointer; transition: all .15s ease; }
.tr-bar button:hover { border-color: var(--cyan); color: var(--cyan); }
.tr-bar button.is-active { background: var(--cyan); border-color: var(--cyan); color: #fff; box-shadow: 0 2px 10px var(--cyan-glow); }
.tr-bar button:disabled { opacity: .45; cursor: default; }
.tr-bar__status { font-size: 12.5px; color: var(--cyan); margin-left: 2px; font-family: var(--mono); }
