.kv-coin, .coin-mark { display: none !important; }
#chipRow2 { display: none !important; }
.math-bad { color: #fb7185; }
#monthTape .tape-row, .tape-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.month-move { font-size: 1.2rem; font-weight: 800; margin: 10px 0 2px; color: #F1F5F9; }
.month-move.up { color: #2EE59D; }
.month-move.dn { color: #fb7185; }
.goal-track i, .goal-mini i { transition: width .45s ease; }
.medal { position: relative; }
.medal.just-on { animation: medalPop .6s ease; }
.medal.just-on::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 18px;
  width: 54px;
  height: 54px;
  transform: translate(-50%, 0);
  border: 2px solid #F5D76E;
  border-radius: 50%;
  animation: medalRing .6s ease forwards;
}
@keyframes medalPop {
  0% { transform: scale(.72); }
  60% { transform: scale(1.06); }
  100% { transform: scale(1); }
}
@keyframes medalRing {
  from { opacity: 1; transform: translate(-50%, 0) scale(.8); }
  to { opacity: 0; transform: translate(-50%, 0) scale(1.35); }
}
.kvc-float {
  position: fixed;
  z-index: 100080;
  left: 50%;
  top: 42%;
  font-size: 40px;
  font-weight: 800;
  color: #F5D76E;
  text-shadow: 0 10px 28px rgba(0,0,0,.5);
  pointer-events: none;
  animation: kvcFloat 1.05s ease forwards;
}
@keyframes kvcFloat {
  0% { opacity: 0; transform: translate(-50%, 18px) scale(.55); }
  20% { opacity: 1; transform: translate(-50%, 0) scale(1.12); }
  100% { opacity: 0; transform: translate(-50%, -72px) scale(1); }
}
.score-card { border: 1px solid #C6A15A; border-radius: 22px; padding: 16px 16px 14px; margin: 0 0 12px; background: linear-gradient(180deg, rgba(198,161,90,.16), rgba(11,18,32,.45)); }
.score-k { color: #E8D7A2; letter-spacing: .16em; font-size: 11px; text-transform: uppercase; font-weight: 700; }
.score-num { font-family: Georgia, "Iowan Old Style", serif; font-size: 48px; font-weight: 700; color: #F5D76E; letter-spacing: -0.03em; line-height: 1; margin: 6px 0 2px; animation: scorePop .55s cubic-bezier(.2,1.35,.3,1); }
@keyframes scorePop { 0% { transform: scale(.72); opacity: 0; } 62% { transform: scale(1.06); opacity: 1; } 100% { transform: scale(1); } }
.score-meta { display: flex; justify-content: space-between; gap: 12px; margin-top: 12px; color: #F6F1E6; }
.score-meta span { font-size: 15px; }
.score-meta b { display: block; margin-top: 2px; font-size: 18px; }
.score-bar { height: 10px; background: #10192b; border: 1px solid #2A3A55; border-radius: 99px; overflow: hidden; margin-top: 8px; }
.score-bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #8A6A22, #F5D76E); transition: width .7s ease; }
.goal-hero.score-card .goal-shot { height: 120px; margin-top: 12px; }
#buySheet.center-pop { animation: sheetFade .28s ease; }
@keyframes sheetFade { from { background: rgba(0,0,0,0); } }
#buySheet .trade-card { position: relative; text-align: center; background: #0E1C36; border: 1px solid #C6A15A; animation: tradeIn .48s cubic-bezier(.2,1.25,.28,1); }
.score-meta b.plain { color: #F1F5F9; }
.book-line { display: block; width: 100%; height: auto; margin-top: 8px; }
@keyframes tradeIn { 0% { transform: translateY(36px) scale(.84); opacity: 0; } 62% { transform: translateY(0) scale(1.035); opacity: 1; } 100% { transform: none; } }
.trade-logo { animation: logoPop .55s .08s cubic-bezier(.2,1.45,.3,1) both; }
@keyframes logoPop { 0% { transform: scale(.35) rotate(-8deg); opacity: 0; } 70% { transform: scale(1.08) rotate(0); } 100% { transform: scale(1); opacity: 1; } }
.trade-px, .trade-hint, .share-step, #buyMath, #tradeGo { animation: tradeRise .4s ease both; }
.trade-px { animation-delay: .12s; }
.trade-hint, .share-step { animation-delay: .18s; }
#buyMath { animation-delay: .24s; }
#tradeGo { animation-delay: .3s; }
@keyframes tradeRise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.trade-x { position: absolute; top: 8px; right: 10px; width: 36px; height: 36px; border: 0; background: transparent; color: #E8D7A2; font-size: 26px; }
.trade-logo { width: 72px; height: 72px; object-fit: contain; background: #fff; border-radius: 16px; margin: 4px auto 8px; display: block; }
#tradeTitle { margin: 0; font-size: 22px; }
.trade-px { margin: 4px 0 0; color: #F5D76E; font-size: 20px; font-weight: 800; }
.trade-hint { margin: 14px 0 6px; color: #B7C3D6; font-size: 13px; }
.share-step { display: flex; align-items: center; justify-content: center; gap: 10px; }
.share-step button { width: 48px; height: 48px; border-radius: 14px; border: 1px solid #C6A15A; background: #13233F; color: #F5D76E; font-size: 28px; font-weight: 700; }
.share-step input { width: 72px; height: 48px; text-align: center; font-size: 22px; font-weight: 800; border-radius: 14px; border: 1px solid #2A3A55; background: #0B1220; color: #F8FAFC; }
#buyMath { display: flex; flex-direction: column; gap: 4px; margin: 14px 0; color: #D9E2EF; line-height: 1.4; }
#tradeGo { width: 100%; min-height: 48px; border: 0; border-radius: 14px; background: #1F6B4A; color: #F6F3EC; font-weight: 800; font-size: 16px; }
.trade-cancel { width: 100%; margin-top: 8px; min-height: 40px; border: 0; background: transparent; color: #B7C3D6; font-weight: 700; }
#cashVal.kvc-tick { animation: kvcTick .45s ease; }
@keyframes kvcTick {
  50% { color: #F5D76E; }
}
.maple-home, .clock-line, .parent-lock {
  background: transparent;
  border: 0;
  color: inherit;
  width: 100%;
  text-align: left;
}
.maple-home { padding: 0; }
.clock-line {
  color: #C6A15A;
  font-weight: 700;
  font-size: 14px;
  min-height: 44px;
  padding: 8px 0 12px;
}
.parent-lock {
  margin-top: 18px;
  min-height: 48px;
  border-top: 1px solid #1E2A36;
  color: #8B9BB4;
  font-weight: 700;
}
.paper-date { color: #8B9BB4; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; margin: 4px 0 2px; }
.paper-kicker { margin: 0 0 6px; color: #F5D76E; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.fg-gauge { cursor: pointer; }
.fg-gauge svg { width: 100%; height: auto; display: block; }
.fg-needle {
  transform-box: view-box;
  transform-origin: 100px 100px;
  transform: rotate(var(--from));
  animation: needle .7s cubic-bezier(.2,.7,.2,1) forwards;
}
@keyframes needle { to { transform: rotate(var(--to)); } }
.fg-read { display: flex; gap: 10px; align-items: baseline; margin-top: -8px; }
.fg-read b { font-size: 42px; line-height: 1; }
.fg-read span { font-weight: 800; }
.fg-read em { margin-left: auto; font-style: normal; }
.quiet-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 12px 0 18px; }
.quiet-pair div { border-top: 1px solid #1E2A36; padding-top: 8px; }
.quiet-pair span, .quiet-pair em { display: block; color: #8B9BB4; font-size: 12px; font-style: normal; }
.quiet-pair b { font-size: 18px; }
.quiet-pair .up { color: #2EE59D; }
.quiet-pair .dn { color: #fb7185; }
.metric-row {
  display: grid;
  grid-template-columns: 32px 1fr auto auto;
  gap: 8px;
  align-items: center;
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  border-bottom: 1px solid #1E2A36;
  color: #F1F5F9;
  min-height: 48px;
  padding: 8px 0;
}
#yearLadder.yl-show { justify-content: flex-start; overflow: hidden; padding: 0; }
#yearLadder.yl-show .yl-clock { margin: 0; }
html.kv-lock, html.kv-lock body {
  overflow: hidden !important;
  height: 100% !important;
  overscroll-behavior: none;
}
html.kv-lock body { position: fixed; inset: 0; width: 100%; }
#yearLadder.on, .econ-view.active {
  background: #070B10;
  overscroll-behavior: none;
  touch-action: none;
}
#yearLadder .cycle-read, #yearLadder .cycle-pop-card, .econ-callout, .rank-list { touch-action: pan-y; }
.tabbar { background: #070B10 !important; backdrop-filter: none; bottom: 0 !important; padding-bottom: 0 !important; }
body.tab-home .container,
body.tab-news .container,
body.tab-markets .container,
body.tab-portfolio .portfolio-view.active {
  padding-bottom: 88px !important;
}
#yearLadder.yl-show .yl-clock { margin: 0; }
#ylCycle { margin-top: 14px; }
.break-banner { display:flex; gap:8px; align-items:baseline; margin:10px 0 6px; padding:8px 10px; background:#1a1408; border-left:3px solid #F5D76E; }
.break-banner b { color:#F5D76E; letter-spacing:.14em; text-transform:uppercase; font-size:11px; }
.break-banner span { color:#F6F1E6; font-weight:750; font-size:15px; }
.break-overview { margin:0 0 14px; color:#C9D3E0; font-size:14px; line-height:1.45; }
.cycle-card {
  background: linear-gradient(#121821, #121821) padding-box, linear-gradient(120deg, #F5D76E, #1F8A5B, #A33B4A, #F5D76E) border-box;
  color: #F4F7FA;
  border: 1px solid transparent;
  border-radius: 16px;
  padding: 8px 10px 10px;
  margin: 0;
  display: flex;
  flex-direction: column;
  min-height: 0;
  flex: 1;
  overflow: hidden;
}
.cycle-title { text-align: center; font-weight: 750; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: #F5D76E; margin: 0 0 2px; }
.cycle-hit { display: block; width: 100%; margin: 0; padding: 0; border: 0; background: transparent; color: inherit; cursor: pointer; text-align: left; }
.cycle-card svg { width: 100%; height: 112px; display: block; }
.cycle-tap { display: block; text-align: right; color: #E8D7A2; font-size: 11px; font-weight: 700; margin-top: 1px; }
.cycle-where { margin: 6px 0 2px; font-weight: 750; color: #F5D76E; font-size: 13px; }
.cycle-story-h { margin: 2px 0 4px; font-size: 16px; line-height: 1.25; color: #F4F7FA; }
.cycle-hit, .cycle-title, .cycle-where, .cycle-tap { flex: 0 0 auto; }
.cycle-read {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  touch-action: pan-y;
  padding-bottom: 4px;
}
.cycle-story { margin: 0; color: #E4ECF4; font-size: 14px; line-height: 1.45; }
.story-news { margin:4px 0 16px; }
.story-news h2 { margin:0 0 6px; font-size:22px; line-height:1.25; color:#F4F7FA; }
.story-news p { margin:0; color:#C9D3E0; font-size:15px; line-height:1.45; }
.ci-ico { width: 36px; height: 36px; color: #F5D76E; flex: 0 0 auto; }
img.ci-ico { object-fit: contain; display: block; }
.metric-row b { font-variant-numeric: tabular-nums; }
.metric-row i { font-style: normal; color: #8B9BB4; font-size: 13px; }
.fold { display: none; padding: 0 0 12px 40px; }
.metric-row.open + .fold, .fg-gauge.open + .fold { display: block; }
body.tab-news .news-row {
  display: block;
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  border-radius: 0;
  border-bottom: 1px solid #1E2A36;
  padding: 14px 0;
  color: #F1F5F9;
}
body.tab-news .news-row p { display: none; }
#monthTape { display: none !important; }
#bootCover {
  position: fixed; inset: 0; z-index: 100002; background: #000;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: #F5D76E; text-align: center;
}
#bootCover img { width: min(240px, 68vw); height: auto; display: block; }
#bootCover h1 { margin: 14px 0 0; color: #CE9F51; font-size: 22px; letter-spacing: .18em; font-weight: 700; text-transform: uppercase; animation: kvPulse .6s ease-in-out 5; }
@keyframes kvPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .35; }
}
#yearLadder {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 100001;
  background: #070B10;
  color: #F4F7FA;
  overflow: hidden;
  padding: 0;
}
#yearLadder.on {
  display: flex;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100dvh;
  max-height: 100dvh;
  overflow: hidden;
  overscroll-behavior: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
#yearLadder .yl-welcome, #yearLadder .yl-clock { display: none; width: min(420px, 100%); }
#yearLadder.welcome .yl-welcome { display: flex; flex-direction: column; align-items: center; text-align: center; }
#yearLadder.yl-show .yl-clock {
  display: flex;
  flex-direction: column;
  height: 100dvh;
  max-height: 100dvh;
  box-sizing: border-box;
  padding: max(64px, env(safe-area-inset-top, 0px)) 16px calc(12px + env(safe-area-inset-bottom, 0px));
  overflow: hidden;
  overscroll-behavior: none;
}
.yl-top, .yl-year, .yl-sub, #ylComplete, .yl-ring, .yl-legend, .yl-split, .yl-go { flex: 0 0 auto; }
.yl-ring { width: min(188px, 48vw); height: min(188px, 48vw); }
.yl-welcome img { width: min(260px, 74vw); height: auto; display: block; }
.yl-welcome h1 { margin: 18px 0 0; color: #F5D76E; font-size: 22px; letter-spacing: .18em; font-weight: 700; text-transform: uppercase; }
.yl-go { position: relative; overflow: hidden; display: block; width: 100%; margin-top: 10px; min-height: 46px; border: 0; border-radius: 12px; background: #2a2416; color: #f3efe6; font-weight: 800; flex: 0 0 auto; }
.yl-go i { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: #F5D76E; transition: width 5s linear; }
.yl-go span { position: relative; z-index: 1; }
.yl-go.ready { background: #F5D76E; color: #1a1408; }
.yl-year { text-align: center; letter-spacing: .18em; font-size: 12px; color: #e8c76a; margin: 0 0 2px; font-weight: 800; }
.yl-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 4px; }
.yl-top img { width: 46px; height: 36px; object-fit: contain; background: transparent; }
.yl-live { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: #3ddc97; border: 1px solid rgba(61,220,151,.35); border-radius: 999px; padding: 4px 8px; }
.yl-sub { text-align: center; color: #9aa3b3; font-size: 11px; margin: -4px 0 6px; }
.yl-ring { position: relative; width: min(188px, 48vw); height: min(188px, 48vw); margin: 0 auto; flex: 0 0 auto; }
.yl-ring svg { width: 100%; height: 100%; display: block; }
.yl-hub { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; text-align: center; }
.yl-hub div { width: 92px; height: 92px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 40% 30%, #1c222c, #0b0d12); border: 1px solid rgba(232,199,106,.28); }
.yl-hub b { display: block; color: #e8c76a; font-size: 13px; }
.yl-hub span { display: block; color: #9aa3b3; font-size: 11px; }
.yl-legend { display: flex; justify-content: center; gap: 16px; color: #9aa3b3; font-size: 12px; margin: 2px 0 0; }
.yl-legend i { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; }
.yl-legend .n { background: #3ddc97; }
.yl-legend .g { background: #e8c76a; }
.yl-complete { text-align: center; font-size: 16px; font-weight: 800; color: #F5D76E; margin: 0 0 6px; }
.yl-month { display: grid; grid-template-columns: 62px 1fr; gap: 8px; align-items: center; height: 17px; }
.yl-month b { font-size: 12px; font-weight: 700; color: #E8EEF6; }
.yl-month.done b { color: #F4F7FA; }
.yl-month.now b { color: #F5D76E; }
.yl-year, #ylComplete, #ylBars { width: 100%; margin-left: 0; margin-right: 0; }
#ylBars {
  flex: 0 0 auto;
  width: 100%;
  box-sizing: border-box;
  border-radius: 14px;
  padding: 8px 8px 6px;
  border: 1px solid transparent;
  background: linear-gradient(#0E1520, #101820) padding-box, linear-gradient(100deg, #F5D76E, #2A6B4A, #8C3A48, #F5D76E) border-box;
}
.yl-split { height: 2px; margin: 12px 8px 0; flex: 0 0 auto; background: linear-gradient(90deg, transparent, #F5D76E, #7DDBA8, #E08A98, #F5D76E, transparent); }
#ylCycle { flex: 1 1 auto; min-height: 0; margin-top: 10px; display: flex; overflow: hidden; }
.yl-bar { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; height: 6px; }
.yl-month.now .yl-bar { height: 9px; }
.yl-month.wait b { color: #9AABBE; }
.yl-seg { position: relative; display: block; height: 7px; background: #31445C; border-radius: 2px; overflow: hidden; }
.yl-month.now .yl-seg { height: 8px; }
.yl-seg i { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: linear-gradient(180deg, #F8E7A2, #C6A15A); }
#yearLadder.run .yl-seg.on i, #yearLadder.run .yl-seg.live i {
  transition: width .4s ease;
  transition-delay: calc(var(--i) * 16ms);
}
#yearLadder.run .yl-seg.on i { width: 100%; }
#yearLadder.run .yl-seg.live i { width: var(--live, 0%); }
.cycle-pop { position: absolute; inset: 0; z-index: 6; background: rgba(4, 8, 14, .78); display: flex; align-items: center; justify-content: center; padding: 18px; }
.cycle-pop-card { width: min(380px, 100%); max-height: min(72vh, 100%); overflow-y: auto; -webkit-overflow-scrolling: touch; color: #F4F7FA; border-radius: 16px; padding: 16px; border: 1px solid transparent; background: linear-gradient(#121821, #121821) padding-box, linear-gradient(120deg, #F5D76E, #1F8A5B, #A33B4A) border-box; }
.cycle-pop-k { margin: 0 0 4px; color: #F5D76E; letter-spacing: .14em; text-transform: uppercase; font-size: 11px; font-weight: 750; }
.cycle-pop-card h2 { margin: 0 0 8px; font-size: 22px; }
.cycle-pop-card p { margin: 0 0 8px; color: #E4ECF4; font-size: 14px; line-height: 1.4; }
.cycle-pop-card b.up { color: #8EE0B2; }
.cycle-pop-card b.dn { color: #F3A8B4; }
.cycle-pop-card .yl-go { margin-top: 8px; }
body.tab-home .container { padding-top: 8px; }
.home-top { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 10px 0 12px; }
.home-crest { width: 72px; height: 72px; border-radius: 18px; border: 1px solid rgba(232,199,106,.22); display: grid; place-items: center; background: #07080b; }
.home-crest img { width: 56px; height: 56px; object-fit: contain; }
.home-top .clock-line { color: #e8c76a; background: transparent; border: 0; font-weight: 700; font-size: 14px; }
.mkt-pill { display: flex; align-items: center; gap: 8px; border-radius: 999px; padding: 8px 14px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; font-size: 12px; }
.mkt-pill i { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.mkt-pill.closed { background: rgba(220,50,60,.12); border: 1px solid rgba(255,90,90,.45); color: #ff6b73; }
.mkt-pill.open { background: rgba(61,220,151,.1); border: 1px solid rgba(61,220,151,.4); color: #3ddc97; }
.goal-strip { width: 100%; display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; background: #10151c; border: 1px solid #243040; border-radius: 16px; padding: 12px 14px; color: #f4efe6; margin: 0 0 12px; text-align: left; }
.goal-strip b { font-size: 20px; }
.goal-strip small { color: #8b93a3; font-size: 12px; }
.goal-strip .track { height: 6px; background: #222a36; border-radius: 99px; overflow: hidden; }
.goal-strip .track i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #e8c76a, #c9a227); }
.hall-enter { display: flex; justify-content: center; width: 100%; border: 0; border-radius: 0; padding: 0; margin: 0 0 10px; cursor: pointer; background: transparent; }
.hall-enter img { width: auto; height: 168px; max-width: 72%; object-fit: contain; display: block; }
.home-jobs { display: grid; background: #10151c; border: 1px solid #243040; border-radius: 16px; overflow: hidden; margin: 0 0 12px; }
.home-jobs .task-link { border: 0; border-radius: 0; border-top: 1px solid #1c2430; background: transparent; margin: 0; box-shadow: none; }
.home-jobs .task-link:first-child { border-top: 0; }
.home-jobs .task-link b { color: #e8c76a; }
.gainer { width: 100%; display: flex; align-items: center; gap: 12px; background: #10151c; border: 1px solid #2a3a55; border-radius: 16px; padding: 12px 14px; color: inherit; text-align: left; margin: 0 0 8px; }
.gainer .mark { width: 40px; height: 40px; border-radius: 10px; background: #0c1016; display: grid; place-items: center; overflow: hidden; color: #e8c76a; font-weight: 800; flex: 0 0 auto; }
.gainer .mark img { width: 100%; height: 100%; object-fit: contain; }
.gainer small { color: #8b93a3; letter-spacing: .08em; text-transform: uppercase; font-size: 10px; }
.gainer b { display: block; font-size: 16px; }
.gainer .flat { color: #9aa3b3; font-size: 13px; font-weight: 700; }
.gainer .up { color: #3ddc97; font-size: 13px; font-weight: 700; }
.home-ghost { display: block; width: 100%; background: transparent; border: 0; color: #8b93a3; font-size: 12px; padding: 6px 0 8px; }
.news-row.open + .fold { display: block; }
.fold.article { padding: 4px 0 14px; }
.fold.article .ci-story-body { margin: 0 0 6px; font-weight: 750; }
.news-row .news-co { width: 100%; }
.news-row .news-co strong { flex: 1; }
.news-pct { margin-left: auto; font-variant-numeric: tabular-nums; font-weight: 750; }
.rival-line { display: flex; flex-direction: column; gap: 4px; margin-top: 8px; }
.rival-line span { display: flex; align-items: center; gap: 8px; color: #C9D3E0; font-size: 13px; }
.rival-line em { font-style: normal; letter-spacing: .12em; font-size: 10px; color: #9AABBE; }
@media (prefers-reduced-motion: reduce) {
  .fg-needle { animation: none; transform: rotate(var(--to)); }
  .medal.just-on, .medal.just-on::after, .kvc-float, #cashVal.kvc-tick { animation: none; }
  .goal-track i, .goal-mini i, .yl-seg i { transition: none; }
}
body.tab-markets .mkt-cash { background: transparent; border: 0; padding: 4px 2px 8px; margin: 0; }
body.tab-markets .mkt-cash .k { letter-spacing: .08em; text-transform: uppercase; font-size: 11px; }
body.tab-markets .mkt-cash b { font-size: 22px; letter-spacing: -.03em; }
body.tab-markets .mkt-cash button { background: transparent; color: #8b93a3; min-height: 0; padding: 0; font-weight: 650; }
.mkt-spot { width: 100%; display: grid; grid-template-columns: 48px 1fr auto; gap: 10px; align-items: center; text-align: left; margin: 0 0 10px; padding: 12px; border-radius: 16px; background: #121821; border: 1px solid #243040; color: inherit; }
.mkt-spot small { color: #8b93a3; letter-spacing: .1em; text-transform: uppercase; font-size: 10px; }
.mkt-logo, .mkt-spot .mkt-logo { width: 40px; height: 40px; border-radius: 10px; background: #fff; border: 1px solid #2a3342; display: grid; place-items: center; overflow: hidden; color: #1a1408; font-size: 10px; font-weight: 800; }
.mkt-logo img { width: 100%; height: 100%; object-fit: contain; display: block; }
#chipRow2 button.on { border-color: #e8c76a; background: #1a160e; color: #e8c76a; }
#chipRow1 button.on { border-color: #3ddc97; color: #fff; background: #152018; }
#companyList.company-list { gap: 0; }
#companyList .company-row { display: grid; grid-template-columns: 40px 1fr auto; gap: 10px; background: transparent; border: 0; border-top: 1px solid #1c2430; border-radius: 0; padding: 10px 6px; min-height: 0; }
#companyList .co-name { font-size: 14px; }
#companyList .co-ticker { font-size: 11px; color: #8b93a3; }
#companyList .co-price { font-size: 14px; font-weight: 800; }
#companyList .co-change { font-size: 12px; font-weight: 700; }
#companyList .co-change.up { color: #3ddc97; }
.stk-bar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.stk-bar .back-btn { margin: 0; }
.stk-open { font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.stk-open.up { color: #3ddc97; }
.stk-open.dn { color: #ff6b73; }
.stk-head { display: grid; grid-template-columns: 44px 1fr auto; gap: 10px; align-items: center; margin-bottom: 8px; }
.stk-head .emoji { width: 44px; height: 44px; border-radius: 12px; background: #fff; overflow: hidden; display: grid; place-items: center; }
.stk-head .emoji img { width: 44px; height: 44px; object-fit: contain; }
.stk-head .name { font-weight: 800; font-size: 16px; }
.stk-head .tk { color: #8b93a3; font-size: 11px; }
.stk-head .big-price { font-size: 20px; font-weight: 800; text-align: right; }
.stk-head .day-change { font-size: 12px; font-weight: 700; text-align: right; }
.stk-head .day-change.up { color: #3ddc97; }
.stk-head .day-change.dn { color: #ff6b73; }
.kind-tabs, .detail-view .tf-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin: 0 0 6px; }
.kind-tabs button, .detail-view .tf-tab { border: 1px solid #243040; background: transparent; color: #9aa3b3; border-radius: 999px; padding: 4px 8px; font-size: 11px; }
.kind-tabs button.on, .detail-view .tf-tab.active { border-color: #3ddc97; color: #fff; }
.stk-card { margin: 0 0 10px; padding: 12px; background: #121821; border: 1px solid #243040; border-radius: 14px; }
.stk-card h3, .stk-card h4 { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: #d6b45a; margin: 0 0 8px; }
.perf-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.perf-grid .cell { background: #0e131a; border: 1px solid #1e2836; border-radius: 10px; padding: 8px; cursor: pointer; }
.perf-grid small { display: block; color: #8b93a3; font-size: 10px; letter-spacing: .06em; text-transform: uppercase; }
.perf-grid b { display: block; font-size: 14px; margin-top: 2px; }
.perf-grid .up { color: #3ddc97; }
.perf-grid .dn { color: #ff6b73; }
.co-about { margin: 12px 0 0; color: #d7e0ec; font-size: 15px; line-height: 1.45; }
.snap-line { width: 100%; text-align: left; background: none; border: 0; border-top: 1px solid #1c2430; color: inherit; padding: 8px 0; display: grid; grid-template-columns: 1fr auto 16px; gap: 8px; font: inherit; }
.snap-line:first-child { border-top: 0; }
.why { display: none; color: #b7c0cc; font-size: 12px; line-height: 1.45; padding: 0 0 8px; }
.why.on { display: block; }
.detail-view .trade-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.detail-view .btn-buy { background: #3ddc97; color: #07140c; border: 0; border-radius: 12px; padding: 12px; font-weight: 800; }
.detail-view .btn-sell { background: #ff6b73; color: #2a0a0c; border: 0; border-radius: 12px; padding: 12px; font-weight: 800; }
.nv-k { color: #e8c76a; letter-spacing: .08em; font-size: 11px; font-weight: 800; text-transform: uppercase; margin: 0 0 4px; }
.nv-card { margin: 8px 0; padding: 12px; background: #121821; border: 1px solid #243040; border-radius: 14px; }
.nv-mood { display: grid; grid-template-columns: 92px 1fr; gap: 12px; align-items: center; }
.nv-gauge { width: 92px; height: 56px; display: block; }
.nv-card small, .nv-stat small { color: #8b93a3; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; }
.nv-band { font-weight: 800; margin-top: 2px; }
.nv-hd { color: #cfd6e0; font-size: 13px; margin-top: 4px; }
.nv-copy { color: #c5ccd7; font-size: 13px; line-height: 1.45; margin: 0; }
.nv-means { color: #9aa3b3; font-size: 12px; line-height: 1.45; margin: 8px 0 0; }
.nv-means b { color: #d6b45a; }
.nv-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.nv-stat { background: #121821; border: 1px solid #243040; border-radius: 12px; padding: 10px; }
.nv-stat b { display: block; font-size: 14px; margin-top: 4px; word-break: break-word; }
.nv-add { color: #ff6b73; font-size: 11px; font-weight: 800; }
.nv-quiet { color: #8b93a3; font-size: 12px; }
.nv-story { width: 100%; margin: 8px 0; text-align: left; background: #121821; border: 1px solid #243040; border-radius: 14px; padding: 12px; color: inherit; font-family: inherit; cursor: pointer; }
.nv-who { display: grid; grid-template-columns: 40px 1fr auto; gap: 8px; align-items: center; }
.nv-logo { width: 40px; height: 40px; border-radius: 10px; background: #fff; border: 1px solid #2a3342; display: grid; place-items: center; overflow: hidden; font-size: 9px; font-weight: 800; }
.nv-logo img { width: 100%; height: 100%; object-fit: contain; }
.nv-nm { font-weight: 800; font-size: 14px; }
.nv-px { text-align: right; }
.nv-ticker { display: block; margin: 0 0 2px auto; border: 0; background: transparent; color: #e8c76a; font-weight: 800; font-size: 12px; letter-spacing: .06em; padding: 2px 0; }
.cycle-country { display: block; width: 100%; margin: 8px 0 0; border: 1px solid rgba(232, 199, 106, .45); background: transparent; color: #e8c76a; border-radius: 12px; padding: 10px 12px; font-weight: 800; }
.nv-call { margin-top: 10px; }
.nv-call p, .cycle-q p { margin: 0 0 8px; }
.nv-pay { color: #d6b45a; font-size: 12px; }
.nv-call button, .cycle-q button { border: 0; border-radius: 10px; padding: 8px 12px; font-weight: 800; margin: 0 8px 8px 0; }
.nv-call button[data-call="help"] { background: #3ddc97; color: #07140c; }
.nv-call button[data-call="hurt"] { background: #ff6b73; color: #2a0a0c; }
.cycle-q button { display: block; width: 100%; margin: 0 0 8px; text-align: left; background: #1c2430; color: #f3efe6; }
.nv-story .dn { color: #ff6b73; font-weight: 800; }
.nv-body { display: none; margin-top: 10px; color: #c5ccd7; font-size: 13px; line-height: 1.45; }
.nv-body.on { display: block; }
.nv-rivals { color: #8b93a3; font-size: 11px; margin-top: 6px; }
.nv-lesson { color: #d6b45a; font-size: 12px; margin-top: 8px; line-height: 1.4; }
.nv-ind { display: grid; grid-template-columns: 1fr auto; gap: 8px; align-items: start; }
.nv-metric { display: flex; gap: 10px; align-items: flex-start; }
.nv-mini { width: 16px; height: 16px; border-radius: 4px; background: #fff; object-fit: contain; vertical-align: -3px; }
.nv-ind b { font-size: 18px; }
.nv-headrow { display: grid; grid-template-columns: 64px 1fr; gap: 10px; align-items: center; }
.nv-headrow .nv-nm { letter-spacing: .08em; text-transform: uppercase; font-size: 15px; }
.nv-grade { width: 64px; height: 64px; border-radius: 14px; display: grid; place-items: center; text-align: center; border: 1px solid rgba(232,199,106,.35); background: rgba(232,199,106,.1); color: #e8c76a; }
.nv-grade.good { background: rgba(61,220,151,.1); border-color: rgba(61,220,151,.35); color: #3ddc97; }
.nv-grade.bad { background: rgba(255,107,115,.1); border-color: rgba(255,107,115,.35); color: #ff6b73; }
.nv-grade strong { display: block; font-size: 22px; line-height: 1; }
.nv-grade em { font-style: normal; font-size: 10px; }
.nv-more { width: 100%; margin: 0 0 8px; border: 1px solid #243040; background: #121821; color: #d6b45a; border-radius: 14px; padding: 12px; font-weight: 800; font-size: 12px; letter-spacing: .08em; }
.nv-extra { display: none; }
.nv-extra.on { display: block; }
.pf-grade { display: flex; gap: 12px; align-items: center; margin: 0 0 12px; padding: 14px; border: 1px solid rgba(232, 199, 106, .35); border-radius: 18px; background: #121018; }
.pf-mark { flex: 0 0 auto; text-align: center; }
.pf-grade b { font-size: 34px; line-height: 1; color: #e8c76a; }
.pf-grade b.b { color: #3ddc97; }
.pf-grade b.c { color: #7eb6ff; }
.pf-grade b.d { color: #8b93a3; }
.pf-grade small { display: block; letter-spacing: .14em; font-size: 10px; color: #d6b45a; text-transform: uppercase; }
.pf-reward { color: #e8c76a; font-weight: 800; font-size: 16px; }
.pf-grade p { margin: 4px 0 0; color: #c5ccd7; font-size: 13px; line-height: 1.35; }
.pf-grade em { display: block; margin-top: 4px; font-style: normal; color: #8b93a3; font-size: 11px; }
.pf-ladder { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.pf-ladder span { border: 1px solid #243040; border-radius: 999px; padding: 3px 8px; color: #8b93a3; font-size: 11px; font-weight: 700; }
.pf-ladder span.on { border-color: #e8c76a; color: #e8c76a; }
.pf-hero { margin: 0 0 12px; padding: 16px; border: 1px solid rgba(232,199,106,.35); border-radius: 18px; background: linear-gradient(180deg,#121018,#0b0e14); }
.pf-hero em { font-style: normal; letter-spacing: .16em; font-size: 11px; color: #d6b45a; font-weight: 700; }
.pf-bank { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 12px; padding-top: 12px; border-top: 1px solid rgba(232, 199, 106, .25); }
.pf-bank small { display: block; color: #8b93a3; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; }
.pf-bank b { display: block; margin-top: 2px; }
.pf-bank em { display: block; margin-top: 2px; font-style: normal; color: #8b93a3; font-size: 12px; }
.pf-bank button { flex: 0 0 auto; border: 0; border-radius: 12px; padding: 10px 12px; background: #e8c76a; color: #1a1408; font-weight: 800; font-size: 13px; }
.pf-hero h1 { font-size: 34px; color: #e8c76a; margin: 4px 0 10px; }
.pf-split { display: flex; justify-content: space-between; font-size: 14px; gap: 8px; }
.pf-split small, .pf-prog small { display: block; color: #8b93a3; font-size: 11px; }
.pf-split .up, .pf-px.up { color: #3ddc97; font-weight: 800; }
.pf-split .dn, .pf-px.dn { color: #ff6b73; font-weight: 800; }
.pf-prog { margin-top: 12px; }
.pf-prog span { color: #d6b45a; font-size: 10px; letter-spacing: .12em; font-weight: 700; }
.pf-track { height: 6px; background: #1c2430; border-radius: 99px; overflow: hidden; margin: 6px 0; }
.pf-track i { display: block; height: 100%; background: linear-gradient(90deg,#e8c76a,#c9a227); }
.pf-vars { display: flex; gap: 6px; flex-wrap: wrap; margin: 10px 0 6px; }
.pf-vars button { font-size: 11px; color: #c5ccd7; border: 1px solid #243040; border-radius: 999px; padding: 4px 8px; background: transparent; }
.pf-vars button.on { border-color: #3ddc97; color: #fff; }
.pf-vars i { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 4px; }
.pf-chart { height: 112px; width: 100%; display: block; }
.pf-h { font-size: 16px; padding: 0 0 8px; margin: 0; }
.pf-hold { background: #121821; border: 1px solid #243040; border-radius: 16px; overflow: hidden; }
.pf-pie { display: grid; grid-template-columns: 120px 1fr; gap: 10px; padding: 12px; align-items: center; }
.pf-pc { color: #8b93a3; font-size: 12px; }
.pf-pc i { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; }
.pf-line { display: grid; grid-template-columns: 28px 36px 1fr auto; gap: 8px; align-items: center; padding: 10px 12px; border-top: 1px solid #1c2430; width: 100%; background: none; color: inherit; font-family: inherit; text-align: left; }
.pf-rk { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 800; background: #2a3342; }
.pf-rk.g { background: #e8c76a; color: #1a1408; }
.pf-logo { width: 32px; height: 32px; border-radius: 8px; background: #fff; display: grid; place-items: center; overflow: hidden; }
.pf-logo img { width: 100%; height: 100%; object-fit: contain; }
.pf-nm { font-weight: 800; font-size: 14px; }
.pf-val { font-weight: 800; text-align: right; }
.pf-px { color: #8b93a3; font-size: 11px; text-align: right; font-weight: 650; }
.pf-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 0 12px 12px; }
.pf-actions button { border: 0; border-radius: 10px; padding: 8px; font-weight: 800; }
.pf-actions button:first-child { background: #3ddc97; color: #07140c; }
.pf-actions button:last-child { background: #ff6b73; color: #2a0a0c; }
.pf-pay { margin: 12px 0 16px; text-align: center; background: #1a2230; border-radius: 999px; padding: 10px; font-size: 13px; color: #d6b45a; }
body.tab-learn #resNav, body.tab-learn .res-panel, body.mode-learn #resNav { display: none !important; }
.ms-top { display: flex; justify-content: space-between; align-items: center; padding: 4px 2px 8px; }
.ms-top b { font-weight: 800; font-size: 18px; }
.ms-hall { margin: 8px 0 12px; padding: 18px 16px; text-align: center; border-radius: 18px; background: radial-gradient(500px 120px at 50% 0%, rgba(232,199,106,.16), transparent 60%), linear-gradient(180deg,#1a140c,#100e12); border: 1px solid rgba(232,199,106,.4); }
.ms-hall em { display: block; font-style: normal; color: #d6b45a; letter-spacing: .32em; font-size: 10px; font-weight: 700; }
.ms-hall strong { display: block; font-family: Cinzel, serif; letter-spacing: .18em; font-size: 16px; color: #f3e2a8; margin-top: 6px; }
.ms-card { margin: 0 0 12px; padding: 12px; background: #121821; border: 1px solid #243040; border-radius: 14px; color: #c5ccd7; font-size: 13px; line-height: 1.45; }
.ms-sec { padding: 4px 0; color: #e8c76a; letter-spacing: .16em; font-size: 11px; font-weight: 800; text-transform: uppercase; }
.ms-stack { border: 1px solid #243040; border-radius: 14px; overflow: hidden; background: #121821; }
.ms-mod { width: 100%; padding: 12px; display: grid; grid-template-columns: 28px 1fr auto; gap: 10px; align-items: center; border: 0; border-top: 1px solid #1c2430; background: transparent; color: inherit; font-family: inherit; text-align: left; }
.ms-mod:first-child { border-top: 0; }
.ms-mod .num { color: #e8c76a; font-weight: 800; font-size: 13px; }
.ms-mod .nm { font-weight: 700; font-size: 14px; }
.ms-mod .sub, .ms-sub { color: #8b93a3; font-size: 11px; }
.ms-mod .st { color: #8b93a3; font-size: 11px; font-weight: 700; }
.ms-mod .st.go { color: #3ddc97; }
.ms-back { background: none; border: 0; color: #9aa3b3; font: inherit; padding: 8px 0 4px; }
.ms-read { background: linear-gradient(180deg,#121018,#0b0e14); border-radius: 18px; padding: 8px 0 16px; margin-top: 8px; }
.ms-kicker { padding: 4px 16px 0; color: #e8c76a; font-size: 11px; letter-spacing: .16em; font-weight: 700; text-transform: uppercase; }
.ms-read h1 { font-size: 26px; padding: 8px 16px 4px; line-height: 1.2; color: #f3e2a8; margin: 0; }
.ms-sub { padding: 0 16px 14px; font-size: 14px; }
.ms-paper { margin: 0 12px 14px; padding: 18px 16px; background: #f4efe4; color: #1a160c; border-radius: 16px; }
.ms-paper p + p { margin-top: 14px; }
.ms-paper p { margin: 0; line-height: 1.45; }
.ms-paper .quiz-label { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: #8a6d1f; font-weight: 800; margin: 16px 0 4px; }
.ms-paper .ask { color: #5c5346; font-size: 12px; margin-bottom: 8px; }
.ms-opt { display: block; width: 100%; text-align: left; margin-top: 8px; padding: 12px 14px; border: 1px solid #d7cbb3; border-radius: 12px; background: #fffaf0; color: #1a160c; font-family: inherit; font-size: 14px; line-height: 1.4; }
.ms-opt.ok { border-color: #1f8a5b; background: #e7f6ee; }
.ms-opt.no { border-color: #a33b4a; background: #fde8ea; }
.ms-fb { display: none; margin-top: 10px; font-size: 13px; line-height: 1.4; }
.ms-fb.show { display: block; }
.ms-next { width: calc(100% - 24px); margin: 0 12px 8px; border: 0; border-radius: 14px; padding: 15px; background: linear-gradient(180deg,#f0d27c,#c9a227); color: #1a1408; font-weight: 800; font-size: 15px; }

.app-top { background: #070B10; padding-top: max(64px, var(--safe-top)); }
.home-hello {
  margin: 2px 2px 8px;
  color: #f3e2a8;
  font-weight: 800;
  letter-spacing: .06em;
  font-size: 13px;
  line-height: 1.35;
  text-transform: uppercase;
}
.header.kv-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: nowrap;
  margin: 0 10px;
  padding: 7px 10px;
  background: #121821;
  border: 1px solid rgba(232, 199, 106, .28);
  border-radius: 14px;
}
.kv-bar .brand { display: flex; align-items: center; gap: 6px; min-width: 0; flex: 0 0 auto; }
.kv-bar .crest {
  width: 26px; height: 26px; border-radius: 7px;
  background: #07080b; border: 1px solid rgba(232, 199, 106, .35);
  display: grid; place-items: center; overflow: hidden; flex: 0 0 auto;
}
.kv-bar .crest img { width: 20px; height: 20px; object-fit: contain; max-width: none; }
.kv-bar .word { font-family: Cinzel, serif; letter-spacing: .12em; font-size: 12px; color: #f3e2a8; }
.kv-bar .pills { display: flex; flex-wrap: nowrap; gap: 4px; align-items: center; justify-content: flex-end; min-width: 0; }
.kv-bar .pill {
  border-radius: 999px; padding: 3px 7px; font-size: 9px; font-weight: 800;
  letter-spacing: .02em; text-transform: uppercase; font-family: inherit; line-height: 1.15;
  white-space: nowrap;
}
.kv-bar .pill.time { background: #161b24; border: 1px solid #2a3342; color: #d7dde6; cursor: pointer; }
.kv-bar .pill.closed, .kv-bar .pill.open { overflow: hidden; text-overflow: ellipsis; max-width: 46vw; }
.kv-bar .pill.after { background: #161b22; border: 1px solid #3a4454; color: #9aa3b2; }
.ah-note { margin: 0 2px 8px; color: #9aa3b2; font-size: 13px; line-height: 1.4; }
body.mkt-after #companyList .co-price,
body.mkt-after #companyList .co-change,
body.mkt-after #companyList .co-change.up,
body.mkt-after #companyList .co-change.down,
body.mkt-after .stk-head .big-price,
body.mkt-after .stk-head .day-change,
body.mkt-after .stk-head .day-change.up,
body.mkt-after .stk-head .day-change.dn,
body.mkt-after .mkt-spot b,
body.mkt-after .mkt-spot .up,
body.mkt-after .mkt-spot .down { color: #9aa3b2 !important; }
body.mkt-after .detail-view .btn-buy,
body.mkt-after .detail-view .btn-sell { filter: grayscale(1); opacity: 0.5; }
.kv-bar .pill.open { background: rgba(61, 220, 151, .1); border: 1px solid rgba(61, 220, 151, .4); color: #3ddc97; }
.kv-bar .pill.parent {
  background: rgba(232, 199, 106, .08); border: 1px solid rgba(232, 199, 106, .4);
  color: #e8c76a; cursor: pointer;
  min-height: 34px;
  padding: 8px 10px;
}
.qotd { margin: 0 0 14px; }
.qotd-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 8px; }
.qotd-k { color: #E8D7A2; letter-spacing: .14em; font-size: 11px; text-transform: uppercase; font-weight: 700; }
.qotd-head h2 { margin: 2px 0 0; font-size: 18px; color: #f3e2a8; font-weight: 700; }
.qotd-pay { color: #e8c76a; font-size: 13px; font-weight: 800; }
.qotd-note { color: #8b93a3; font-size: 12px; line-height: 1.35; margin: 6px 0 10px; }
.qotd-card { background: #121821; border: 1px solid #1E2A36; border-radius: 16px; padding: 12px; margin: 0 0 10px; }
.qotd-card.ok { border-color: #1f8a5b; }
.qotd-card.no { border-color: #a33b4a; }
.qotd-cat { color: #e8c76a; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; font-weight: 800; }
.qotd-q { margin: 6px 0 4px; font-size: 15px; line-height: 1.35; color: #f4f7fa; }
.qotd-opt { display: block; width: 100%; text-align: left; margin-top: 8px; border-radius: 12px; border: 1px solid #2A3548; background: #141C2C; color: #F4F7FA; font-weight: 650; padding: 10px 12px; line-height: 1.3; }
.qotd-why { color: #C5D0DE; font-size: 14px; line-height: 1.45; margin: 8px 0 0; }
.qotd-why strong { color: #f3e2a8; }
.qotd-next { width: 100%; border: 0; border-radius: 14px; padding: 14px; margin: 12px 0 0; background: linear-gradient(180deg, #f0d27c, #c9a227); color: #1a1408; font-weight: 800; font-size: 15px; }
.qotd-pop { position: fixed; inset: 0; z-index: 100050; background: rgba(0,0,0,.72); display: flex; align-items: flex-end; justify-content: center; }
.qotd-sheet { width: min(430px, 100%); max-height: 86vh; overflow: auto; background: #121821; color: #f4f7fa; border: 1px solid #1E2A36; border-radius: 18px 18px 0 0; padding: 16px 16px calc(18px + env(safe-area-inset-bottom)); }
@media (min-width: 768px) {
  .qotd-sheet, .ch-bar { width: min(430px, 100%); }
}
.qotd-step { font-size: 22px; font-weight: 800; color: #f3e2a8; margin: 2px 0 8px; }
.qotd-x { display: block; width: 100%; margin-top: 8px; background: transparent; border: 0; color: #8b93a3; font-weight: 700; padding: 8px; }
.ph-report { gap: 10px; }
.ph-report .ph-block { margin: 0; }
.ph-name { margin: 2px 0 6px; font-size: 26px; letter-spacing: -0.03em; }
.ph-snap { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; }
.ph-snap > div:first-child { flex: 1; min-width: 0; }
.ph-grade { width: 72px; height: 72px; border-radius: 18px; display: grid; place-items: center; font-size: 28px; font-weight: 800; background: #14261c; border: 2px solid #2EE59D; color: #2EE59D; flex: 0 0 auto; }
.ph-grade.b { background: #2a2412; border-color: #F5D76E; color: #F5D76E; }
.ph-grade.c { background: #2a1c12; border-color: #fb923c; color: #fb923c; }
.ph-grade.d, .ph-grade.f { background: #2a1418; border-color: #fb7185; color: #fb7185; }
.ph-grade.wait { background: #121821; border-color: #1E2A36; color: #8B9BB4; }
button.ph-eco { font: inherit; color: #F4F7FA; text-align: left; width: 100%; cursor: pointer; display: block; white-space: normal; height: auto; }
.ph-tap { color: #e8c76a; font-size: 12px; font-weight: 750; letter-spacing: .04em; margin: 8px 0 0; }
.ph-tool .btn-mint { width: 100%; margin-top: 6px; }
.ph-wait { display: block; width: 100%; margin-top: 8px; background: transparent; border: 0; color: #e8c76a; font-weight: 750; text-align: left; padding: 6px 0; cursor: pointer; }
button.ph-pillar { display: block; width: 100%; text-align: left; background: transparent; border: 0; border-bottom: 1px solid #1E2A36; color: inherit; font: inherit; padding: 8px 0 10px; cursor: pointer; }
button.ph-pillar .ph-line { border-bottom: 0; padding-bottom: 2px; }
.ph-expo { margin: 8px 0 0; font-weight: 800; font-size: 13px; letter-spacing: .02em; }
.ph-expo.low { color: #3ddc97; }
.ph-expo.mid { color: #F5D76E; }
.ph-expo.high { color: #fb7185; }
.ph-expo.wait { color: #8B9BB4; }
.ph-expo-line b { color: #f3e2a8; }
.ph-eco-name { margin: 2px 0 2px; font-size: 22px; font-weight: 800; color: #f4f7fa; }
.ph-foot { display: flex; gap: 16px; padding: 0 2px 8px; }
.ph-foot button { background: none; border: 0; color: #8B9BB4; font-weight: 700; padding: 8px 0; cursor: pointer; }
.ph-settings {
  flex: 0 0 auto;
  width: 100%;
  min-height: 56px;
  margin: 4px 0 8px;
  border-radius: 16px;
  border: 1px solid rgba(232, 199, 106, .5);
  background: #16130c;
  color: #f3e2a8;
  font: inherit;
  font-weight: 800;
  font-size: 16px;
  letter-spacing: .12em;
  text-transform: uppercase;
  cursor: pointer;
}
.ph-field {
  display: block;
  margin-top: 12px;
  color: #9aa6b8;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: .06em;
  text-transform: uppercase;
}
#parentHub .ph-field input,
#parentHub .ph-block input {
  display: block;
  width: 100%;
  box-sizing: border-box;
  min-height: 52px;
  margin: 6px 0 0;
  background: #0b1220;
  color: #f4f7fa;
  border: 1px solid #2a3548;
  border-radius: 14px;
  padding: 12px 14px;
  font: inherit;
  font-size: 18px;
  font-weight: 650;
}
.ph-create {
  width: 100%;
  min-height: 52px;
  margin-top: 8px;
  border: 0;
  border-radius: 14px;
  font-size: 17px;
  font-weight: 800;
}
.ph-dim { position: absolute; inset: 0; background: rgba(0, 0, 0, .5); z-index: 4; }
.ph-sheet {
  position: absolute;
  left: 0; right: 0; bottom: 0; top: 14%;
  z-index: 5;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background: #101820;
  border: 1px solid #2a3548;
  border-bottom: 0;
  border-radius: 22px 22px 0 0;
  padding: 8px 14px 20px;
}
.ph-handle { width: 42px; height: 4px; border-radius: 99px; background: #3a4658; margin: 4px auto 10px; }
.ph-sheet h1 { font-size: 28px; letter-spacing: -0.03em; margin: 0 0 10px; }
.theme-tap {
  width: 100%;
  margin: 4px 0 8px;
  min-height: 44px;
  border-radius: 14px;
  border: 1px solid #c9b48a;
  background: #F4EBD8;
  color: #10243F;
  font: inherit;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
html.theme-cream {
  --bg: #F6EBD2;
  --card: #FFF9F0;
  --card2: #F3E6CC;
  --text: #14233C;
  --muted: #4A5A72;
  --border: #E0D2B8;
  --primary: #14233C;
  --accent: #0B7A43;
  --accent-dark: #086237;
  --danger: #C42332;
  color-scheme: light;
}
html.theme-cream,
html.theme-cream body {
  background: linear-gradient(165deg, #FFF8EC 0%, #F4E4C4 46%, #E8CFA6 100%) fixed !important;
  color: #14233C;
}
html.theme-cream .app-top {
  background: linear-gradient(180deg, #FFF8EC 0%, #F6E7C8 100%);
}
html.theme-cream .header.kv-bar {
  background: linear-gradient(180deg, #1A3358 0%, #10243F 100%);
  border-color: #10243F;
  color: #F6F0E4;
}
html.theme-cream .kv-bar .word { color: #F6F0E4; }
html.theme-cream .kv-bar .pill.time {
  background: #0C1C33;
  border-color: #2C4568;
  color: #F6F0E4;
}
html.theme-cream .tabbar {
  background: linear-gradient(180deg, #1A3358 0%, #10243F 100%) !important;
  border-top-color: #10243F;
}
html.theme-cream .tabbar button { color: #E7D7B8; }
html.theme-cream .tabbar button.on { color: #FFF8EC; box-shadow: inset 0 -2px 0 #C6A15A; }
html.theme-cream .container,
html.theme-cream .portfolio-view,
html.theme-cream .parent-view,
html.theme-cream .resources-view,
html.theme-cream #parentHub,
html.theme-cream #hallView {
  color: #14233C;
}
html.theme-cream .container :where(h1, h2, h3, h4, p, span, b, small, label, li, em, strong, a, div, button),
html.theme-cream .portfolio-view :where(h1, h2, h3, h4, p, span, b, small, label, li, em, strong, a, div, button),
html.theme-cream .parent-view :where(h1, h2, h3, h4, p, span, b, small, label, li, em, strong, a, div, button),
html.theme-cream .resources-view :where(h1, h2, h3, h4, p, span, b, small, label, li, em, strong, a, div, button),
html.theme-cream #hallView :where(h1, h2, h3, h4, p, span, b, small, label, li, em, strong, a, div, button),
html.theme-cream .qotd-sheet :where(h1, h2, h3, p, span, b, small, label, div, button),
html.theme-cream .sheet-card :where(h1, h2, h3, p, span, b, small, label, div, button),
html.theme-cream .ph-sheet :where(h1, h2, h3, p, span, b, small, label, div, button) {
  color: #14233C !important;
}
html.theme-cream .kv-bar :where(span, b, button, div),
html.theme-cream .tabbar :where(button) {
  color: #F6F0E4 !important;
}
html.theme-cream .up,
html.theme-cream .pnl-up,
html.theme-cream .co-change.up,
html.theme-cream b.up { color: #0B7A43 !important; }
html.theme-cream .dn,
html.theme-cream .down,
html.theme-cream .bad,
html.theme-cream .pnl-down,
html.theme-cream .co-change.down,
html.theme-cream b.dn { color: #C42332 !important; }
html.theme-cream .flat,
html.theme-cream .co-ticker,
html.theme-cream .ph-note,
html.theme-cream .ph-meta,
html.theme-cream .ah-note,
html.theme-cream small { color: #4A5A72 !important; }
html.theme-cream .goal-strip,
html.theme-cream .home-jobs,
html.theme-cream .gainer,
html.theme-cream .home-card,
html.theme-cream .mkt-spot,
html.theme-cream .stk-card,
html.theme-cream .nv-card,
html.theme-cream .nv-stat,
html.theme-cream .nv-story,
html.theme-cream .nv-more,
html.theme-cream .pf-hold,
html.theme-cream .ms-card,
html.theme-cream .ms-stack,
html.theme-cream .qotd-card,
html.theme-cream .qotd-sheet,
html.theme-cream .ph-block,
html.theme-cream .ph-sheet,
html.theme-cream .res-card,
html.theme-cream .company-row,
html.theme-cream .task-link,
html.theme-cream .sheet-card,
html.theme-cream .cycle-card,
html.theme-cream .cycle-pop-card,
html.theme-cream #buySheet .trade-card {
  background: #FFF9F0 !important;
  color: #14233C !important;
  border-color: #E0D2B8 !important;
}
html.theme-cream .home-jobs .task-link {
  background: transparent !important;
  border-color: #E0D2B8 !important;
}
html.theme-cream .home-hello,
html.theme-cream .home-top .clock-line { color: #14233C !important; }
html.theme-cream .page-ask { background: transparent !important; }
html.theme-cream .page-ask button { color: #14233C !important; }
html.theme-cream .mkt-pill.closed { background: #F8E4E4; border-color: #E7B4B4; color: #9E1C2A !important; }
html.theme-cream .mkt-pill.open { background: #E5F5EC; border-color: #B7DFC8; color: #0B7A43 !important; }
html.theme-cream .mkt-pill.closed span,
html.theme-cream .mkt-pill.open span { color: inherit !important; }
html.theme-cream input,
html.theme-cream select,
html.theme-cream textarea {
  background: #FFF9F0 !important;
  color: #14233C !important;
  border-color: #E0D2B8 !important;
}
html.theme-cream .job-gold,
html.theme-cream .btn-mint,
html.theme-cream .buy-btn,
html.theme-cream .theme-tap {
  background: linear-gradient(180deg, #1A3358, #10243F) !important;
  color: #F6F0E4 !important;
  border-color: #10243F !important;
}
html.theme-cream .job-gold span { color: #F6F0E4 !important; }
html.theme-cream .home-crest {
  background: #FFF9F0;
  border-color: #E0D2B8;
}
html.theme-cream .book-chips button,
html.theme-cream .kind-tabs button,
html.theme-cream .detail-view .tf-tab,
html.theme-cream .pf-vars button {
  background: #FFF9F0 !important;
  color: #14233C !important;
  border-color: #CDB892 !important;
}
html.theme-cream .book-chips button.on,
html.theme-cream #chipRow1 button.on,
html.theme-cream #chipRow2 button.on,
html.theme-cream .kind-tabs button.on,
html.theme-cream .detail-view .tf-tab.active,
html.theme-cream .pf-vars button.on {
  background: #10243F !important;
  color: #F6F0E4 !important;
  border-color: #10243F !important;
}
html.theme-cream .pf-hero,
html.theme-cream .pf-grade,
html.theme-cream .ms-hall,
html.theme-cream .perf-grid .cell,
html.theme-cream .pf-pay,
html.theme-cream .bal-card {
  background: #FFF9F0 !important;
  color: #14233C !important;
  border-color: #E0D2B8 !important;
}
html.theme-cream .co-about { color: #14233C !important; }
html.theme-cream .pf-hero h1,
html.theme-cream .pf-grade b,
html.theme-cream .pf-grade p,
html.theme-cream .pf-grade small,
html.theme-cream .pf-grade em,
html.theme-cream .pf-reward,
html.theme-cream .ms-hall em,
html.theme-cream .ms-hall strong,
html.theme-cream .ms-sec,
html.theme-cream .ms-mod .num,
html.theme-cream .ms-mod .nm,
html.theme-cream .ms-mod .sub,
html.theme-cream .ms-mod .st,
html.theme-cream #companyList .co-name,
html.theme-cream #companyList .co-ticker,
html.theme-cream #companyList .co-price,
html.theme-cream .stk-head .name,
html.theme-cream .stk-head .tk,
html.theme-cream .stk-head .big-price,
html.theme-cream .stk-card h3,
html.theme-cream .stk-card h4,
html.theme-cream .mkt-cash,
html.theme-cream .mkt-cash b,
html.theme-cream .mkt-cash .k {
  color: #14233C !important;
}
html.theme-cream #companyList .co-change.up,
html.theme-cream .stk-head .day-change.up,
html.theme-cream .stk-open.up,
html.theme-cream .perf-grid .up,
html.theme-cream .pf-split .up,
html.theme-cream .pf-px.up,
html.theme-cream .ms-mod .st.go { color: #0B7A43 !important; }
html.theme-cream #companyList .co-change.down,
html.theme-cream .stk-head .day-change.dn,
html.theme-cream .stk-open.dn,
html.theme-cream .perf-grid .dn,
html.theme-cream .pf-split .dn,
html.theme-cream .pf-px.dn { color: #C42332 !important; }
html.theme-cream #companyList .company-row,
html.theme-cream .pf-line,
html.theme-cream .ms-mod { border-color: #E0D2B8 !important; }
html.theme-cream .detail-view .btn-buy,
html.theme-cream .pf-actions button:first-child,
html.theme-cream .nv-call button[data-call="help"] { background: #0B7A43 !important; color: #F6F0E4 !important; }
html.theme-cream .detail-view .btn-sell,
html.theme-cream .pf-actions button:last-child,
html.theme-cream .nv-call button[data-call="hurt"] { background: #C42332 !important; color: #F6F0E4 !important; }
html.theme-cream .pf-bank button { background: #10243F !important; color: #F6F0E4 !important; }
html.theme-cream .cycle-q button { background: #FFF9F0 !important; color: #14233C !important; border: 1px solid #E0D2B8 !important; }
html.theme-cream body.mkt-after #companyList .co-price,
html.theme-cream body.mkt-after .stk-head .big-price,
html.theme-cream body.mkt-after .mkt-spot b { color: #14233C !important; }
html.theme-cream body.mkt-after #companyList .co-change,
html.theme-cream body.mkt-after #companyList .co-change.up,
html.theme-cream body.mkt-after .stk-head .day-change.up,
html.theme-cream body.mkt-after .mkt-spot .up { color: #0B7A43 !important; }
html.theme-cream body.mkt-after #companyList .co-change.down,
html.theme-cream body.mkt-after .stk-head .day-change.dn,
html.theme-cream body.mkt-after .mkt-spot .down { color: #C42332 !important; }

html.theme-cream body.hall-open #listView > #hallView,
html.theme-cream #hallView,
html.theme-cream #hallView.legend-room {
  background: linear-gradient(180deg, #FFF8EC 0%, #F6E7C8 48%, #E7D0A4 100%) !important;
  color: #14233C !important;
}
html.theme-cream #hallView .hall-hero,
html.theme-cream #hallView .hall-medal,
html.theme-cream #hallView .hall-rank,
html.theme-cream #hallView .wing-card,
html.theme-cream #hallView .medal-tile,
html.theme-cream #hallView .dream,
html.theme-cream #hallView.legend-room .hall-hero,
html.theme-cream #hallView.legend-room .hall-medal,
html.theme-cream #hallView .wing-card.legend {
  background: linear-gradient(180deg, #FFFDF8 0%, #F4E4C4 100%) !important;
  color: #14233C !important;
  border-color: #C6A15A !important;
}
html.theme-cream #hallView .hall-tabs {
  background: linear-gradient(180deg, #FFF8EC 0%, rgba(255,248,236,.92) 100%) !important;
}
html.theme-cream #hallView .hall-tabs button,
html.theme-cream #hallView .hall-back {
  background: #FFF9F0 !important;
  color: #14233C !important;
  border-color: #C6A15A !important;
}
html.theme-cream #hallView .hall-tabs button.on {
  background: linear-gradient(180deg, #F0D48A 0%, #C6A15A 100%) !important;
  color: #1A1408 !important;
  border-color: #C6A15A !important;
}
html.theme-cream #hallView .hall-score,
html.theme-cream #hallView .hall-k,
html.theme-cream #hallView .hall-medal em,
html.theme-cream #hallView .hall-rank h1 {
  color: #8A6420 !important;
}
html.theme-cream #hallView .hall-medal span,
html.theme-cream #hallView .wing-card span,
html.theme-cream #hallView .medal-tile span,
html.theme-cream #hallView .hall-note,
html.theme-cream #hallView .hall-meta,
html.theme-cream #hallView .hall-rank p {
  color: #4A5A72 !important;
}
html.theme-cream #hallView .hall-bar {
  background: #E7DCC4 !important;
  border-color: #CDB892 !important;
}

html.theme-cream .resources-view,
html.theme-cream #academyRoot {
  background: transparent;
  color: #14233C;
}
html.theme-cream .resources-view .ln-card,
html.theme-cream .resources-view .ln-course,
html.theme-cream .resources-view .ln-leaf,
html.theme-cream .resources-view .ln-icon,
html.theme-cream .resources-view .ln-xp,
html.theme-cream .resources-view .hof,
html.theme-cream .resources-view .hof-cell,
html.theme-cream .resources-view .ac-badge,
html.theme-cream .resources-view .ac-def,
html.theme-cream .resources-view .ac-card,
html.theme-cream .resources-view .ac-stat,
html.theme-cream .resources-view .ac-lesson,
html.theme-cream .resources-view .ac-q {
  background: linear-gradient(180deg, #FFFDF8 0%, #F4E4C4 100%) !important;
  color: #14233C !important;
  border: 1px solid #E0D2B8 !important;
}
html.theme-cream .resources-view .hof h2,
html.theme-cream .resources-view .hof-kicker,
html.theme-cream .resources-view .ac-badge span,
html.theme-cream .resources-view .ac-def b,
html.theme-cream .resources-view .ln-kicker,
html.theme-cream .resources-view .ac-road em {
  color: #8A6420 !important;
}
html.theme-cream .resources-view .ln-card h2,
html.theme-cream .resources-view .ln-course h3,
html.theme-cream .resources-view .hof-cell b,
html.theme-cream .resources-view .ac-badge b,
html.theme-cream .resources-view .ac-def p,
html.theme-cream .resources-view .ac-card,
html.theme-cream .resources-view .ac-lesson,
html.theme-cream .resources-view .ac-q p {
  color: #14233C !important;
}
html.theme-cream .resources-view .ln-sub,
html.theme-cream .resources-view .ln-col,
html.theme-cream .resources-view .ln-days div,
html.theme-cream .resources-view .hof-cell span,
html.theme-cream .resources-view .ac-meta,
html.theme-cream .resources-view .ac-lead,
html.theme-cream .resources-view .ac-stat span {
  color: #4A5A72 !important;
}
html.theme-cream .resources-view .ln-continue,
html.theme-cream .resources-view .ac-go {
  background: linear-gradient(180deg, #1A3358 0%, #10243F 100%) !important;
  color: #F6F0E4 !important;
  border: 0 !important;
}
html.theme-cream .resources-view .ac-go.ghost {
  background: transparent !important;
  color: #14233C !important;
  border: 1px solid #C6A15A !important;
}
html.theme-cream .resources-view .ln-dot {
  border-color: #CDB892;
  color: #4A5A72;
}
html.theme-cream .resources-view .ln-dot.on {
  background: #1A3358;
  color: #F6F0E4;
  border-color: #1A3358;
}
html.theme-cream .resources-view .ln-line { background: #E0D2B8; }
html.theme-cream .resources-view .ln-line.on { background: #8A6420; }
html.theme-cream .resources-view .ac-choice {
  background: #FFF9F0 !important;
  color: #14233C !important;
  border-color: #E0D2B8 !important;
}
html.theme-cream .resources-view .ac-choice.right {
  background: #E5F5EC !important;
  color: #0B7A43 !important;
}
html.theme-cream .resources-view .ac-choice.wrong {
  background: #F8E4E4 !important;
  color: #9E1C2A !important;
}
html.theme-cream .kv-stack,
html.theme-cream .kv-note,
html.theme-cream .ac-mini,
html.theme-cream .ac-hub .ac-note {
  background: linear-gradient(180deg, #FFFDF8 0%, #F4E4C4 100%) !important;
  color: #14233C !important;
  border-color: #E0D2B8 !important;
}
html.theme-cream .kv-mod {
  color: #14233C !important;
  border-top-color: #E0D2B8 !important;
}
html.theme-cream .kv-mod .num { color: #8A6420 !important; }
html.theme-cream .kv-mod .nm,
html.theme-cream .kv-mod.done .nm { color: #14233C !important; }
html.theme-cream .kv-mod .sub,
html.theme-cream .kv-mod .st { color: #4A5A72 !important; }
html.theme-cream .kv-mod .st.go { color: #0B7A43 !important; }
html.theme-cream .kv-mod.done .nm::after { background: #C6A15A !important; }
html.theme-cream .ph-chips button {
  background: linear-gradient(180deg, #FFFDF8 0%, #F4E4C4 100%) !important;
  color: #14233C !important;
  border-color: #C6A15A !important;
}
html.theme-cream .ph-chips button b { color: #8A6420 !important; }
html.theme-cream .ph-grade { background: #E5F5EC !important; color: #0B7A43 !important; border-color: #0B7A43 !important; }
html.theme-cream .ph-grade.b { background: #F8EFD6 !important; color: #8A6420 !important; border-color: #C6A15A !important; }
html.theme-cream .ph-grade.c { background: #F8E8D8 !important; color: #9A4A12 !important; border-color: #E0B080 !important; }
html.theme-cream .ph-grade.d,
html.theme-cream .ph-grade.f { background: #F8E4E4 !important; color: #C42332 !important; border-color: #E7B4B4 !important; }
html.theme-cream .ph-grade.wait { background: #FFF9F0 !important; color: #4A5A72 !important; border-color: #E0D2B8 !important; }
