:root {
  --bg: #090c12; --bg2: #0d1119; --card: #0f141d; --line: #1a2130; --line2: #232c3d;
  --text: #d8dee9; --muted: #7c8697; --dim: #778294;
  --buy: #3b82f6; --buy2: #7aa2ff; --buy3: #b5c8ff; --sell: #ef4444; --sell2: #ff7a5c; --sell3: #ffb59a;
  --ok: #34c759; --warn: #f5a524; --bad: #ff453a; --accent: #6d8dff;
  --r: 10px; --font: Inter, system-ui, "Segoe UI", sans-serif; --mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; background: var(--bg); color: var(--text); font: 13px/1.45 var(--font); -webkit-font-smoothing: antialiased; }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.muted { color: var(--muted); font-size: 11px; font-weight: 400; }
button { font: inherit; color: var(--text); background: var(--card); border: 1px solid var(--line2); border-radius: 6px; padding: 5px 10px; cursor: pointer; }
button:hover { border-color: var(--accent); }
button.icon { padding: 5px 9px; }
button.ghost { background: transparent; }

/* ---------- top bar ---------- */
.top { height: 56px; display: flex; align-items: center; gap: 14px; padding: 0 16px; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, #0e131c, var(--bg)); }
.brand { display: flex; align-items: center; gap: 10px; min-width: 0; }
.brand b { letter-spacing: .08em; font-size: 14px; }
.brand .sym { margin-left: 8px; color: var(--buy3); font-weight: 600; }
.brand .sub { color: var(--muted); font-size: 11px; white-space: nowrap; }
.quote { display: flex; align-items: baseline; gap: 10px; padding-left: 14px; border-left: 1px solid var(--line); }
#price { font-size: 22px; font-weight: 600; min-width: 120px; transition: color .25s; }
#price.up { color: var(--buy3); } #price.down { color: var(--sell3); }
.chg { font-size: 12px; color: var(--muted); }
.chg.up { color: var(--buy2); } .chg.down { color: var(--sell2); }
.tms { font-size: 11px; color: var(--dim); white-space: nowrap; } .tms:empty { display: none; }   /* tick time exchange -> screen */
.tms.ok { color: #6ee7b7; } .tms.mid { color: #fbbf24; } .tms.bad { color: #f87171; }
.badge { padding: 5px 12px; border-radius: 999px; font-weight: 600; font-size: 12px; border: 1px solid var(--line2); white-space: nowrap; }
.badge.none { color: var(--muted); }
.badge.long { color: #fff; background: linear-gradient(90deg, #1f4fd1, #3b82f6); border-color: #3b82f6; }
.badge.short { color: #fff; background: linear-gradient(90deg, #c02a2a, #ef4444); border-color: #ef4444; }
/* journal signal: soft ship's-light glow for the first minute (slow 3 s breath), then steady colour until it runs out */
.badge.long, .sigNow.long { --sig: 59, 130, 246; }
.badge.short, .sigNow.short { --sig: 239, 68, 68; }
.sigNow.none { --sig: 140, 150, 165; color: var(--text, #e6e9ef); font-weight: 600; }
.sigNow { margin: 2px 0 8px; padding: 8px 10px; border-radius: 10px; font-weight: 600; color: #fff;
  border: 1px solid rgba(var(--sig), .8); background: rgba(var(--sig), .16); }
.sigNow .muted { font-weight: 400; margin-top: 2px; }
.badge.glow, .sigNow.glow { animation: beacon 3s ease-in-out 3; }
@keyframes beacon {
  0%, 100% { box-shadow: 0 0 4px rgba(var(--sig), .3); text-shadow: none; }
  50% { box-shadow: 0 0 22px 5px rgba(var(--sig), .7); text-shadow: 0 0 10px rgba(var(--sig), .95); }
}
@media (prefers-reduced-motion: reduce) { .badge.glow, .sigNow.glow { animation: none; box-shadow: 0 0 14px 3px rgba(var(--sig), .6); } }
.grow { flex: 1; }
.seg { display: inline-flex; border: 1px solid var(--line2); border-radius: 6px; overflow: hidden; }
.seg button { border: 0; border-radius: 0; background: transparent; padding: 5px 10px; color: var(--muted); }
.seg button + button { border-left: 1px solid var(--line2); }
.seg button.on { background: #18233a; color: var(--text); }
.pill { display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; }
.pill.evt { background: rgba(212,167,44,.08); border-color: rgba(212,167,44,.45); color: #f0cd6e; font-size: 12px; cursor: default; }
/* header buttons, all like VWAP: grey = off, own colour (--c: r,g,b) = on; .hbg = button + ⚙ (or a two-way switch) */
.top { --c: 229,231,235; }
.hb { font-size: 12px; font-weight: 600; color: var(--muted); white-space: nowrap; padding: 5px 10px; }
.hb.on { color: rgb(var(--c)); border-color: rgba(var(--c), .6); background: rgba(var(--c), .10); }
.hbg { display: inline-flex; }
.hbg .hb:first-child { border-radius: 999px 0 0 999px; padding-right: 7px; }
.hbg .hb + .hb { border-radius: 0 999px 999px 0; border-left: 0; padding: 5px 8px 5px 7px; }
.hbg .hb.on + .hb { border-color: rgba(var(--c), .6); }
.hb.hold { touch-action: none; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }   /* hold = view */
.pill.evt.soon { background: rgba(212,167,44,.22); border-color: #d4a72c; animation: pulse 2s ease-in-out 3; }
.pill.snd { color: var(--warn); border-color: var(--warn); font-size: 12px; font-weight: 600; white-space: nowrap; }
.pill.snd.on { color: var(--text); border-color: var(--line2); } .pill.snd.off { color: var(--muted); border-color: var(--line2); }
@media (max-width: 1800px) {                                     /* one header row down to ~1600 px; errors stay readable */
  .top { gap: 6px; } .top .brand .sub, .top .brand .sym, #health:has(.dot.ok) .pc { display: none; }
  .top .seg button { padding: 5px 7px; } .top .hb { padding-left: 8px; padding-right: 8px; } .top .hbg .hb + .hb { padding: 5px 7px 5px 6px; }
}
.top .chg, #health, #liveBtn, #nextEvt { white-space: nowrap; }
/* desktop: when it is still too narrow the header wraps into a second row (nothing cut off), main takes the rest;
   :where keeps these rules weaker than the /neu design's own header rules */
:where(html:not(.phone)) body { display: flex; flex-direction: column; }
:where(html:not(.phone)) .top { height: auto; min-height: 56px; flex: none; flex-wrap: wrap; row-gap: 6px; padding-top: 6px; padding-bottom: 6px; box-sizing: border-box; }
:where(html:not(.phone)) main { flex: 1; min-height: 0; height: auto; }
@keyframes pulse { 50% { box-shadow: 0 0 10px rgba(212,167,44,.5); } }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--bad); display: inline-block; }
.dot.ok { background: var(--ok); box-shadow: 0 0 6px rgba(52,199,89,.6); } .dot.warn { background: var(--warn); }
/* P24 #2 source dots: one per exchange, filled = live, hollow grey = old (no blinking, 0.3 s cross-fade) */
.sdot { width: 7px; height: 7px; border-radius: 50%; display: inline-block; box-sizing: border-box; border: 1.5px solid #6b7486;
  background: transparent; transition: background-color .3s, border-color .3s; }
.sdot.ok { background: var(--ok); border-color: var(--ok); }
#healthTxt { display: inline-flex; align-items: center; gap: 4px; } #health .dot[hidden] { display: none; }
.hdTip { position: fixed; z-index: 30; max-width: min(360px, calc(100vw - 16px)); padding: 7px 10px; border-radius: 10px; font-size: 11px;
  line-height: 1.45; background: rgba(13,17,25,.95); border: 1px solid var(--line2); color: var(--text); }

/* ---------- layout ---------- */
main { position: relative; display: flex; height: calc(100% - 56px); overflow: hidden; }
#chartWrap { position: relative; flex: 1; min-width: 0; }
#chart { position: absolute; inset: 0; }
aside { width: var(--side, 340px); border-left: 1px solid var(--line); overflow-y: auto; background: var(--bg2); padding: 8px; display: flex; flex-direction: column; gap: 8px; }
aside.ovf { scrollbar-gutter: stable; }                         /* app.js: only while it overflows (= same picture), no 2nd layout pass */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 0 12px; }
.card > summary { list-style: none; cursor: pointer; padding: 10px 0; font-size: 11px; font-weight: 600; color: #aab3c2; display: flex; gap: 8px; align-items: baseline; }
.card > summary::-webkit-details-marker { display: none; }
.card > summary::before { content: "▸"; color: var(--dim); transition: transform .15s; }
.card[open] > summary::before { transform: rotate(90deg); }
.card[open] { padding-bottom: 10px; }
.card .muted { text-transform: none; letter-spacing: 0; }

/* ---------- chart overlays ---------- */
.tip { position: absolute; top: 8px; left: 60px; z-index: 5; pointer-events: none; display: none; padding: 6px 9px; border-radius: 6px;
  background: rgba(13,17,25,.88); border: 1px solid var(--line2); font-size: 11px; line-height: 1.55; backdrop-filter: blur(4px); }
.tip .b { color: var(--buy2); } .tip .s { color: var(--sell2); } .tip .m { color: var(--muted); }
.tip .hit { font-weight: 600; padding-bottom: 4px; margin-bottom: 4px; border-bottom: 1px solid var(--line2); }
.loading { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: var(--muted); background: rgba(9,12,18,.6); z-index: 6; font-size: 14px; }
.loading.hide { display: none; }
.loading.warn, .loading.err { inset: auto; top: 10px; left: 56px; max-width: min(560px, 60%); justify-content: flex-start; gap: 10px; padding: 7px 10px;
  border-radius: var(--r); font-size: 12px; background: rgba(13,17,25,.92); }
.loading.warn { border: 1px solid var(--warn); color: #f7c873; }
.loading.err { border: 1px solid var(--bad); color: #ffb0a8; }
.loading button { padding: 2px 8px; font-size: 11px; white-space: nowrap; }
.loading .x { cursor: pointer; color: var(--muted); padding: 0 2px; }
.parity { margin-top: 6px; font-size: 11px; color: var(--muted); }
.parity.ok { color: var(--ok); } .parity.warn { color: var(--warn); } .parity.bad { color: var(--bad); }

/* ---------- report list ---------- */
.rep { margin-top: 8px; color: var(--dim); font-size: 11px;  }
.mod { display: flex; justify-content: space-between; font-size: 12px; padding: 3px 0; border-bottom: 1px dashed var(--line); }
.mod .v { font-family: var(--mono); font-size: 11px; }
.mod .v.rein { color: var(--ok); font-weight: 600; } .mod .v.raus, .mod .v.tot { color: var(--dim); } .mod .v.unklar { color: var(--warn); }

/* ---------- tables ---------- */
table.mini { width: 100%; border-collapse: collapse; font: 11px var(--mono); }
table.mini th { color: var(--muted); font: 11px var(--font); text-align: right; padding: 2px 4px;  }
table.mini td { text-align: right; padding: 2px 4px; border-top: 1px solid var(--line); }
table.mini th:first-child, table.mini td:first-child { text-align: left; font-family: var(--font); }
table.mini tr.sum td { border-top: 1px solid var(--line2); font-weight: 600; }
.pos { color: var(--buy2); } .neg { color: var(--sell2); }
#sources .dot { width: 7px; height: 7px; margin-right: 5px; }

/* ---------- events ---------- */
#events { max-height: 260px; overflow-y: auto; }
#events .ev { display: grid; grid-template-columns: 56px 30px 1fr; gap: 6px; padding: 3px 0; border-bottom: 1px solid var(--line); font-size: 11px; }
#events .ev .tm { color: var(--muted); font-family: var(--mono); }
#events .ev .src { color: var(--dim); font-family: var(--mono); }
#events .ev.buy .tx { color: var(--buy3); } #events .ev.sell .tx { color: var(--sell3); }
#events .ev.s2 .tx, #events .ev.s3 .tx { font-weight: 600; }
#events .ev.new { animation: flash 1.2s ease-out; }
@keyframes flash { from { background: rgba(109,141,255,.25); } to { background: transparent; } }

/* ---------- settings drawer ---------- */
.drawer { position: absolute; top: 0; right: 0; bottom: 0; width: 360px; max-width: 100%; z-index: 20; background: #0c1018; border-left: 1px solid var(--line2);
  box-shadow: -1px 0 0 rgba(255,255,255,.04), -8px 0 24px rgba(2,6,16,.32), -24px 0 48px rgba(2,6,16,.22); transform: translateX(105%); transition: transform .22s ease; display: flex; flex-direction: column; }
.drawer.open { transform: none; }
.drawer-head { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.drawer-head button { margin-left: auto; }
#settings { flex: 1; overflow-y: auto; padding: 6px 14px 14px; }
.drawer-find { padding: 10px 14px 4px; }
.drawer-find input { width: 100%; box-sizing: border-box; padding: 8px 10px; border-radius: 10px; border: 1px solid var(--line2);
  background: rgba(255,255,255,.04); color: inherit; font: inherit; outline: none; }
.drawer-find input:focus { border-color: #3b82f6; box-shadow: 0 0 0 2px rgba(59,130,246,.25); }
.drawer-find .muted { display: block; padding-top: 6px; }
#drawer [hidden] { display: none !important; }
#phone { padding: 4px 14px 10px; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; }
#phone summary { cursor: pointer; font-size: 12px; color: var(--buy3); }
#phoneTopic { margin: 6px 0; font-size: 12px; word-break: break-all; user-select: all; }
#phoneQr svg { display: block; background: #fff; border-radius: 4px; }
#phoneErr:empty { display: none; }
#phoneErr { color: var(--warn); }
.drawer-foot { padding: 10px 14px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; }
.keys { line-height: 1.6; }
/* settings file export / import (app.js): one row of two equal buttons, own wrapper with its own gap */
.drawer-foot .io { display: flex; gap: 8px; }
.drawer-foot .io button { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
.sec { margin-top: 12px; }
.sec h4 { margin: 0 0 6px; font-size: 11px; color: var(--muted); }
.opt { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 4px 10px; padding: 7px 0; border-bottom: 1px solid var(--line); }
.opt label { font-size: 12px; }
.opt .val { font: 11px var(--mono); color: var(--buy3); min-width: 54px; text-align: right; }
.opt input[type=range] { grid-column: 1 / -1; width: 100%; accent-color: var(--accent); height: 4px; }
.switch { position: relative; width: 34px; height: 19px; flex: none; }
.switch input { opacity: 0; width: 0; height: 0; }
.switch span { position: absolute; inset: 0; background: #252e40; border-radius: 999px; transition: .15s; cursor: pointer; }
.switch span::before { content: ""; position: absolute; width: 15px; height: 15px; left: 2px; top: 2px; background: #9aa4b4; border-radius: 50%; transition: .15s; }
.switch input:checked + span { background: #2d4ea8; }
.switch input:checked + span::before { transform: translateX(15px); background: #fff; }

@media (max-width: 900px) {
  .top { height: auto; flex-wrap: wrap; padding: 8px 12px; gap: 8px; }
  .brand .sub, .grow { display: none; }
  body { display: block; }                                         /* the page scrolls: chart, then the cards */
  .drawer { position: fixed; }                                     /* opens where the page is scrolled to */
  main { flex-direction: column; height: auto; }                  /* overflow stays hidden: the closed drawer sits right of it */
  #chartWrap { height: 70vh; flex: none; }
  aside { width: 100%; border-left: 0; border-top: 1px solid var(--line); }
}

/* ---------- live news ---------- */
.toasts { position: absolute; top: 10px; right: 78px; z-index: 8; display: flex; flex-direction: column; gap: 8px; width: min(380px, 60%); pointer-events: none; }
.toast { pointer-events: auto; background: rgba(13,17,25,.86); backdrop-filter: blur(6px); border: 1px solid var(--line2); border-left: 3px solid #d4a72c;
  border-radius: 10px; padding: 8px 10px 9px; box-shadow: 0 1px 2px rgba(2,6,16,.3), 0 4px 8px rgba(2,6,16,.22), 0 12px 24px rgba(2,6,16,.18); animation: tin .35s ease-out; }
.toast.out { animation: tout .5s ease-in forwards; }
.toast .meta { font-size: 11px; color: var(--muted); display: flex; justify-content: space-between; gap: 8px; }
.toast .meta b { color: #f0cd6e; font-weight: 600; }
.toast a { display: block; color: var(--text); text-decoration: none; font-weight: 600; font-size: 13px; line-height: 1.35; margin-top: 3px; }
.toast a:hover { color: #fff; text-decoration: underline; }
.toast .x { cursor: pointer; color: var(--dim); }
@keyframes tin { from { opacity: 0; transform: translateX(16px); } to { opacity: 1; transform: none; } }
@keyframes tout { to { opacity: 0; transform: translateX(16px); } }
#news { max-height: 230px; overflow-y: auto; }
#news .n { padding: 4px 0; border-bottom: 1px solid var(--line); font-size: 12px; line-height: 1.35; }
#news .n a { color: var(--text); text-decoration: none; }
#news .n a:hover { text-decoration: underline; }
#news .n .m { color: var(--muted); font-size: 11px; }
#news .n.strong a { font-weight: 600; color: #f6e2a8; }

/* ---------- drawing toolbar ---------- */
.drawbar { position: absolute; left: 8px; top: 50%; transform: translateY(-60%); z-index: 9; display: flex; flex-direction: column; gap: 3px; padding: 5px;
  background: rgba(13,17,25,.82); border: 1px solid var(--line2); border-radius: 10px; backdrop-filter: blur(6px); box-shadow: 0 6px 18px rgba(0,0,0,.35); }
.drawbar button { width: 32px; height: 32px; padding: 0; display: grid; place-items: center; background: transparent; border: 1px solid transparent; color: #aab3c2; border-radius: 6px; }
.drawbar button:hover { background: #18233a; color: #fff; border-color: transparent; }
.drawbar button.on { background: #22345c; color: #fff; border-color: #3b5bb5; }
.drawbar button.full { opacity: 0.35; cursor: not-allowed; }   /* all positions in use */
.drawbar button[data-tool="buy"] svg { color: var(--ok); } .drawbar button[data-tool="sell"] svg { color: var(--bad); }   /* position tools */
.drawbar .sep { height: 1px; background: var(--line2); margin: 3px 2px; }
.drawbar button.sw { width: 32px; height: 18px; }
.drawbar button.sw::after { content: ""; width: 16px; height: 10px; border-radius: 3px; background: var(--c); }
.drawbar button.sw.on { background: #18233a; border-color: var(--c); }
.toast.alarm { border-left-color: #ff9f0a; }
.toast.alarm a { color: #ffd38a; }
@media (max-width: 900px) { .drawbar { top: auto; bottom: 40px; transform: none; flex-direction: row; }   /* above the time axis + logo */ .drawbar .sep { width: 1px; height: auto; } }

/* ---------- report phases + risk context ---------- */
details.phase > summary { cursor: pointer; font-size: 11px; font-weight: 600; color: #aab3c2; padding: 6px 0 2px; list-style: none; }
details.phase > summary::-webkit-details-marker { display: none; }
#ctx .ctx { padding: 4px 0; border-bottom: 1px dashed var(--line); font-size: 12px; }
#ctx .ctx > div:first-child { display: flex; justify-content: space-between; gap: 8px; }
#ctx .ctx b { color: #f0cd6e; font-weight: 600; }
#ctx .ctx.hot b { color: #ffb44a; }
#repBox > summary { display: none; }

/* ---------- phone mode (html.phone: narrow / low touch screen or the "Handy-Ansicht" switch; the desktop rules stay as they are) ---------- */
html.phone, html.phone body { height: auto; }
.phone .brand, .phone .grow, .phone #tf, .phone #range, .phone #sndHint, .phone #xrayBtn, .phone .drawbar, .phone .keys,
.phone #health .pc { display: none !important; }
.phone .top { position: sticky; top: 0; z-index: 30; height: auto; display: grid; grid-template-columns: auto 1fr auto auto auto;
  grid-template-areas: "q q h l g" "b b d e e"; align-items: center; gap: 6px 8px; padding: 6px 10px; background: #0b0f17; }
.phone .quote { grid-area: q; padding-left: 0; border-left: 0; gap: 8px; }
.phone #price { font-size: 20px; min-width: 0; }
.phone .chg { white-space: nowrap; } .phone .chg .h { display: none; }   /* room for the price */
.phone #health { grid-area: h; padding: 6px 9px; font-size: 12px; }
.phone #liveBtn { grid-area: l; padding: 6px 9px; }
.phone #gear { grid-area: g; padding: 4px 12px; font-size: 17px; }
.phone #sigBadge { grid-area: b; justify-self: start; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
.phone #nextEvt { grid-area: e; justify-self: end; white-space: nowrap; }
.phone .top .hb:not(.dsw .hb), .phone .top .hbg:not(.dsw) { display: none; }   /* chart buttons: desktop only */
.phone .dsw { grid-area: d; }
.phone main { display: block; height: auto; overflow: visible; }
.phone #chartWrap { height: 58vh; height: 58svh; }
.phone aside { width: 100%; border-left: 0; border-top: 1px solid var(--line); overflow: visible; }
.phone aside > .card:not([data-card=signal]):not([data-card=ki]):not([data-card=risk]):not([data-card=ctx]) { display: none; }
.phone [data-card=signal] { order: 1; } .phone [data-card=ki] { order: 2; } .phone [data-card=risk] { order: 3; } .phone [data-card=ctx] { order: 4; }
.phone .card > summary { padding: 12px 0; font-size: 12px; }
.phone [data-card=signal] > .muted { display: none; }
.phone #repBox > summary { display: block; cursor: pointer; padding: 8px 0 2px; font-size: 12px; color: var(--buy3); }
.phone #kiOut li + li, .phone #kiOut > .muted:last-child { display: none; }
.phone #riskOut > .ctx, .phone #riskOut > .muted[style^="margin"], .phone #riskOut tr:nth-child(5), .phone #riskOut tr:nth-child(n+7) { display: none; }
.phone #ctx .ctx:nth-child(n+3) { display: none; }
.phone .tip { top: 6px; left: 6px; max-width: 58%; font-size: 11px; line-height: 1.45; }
.phone .toasts { top: auto; bottom: 34px; left: 6px; right: 70px; width: auto; }
.phone .loading.warn, .phone .loading.err { left: 6px; right: 6px; max-width: none; }
/* settings: full-screen sheet with big touch targets */
.phone .drawer { position: fixed; inset: 0; width: 100%; border-left: 0; z-index: 40; }
.phone .drawer-head { padding: 14px 16px; }
.phone .drawer-head button { padding: 8px 16px; font-size: 18px; }
.phone #settings .desk { display: none; }                          /* settings with no effect on the phone (app.js DESK_ONLY) */
.phone .opt { padding: 12px 0; }
.phone .opt label { font-size: 14px; }
.phone .opt .val { font-size: 13px; }
.phone .opt input[type=range] { height: 28px; }
.phone .switch { width: 50px; height: 30px; }
.phone .switch span::before { width: 26px; height: 26px; }
.phone .switch input:checked + span::before { transform: translateX(20px); }
.phone .drawer-foot button { padding: 12px; font-size: 14px; }
@media (orientation: landscape) {
  .phone .top { grid-template-columns: auto 1fr auto auto auto auto auto; grid-template-areas: "q b d e h l g"; padding: 4px 10px; }
  .phone #chartWrap { height: calc(100vh - 46px); height: calc(100svh - 46px); }
}

/* KI card living band (user 2026-11-16: "weniger Text, mehr Zeichnungen und Animationen") */
.kiSay { display: grid; gap: 7px; margin: 6px 0 8px; }
.kbrow { display: grid; grid-template-columns: 46px 46px 1fr 46px; align-items: center; gap: 6px; font-size: 11px;
  font-variant-numeric: tabular-nums; cursor: help; }
.kbl { color: var(--muted, #aab3c2); font-weight: 600; }
.kblo { text-align: right; color: var(--muted, #aab3c2); }
.kbhi { color: var(--muted, #aab3c2); }
.kbt { position: relative; height: 16px; border-radius: 10px; background: rgba(255,255,255,.04); }
.kbb { position: absolute; top: 2px; bottom: 2px; border-radius: 6px; overflow: hidden; transition: left 1s ease, width 1s ease, background .6s;
  background: rgba(148,163,184,.28); box-shadow: inset 0 0 0 1px rgba(148,163,184,.45); }
.kbb.calm { background: rgba(52,211,153,.22); box-shadow: inset 0 0 0 1px rgba(52,211,153,.6); }
.kbb.wild { background: rgba(251,191,36,.22); box-shadow: inset 0 0 0 1px rgba(251,191,36,.7); }
.kbb.hot { animation: kbhot 2.4s ease-in-out 3; }
@keyframes kbhot { 50% { box-shadow: inset 0 0 0 1px rgba(251,191,36,.95), 0 0 12px 2px rgba(251,191,36,.55); } }
.kbtime { position: absolute; left: 0; bottom: 0; height: 2px; background: rgba(255,255,255,.35); transition: width 1s linear; }
.kbd { position: absolute; top: 50%; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: #fff;
  box-shadow: 0 0 8px 2px rgba(255,255,255,.6); transition: left .8s ease; }
.kbd.out { background: #fbbf24; box-shadow: 0 0 10px 3px rgba(251,191,36,.8); }
.kbday .kbt { height: 12px; }
.kbf { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 6px; transition: width 1s ease, background .6s; background: rgba(148,163,184,.45); }
.kbf.calm { background: linear-gradient(90deg, rgba(52,211,153,.25), rgba(52,211,153,.7)); }
.kbf.norm { background: linear-gradient(90deg, rgba(148,163,184,.25), rgba(148,163,184,.75)); }
.kbf.wild { background: linear-gradient(90deg, rgba(251,191,36,.3), rgba(251,191,36,.85)); }
.kbm { position: absolute; top: -3px; bottom: -3px; width: 2px; margin-left: -1px; background: rgba(255,255,255,.55); }
.kbm.m80 { background: rgba(255,255,255,.85); }
.kiMore > summary { cursor: pointer; font-size: 11px; margin: 2px 0; }
@media (prefers-reduced-motion: reduce) { .kbb, .kbd, .kbf, .kbtime { transition: none; } .kbb.hot { animation: none; } }
#gateTxt { display: none; }                                       /* its sentence is the tip of #sigNow (less text) */
.flowNum > summary { cursor: pointer; font-size: 11px; color: var(--muted, #aab3c2); margin: 6px 0 2px; }
/* hold buttons with a latch (X-RAY, PHANTOM), slide-to-lock look (user 2026-11-16: "Mechanismus ok, Design wie gute Vorlagen,
   Lichteffekt behalten"): inset rail, raised round knob with a highlight and a chevron, a light sweep on hover, glow when locked */
.hb.hold, html body .top .hb.hold { position: relative; padding-left: 27px; padding-right: 9px; overflow: hidden;
  background: linear-gradient(180deg, rgba(0,0,0,.35), rgba(255,255,255,.03));
  box-shadow: inset 0 1px 3px rgba(0,0,0,.65), inset 0 -1px 0 rgba(255,255,255,.05); border-color: rgba(var(--c), .4); }
.hb.hold::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: var(--fill, 0); border-radius: inherit; pointer-events: none;
  background: linear-gradient(90deg, rgba(var(--c), .12), rgba(var(--c), .38)); }
.hb.hold::after { content: ''; position: absolute; top: 0; bottom: 0; left: -40%; width: 40%; pointer-events: none; opacity: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.22), transparent); }
.hb.hold:hover:not(.locked):not(.drag)::after { opacity: 1; animation: holdSweep 1.6s ease-in-out 3; }
@keyframes holdSweep { from { left: -40%; } to { left: 100%; } }
.hb.hold .knob { position: absolute; top: 50%; width: 20px; height: 20px; margin-top: -10px; left: 3px; border-radius: 50%; pointer-events: none; z-index: 1;
  background: radial-gradient(circle at 35% 30%, rgba(255,255,255,.95) 0 12%, rgb(var(--c)) 48%, rgba(var(--c), .7) 100%);
  box-shadow: 0 1px 3px rgba(0,0,0,.7), 0 0 7px rgba(var(--c), .65); transition: left .12s ease-out; }
.hb.hold .knob::after { content: '›'; position: absolute; inset: 0; display: grid; place-items: center; font: 600 13px/1 system-ui, sans-serif;
  color: rgba(0,0,0,.55); padding-bottom: 1px; }
.hb.hold.drag .knob, .hb.hold.drag::before { transition: none; }
.hb.hold.locked, html body .top .hb.hold.locked { padding-left: 9px; padding-right: 27px; color: #fff;
  box-shadow: inset 0 1px 2px rgba(0,0,0,.4), 0 0 0 1px rgba(var(--c), .9), 0 0 12px 2px rgba(var(--c), .5); }
.hb.hold.locked::before { width: 100%; background: linear-gradient(90deg, rgba(var(--c), .3), rgba(var(--c), .55)); }
.hb.hold.locked .knob { left: calc(100% - 23px); }
.hb.hold.locked .knob::after { content: '🔒'; font-size: 11px; color: inherit; }
.hb.hold.spring .knob { transition: left .4s cubic-bezier(.3, 1.8, .5, 1); }
.hb.hold.spring { transition: padding .25s ease; }
@media (prefers-reduced-motion: reduce) { .hb.hold .knob, .hb.hold.spring .knob, .hb.hold.spring { transition: none; } .hb.hold:hover::after { animation: none; opacity: 0; } }
/* settings drawer, Apple-style (user 2026-11-17): grouped rounded cards, short titles, folded sub-rows while a module is off */
#settings .sec { background: rgba(255,255,255,.035); border: 1px solid rgba(255,255,255,.06); border-radius: 14px; padding: 0 12px 2px; margin: 0 0 12px; }
/* every card has a look (user 2026-11-26, app.js SEC_LOOK): module colour --c / --c2, icon tile, module picture --m in the
   header band (static SVG background, fades towards the title, grey while the module is off) */
#settings .sec { --hd: 44px; position: relative; isolation: isolate; border-color: rgba(var(--c), .22);
  background: linear-gradient(180deg, rgba(var(--c), .09), rgba(var(--c), .03) var(--hd), rgba(255,255,255,.03) 120px); }
#settings .sec::before { content: ""; position: absolute; inset: 0 0 auto; height: var(--hd); z-index: -1; border-radius: inherit; pointer-events: none;
  background: var(--m) right center / auto 100% no-repeat; opacity: .85; transition: opacity .25s, filter .25s; }
#settings .sec.off::before { opacity: .3; filter: grayscale(1); }
#settings .sec h4 { display: flex; align-items: center; gap: 10px; min-height: var(--hd); margin: 0; font-size: 14px; color: var(--text); }
#settings .sec h4[title] { cursor: help; }
.sec-ic { width: 24px; height: 24px; border-radius: 7px; display: grid; place-items: center; flex: none; color: #fff;
  background: linear-gradient(135deg, rgb(var(--c)), rgb(var(--c2))); box-shadow: inset 0 0 0 1px rgba(255,255,255,.16); }
.sec.dk .sec-ic { color: #0b0f17; }
.sec-ic .ico { width: 15px; height: 15px; vertical-align: 0; }
html.phone #settings .sec { --hd: 52px; }
html.phone #settings .sec h4 { font-size: 16px; }
html.phone .sec-ic { width: 28px; height: 28px; border-radius: 8px; }
@media (prefers-reduced-motion: reduce) { #settings .sec::before { transition: none; } }
#settings .opt { padding: 9px 0; border-bottom: 1px solid rgba(255,255,255,.06); }
#settings .sec .opt:last-child { border-bottom: 0; }
#settings .opt > label:first-child { font-size: 13px; font-weight: 500; }
#settings .opt > label[title] { cursor: help; }
#settings .opt.folded, #settings .opt.modeoff { display: none; }
#settings .val { font-size: 12px; color: var(--muted); }

/* ---------- modern-design rules (2026-11-18): focus ring, reduced transparency, more contrast ---------- */
b, strong, th, h1, h2, h3, h4, h5 { font-weight: 600; }        /* 3 weights only: 400 / 500 / 600 */
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
input[type=range]:focus-visible { outline-offset: 4px; }
@media (prefers-reduced-transparency: reduce) {           /* glass -> solid surfaces (Windows "Transparenzeffekte" off) */
  *, *::before, *::after { -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
  .top, html.neu .top, .tip, .toast, .drawbar, html.neu .drawer { background: #0d1119 !important; }
}
@media (prefers-contrast: more) {                         /* "Kontrast erhöhen": brighter secondary text, firm lines */
  :root, html.neu { --muted: #b4bccb; --dim: #9aa4b5; --line: rgba(255,255,255,.22); --line2: rgba(255,255,255,.32); }
}

/* ---------- modern-design layer 2 (2026-11-18, audit D:\QFLOW\concepts\design-audit): panels, targets, tooltip ---------- */
:root { --e3: 0 2px 4px rgba(2,6,16,.25), 0 8px 16px rgba(2,6,16,.22), 0 16px 32px rgba(2,6,16,.2); }
.card > summary { font-size: 13px; letter-spacing: 0; }
/* ⚙ panels (every module shares .vwp): radius 14, soft layered shadow, 12/16 inside, rows and buttons >= 28 px */
html body .vwp { border-radius: 14px; padding: 12px 16px 16px; box-shadow: var(--e3); }
html body .vwp .lbl { margin: 12px 0 4px; font-size: 11px; letter-spacing: 0; }
html body .vwp .hd .icon { min-width: 28px; min-height: 28px; padding: 0 8px; }
html body .vwp .seg { border-radius: 8px; }
html body .vwp .seg button { min-height: 28px; padding: 4px 8px; border-radius: 6px; }
html body .vwp .tg { min-height: 32px; padding: 4px 0; }
html body .vwp .acts button { min-height: 28px; padding: 4px 8px; }
html body .aip { border-radius: 14px; box-shadow: var(--e3); }
html body .aip .lbl { letter-spacing: 0; }
/* header: every control has a 28 px target, pills on the 4 / 8 scale */
html body .top .seg button, html body .top .hb, html body .top .pill, html body .top button.icon { min-height: 28px; }
html body .top .hbg .hb + .hb { min-width: 28px; padding: 4px 8px; }
html body .top .seg button { min-width: 28px; }
html body .top .hb, html body .top .pill { padding-top: 4px; padding-bottom: 4px; }
/* small round "?" and drawing-bar dots keep their look, their click area grows to 28 px */
.kiQ, #domCol button, .card button.ghost { position: relative; }
.kiQ::after, #domCol button::after { content: ""; position: absolute; inset: -4px; }
/* drawing bar: the colour buttons draw their chip with ::after (style.css .sw) - never reuse it as a click area;
   the button itself is 28 px high instead (user 2026-11-19: chips were pushed out of their buttons) */
.drawbar button.sw { height: 28px; }
/* chart tooltip: no glass over the live chart (solid surface), 8 / 12 inside */
html body .tip { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(13,17,25,.96); padding: 8px 12px; }
html body .drawbar { padding: 8px; box-shadow: var(--e3); }
/* settings rows: a row is the click target (the label), at least 32 px */
#settings .opt, #settings label.tg { min-height: 32px; }
/* icons drawn as lines instead of emoji */
.ico { width: 14px; height: 14px; vertical-align: -2px; flex: none; }

/* ---------- modern-design layer 3 (2026-11-19, user: "alles was gemacht wurde und Sinn macht hoch"; local test T4-T17) ---------- */
/* KI band moves in 300 ms (UI motion 100-300 ms) */
.kbb { transition: left .3s cubic-bezier(.22, 1, .36, 1), width .3s cubic-bezier(.22, 1, .36, 1), background .3s; }
.kbd { transition: left .3s cubic-bezier(.22, 1, .36, 1); }
.kbf { transition: width .3s cubic-bezier(.22, 1, .36, 1), background .3s; }
#kiLat .u, #kiLat line, #kiLat circle, #kiLat .flag, #kiLat text { transition: transform .3s cubic-bezier(.22, 1, .36, 1) !important; }
/* hold latch: small overshoot (bounce ~0.15) */
.hb.hold.spring .knob { transition: left .4s cubic-bezier(.34, 1.25, .64, 1); }
/* calm header: an active module = bright text + hairline + a small dot in its colour; X-Ray stays the one accent */
html body .top .hb.on:not(.hold), html body .top .hbg .hb.on + .hb { color: var(--text); background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.2); }
html body .top .hbg .hb.on[data-h="on"]::before, html body .top .hb.on[data-k]::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%; background: rgb(var(--c, 122,162,255)); margin-right: 2px; flex: none; }
/* phone: every control 44 px high (Apple touch target) */
html.phone body button, html.phone body .seg button, html.phone body .pill { min-height: 44px; }
html.phone body #settings .opt, html.phone body label.tg { min-height: 44px; }
html.phone body .top button.icon, html.phone body .top .hb, html.phone body .top .pill, html.phone body .top .seg button { min-height: 44px; }   /* beats the 28-px desktop rule */
/* switches in Apple proportions on the desktop (40 x 24, knob 20) */
html:not(.phone) .switch { width: 40px; height: 24px; }
html:not(.phone) .switch span::before { width: 20px; height: 20px; }
html:not(.phone) .switch input:checked + span::before { transform: translateX(16px); }
/* X-Ray latch, Liquid-Glass style: flat light track, neutral knob with a 1-px light edge, colour only when locked */
html body .top .hb.hold { background: rgba(255,255,255,.05); box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); border-color: transparent; color: var(--text); }
html body .top .hb.hold::before { background: linear-gradient(90deg, rgba(var(--c), .06), rgba(var(--c), .18)); }
html body .top .hb.hold .knob { background: linear-gradient(180deg, #f4f6fa, #c9d0dc); box-shadow: inset 0 1px 0 #fff, 0 1px 2px rgba(2,6,16,.35); }
html body .top .hb.hold .knob::after { color: rgba(20,26,38,.7); }
html body .top .hb.hold.locked { color: #fff; background: rgba(var(--c), .16); box-shadow: inset 0 0 0 1px rgba(var(--c), .75), 0 0 10px rgba(var(--c), .25); }
html body .top .hb.hold.locked::before { background: linear-gradient(90deg, rgba(var(--c), .10), rgba(var(--c), .28)); }
html body .top .hb.hold.locked .knob { background: linear-gradient(180deg, #ffffff, rgb(var(--c))); }
html body .top .hb.hold.locked .knob::after { content: ""; inset: 5px; border-radius: 2px;     /* lock as a drawn shape, no emoji */
  background: no-repeat center / 10px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23141a26' stroke-width='1.8' stroke-linecap='round'%3E%3Crect x='3' y='7' width='10' height='7' rx='2'/%3E%3Cpath d='M5.5 7V5a2.5 2.5 0 0 1 5 0v2'/%3E%3C/svg%3E"); }
#xrayN { margin-left: 6px; padding: 0 6px; border-radius: 999px; background: rgba(255,255,255,.08); color: var(--muted); font-size: 11px; line-height: 18px; }
#xrayN:empty { display: none; }
/* one time-frame track: #tf + #tfL in one wrapper with gap 0 (app.js) - no negative margin against the responsive header gap */
.tfwrap { display: flex; flex: none; }
.tfwrap #tf { border-top-right-radius: 0; border-bottom-right-radius: 0; }
.tfwrap #tfL { margin: 0; border-top-left-radius: 0; border-bottom-left-radius: 0; border-left: 1px solid rgba(255,255,255,.1); }
/* quiet status: the exchange dots are information, not a button -> no frame */
html body .top #health { border-color: transparent; background: none; }
/* sound: icon only, a small yellow dot while the browser still needs a click */
#sndHint.wait { position: relative; }
#sndHint .sdot { position: absolute; top: 5px; right: 6px; width: 6px; height: 6px; border-radius: 50%; background: #f5c451; }

/* ---------- layer 4: Apple motion, soft (user 2026-11-19: "nur welche die Sinn machen hoch", then "alle Bewegungen weicher, sanfter,
   sichere Funktionen"; skill modern-design apple-hig §12b) ----------
   Three curves only, no overshoot anywhere:
   --q-soft   = gentle start AND gentle end, for everything that travels (drawer, panels, card height, KI band, knobs)
   --q-gentle = soft ease-out, for things that appear / fade
   --q-in     = soft ease-in, for things that leave (exit is a bit shorter than enter)
   The old ease-out-quint (.22,1,.36,1) put ~80 % of the way into the first 100 ms - that was the "hart und schnell".
   CSS transitions are interruptible (a second click reverses from the current point). Reduced motion: nothing below runs. */
:root { --q-soft: cubic-bezier(.4, 0, .2, 1); --q-gentle: cubic-bezier(.25, .8, .25, 1); --q-in: cubic-bezier(.4, 0, 1, 1); }
@media (prefers-reduced-motion: no-preference) {
  /* ⚙ module panels: fade + 4 px rise + 0.985 scale from the top edge; closing animates too (display allow-discrete) and a closing
     panel takes no clicks (safe: nothing invisible over the chart) */
  html body .vwp { opacity: 0; transform: translateY(-4px) scale(.985); transform-origin: top center; pointer-events: none;
    transition: opacity .2s var(--q-in), transform .24s var(--q-in), display .24s allow-discrete; }
  html body .vwp.open { opacity: 1; transform: none; pointer-events: auto;
    transition: opacity .26s var(--q-gentle), transform .36s var(--q-soft), display .36s allow-discrete; }
  @starting-style { html body .vwp.open { opacity: 0; transform: translateY(-4px) scale(.985); } }
  /* settings drawer: soft slide, open .45 s, close .35 s */
  .drawer { transition: transform .35s var(--q-soft); will-change: transform; }   /* own GPU layer from the start: no first-frame hitch */
  .drawer.open { transition-duration: .45s; }
  /* cards (<details>): the body grows / shrinks instead of jumping (Chromium 131+, else unchanged). Clipped only while it grows:
     an open card must not clip its help pop-ups (flow / pools / level reach 33-141 px below the card) - app.js sets .qgrow */
  @supports selector(::details-content) {
    .card { interpolate-size: allow-keywords; }
    .card::details-content { block-size: 0; overflow: clip; transition: block-size .36s var(--q-soft), content-visibility .36s allow-discrete; }
    .card[open]::details-content { block-size: auto; }
    .card[open]:not(.qgrow)::details-content { overflow: visible; }
  }
  .card > summary::before { transition: transform .3s var(--q-soft); }
  /* switches: knob and colour glide instead of the 150 ms snap */
  .switch span, .switch span::before { transition: background-color .25s var(--q-gentle), transform .28s var(--q-soft), left .28s var(--q-soft); }
  /* KI band (updates every second): softer glide, .5 s, no front-loaded jump */
  .kbb { transition: left .5s var(--q-soft), width .5s var(--q-soft), background .5s var(--q-gentle); }
  .kbd { transition: left .5s var(--q-soft); }
  .kbf { transition: width .5s var(--q-soft), background .5s var(--q-gentle); }
  #kiLat .u, #kiLat line, #kiLat circle, #kiLat .flag, #kiLat text { transition: transform .5s var(--q-soft) !important; }
  /* X-Ray hold latch: the knob glides home without overshoot */
  .hb.hold.spring .knob { transition: left .45s var(--q-soft); }
  /* news / alarm toasts: slide in softly, leave a bit quicker */
  .toast { animation: qtin .45s var(--q-gentle); }
  .toast.out { animation: qtout .3s var(--q-in) forwards; }
  @keyframes qtin { from { opacity: 0; transform: translateX(12px); } to { opacity: 1; transform: none; } }
  @keyframes qtout { to { opacity: 0; transform: translateX(12px); } }
  /* a NEW signal (☠ / ⚠ of the risk pill, a LONG / SHORT badge) swells in once, gently (qpop() in app.js / risk.js) */
  #asPill .asIco { display: inline-block; }
  .qpop { animation: qpop .55s var(--q-gentle) !important; }
  #asPill.lv3 .asIco.qpop { animation: qpop .55s var(--q-gentle), asPulse .9s ease-in-out .55s 3 !important; }   /* keeps its 3 pulses */
  @keyframes qpop { 0% { transform: scale(.85); opacity: .4; } 60% { transform: scale(1.04); opacity: 1; } 100% { transform: scale(1); } }
  /* Trading <-> Extra: a soft cross-fade instead of the hard cut (View Transitions, app.js) */
  ::view-transition-old(root) { animation: .2s var(--q-in) both qvtOut; }
  ::view-transition-new(root) { animation: .32s var(--q-gentle) both qvtIn; }
  @keyframes qvtOut { to { opacity: 0; } }
  @keyframes qvtIn { from { opacity: 0; } }
}

/* ---------- 2026-11-19: icon clicks, X-Ray grip, Live dialog ---------- */
/* an icon inside a button never becomes the click target (a re-drawn icon must not swallow the click) */
button svg, button .sdot { pointer-events: none; }
/* X-Ray knob: a calm grip (3 short lines = "slide me") instead of the "›" sign; locked keeps the drawn lock */
html body .top .hb.hold:not(.locked) .knob::after { content: ""; inset: 6px 6px; padding: 0;
  background: linear-gradient(90deg, transparent 0 1px, rgba(20,26,38,.55) 1px 2px, transparent 2px 3.5px, rgba(20,26,38,.55) 3.5px 4.5px,
    transparent 4.5px 6px, rgba(20,26,38,.55) 6px 7px, transparent 7px) center / 8px 8px no-repeat; }
/* Live dialog: an Apple-style alert - title, two stacked choices (the reset in red), cancel; dimmed backdrop */
#liveDlg { width: min(320px, calc(100vw - 32px)); padding: 16px; border: 1px solid rgba(255,255,255,.12); border-radius: 14px;
  background: #121822; color: var(--text); box-shadow: var(--e3); }
#liveDlg::backdrop { background: rgba(2,6,16,.55); }
#liveDlg b { display: block; margin: 0 0 12px; font-size: 15px; text-align: center; }
#liveDlg button { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 48px; margin: 0 0 8px; padding: 8px 12px; border-radius: 10px;
  border: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.05); color: var(--text); font: 500 14px var(--font); text-align: left; cursor: pointer; }
#liveDlg button:hover { background: rgba(255,255,255,.09); }
#liveDlg button .ico { width: 18px; height: 18px; flex: none; }
#liveDlg button span { display: grid; gap: 2px; }
#liveDlg button small { font-size: 12px; font-weight: 400; color: var(--muted); }
#liveDlg .ld-main { border-color: rgba(122,162,255,.45); background: rgba(122,162,255,.12); }
#liveDlg .ld-reset { color: #ff8a80; }
#liveDlg .ld-cancel { justify-content: center; min-height: 40px; margin: 4px 0 0; background: none; border-color: transparent; color: var(--muted); }
@media (prefers-reduced-motion: no-preference) { #liveDlg[open] { animation: ldIn .22s cubic-bezier(.25, .8, .25, 1); } }
@keyframes ldIn { from { opacity: 0; transform: scale(.97); } }
/* my view (★): load = the main choice when something is saved, save with a gold star; the star button sits next to Live (desktop) */
#liveDlg .ld-fav:not(:disabled) { border-color: rgba(122,162,255,.45); background: rgba(122,162,255,.12); }
#liveDlg .ld-fav:disabled { opacity: .45; cursor: default; }
#liveDlg .ld-fav:not(:disabled) ~ .ld-main { border-color: rgba(255,255,255,.1); background: rgba(255,255,255,.05); }   /* one main choice only */
#liveDlg .ld-save .ico { color: #f5c451; }
#favBtn .ico { width: 15px; height: 15px; }
html.phone #favBtn { display: none; }                               /* phone: the same choices are in the Live dialog */

