mirror of
https://github.com/db9979/wibosim.git
synced 2026-12-06 13:34:09 +01:00
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018i4GUhQVoPUusUzxgxLWkK
971 lines
70 KiB
CSS
971 lines
70 KiB
CSS
/* WiBoSim – Handelsoberfläche in Dunkel (Standard) und Hell (data-theme="light" auf <html>, gesetzt von js/theme-init.js bzw. js/theme.js). Keine externen Schriften/Bibliotheken. */
|
||
:root {
|
||
--bg: #0b0f17; --panel: #121826; --panel2: #182033; --panel3: #1e2840; --line: #26314a; --text: #e3e9f5; --muted: #95a1b8;
|
||
--up: #2bd36b; --down: #ff5c5c; --accent: #4c8dff; --gold: #f5b942; --focus: #ffd166;
|
||
--mono: ui-monospace, 'SFMono-Regular', Menlo, Consolas, 'Liberation Mono', monospace;
|
||
--radius: 10px;
|
||
--link: #8fb6ff; --info: #a9c6ff; --down-soft: #ff8b8b; --violet: #c4b5fd; --violet-bar: #c084fc;
|
||
--buy: #17994b; --sell: #d23c3c; --on-signal: #0b0f17; --strong: #fff;
|
||
--row-line: #1c2538; --row-hover: #161f31; --tip-bg: #0d1422; --panel-glass: rgba(18,24,38,.96); --recap-from: #18233d;
|
||
--overlay: rgba(0,0,0,.62); --shadow: rgba(0,0,0,.45); --shadow-lg: rgba(0,0,0,.6);
|
||
--seg-on: var(--panel3); --seg-shadow: none;
|
||
color-scheme: dark;
|
||
}
|
||
/* Helles Farbschema: Texte mindestens WCAG AA auf Panel- und Hintergrundflächen */
|
||
:root[data-theme="light"] {
|
||
--bg: #f2f4f8; --panel: #ffffff; --panel2: #f6f8fb; --panel3: #e9eef5; --line: #d3dae6; --text: #141b2b; --muted: #566175;
|
||
--up: #0b6b34; --down: #b82424; --accent: #1f5bd8; --gold: #855700; --focus: #c25400;
|
||
--link: #1d55c8; --info: #1e4fb8; --down-soft: #b42318; --violet: #6d28d9; --violet-bar: #9333ea;
|
||
--buy: #12803f; --sell: #c22b2b; --on-signal: #fff; --strong: #000;
|
||
--row-line: #e6eaf1; --row-hover: #f1f5fb; --tip-bg: #fff; --panel-glass: rgba(255,255,255,.96); --recap-from: #e4ecfb;
|
||
--overlay: rgba(15,23,42,.45); --shadow: rgba(15,23,42,.14); --shadow-lg: rgba(15,23,42,.22);
|
||
--seg-on: #fff; --seg-shadow: 0 1px 2px rgba(15,23,42,.18), 0 0 0 1px var(--line);
|
||
color-scheme: light;
|
||
}
|
||
* { box-sizing: border-box; }
|
||
[hidden] { display: none !important; }
|
||
html { -webkit-text-size-adjust: 100%; }
|
||
html, body { margin: 0; background: var(--bg); color: var(--text); font: 14px/1.45 system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; }
|
||
body { min-height: 100vh; }
|
||
h1, h2, h3 { margin: 0; }
|
||
p { margin: 6px 0; }
|
||
a { color: var(--link); }
|
||
button { font: inherit; cursor: pointer; color: inherit; }
|
||
button:disabled { cursor: not-allowed; opacity: .55; }
|
||
input, select, textarea { font: inherit; background: var(--bg); color: var(--text); border: 1px solid var(--line); border-radius: 7px; padding: 8px 10px; width: 100%; min-height: 38px; }
|
||
textarea { resize: vertical; }
|
||
input:focus, select:focus, textarea:focus { border-color: var(--accent); }
|
||
:focus-visible { outline: 2px solid var(--focus) !important; outline-offset: 2px; }
|
||
input:user-invalid { border-color: var(--down); }
|
||
fieldset { border: 1px solid var(--line); border-radius: 8px; padding: 8px 12px 10px; margin: 10px 0; }
|
||
legend { color: var(--muted); padding: 0 4px; font-size: 13px; }
|
||
table { width: 100%; border-collapse: collapse; }
|
||
th { text-align: left; color: var(--muted); font-weight: 500; font-size: 12px; padding: 6px 8px; position: sticky; top: 0; background: var(--panel); z-index: 1; }
|
||
td { padding: 6px 8px; border-top: 1px solid var(--row-line); vertical-align: middle; }
|
||
th.num, td.num, .num { text-align: right; font-family: var(--mono); font-variant-numeric: tabular-nums; white-space: nowrap; }
|
||
.up { color: var(--up); } .down { color: var(--down); } .flat { color: var(--muted); } .muted { color: var(--muted); } .gold-t { color: var(--gold); }
|
||
.warn { color: var(--gold); }
|
||
.small { font-size: 12px; } .block { display: block; } .center { text-align: center; } .pad { padding: 10px 12px; }
|
||
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
|
||
.skip { position: absolute; left: -999px; top: 4px; background: var(--accent); color: #fff; padding: 8px 12px; border-radius: 6px; z-index: 100; }
|
||
.skip:focus { left: 8px; }
|
||
|
||
/* ---------------------------------------------------------------- Schaltflächen */
|
||
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; background: var(--accent); color: #fff; border: 0; border-radius: 7px; padding: 8px 14px; font-weight: 600; text-decoration: none; min-height: 36px; }
|
||
.btn:hover:not(:disabled) { filter: brightness(1.1); }
|
||
.btn.ghost { background: transparent; border: 1px solid var(--line); color: var(--text); }
|
||
.btn.small { padding: 4px 10px; font-size: 12px; min-height: 30px; }
|
||
.btn.buy { background: var(--buy); } .btn.sell { background: var(--sell); }
|
||
.btn.wide { width: 100%; padding: 11px; font-size: 15px; }
|
||
.linkish { background: none; border: 0; padding: 0; color: var(--link); text-decoration: underline; font: inherit; }
|
||
.plink { background: none; border: 0; padding: 0; color: inherit; font: inherit; text-decoration: underline dotted; text-underline-offset: 3px; }
|
||
.plink:hover { color: var(--link); }
|
||
.icon-btn { position: relative; background: none; border: 1px solid var(--line); border-radius: 8px; width: 38px; height: 38px; display: grid; place-items: center; color: var(--text); }
|
||
.icon-btn .count { position: absolute; top: -6px; right: -6px; background: var(--down); color: #fff; border-radius: 10px; font-size: 12px; min-width: 20px; height: 20px; padding: 0 5px; display: grid; place-items: center; font-weight: 700; }
|
||
.theme-ic { display: inline-flex; line-height: 1; }
|
||
.seg .theme-ic svg { width: 16px; height: 16px; }
|
||
.seg button:has(.theme-ic) { display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
|
||
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--down); margin-left: 4px; vertical-align: middle; }
|
||
.row-actions { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
|
||
.inline-form { display: flex; gap: 8px; margin-bottom: 10px; }
|
||
.inline-form input { flex: 1; }
|
||
.push { margin-left: auto; align-self: center; }
|
||
|
||
/* ---------------------------------------------------------------- Kopfzeile */
|
||
header.top { display: flex; align-items: center; gap: 18px; padding: 6px 14px; min-height: 56px; background: var(--panel); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 30; }
|
||
.logo { font-weight: 800; font-size: 19px; letter-spacing: .4px; white-space: nowrap; }
|
||
.logo span { color: var(--accent); }
|
||
.phase { display: flex; align-items: center; gap: 8px; background: var(--panel2); border: 1px solid var(--line); border-radius: 20px; padding: 4px 12px 4px 10px; min-width: 0; flex: 0 1 auto; }
|
||
.phase-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--muted); flex: none; }
|
||
.phase[data-phase="continuous"] .phase-dot { background: var(--up); box-shadow: 0 0 0 3px color-mix(in srgb, var(--up) 20%, transparent); }
|
||
.phase[data-phase="opening"] .phase-dot, .phase[data-phase="closing"] .phase-dot { background: var(--gold); box-shadow: 0 0 0 3px color-mix(in srgb, var(--gold) 20%, transparent); }
|
||
.phase[data-phase="preopen"] .phase-dot { background: var(--link); }
|
||
.phase.stale .phase-dot { background: var(--muted); box-shadow: none; }
|
||
.phase.stale .phase-txt b { color: var(--muted); }
|
||
.phase-txt { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
|
||
.phase-txt b { font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
|
||
.phase-txt small { color: var(--muted); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
|
||
.stat { display: flex; flex-direction: column; line-height: 1.2; }
|
||
.stat small { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .4px; white-space: nowrap; }
|
||
.stat b { font-family: var(--mono); font-size: 14px; white-space: nowrap; }
|
||
.stat-btn { background: none; border: 1px solid transparent; border-radius: 8px; padding: 2px 8px; text-align: left; }
|
||
.stat-btn:hover { border-color: var(--line); }
|
||
.chip { display: inline-block; background: var(--panel3); border-radius: 12px; padding: 2px 9px; font-size: 12px; color: var(--muted); }
|
||
.chip.new { background: var(--accent); color: #fff; }
|
||
.chip.pos { color: var(--up); } .chip.neg { color: var(--down); }
|
||
.spacer { flex: 1; }
|
||
.conn { color: var(--gold); font-size: 12px; }
|
||
|
||
.banner { padding: 8px 16px; background: color-mix(in srgb, var(--accent) 10%, transparent); border-bottom: 1px solid color-mix(in srgb, var(--accent) 30%, transparent); font-size: 13px; }
|
||
.banner.gold { background: color-mix(in srgb, var(--gold) 12%, transparent); border-color: color-mix(in srgb, var(--gold) 35%, transparent); }
|
||
.banner-in { margin: 0 0 10px; padding: 8px 12px; border-radius: 8px; background: color-mix(in srgb, var(--gold) 10%, transparent); border: 1px solid color-mix(in srgb, var(--gold) 35%, transparent); font-size: 13px; }
|
||
.banner-in.down-b { background: color-mix(in srgb, var(--down) 10%, transparent); border-color: color-mix(in srgb, var(--down) 40%, transparent); }
|
||
.stock-col .banner-in { margin: 0 14px 8px; }
|
||
|
||
.mainnav { display: flex; gap: 2px; padding: 0 10px; background: var(--panel); border-bottom: 1px solid var(--line); overflow-x: auto; }
|
||
.mainnav button { background: none; border: 0; border-bottom: 2px solid transparent; color: var(--muted); padding: 10px 12px; white-space: nowrap; font-weight: 600; }
|
||
.mainnav button:hover { color: var(--text); }
|
||
.mainnav button[aria-current="page"] { color: var(--text); border-color: var(--accent); }
|
||
|
||
/* ---------------------------------------------------------------- Ansichten */
|
||
main { padding: 10px; outline: none; }
|
||
.view { display: none; }
|
||
body[data-view="markt"] #v-trade, body[data-view="handeln"] #v-trade { display: grid; }
|
||
body[data-view="depot"] #v-depot, body[data-view="termine"] #v-termine, body[data-view="parlament"] #v-parlament,
|
||
body[data-view="battles"] #v-battles, body[data-view="clans"] #v-clans, body[data-view="fortschritt"] #v-fortschritt, body[data-view="community"] #v-community,
|
||
body[data-view="news"] #v-news, body[data-view="hilfe"] #v-hilfe, body[data-view="mehr"] #v-mehr { display: block; }
|
||
.page { max-width: 1300px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
|
||
|
||
#v-trade { grid-template-columns: 290px minmax(0, 1fr) 340px; gap: 10px; align-items: start; }
|
||
.market-col { position: sticky; top: 112px; max-height: calc(100vh - 124px); }
|
||
.stock-col, .ticket-col { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
|
||
.sticky-trade { display: none; }
|
||
|
||
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); display: flex; flex-direction: column; min-width: 0; }
|
||
.card-h { margin: 0; padding: 10px 12px; font-size: 13px; text-transform: uppercase; letter-spacing: .6px; color: var(--muted); border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 8px; font-weight: 700; }
|
||
.h-inline { font-size: 13px; display: inline; }
|
||
.card .body { padding: 12px; min-height: 0; }
|
||
.card .body.flush { padding: 0; }
|
||
.scroll { overflow: auto; }
|
||
.scroll-x { overflow-x: auto; }
|
||
.scroll-y { max-height: 70vh; overflow-y: auto; }
|
||
.h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .5px; color: var(--muted); margin: 14px 0 6px; }
|
||
.h4:first-child { margin-top: 0; }
|
||
.grid2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
|
||
.grid2.tight { gap: 16px; margin: 10px 0; }
|
||
.grid3 { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) minmax(0, 1fr); gap: 18px; }
|
||
.grid-pa { display: grid; grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr); gap: 10px; align-items: start; max-width: 1300px; }
|
||
.grid-pa .pa-main { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
|
||
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
|
||
.row3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
|
||
.field { margin-bottom: 9px; }
|
||
.field label { display: block; color: var(--muted); font-size: 12px; margin-bottom: 3px; }
|
||
.check { display: flex; gap: 8px; align-items: center; margin: 6px 0; font-size: 13px; }
|
||
.check input { width: auto; min-height: 0; }
|
||
.err-line { color: var(--down); min-height: 1em; font-size: 13px; }
|
||
.lead { font-size: 15px; }
|
||
|
||
/* Marktliste */
|
||
.mlist td { padding: 6px 4px; }
|
||
.mlist td:first-child { padding-left: 6px; }
|
||
.mlist td.num { font-size: 12.5px; letter-spacing: -.2px; }
|
||
.mlist tr { cursor: pointer; }
|
||
.mlist tr:hover td { background: var(--row-hover); }
|
||
.mlist tr.sel td { background: var(--panel3); }
|
||
.mlist tr.sel td:first-child { box-shadow: inset 3px 0 0 var(--accent); }
|
||
.mlist tr.dim { opacity: .55; }
|
||
.sym-btn { background: none; border: 0; padding: 0; text-align: left; display: block; }
|
||
.sym-btn b { font-size: 14px; }
|
||
.sym-btn small { display: block; color: var(--muted); font-size: 12px; max-width: 112px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
|
||
.badges { display: flex; flex-wrap: wrap; gap: 3px; margin-top: 2px; }
|
||
.ind { display: block; color: var(--gold); font-size: 12px; }
|
||
.badge-s { display: inline-block; font-size: 12px; padding: 0 6px; border-radius: 8px; font-weight: 600; background: var(--panel3); color: var(--muted); line-height: 1.6; white-space: nowrap; }
|
||
.badge-s.halt { background: color-mix(in srgb, var(--gold) 18%, transparent); color: var(--gold); }
|
||
.badge-s.auction { background: color-mix(in srgb, var(--link) 18%, transparent); color: var(--info); }
|
||
.badge-s.earn { background: color-mix(in srgb, var(--accent) 20%, transparent); color: var(--info); }
|
||
.badge-s.div { background: color-mix(in srgb, var(--up) 15%, transparent); color: var(--up); }
|
||
.badge-s.short { background: color-mix(in srgb, var(--down) 18%, transparent); color: var(--down-soft); }
|
||
.badge-s.battle { background: color-mix(in srgb, var(--gold) 18%, transparent); color: var(--gold); }
|
||
.badge-s .gl { border: 0; }
|
||
.flash-up { animation: fu .7s; } .flash-down { animation: fd .7s; }
|
||
@keyframes fu { from { background: color-mix(in srgb, var(--up) 16%, transparent); } } @keyframes fd { from { background: color-mix(in srgb, var(--down) 16%, transparent); } }
|
||
|
||
/* Aktienkopf & Chart */
|
||
.stock-head { padding: 12px 14px 6px; }
|
||
.sh-top { display: flex; gap: 10px 18px; align-items: center; flex-wrap: wrap; position: relative; padding-right: 30px; }
|
||
.sh-top > .help-q { position: absolute; top: 2px; right: 0; }
|
||
.sh-top .sym { font-size: 22px; font-weight: 800; display: inline; margin-right: 8px; }
|
||
.px-big { font-size: 22px; font-family: var(--mono); display: flex; gap: 10px; align-items: baseline; }
|
||
.px-big .up, .px-big .down, .px-big .flat { font-size: 15px; }
|
||
.kv-row { display: flex; flex-wrap: wrap; gap: 6px 20px; margin: 10px 0 2px; }
|
||
.kv-row div { display: flex; flex-direction: column; }
|
||
.kv-row dt { color: var(--muted); font-size: 12px; }
|
||
.kv-row dd { margin: 0; font-size: 13px; }
|
||
.ind-line { display: inline-block; margin-left: 6px; }
|
||
.chart-bar { display: flex; align-items: center; gap: 12px; padding: 0 14px 6px; flex-wrap: wrap; }
|
||
.chart-wrap { position: relative; height: 360px; margin: 0 6px 8px; }
|
||
.chart-wrap.small { height: 220px; margin: 0; }
|
||
.chart-wrap canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
|
||
|
||
.seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; background: var(--bg); border-radius: 8px; padding: 3px; margin-bottom: 10px; gap: 3px; }
|
||
.seg.w-auto { display: inline-grid; width: auto; }
|
||
.seg button { border: 0; background: none; color: var(--muted); padding: 7px 12px; border-radius: 6px; font-weight: 600; min-height: 34px; }
|
||
.seg button[aria-pressed="true"], .seg button[aria-selected="true"] { background: var(--seg-on); color: var(--text); box-shadow: var(--seg-shadow); }
|
||
.seg.side[data-on="buy"] button[data-side="buy"] { background: var(--buy); color: #fff; }
|
||
.seg.side[data-on="sell"] button[data-side="sell"] { background: var(--sell); color: #fff; }
|
||
.seg.mini { margin: 0; display: inline-grid; }
|
||
.seg.mini button { padding: 4px 10px; min-height: 28px; font-size: 12px; }
|
||
|
||
.tabs { display: flex; gap: 2px; padding: 4px 8px 0; border-bottom: 1px solid var(--line); overflow-x: auto; align-items: flex-end; }
|
||
.tabs button { background: none; border: 0; color: var(--muted); padding: 9px 12px; border-bottom: 2px solid transparent; white-space: nowrap; font-weight: 600; }
|
||
.tabs button[aria-selected="true"] { color: var(--text); border-color: var(--accent); }
|
||
.tabs.sub { padding: 0; margin-bottom: 8px; }
|
||
|
||
dl.kv { display: grid; grid-template-columns: fit-content(50%) minmax(0, 1fr); gap: 4px 14px; margin: 0; font-size: 13px; }
|
||
dl.kv dt { color: var(--muted); hyphens: auto; overflow-wrap: break-word; min-width: 0; }
|
||
dl.kv dd { margin: 0; overflow-wrap: break-word; min-width: 0; }
|
||
.bars { display: flex; align-items: flex-end; gap: 8px; height: 140px; margin: 6px 0 10px; }
|
||
.bars .b { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; font-size: 12px; color: var(--muted); min-width: 0; }
|
||
.bars .b .v { color: var(--text); font-family: var(--mono); }
|
||
.bars .b i { display: block; width: 70%; max-width: 44px; border-radius: 3px 3px 0 0; background: var(--up); min-height: 2px; }
|
||
.bars .b i.miss { background: var(--down); }
|
||
.bars .b i.est { background: repeating-linear-gradient(45deg, transparent 0 4px, color-mix(in srgb, var(--muted) 35%, transparent) 4px 6px); border: 1px dashed var(--muted); }
|
||
.an-counts { margin-bottom: 8px; }
|
||
.range { position: relative; height: 22px; background: var(--bg); border-radius: 11px; margin: 4px 0; }
|
||
.range-bar { position: absolute; top: 7px; height: 8px; background: color-mix(in srgb, var(--accent) 50%, transparent); border-radius: 4px; }
|
||
.range-mark { position: absolute; top: 2px; width: 3px; height: 18px; margin-left: -1px; border-radius: 2px; }
|
||
.range-mark.med { background: var(--accent); }
|
||
.range-mark.cur { background: var(--gold); }
|
||
.range-lbl { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); }
|
||
.rating { font-weight: 700; } .r-Kaufen { color: var(--up); } .r-Verkaufen { color: var(--down); } .r-Halten { color: var(--gold); }
|
||
.mini-t td { padding: 3px 6px; font-size: 13px; }
|
||
details summary { cursor: pointer; color: var(--link); margin: 6px 0; }
|
||
ul.plain { margin: 0; padding-left: 18px; } ul.plain li { margin: 3px 0; }
|
||
.flow-row { display: grid; grid-template-columns: 130px 1fr 48px; gap: 8px; align-items: center; margin: 5px 0; font-size: 13px; }
|
||
.meter { height: 8px; background: var(--bg); border-radius: 4px; overflow: hidden; border: 1px solid var(--line); }
|
||
.meter div { height: 100%; background: var(--accent); }
|
||
.meter.ok div { background: var(--up); } .meter.mid div { background: var(--gold); } .meter.hi div { background: var(--down); }
|
||
.meter.xp div { background: linear-gradient(90deg, var(--accent), var(--gold)); }
|
||
|
||
/* Nachrichten & Kommentare */
|
||
ul.news, ul.c-list, ul.inbox, ul.events, ul.cal, ul.quests { list-style: none; margin: 0; padding: 0; }
|
||
ul.news li { padding: 8px 0; border-bottom: 1px solid var(--row-line); }
|
||
.meta { color: var(--muted); font-size: 12px; display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
|
||
ul.news a { color: var(--text); text-decoration: none; } ul.news a:hover { text-decoration: underline; }
|
||
.c-form { margin-bottom: 10px; }
|
||
.c-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 6px; }
|
||
ul.c-list li { padding: 8px 0; border-bottom: 1px solid var(--row-line); }
|
||
ul.c-list p { margin: 3px 0 0; white-space: pre-wrap; word-break: break-word; }
|
||
ul.events li { padding: 5px 0; border-bottom: 1px solid var(--row-line); font-size: 13px; display: flex; gap: 8px; }
|
||
|
||
/* Ticket, Orderbuch, Umsätze */
|
||
.ticket .card-h { text-transform: none; letter-spacing: 0; }
|
||
.switch { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); text-transform: none; letter-spacing: 0; font-weight: 500; cursor: pointer; }
|
||
.switch input { width: auto; min-height: 0; accent-color: var(--accent); }
|
||
.qty-quick { display: flex; gap: 6px; margin: -2px 0 8px; }
|
||
.qty-quick .btn { flex: 1; }
|
||
.adv { border: 1px solid var(--line); border-radius: 8px; padding: 0 10px; margin-bottom: 8px; }
|
||
.adv[open] { padding-bottom: 6px; }
|
||
.hint { color: var(--muted); font-size: 12px; min-height: 16px; margin: 2px 0 6px; }
|
||
dl.est { margin: 4px 0 10px; }
|
||
dl.est div { display: flex; justify-content: space-between; gap: 8px; color: var(--muted); margin: 3px 0; font-size: 13px; }
|
||
dl.est dd { margin: 0; color: var(--text); font-family: var(--mono); text-align: right; }
|
||
dl.est .tot dd { font-weight: 700; }
|
||
.book td { padding: 2px 8px; border: 0; font-size: 13px; position: relative; }
|
||
.book .barcell { width: 32%; padding: 0 6px 0 0; }
|
||
.book .barcell i { display: block; height: 14px; border-radius: 2px; margin-left: auto; }
|
||
.book tr.ask .barcell i { background: color-mix(in srgb, var(--down) 35%, transparent); } .book tr.bid .barcell i { background: color-mix(in srgb, var(--up) 35%, transparent); }
|
||
.book tr.ask .px-btn { color: var(--down); } .book tr.bid .px-btn { color: var(--up); }
|
||
.px-btn { background: none; border: 0; padding: 0; font-family: var(--mono); font-size: 13px; }
|
||
.px-btn:hover { text-decoration: underline; }
|
||
.book tr.mid td { text-align: center; color: var(--muted); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: 12px; padding: 4px; }
|
||
.tape-card .body { max-height: 260px; }
|
||
.tape td { font-size: 13px; padding: 2px 8px; border: 0; }
|
||
.tape tr.me td { background: color-mix(in srgb, var(--accent) 10%, transparent); }
|
||
|
||
/* Depot */
|
||
.kpis { display: flex; gap: 10px 26px; flex-wrap: wrap; margin-bottom: 10px; }
|
||
.kpis div { display: flex; flex-direction: column; min-width: 90px; }
|
||
.kpis small { color: var(--muted); font-size: 12px; }
|
||
.kpis b { font-family: var(--mono); font-size: 15px; }
|
||
.kpis.big b { font-size: 17px; }
|
||
.kpis .rank-l { font-family: inherit; font-size: 13px; font-weight: 500; }
|
||
.margin-line { display: grid; grid-template-columns: auto minmax(120px, 300px) auto 1fr; gap: 10px; align-items: center; font-size: 13px; }
|
||
|
||
/* Kalender */
|
||
ul.cal li { display: grid; grid-template-columns: 28px 52px 1fr; gap: 8px; padding: 7px 0; border-bottom: 1px solid var(--row-line); align-items: start; }
|
||
ul.cal li.past { opacity: .55; }
|
||
ul.cal time { font-family: var(--mono); color: var(--muted); }
|
||
.ic { font-size: 16px; text-align: center; }
|
||
.probs .prob { display: grid; grid-template-columns: 70px 1fr 48px; gap: 8px; align-items: center; margin: 4px 0; font-size: 13px; }
|
||
|
||
/* Parlament */
|
||
.bill-title { font-size: 21px; font-weight: 800; margin: 2px 0 6px; }
|
||
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0; }
|
||
.chips .chip { font-size: 13px; padding: 3px 10px; }
|
||
.big-num { font-size: 34px; font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; }
|
||
.votebar { height: 10px; background: var(--down); border-radius: 5px; overflow: hidden; margin: 8px 0 4px; }
|
||
.votebar div { height: 100%; background: var(--up); }
|
||
.vote-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
|
||
.vote-btns .btn[aria-pressed="true"] { outline: 2px solid var(--strong); outline-offset: 2px; }
|
||
|
||
/* Battles */
|
||
.battle-card { display: grid; grid-template-columns: 1fr auto 1fr; gap: 10px; align-items: center; text-align: center; background: var(--panel2); border-radius: 10px; padding: 14px; }
|
||
.battle-card .vs { font-weight: 800; color: var(--gold); }
|
||
.battle-card .ret { font-size: 22px; font-family: var(--mono); }
|
||
.battle-card .me { border: 1px solid var(--accent); border-radius: 8px; padding: 6px; }
|
||
.invite { border-color: var(--gold); }
|
||
|
||
/* Fortschritt */
|
||
.level-box { display: flex; gap: 16px; align-items: center; margin-bottom: 12px; }
|
||
.level-box .lvl { font-size: 15px; } .level-box .lvl b { font-size: 28px; color: var(--gold); }
|
||
.grow { flex: 1; }
|
||
ul.quests li { padding: 8px 0; border-bottom: 1px solid var(--row-line); }
|
||
ul.quests li.done { opacity: .7; }
|
||
.q-top { display: flex; justify-content: space-between; gap: 8px; margin-bottom: 4px; }
|
||
.q-foot { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
|
||
.q-foot .linkish { font-size: 12px; cursor: pointer; }
|
||
.tiers { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; margin-bottom: 10px; color: var(--muted); }
|
||
.tier { padding: 3px 10px; border-radius: 12px; background: var(--panel3); font-size: 13px; }
|
||
.tier.on { background: var(--gold); color: var(--on-signal); font-weight: 700; }
|
||
table.league tr.promo td:first-child { box-shadow: inset 3px 0 0 var(--up); }
|
||
table.league tr.releg td:first-child { box-shadow: inset 3px 0 0 var(--down); }
|
||
tr.me td { background: color-mix(in srgb, var(--accent) 12%, transparent); }
|
||
ol.hof { padding-left: 0; list-style: none; } ol.hof li { padding: 3px 0; }
|
||
.medal { display: inline-block; width: 28px; }
|
||
.ach-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 8px; }
|
||
.ach { background: var(--panel2); border-radius: 8px; padding: 10px; opacity: .45; display: flex; flex-direction: column; gap: 2px; border: 1px solid transparent; }
|
||
.ach.on { opacity: 1; border-color: var(--gold); }
|
||
.ach .i { font-size: 22px; }
|
||
.ach small { color: var(--muted); font-size: 12px; }
|
||
.ach-row { display: flex; flex-wrap: wrap; gap: 6px; }
|
||
.ach-chip { background: var(--panel3); border-radius: 12px; padding: 2px 10px; font-size: 13px; }
|
||
.recap { text-align: center; }
|
||
.recap-big { font-size: 38px; font-weight: 800; font-family: var(--mono); margin: 8px 0; }
|
||
.recap .kpis { justify-content: center; text-align: left; }
|
||
.recap-modal { background: linear-gradient(160deg, var(--recap-from), var(--panel) 60%); }
|
||
|
||
/* Community */
|
||
.online { color: var(--up); } .offline { color: var(--muted); }
|
||
ul.inbox li { display: grid; grid-template-columns: 28px 1fr; gap: 8px; padding: 9px 0; border-bottom: 1px solid var(--row-line); }
|
||
ul.inbox li.unread b { color: var(--strong); }
|
||
ul.inbox p { margin: 2px 0 6px; }
|
||
|
||
/* Mehr (mobil) */
|
||
.more-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
|
||
.more-item { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 12px; text-align: left; display: flex; flex-direction: column; gap: 6px; font-weight: 600; min-height: 84px; }
|
||
.more-item span { font-size: 22px; }
|
||
|
||
/* Glossar */
|
||
.gl { border-bottom: 1px dotted var(--muted); cursor: help; }
|
||
.gl-i { color: var(--muted); cursor: help; font-size: 13px; text-transform: none; }
|
||
.gl-tip { position: fixed; z-index: 90; background: var(--tip-bg); border: 1px solid var(--accent); border-radius: 8px; padding: 9px 11px; font-size: 13px; line-height: 1.45; box-shadow: 0 10px 30px var(--shadow); pointer-events: none; text-transform: none; letter-spacing: 0; font-weight: 400; color: var(--text); }
|
||
|
||
/* Dialoge & Toasts */
|
||
.modal-bg { position: fixed; inset: 0; background: var(--overlay); display: flex; align-items: center; justify-content: center; z-index: 60; padding: 12px; }
|
||
.modal { position: relative; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 22px; width: min(460px, 100%); max-height: calc(100vh - 24px); overflow: auto; outline: none; }
|
||
.modal.wide { width: min(720px, 100%); }
|
||
.modal h2 { margin: 0 0 12px; font-size: 19px; padding-right: 30px; }
|
||
.modal-x { position: absolute; top: 10px; right: 10px; background: none; border: 0; font-size: 24px; line-height: 1; color: var(--muted); width: 36px; height: 36px; border-radius: 8px; }
|
||
.modal-x:hover { color: var(--text); background: var(--panel2); }
|
||
.dlg-actions { display: flex; gap: 8px; justify-content: flex-end; flex-wrap: wrap; margin-top: 14px; }
|
||
.dlg-actions.top { margin: -4px 0 8px; justify-content: flex-start; }
|
||
.btn-row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
|
||
.empty-cta p { margin: 0; }
|
||
.toasts { position: fixed; right: 16px; bottom: 16px; display: flex; flex-direction: column; gap: 8px; z-index: 80; width: min(380px, calc(100vw - 32px)); pointer-events: none; }
|
||
.toast { pointer-events: auto; position: relative; background: var(--panel2); border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: 8px; padding: 10px 36px 10px 14px; box-shadow: 0 8px 24px var(--shadow); animation: tin .25s; display: flex; flex-direction: column; gap: 2px; font-size: 13px; }
|
||
.toast b { font-size: 13px; }
|
||
.toast.err { border-left-color: var(--down); } .toast.ok { border-left-color: var(--up); } .toast.gold, .toast.warn { border-left-color: var(--gold); }
|
||
.toast-x { position: absolute; top: 4px; right: 4px; background: none; border: 0; color: var(--muted); font-size: 18px; width: 28px; height: 28px; }
|
||
@keyframes tin { from { transform: translateY(10px); opacity: 0; } }
|
||
|
||
/* Einführung */
|
||
.tour { position: fixed; inset: 0; z-index: 85; }
|
||
.tour-spot { position: fixed; border-radius: 10px; box-shadow: 0 0 0 9999px var(--overlay); border: 2px solid var(--gold); transition: all .25s; pointer-events: none; }
|
||
.tour-card { position: fixed; width: min(380px, calc(100vw - 16px)); background: var(--panel); border: 1px solid var(--gold); border-radius: 12px; padding: 16px 18px; box-shadow: 0 16px 40px var(--shadow-lg); }
|
||
.tour-card h2 { font-size: 18px; margin-bottom: 6px; }
|
||
.tour.nospot { background: var(--overlay); }
|
||
|
||
/* Bewegung reduzieren */
|
||
@media (prefers-reduced-motion: reduce) {
|
||
*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
|
||
}
|
||
|
||
/* ---------------------------------------------------------------- Responsiv */
|
||
.bnav { display: none; }
|
||
@media (max-width: 1250px) {
|
||
#v-trade { grid-template-columns: 250px minmax(0, 1fr) 320px; }
|
||
.grid3 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
|
||
.hide-s { display: none !important; }
|
||
.mlist td { padding: 6px 4px; }
|
||
.sym-btn small { max-width: 96px; }
|
||
}
|
||
@media (max-width: 1020px) {
|
||
#v-trade { grid-template-columns: 280px minmax(0, 1fr); }
|
||
.ticket-col { grid-column: 2; }
|
||
.market-col { grid-row: span 2; }
|
||
.grid-pa { grid-template-columns: minmax(0, 1fr); }
|
||
header.top { gap: 12px; }
|
||
}
|
||
@media (max-width: 900px) and (min-width: 761px) {
|
||
#idxStat { display: none; }
|
||
}
|
||
@media (max-width: 760px) {
|
||
html, body { font-size: 14px; }
|
||
body { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
|
||
header.top { gap: 10px; padding: 6px 10px; min-height: 52px; }
|
||
.logo { font-size: 16px; }
|
||
header.top { flex-wrap: wrap; row-gap: 6px; }
|
||
.phase { padding: 3px 10px 3px 8px; order: 10; flex: 1 1 100%; border-radius: 8px; }
|
||
.phase-txt { flex-direction: row; gap: 8px; align-items: baseline; }
|
||
#idxStat, #eqBtn { display: none !important; }
|
||
#userBtn { padding: 6px 10px; max-width: 110px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: block; }
|
||
.mainnav { display: none; }
|
||
main { padding: 8px; }
|
||
#v-trade { grid-template-columns: 1fr; }
|
||
.market-col { position: static; max-height: none; }
|
||
.ticket-col { grid-column: auto; }
|
||
body[data-view="markt"] .stock-col, body[data-view="markt"] .ticket-col, body[data-view="markt"] .sticky-trade { display: none; }
|
||
body[data-view="handeln"] .market-col { display: none; }
|
||
body[data-view="handeln"] .sticky-trade { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: calc(60px + env(safe-area-inset-bottom)); padding: 8px; background: var(--panel-glass); border-top: 1px solid var(--line); z-index: 25; }
|
||
body[data-view="handeln"] { padding-bottom: calc(124px + env(safe-area-inset-bottom)); }
|
||
.sticky-trade .btn { min-height: 44px; flex-direction: column; gap: 0; line-height: 1.15; }
|
||
.sticky-trade small { font-family: var(--mono); font-weight: 500; font-size: 12px; }
|
||
.chart-wrap { height: 260px; }
|
||
.grid2, .grid3, .row3 { grid-template-columns: minmax(0, 1fr); }
|
||
.kv-row { gap: 6px 14px; }
|
||
.margin-line { grid-template-columns: auto 1fr auto; }
|
||
.margin-line .muted { grid-column: 1 / -1; }
|
||
.bnav { display: grid; grid-template-columns: repeat(4, 1fr); position: fixed; left: 0; right: 0; bottom: 0; height: calc(60px + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom); background: var(--panel); border-top: 1px solid var(--line); z-index: 30; }
|
||
.bnav button { background: none; border: 0; color: var(--muted); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; font-size: 12px; position: relative; }
|
||
.bnav svg { width: 22px; height: 22px; }
|
||
.bnav button[aria-current="page"] { color: var(--accent); }
|
||
.bnav .dot { position: absolute; top: 8px; right: calc(50% - 18px); }
|
||
.toasts { top: 96px; bottom: auto; left: 8px; right: 8px; width: auto; }
|
||
.modal { padding: 18px 14px; }
|
||
.battle-card .ret { font-size: 17px; }
|
||
.flow-row { grid-template-columns: 100px 1fr 44px; }
|
||
td, th { padding: 6px 6px; }
|
||
}
|
||
|
||
|
||
/* ---------------------------------------------------------------- Anlageklassen & Unternehmensereignisse */
|
||
.badge-s.offer { background: color-mix(in srgb, var(--gold) 25%, transparent); color: var(--gold); }
|
||
.badge-s.trial { background: color-mix(in srgb, var(--violet) 20%, transparent); color: var(--violet); }
|
||
.mlist tr.grp { cursor: default; }
|
||
.mlist tr.grp th { position: static; padding: 0; background: var(--panel2); border-top: 1px solid var(--line); }
|
||
.grp-btn { width: 100%; text-align: left; background: none; border: 0; padding: 7px 8px; font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: .5px; color: var(--text); }
|
||
.grp-btn:hover { background: var(--panel3); }
|
||
.sym-btn small.yl { color: var(--info); }
|
||
.unit-line { margin: 4px 0 0; }
|
||
.corp-box { border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; margin-bottom: 12px; background: var(--panel2); }
|
||
.corp-box.offer { border-color: color-mix(in srgb, var(--gold) 50%, transparent); }
|
||
.corp-box .kpis { margin: 6px 0; }
|
||
.tender { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 8px; }
|
||
.tender .inline-form { max-width: 440px; margin: 6px 0; }
|
||
.chart-wrap.mini { height: 190px; margin: 4px 0; }
|
||
.chart-wrap.hemi { height: 210px; margin: 0 0 6px; }
|
||
.swatch { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 5px; vertical-align: baseline; }
|
||
.linkchip { border: 0; cursor: pointer; }
|
||
|
||
/* ---------------------------------------------------------------- Politik */
|
||
.pol-tabs { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 4px 8px 0; }
|
||
.pol-body { display: flex; flex-direction: column; gap: 10px; }
|
||
.pa-side { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
|
||
ul.pipe-list, ul.prop-list, ul.seat-legend, ul.agenda { list-style: none; margin: 0; padding: 0; }
|
||
.pipe, .prop-list li { padding: 10px 0; border-bottom: 1px solid var(--row-line); }
|
||
.pipe:first-child, .prop-list li:first-child { padding-top: 0; }
|
||
.pipe.live { border-left: 3px solid var(--gold); padding-left: 10px; }
|
||
.pipe-h { display: flex; flex-wrap: wrap; gap: 6px; align-items: baseline; }
|
||
.stepper { display: flex; list-style: none; margin: 8px 0 4px; padding: 0; counter-reset: st; }
|
||
.stepper li { flex: 1 1 0; min-width: 0; position: relative; font-size: 12px; color: var(--muted); padding-top: 14px; text-align: center; }
|
||
.stepper li span { display: block; padding: 0 2px; line-height: 1.25; overflow-wrap: break-word; hyphens: manual; }
|
||
.stepper li::before { content: ''; position: absolute; top: 3px; left: 0; right: 0; height: 4px; background: var(--panel3); }
|
||
.stepper li::after { content: ''; position: absolute; top: 0; left: calc(50% - 5px); width: 10px; height: 10px; border-radius: 50%; background: var(--panel3); border: 1px solid var(--line); }
|
||
.stepper li.done::before, .stepper li.done::after { background: var(--up); }
|
||
.stepper li.cur { color: var(--text); font-weight: 700; }
|
||
.stepper li.cur::before { background: linear-gradient(90deg, var(--up), var(--panel3)); }
|
||
.stepper li.cur::after { background: var(--gold); box-shadow: 0 0 0 3px color-mix(in srgb, var(--gold) 25%, transparent); }
|
||
.stepper li.off { opacity: .45; }
|
||
.psplit { display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: baseline; font-size: 13px; background: var(--bg); border-radius: 8px; padding: 6px 10px; margin: 6px 0; }
|
||
.psplit b { font-variant-numeric: tabular-nums; white-space: nowrap; }
|
||
.psplit > span { white-space: nowrap; }
|
||
.psplit b.big { font-size: 16px; color: var(--gold); }
|
||
.badge-s.src-agenda { background: color-mix(in srgb, var(--accent) 20%, transparent); color: var(--info); }
|
||
.badge-s.src-player { background: color-mix(in srgb, var(--gold) 20%, transparent); color: var(--gold); }
|
||
.badge-s.src-news { background: color-mix(in srgb, var(--up) 15%, transparent); color: var(--up); }
|
||
.cosign { display: grid; grid-template-columns: minmax(80px, 160px) auto auto auto; gap: 8px; align-items: center; margin-top: 6px; }
|
||
.prop-prev { background: var(--bg); border-radius: 8px; padding: 8px 10px; margin: 4px 0 10px; }
|
||
.prop-prev:empty { display: none; }
|
||
.prop-title { font-weight: 700; font-size: 15px; margin: 0 0 6px; }
|
||
.posbars { display: flex; gap: 10px; flex-wrap: wrap; }
|
||
.pb { display: inline-flex; flex-direction: column; gap: 2px; }
|
||
.pb small { color: var(--muted); font-size: 11px; }
|
||
.pbar { position: relative; display: inline-block; width: 64px; height: 8px; background: var(--bg); border: 1px solid var(--line); border-radius: 4px; overflow: hidden; }
|
||
.pbar::after { content: ''; position: absolute; left: 50%; top: 0; bottom: 0; width: 1px; background: var(--muted); }
|
||
.pbar i { position: absolute; top: 0; bottom: 0; background: var(--accent); }
|
||
.pbar i.neg { background: var(--violet-bar); }
|
||
.seat-legend { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 2px 14px; margin-bottom: 6px; }
|
||
/* Raster je Zeile: Farbe | Kürzel | Name | Sitze | „Reg.“ – so stehen Zahlen und Abzeichen bündig untereinander */
|
||
.seat-legend li { display: grid; grid-template-columns: 10px auto minmax(0, 1fr) auto 3.2em; gap: 6px; align-items: center; font-size: 13px; }
|
||
.seat-legend li .swatch { margin: 0; }
|
||
.seat-legend li .muted { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
||
.seat-legend li .badge-s { justify-self: start; }
|
||
ul.agenda li { padding: 3px 0; }
|
||
ul.agenda li.done { color: var(--up); }
|
||
.ballot { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 6px; margin: 4px 0 6px; }
|
||
.ballot-btn { display: flex; align-items: center; gap: 4px; text-align: left; background: var(--panel2); border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; min-height: 40px; }
|
||
.ballot-btn span:not(.swatch):not(.up) { color: var(--muted); font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
||
.ballot-btn[aria-pressed="true"] { border-color: var(--up); background: color-mix(in srgb, var(--up) 12%, transparent); }
|
||
.poll-row { display: grid; grid-template-columns: 70px 1fr 56px; gap: 8px; align-items: center; margin: 3px 0; font-size: 13px; }
|
||
.pollbar { height: 10px; background: var(--bg); border-radius: 5px; overflow: hidden; }
|
||
.pollbar i { display: block; height: 100%; }
|
||
.nc-card { border-color: var(--gold); }
|
||
fieldset.dir { margin: 0 0 9px; padding: 4px 10px; display: flex; gap: 14px; flex-wrap: wrap; }
|
||
.scenario { border: 1px solid color-mix(in srgb, var(--gold) 45%, transparent); background: color-mix(in srgb, var(--gold) 8%, transparent); border-radius: 8px; padding: 8px 12px; margin-bottom: 10px; }
|
||
.scenario.calm { border-color: var(--line); background: var(--panel2); }
|
||
.scenario small { display: block; color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .4px; }
|
||
.scenario b { font-size: 15px; }
|
||
.scenario p { margin: 2px 0 0; font-size: 13px; }
|
||
.gov-line { font-size: 13px; }
|
||
.ind-t th[scope="row"] { position: static; font-size: 13px; color: var(--text); }
|
||
@media (max-width: 760px) {
|
||
.cosign { grid-template-columns: 1fr auto; }
|
||
.stepper li { font-size: 11px; }
|
||
.chart-wrap.hemi { height: 180px; }
|
||
}
|
||
|
||
/* ===== GUI-Aufräumen: Admin ===== */
|
||
/* Alle Regeln für admin.html in diesem Block. Grundsätze: Grid/Flex mit minmax(0, …), Tabellen scrollen waagrecht,
|
||
lange Texte und Auswahllisten bekommen die volle Breite statt abgeschnitten zu werden. */
|
||
.admin-wrap { max-width: 1400px; margin: 0 auto; padding: 10px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
|
||
.asec:not([hidden]) { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
|
||
|
||
/* Kopfzeile und Menü: Menü bricht in Zeilen um statt Einträge hinter dem Rand zu verstecken – auch am Handy sichtbar */
|
||
body.admin header.top #aWho { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
||
body.admin .mainnav { flex-wrap: wrap; overflow-x: visible; }
|
||
|
||
/* Karten-Kopf mit kleinem Knopf so hoch wie ohne (Raster nebeneinander bleibt bündig) */
|
||
.admin-wrap .card-h .btn.small { min-height: 26px; padding-block: 2px; margin-block: -4px; text-transform: none; letter-spacing: 0; }
|
||
|
||
/* Übersicht: Kennzahlen im gleichmäßigen Raster, Textwerte nicht in Monospace-Großschrift */
|
||
.admin-wrap .kpis { display: grid; grid-template-columns: repeat(auto-fill, minmax(10rem, 1fr)); gap: 12px 20px; }
|
||
.admin-wrap .kpis div { min-width: 0; }
|
||
.admin-wrap .kpis b { overflow-wrap: anywhere; }
|
||
.admin-wrap .kpis b.small { font-family: inherit; font-size: 14px; }
|
||
|
||
/* Einstellungen: Gruppen spaltenweise (kein Leerraum durch ungleich hohe Karten) */
|
||
.set-groups { columns: 3 24rem; column-gap: 10px; }
|
||
.set-groups > .card { display: flow-root; break-inside: avoid; -webkit-column-break-inside: avoid; page-break-inside: avoid; margin: 0 0 10px; }
|
||
.set-row { display: grid; grid-template-columns: minmax(0, 1fr) 9.5rem; gap: 6px 12px; align-items: center; padding: 7px 0; border-bottom: 1px solid var(--row-line); }
|
||
.set-row > label { font-size: 13px; min-width: 0; overflow-wrap: break-word; -webkit-hyphens: auto; hyphens: auto; }
|
||
.set-row small { display: block; color: var(--muted); font-size: 12px; }
|
||
.set-row.changed > label { color: var(--gold); }
|
||
.card .body > .set-row:last-child { border-bottom: 0; }
|
||
/* Textfelder, Auswahllisten und Listen: Beschriftung oben, Feld in voller Breite */
|
||
.set-row.set-stack, .set-row.wide { grid-template-columns: minmax(0, 1fr); }
|
||
.set-row.set-bool > .toggle { justify-self: start; }
|
||
.set-row textarea { min-height: 120px; font-family: var(--mono); font-size: 12px; }
|
||
#setErr:empty { display: none; }
|
||
#sec-settings > .card:first-child .admin-actions { margin-bottom: 0; }
|
||
@media (min-width: 761px) {
|
||
/* Speichern-Leiste bleibt beim Scrollen durch die lange Einstellungsseite sichtbar */
|
||
#sec-settings > .card:first-child { position: sticky; top: 57px; z-index: 6; box-shadow: 0 4px 14px var(--shadow); }
|
||
}
|
||
.toggle { position: relative; display: inline-block; width: 46px; height: 26px; flex: none; }
|
||
.toggle input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; z-index: 1; min-height: 0; }
|
||
.toggle > span:not(.sr) { position: absolute; inset: 0; background: var(--panel3); border-radius: 13px; border: 1px solid var(--line); }
|
||
.toggle > span:not(.sr)::after { content: ''; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--muted); transition: left .15s; }
|
||
.toggle input:checked + span { background: color-mix(in srgb, var(--up) 35%, transparent); }
|
||
.toggle input:checked + span::after { left: 23px; background: var(--up); }
|
||
.toggle input:focus-visible + span { outline: 2px solid var(--focus); outline-offset: 2px; }
|
||
.presets { font-size: 12px; color: var(--muted); }
|
||
.presets .btn { margin: 2px 0; }
|
||
|
||
/* Knopfleisten und Eingabezeilen: umbrechen statt quetschen */
|
||
.admin-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 10px; }
|
||
.admin-actions input, .admin-actions select { width: auto; max-width: 100%; min-width: 0; }
|
||
.admin-wrap .inline-form { flex-wrap: wrap; }
|
||
.admin-wrap .inline-form input { flex: 1 1 15rem; min-width: 0; }
|
||
.sector-picks { display: flex; flex-wrap: wrap; gap: 4px 12px; }
|
||
|
||
/* Tabellen: Zeitspalte ohne Umbruch, Text- und Aktionsspalten mit Mindestbreite (Rest scrollt waagrecht) */
|
||
#sec-moderation td:first-child, #sec-bugs td:first-child, #sec-log td:first-child { white-space: nowrap; }
|
||
#sec-players td:first-child { min-width: 12rem; }
|
||
#sec-players .row-actions { min-width: 24rem; }
|
||
#sec-bots .row-actions { min-width: 14rem; }
|
||
#sec-moderation td:nth-child(4), #sec-bugs td:nth-child(4) { min-width: 16rem; }
|
||
#sec-log td:last-child { min-width: 14rem; }
|
||
|
||
@media (max-width: 1020px) {
|
||
.admin-wrap .grid2 { grid-template-columns: minmax(0, 1fr); }
|
||
}
|
||
@media (max-width: 760px) {
|
||
body.admin { padding-bottom: env(safe-area-inset-bottom); }
|
||
body.admin .mainnav { display: flex; padding: 0 4px; }
|
||
body.admin .mainnav button { padding: 7px 8px; font-size: 13px; }
|
||
body.admin header.top #aWho { display: none; }
|
||
.admin-wrap { padding: 8px; gap: 8px; }
|
||
.asec:not([hidden]) { gap: 8px; }
|
||
.set-row { grid-template-columns: minmax(0, 1fr) 8rem; }
|
||
}
|
||
|
||
/* ---------------------------------------------------------------- Clans & Fonds, Turniere */
|
||
input.upper { text-transform: uppercase; }
|
||
.clan-list li { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: center; padding: 6px 0; border-bottom: 1px solid var(--line); }
|
||
.clan-list li .plink { margin-right: auto; }
|
||
ul.tours { list-style: none; margin: 0; padding: 0; }
|
||
.tours > li.tn { padding: 10px 0; border-bottom: 1px solid var(--line); }
|
||
.tn-head { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: flex-start; justify-content: space-between; }
|
||
.bracket { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(180px, 1fr); gap: 12px; overflow-x: auto; padding: 6px 0 4px; }
|
||
.bracket .round { display: flex; flex-direction: column; justify-content: space-around; gap: 8px; min-width: 0; }
|
||
.bracket h4 { margin: 0 0 2px; font-size: 12px; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .03em; }
|
||
.match { background: var(--panel2); border: 1px solid transparent; border-radius: 8px; padding: 6px 8px; font-size: 13px; }
|
||
.match.me { border-color: var(--accent); }
|
||
.match.running { border-left: 3px solid var(--gold); }
|
||
.match .pl { display: flex; justify-content: space-between; gap: 8px; padding: 1px 0; }
|
||
.match .pl.win { font-weight: 700; }
|
||
.match .pl.win::after { content: '✓'; color: var(--up); margin-left: 4px; }
|
||
.match .pl.out { color: var(--muted); text-decoration: line-through; text-decoration-color: color-mix(in srgb, var(--muted) 50%, transparent); }
|
||
.match .pl .num { font-family: var(--mono); font-size: 12px; }
|
||
.match .m-foot { display: flex; justify-content: space-between; align-items: center; gap: 6px; margin-top: 4px; }
|
||
.match .note { font-size: 11px; color: var(--muted); margin-top: 3px; }
|
||
@media (max-width: 760px) {
|
||
.bracket { grid-auto-columns: minmax(160px, 78vw); scroll-snap-type: x mandatory; }
|
||
.bracket .round { scroll-snap-align: start; }
|
||
}
|
||
|
||
/* Nachrichten-Auswertung */
|
||
.nana { display: flex; flex-wrap: wrap; gap: 4px 6px; align-items: center; margin-top: 4px; font-size: 12px; }
|
||
.ntopic { display: inline-flex; gap: 3px; align-items: center; border: 1px solid var(--line); border-radius: 999px; padding: 0 7px; color: var(--muted); }
|
||
.ntopic.up { color: var(--up); } .ntopic.down { color: var(--down); }
|
||
.nwhy { flex-basis: 100%; }
|
||
.nwhy summary { cursor: pointer; color: var(--muted); width: max-content; }
|
||
.nwhy ul { margin: 4px 0; padding-left: 18px; color: var(--muted); }
|
||
ul.news .nwhy li { border: 0; padding: 1px 0; }
|
||
.news li.nstrong { border-left: 3px solid var(--gold); padding-left: 8px; }
|
||
|
||
/* Version, Änderungsprotokoll, Update-Hinweis */
|
||
.nav-ver { margin-left: auto; display: flex; align-items: center; }
|
||
.ver-btn { background: none; border: 0; color: var(--muted); font-size: 12px; padding: 6px 8px; font-family: var(--mono); }
|
||
.ver-btn:hover { color: var(--text); text-decoration: underline; }
|
||
.changelog { max-height: 65vh; overflow-y: auto; }
|
||
.cl-entry { padding: 8px 0; border-top: 1px solid var(--row-line); }
|
||
.cl-entry.cl-new { border-left: 3px solid var(--accent); padding-left: 10px; }
|
||
.cl-title { font-weight: 600; margin: 2px 0 6px; }
|
||
.cl-entry ul { margin: 0; padding-left: 18px; }
|
||
.cl-entry li { margin: 4px 0; }
|
||
.cl-type { display: inline-block; min-width: 74px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; color: var(--muted); }
|
||
.cl-neu { color: var(--up); } .cl-besser { color: var(--accent); } .cl-fix { color: var(--gold); }
|
||
.update-banner { position: fixed; left: 50%; transform: translateX(-50%); bottom: 18px; z-index: 90; display: flex; gap: 12px; align-items: center; flex-wrap: wrap;
|
||
max-width: min(640px, calc(100vw - 20px)); background: var(--panel); color: var(--text); border: 1px solid var(--line); border-left: 4px solid var(--accent);
|
||
border-radius: var(--radius); padding: 10px 14px; box-shadow: 0 8px 28px var(--shadow-lg); }
|
||
.update-banner.restart { border-left-color: var(--gold); }
|
||
.update-banner .ub-acts { display: flex; gap: 8px; margin-left: auto; }
|
||
@media (max-width: 760px) { .update-banner { bottom: 74px; } }
|
||
|
||
/* Rivalen (computergesteuerte Mitspieler) */
|
||
.ki-badge { display: inline-block; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.04em; line-height: 1; padding: 2px 5px; border-radius: 4px;
|
||
border: 1px solid var(--line); background: var(--panel3); color: var(--muted); vertical-align: 1px; }
|
||
h2 .ki-badge { font-size: 0.75rem; vertical-align: 3px; }
|
||
tr.bot-row td { color: var(--muted); }
|
||
tr.bot-row td .plink { color: inherit; }
|
||
.rival-card { border: 1px solid var(--line); background: var(--panel2); border-radius: 8px; padding: 10px 12px; margin: 10px 0; }
|
||
.rival-card p { margin: 6px 0 0; }
|
||
|
||
/* Nächster Schritt (Hinweis für neue Spieler) */
|
||
.nextstep { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 8px 16px; font-size: 13px; background: color-mix(in srgb, var(--up) 9%, var(--panel)); border-bottom: 1px solid color-mix(in srgb, var(--up) 30%, transparent); }
|
||
.nextstep[hidden] { display: none; }
|
||
.nextstep .ns-txt { flex: 1 1 320px; min-width: 0; }
|
||
.nextstep .ns-acts { display: flex; align-items: center; gap: 12px; }
|
||
.nextstep .linkish { color: var(--muted); font-size: 12px; cursor: pointer; }
|
||
@media (max-width: 760px) { .nextstep { padding: 8px 10px; } .nextstep .ns-ic { display: none; } }
|
||
|
||
/* ===== Börsengänge ===== */
|
||
.grid2 > .span2 { grid-column: 1 / -1; }
|
||
.ipo { border-bottom: 1px solid var(--line, rgba(127,127,127,.25)); padding-bottom: .6rem; margin-bottom: .6rem; }
|
||
.ipo:last-of-type { border-bottom: 0; }
|
||
.ipo .kv-row { margin: .4rem 0; }
|
||
.row-form { display: flex; flex-wrap: wrap; align-items: flex-end; gap: .5rem; }
|
||
.row-form .field { margin: 0; min-width: 10rem; }
|
||
.badge-s.new { background: rgba(80,140,255,.2); color: var(--text); }
|
||
.badge-s.allday { background: rgba(160,100,255,.2); color: var(--text); }
|
||
|
||
/* ===== Abendhandel ===== */
|
||
.seg.venue { margin-top: 6px; }
|
||
.eve-info { background: rgba(160,100,255,.12); border-radius: 8px; padding: 6px 8px; margin: 6px 0 0; }
|
||
.phase[data-phase="evening"] .phase-dot { background: #a06cff; box-shadow: 0 0 0 3px rgba(160,108,255,.2); }
|
||
|
||
/* ===== Hauptversammlungen ===== */
|
||
.agm { border-bottom: 1px solid var(--line); padding-bottom: .6rem; margin-bottom: .6rem; }
|
||
.agm:last-of-type { border-bottom: 0; }
|
||
.agm-item { border: 1px solid var(--line); border-radius: 8px; padding: 6px 10px; margin: 6px 0; }
|
||
.agm-item legend { font-weight: 600; padding: 0 4px; }
|
||
.agm-item p { margin: 2px 0; }
|
||
.agm-vote { display: inline-flex; gap: 4px; flex-wrap: wrap; }
|
||
.seg-radio { display: inline-flex; align-items: center; gap: 4px; padding: 4px 10px; border: 1px solid var(--line); border-radius: 999px; cursor: pointer; }
|
||
.seg-radio:has(input:checked) { background: var(--panel3); border-color: var(--accent); }
|
||
|
||
/* ===== Tippspiel ===== */
|
||
.tip-list .tip-q { padding: 6px 0; border-bottom: 1px solid var(--line); }
|
||
.tip-list .tip-q:last-child { border-bottom: 0; }
|
||
.tip-opt { cursor: pointer; }
|
||
.tip-opt.on { background: var(--accent); color: #fff; border-color: var(--accent); }
|
||
.tip-opt.right { outline: 2px solid var(--up); }
|
||
span.tip-opt { cursor: default; }
|
||
.tip-board { margin-top: 8px; }
|
||
|
||
/* ===== Feierabend: Plan, Watchlist, Analysen ===== */
|
||
.plan-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
|
||
.recap { border-left: 3px solid var(--accent); padding-left: 10px; margin-bottom: 10px; }
|
||
.sh-act { display: flex; gap: 6px; flex-wrap: wrap; }
|
||
.sh-act [aria-pressed="true"] { color: var(--accent); }
|
||
.ana-form { display: grid; gap: 6px; margin-bottom: 10px; }
|
||
.ana-form textarea { width: 100%; }
|
||
.ana-list .ana { padding: 8px 0; border-bottom: 1px solid var(--line); }
|
||
.ana-list .ana.up { border-left: 3px solid var(--up); padding-left: 8px; }
|
||
.ana-list .ana.down { border-left: 3px solid var(--down); padding-left: 8px; }
|
||
.ana-list .meta { display: flex; gap: 8px; align-items: baseline; font-size: .85em; }
|
||
|
||
/* ===== Käfer: Fehler melden ===== */
|
||
.bug-btn { position: relative; font-size: 18px; }
|
||
.bug-btn .dot { position: absolute; top: 4px; right: 4px; width: 8px; height: 8px; border-radius: 50%; background: var(--down); }
|
||
.bug-form { display: grid; gap: 10px; }
|
||
.bug-form textarea { width: 100%; }
|
||
.bug-incl { display: grid; gap: 6px; border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; }
|
||
.bug-shot { max-width: 100%; max-height: 220px; object-fit: contain; border: 1px solid var(--line); border-radius: 6px; }
|
||
.bug-pre { max-height: 240px; overflow: auto; font-size: 11px; white-space: pre-wrap; word-break: break-word; background: var(--bg2, rgba(127,127,127,.08)); padding: 8px; border-radius: 6px; }
|
||
.bug-shot.big { max-height: none; width: 100%; margin: 8px 0; }
|
||
.pre { white-space: pre-wrap; }
|
||
|
||
/* ===== Hilfe: „?“, Begriffe, Handbuch ===== */
|
||
.help-q { display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; margin: 0 6px; padding: 0;
|
||
border-radius: 50%; border: 1px solid var(--line); background: transparent; color: var(--muted, inherit); font: 600 12px/1 inherit;
|
||
cursor: pointer; vertical-align: middle; text-transform: none; letter-spacing: 0; flex: none; }
|
||
/* „?“ bleibt direkt hinter dem Kartentitel; weitere Angaben der Kopfzeile (Zähler, Knöpfe) rücken nach rechts */
|
||
.card-h > .help-q { margin: 0 auto 0 6px; }
|
||
.help-q:hover, .help-q:focus-visible { background: var(--accent); color: #fff; border-color: var(--accent); }
|
||
.help-ic { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 50%; background: var(--accent); color: #fff; font-size: 15px; }
|
||
.help-modal .help-sec { margin: 10px 0; }
|
||
.help-modal .help-sec h3 { font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; margin: 0 0 4px; opacity: .75; }
|
||
.help-modal .help-sec p, .help-modal .help-sec ol { margin: 0; }
|
||
.help-modal .help-sec ol { padding-left: 1.2em; display: grid; gap: 3px; }
|
||
.help-modal .effect, .help-modal .tip, .help-modal .example { border-left: 3px solid var(--accent); padding: 6px 10px; border-radius: 0 6px 6px 0; background: rgba(127, 127, 127, .07); }
|
||
.help-modal .tip { border-left-color: var(--warn, #d9a400); }
|
||
.help-modal .example { border-left-color: var(--up); }
|
||
.help-lead { font-size: 1.02em; }
|
||
.term-chip { cursor: pointer; }
|
||
.gl { cursor: help; }
|
||
.hbook { display: grid; grid-template-columns: 260px 1fr; gap: 14px; align-items: start; }
|
||
.book-toc { position: sticky; top: 70px; }
|
||
.book-toc input { width: 100%; margin-bottom: 8px; }
|
||
.toc-item { display: block; width: 100%; text-align: left; background: none; border: 0; padding: 6px 8px; border-radius: 6px; color: inherit; cursor: pointer; font: inherit; }
|
||
.toc-item:hover { background: rgba(127, 127, 127, .1); }
|
||
.toc-item[aria-current="page"] { background: var(--accent); color: #fff; }
|
||
.book-main p { line-height: 1.6; max-width: 75ch; }
|
||
.book-nav { display: flex; justify-content: space-between; gap: 8px; margin-top: 18px; }
|
||
.gl-demo { border-bottom: 1px dotted currentColor; }
|
||
.chain { margin: 12px 0; }
|
||
/* Breit: alle Schritte in einer Zeile (kein Pfeil am Zeilenende); schmal: untereinander, siehe unten */
|
||
.chain ol { list-style: none; display: flex; flex-wrap: nowrap; align-items: stretch; gap: 6px; padding: 0; margin: 0 0 4px; }
|
||
.chain li:not(.arrow) { flex: 1 1 0; min-width: 0; overflow-wrap: break-word; hyphens: auto; display: grid; align-content: start; gap: 4px; padding: 10px; border: 1px solid var(--line); border-radius: 8px; background: rgba(127, 127, 127, .06); }
|
||
.chain li:not(.arrow) span { font-size: .85em; opacity: .85; }
|
||
.chain .arrow { align-self: center; font-size: 1.3em; opacity: .6; }
|
||
.gloss > div { display: grid; grid-template-columns: 200px 1fr; gap: 8px; padding: 5px 0; border-bottom: 1px solid var(--line); }
|
||
.gloss dt, .gloss dd { margin: 0; }
|
||
.az { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0; }
|
||
.az a { padding: 2px 7px; border: 1px solid var(--line); border-radius: 6px; text-decoration: none; }
|
||
@media (max-width: 760px) {
|
||
.hbook { grid-template-columns: 1fr; }
|
||
.book-toc { position: static; }
|
||
.gloss > div { grid-template-columns: 1fr; gap: 2px; }
|
||
.help-q { width: 24px; height: 24px; }
|
||
}
|
||
|
||
/* ===== Kursursachen ===== */
|
||
.causes { border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; margin-bottom: 12px; }
|
||
.causes summary { cursor: pointer; }
|
||
.cz { display: grid; gap: 4px; margin: 4px 0 8px; }
|
||
.cz li { display: grid; grid-template-columns: minmax(0, 1fr) 70px 90px; gap: 8px; align-items: center; font-size: .9em; }
|
||
.cz-lbl { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
||
.cz-val { text-align: right; font-variant-numeric: tabular-nums; }
|
||
.cz-bar { height: 8px; border-radius: 4px; display: block; }
|
||
.cz-bar.up { background: var(--up); }
|
||
.cz-bar.down { background: var(--down); }
|
||
@media (max-width: 760px) { .cz li { grid-template-columns: minmax(0, 1fr) 64px; } .cz-bar { display: none; } }
|
||
|
||
.klartext { display: block; padding: 6px 8px; margin-bottom: 4px; border-radius: 6px; background: rgba(127, 127, 127, .08); border-left: 3px solid var(--accent); }
|
||
|
||
/* ===== Menschen-Bestätigung ===== */
|
||
.hc-area { position: relative; height: 160px; margin: 12px 0; border: 1px dashed var(--line); border-radius: 8px; }
|
||
.hc-btn { position: absolute; }
|
||
|
||
/* ===== Bevölkerung ===== */
|
||
.pop-groups { display: grid; gap: 10px; }
|
||
/* Gruppe: Name und Wähleranteil links untereinander, Stimmung rechts – gleich bei jeder Breite */
|
||
.pop-g { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 10px; align-items: baseline; margin-bottom: 4px; }
|
||
.pop-g > .muted { grid-column: 1; grid-row: 2; }
|
||
.pop-g > .pop-m { grid-column: 2; grid-row: 1 / span 2; align-self: center; white-space: nowrap; }
|
||
.pop-m { font-variant-numeric: tabular-nums; font-weight: 600; }
|
||
.pop-m.up, .pop-imp .up { color: var(--up); }
|
||
.pop-m.down, .pop-imp .down { color: var(--down); }
|
||
.pop-imp { display: grid; gap: 4px; margin: 6px 0; }
|
||
.pop-imp li { display: grid; grid-template-columns: 140px 1fr 90px; gap: 8px; align-items: center; font-size: .92em; }
|
||
.pop-bar { position: relative; height: 10px; border-radius: 5px; background: rgba(127, 127, 127, .12); }
|
||
.pop-bar::after { content: ''; position: absolute; left: 50%; top: -2px; bottom: -2px; border-left: 1px solid var(--line); }
|
||
.pop-bar > span { position: absolute; top: 0; bottom: 0; border-radius: 5px; }
|
||
.pop-bar > .up { background: var(--up); }
|
||
.pop-bar > .down { background: var(--down); }
|
||
.pop-voice { margin: 8px 0; padding: 6px 10px; border-left: 3px solid var(--accent); background: rgba(127, 127, 127, .06); border-radius: 6px; font-style: italic; }
|
||
.pop-voice small { font-style: normal; }
|
||
@media (max-width: 600px) { .pop-imp li { grid-template-columns: 110px 1fr; } .pop-imp li > span:last-child { display: none; } }
|
||
ul.pop-groups, ul.pop-imp { list-style: none; padding-left: 0; margin-left: 0; }
|
||
/* nur breit: dritte Spalte „gewinnt/verliert“ (schmal ist sie ausgeblendet, sonst bliebe eine leere Spalte) */
|
||
@media (min-width: 601px) { .pop-imp li { grid-template-columns: 140px minmax(0, 1fr) 110px; } }
|
||
.pop-imp li > span:last-child { white-space: nowrap; }
|
||
|
||
/* ===== GUI-Aufräumen: Handel/Depot/Kopf ===== */
|
||
/* Kopfzeile: die Börsenphase darf nicht zu „F S“ zusammenschrumpfen; Rest bleibt in Originalbreite */
|
||
.phase { min-width: 150px; }
|
||
header.top > .stat, header.top > .badge-s, header.top > .chip, header.top > .icon-btn, header.top > .btn { flex: none; }
|
||
@media (min-width: 761px) { #userBtn { max-width: 180px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: block; } }
|
||
@media (max-width: 1600px) { header.top { gap: 12px; } #timeMode { display: none; } }
|
||
@media (max-width: 1440px) { #repSeason { display: none !important; } }
|
||
@media (max-width: 1250px) { .mainnav button { padding: 10px 9px; } }
|
||
/* Kartenkopf: „?“ bleibt direkt hinter der Überschrift, Zusatzangaben rechts */
|
||
.card-h > .help-q { margin: 0 auto 0 -2px; }
|
||
.card-h > span:first-child { white-space: nowrap; }
|
||
#spread { white-space: nowrap; text-transform: none; letter-spacing: 0; font-weight: 500; font-size: 12px; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
|
||
|
||
/* Handel: breite Bildschirme nutzen, Reiter enger, Unternehmensdaten nicht in schmale Spalten quetschen */
|
||
@media (min-width: 1600px) {
|
||
#v-trade { grid-template-columns: 330px minmax(0, 1fr) 370px; }
|
||
.sym-btn small { max-width: 160px; }
|
||
}
|
||
#sTabs button { padding: 9px 9px; }
|
||
@media (min-width: 761px) { #sTabs { flex-wrap: wrap; overflow-x: visible; } }#sTabBody .grid3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
|
||
.cz-lbl { white-space: normal; }
|
||
/* Mittlere Breiten und Handy: Chart, dann Orderticket, dann die langen Unternehmensdetails */
|
||
@media (max-width: 1020px) and (min-width: 761px) {
|
||
.stock-col { display: contents; }
|
||
.market-col { grid-row: 1 / span 3; }
|
||
.stock-col > .card:first-child { grid-column: 2; grid-row: 1; }
|
||
.ticket-col { grid-column: 2; grid-row: 2; }
|
||
.stock-col > .card:last-child { grid-column: 2; grid-row: 3; }
|
||
}
|
||
@media (max-width: 760px) {
|
||
.stock-col { display: contents; }
|
||
.stock-col > .card:first-child { order: 1; }
|
||
.ticket-col { order: 2; }
|
||
.stock-col > .card:last-child { order: 3; }
|
||
.sticky-trade { order: 4; }
|
||
#v-trade .btn.small, #v-depot .btn.small { min-height: 36px; }
|
||
}
|
||
|
||
/* Depot: Aktionsknöpfe nebeneinander, Symbol + Short-Kennzeichen in einer Zeile */
|
||
#v-depot td:first-child { white-space: nowrap; }
|
||
#v-depot td .row-actions { flex-wrap: nowrap; justify-content: flex-end; }
|
||
@media (max-width: 1020px) and (min-width: 761px) { #v-depot td .row-actions { flex-wrap: wrap; } }
|
||
@media (max-width: 760px) {
|
||
#v-depot .scroll-x td { white-space: nowrap; }
|
||
#v-depot .kpis { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
|
||
#v-depot .scroll-x th:first-child, #v-depot .scroll-x td:first-child { position: sticky; left: 0; background: var(--panel); z-index: 1; }
|
||
#v-depot .scroll-x th:first-child { z-index: 2; }
|
||
}
|
||
/* ===== GUI-Aufräumen: Politik/Termine/Nachrichten/Hilfe ===== */
|
||
.cd { white-space: nowrap; } /* Countdown („3 h 34 min“) nie zerreißen */
|
||
/* Termine & Briefing: Briefing nicht auf Kalenderhöhe strecken, Termin-Links linksbündig */
|
||
#v-termine > .grid2 { align-items: start; }
|
||
ul.cal .linkish { text-align: left; }
|
||
/* Politik: Kabinett kompakt, Positionsbalken in der Parteientabelle als kleine Liste */
|
||
.cab-t .cab-hint { font-weight: 400; text-transform: none; }
|
||
#plParties .posbars { flex-direction: column; flex-wrap: nowrap; gap: 3px; }
|
||
#plParties .pb { flex-direction: row; align-items: center; gap: 6px; }
|
||
#plParties .pb small { width: 3em; }
|
||
#plChamber .posbars { gap: 18px; margin-bottom: 8px; }
|
||
#plChamber .pbar { width: clamp(64px, 24vw, 120px); height: 10px; }
|
||
#plBudget + .grid2 { margin-top: 12px; }
|
||
/* Handbuch: Inhaltsverzeichnis ohne Aufzählungspunkte */
|
||
.book-toc ul.plain { list-style: none; padding-left: 0; }
|
||
.book-toc ul.plain li { margin: 1px 0; }
|
||
@media (max-width: 1100px) {
|
||
.chain ol { flex-direction: column; }
|
||
.chain li:not(.arrow) { flex: none; }
|
||
.chain .arrow { transform: rotate(90deg); align-self: center; line-height: 1; }
|
||
}
|
||
@media (max-width: 760px) {
|
||
/* Reiter umbrechen statt seitlich verschwinden */
|
||
.pol-tabs, #v-news .tabs { flex-wrap: wrap; }
|
||
.pol-tabs button, #v-news .tabs button { padding: 8px 10px; }
|
||
/* Handbuch-Kapitel als kompakte Chips, damit der Text sofort sichtbar ist */
|
||
.book-toc nav ul.plain { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
|
||
.book-toc nav ul.plain li { margin: 0; }
|
||
.book-toc .toc-item { width: auto; border: 1px solid var(--line); border-radius: 999px; padding: 5px 11px; font-size: 13px; }
|
||
}
|
||
@media (max-width: 600px) {
|
||
#plDonate .row2, #plFound .row2 { grid-template-columns: minmax(0, 1fr); }
|
||
/* Parteientabelle als Karten: Name, Positionen, dann Sitze/Umfrage/Mitglieder und Knopf */
|
||
#plParties table, #plParties tbody { display: block; }
|
||
#plParties thead { display: none; }
|
||
#plParties tr { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) auto; gap: 6px 10px; padding: 10px 12px; border-top: 1px solid var(--row-line); align-items: end; }
|
||
#plParties td { display: block; border: 0; padding: 0; text-align: left; }
|
||
#plParties td:nth-child(1), #plParties td:nth-child(2) { grid-column: 1 / -1; }
|
||
#plParties td[data-l]::before { content: attr(data-l); display: block; font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; font-size: 11px; color: var(--muted); }
|
||
#plParties td.pty-act:empty { display: none; }
|
||
#plParties tr.me { background: color-mix(in srgb, var(--accent) 12%, transparent); }
|
||
#plParties tr.me td { background: none; }
|
||
#plParties .posbars { flex-direction: row; gap: 14px; }
|
||
#plParties .pb { flex-direction: column; align-items: stretch; gap: 2px; }
|
||
#plParties .pb small { width: auto; }
|
||
}
|
||
/* Frühindikatoren-Tabelle passt auch in die halbe Spalte ohne seitliches Scrollen */
|
||
@media (max-width: 1020px) {
|
||
.ind-t th, .ind-t td { padding-left: 4px; padding-right: 4px; }
|
||
.ind-t th[scope="row"] { overflow-wrap: anywhere; hyphens: auto; }
|
||
}
|
||
/* Hauptversammlung: Firmenname als normale Überschrift, Frist in eigener Zeile */
|
||
.agm > h3.h4, .ipo > h3.h4 { text-transform: none; letter-spacing: 0; font-size: 15px; color: var(--text); }
|
||
.agm > h3.h4 .muted.small { display: block; font-weight: 400; margin-top: 2px; }
|
||
/* Hilfe-Chips (Handbuch, Hilfe-Fenster): schlichter Rand statt Browser-Standardrahmen */
|
||
.book-main button.chip, .help-modal button.chip { border: 1px solid var(--line); cursor: pointer; }
|
||
.book-main button.chip:hover, .help-modal button.chip:hover { border-color: var(--accent); color: var(--text); }
|
||
/* ===== GUI-Aufräumen: Battles/Clans/Aufgaben/Community/Profil ===== */
|
||
/* Kartenkopf: „?“ bleibt direkt am Titel, Zusätze und Knöpfe rechts; bei Platzmangel sauber umbrechen */
|
||
:is(#v-battles, #v-clans, #v-fortschritt, #v-community) .card-h { flex-wrap: wrap; row-gap: 6px; }
|
||
:is(#v-battles, #v-clans, #v-fortschritt, #v-community) .card-h > .help-q { margin-right: auto; margin-left: 4px; }
|
||
:is(#v-battles, #v-clans, #v-fortschritt, #v-community) .card-h > span:first-child { min-width: 0; overflow-wrap: anywhere; }
|
||
:is(#v-battles, #v-clans, #v-fortschritt, #v-community) .card-h > .btn { flex: none; white-space: nowrap; margin-left: auto; }
|
||
/* Tabellen ohne Innenabstand der Karte: erste/letzte Spalte bündig zum Kartentext */
|
||
:is(#v-battles, #v-clans, #v-fortschritt, #v-community) .body.flush table :is(th, td):first-child { padding-left: 12px; }
|
||
:is(#v-battles, #v-clans, #v-fortschritt, #v-community) .body.flush table :is(th, td):last-child { padding-right: 12px; }
|
||
:is(#v-battles, #v-clans, #v-community) td .btn.small { white-space: nowrap; }
|
||
/* Kennzahlen als Raster statt Flex – keine einzelne Kachel allein in der letzten Zeile, lange Namen gekürzt */
|
||
:is(#v-clans, #v-battles) .kpis, .profile-modal .kpis, .clan-modal .kpis, .recap-modal .kpis { display: grid; grid-template-columns: repeat(auto-fill, minmax(124px, 1fr)); gap: 10px 18px; }
|
||
:is(#v-clans, #v-battles) .kpis > div, .profile-modal .kpis > div, .clan-modal .kpis > div, .recap-modal .kpis > div { min-width: 0; }
|
||
:is(#v-clans, #v-battles) .kpis b, .profile-modal .kpis b, .clan-modal .kpis b, .recap-modal .kpis b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
|
||
:is(#v-clans, .clan-modal) .kpis b.small { font-size: 14px; }
|
||
#v-clans .kpis > div:last-child:has(> b.small) { grid-column: span 2; } /* Gründername bekommt Platz */
|
||
#v-clans .kpis b .muted, :is(#v-clans, .clan-modal) .kpis b.small { font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; font-weight: 500; }
|
||
/* Battle-Karte: beide Seiten gleich breit und gleich gerahmt, Rendite bleibt in einer Zeile */
|
||
.battle-card { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); }
|
||
.battle-card > div { min-width: 0; }
|
||
.battle-card .plink, .battle-card > div > b { display: inline-block; max-width: 100%; overflow: hidden; text-overflow: ellipsis; vertical-align: bottom; }
|
||
.battle-card > div:not(.vs) { border: 1px solid transparent; border-radius: 8px; padding: 6px; }
|
||
.battle-card > div.me { border-color: var(--accent); }
|
||
.battle-card .ret { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: clamp(15px, 4vw, 22px); }
|
||
/* Aufgaben: XP-Wert nicht umbrechen */
|
||
.q-top > span { min-width: 0; }
|
||
.q-top > b { white-space: nowrap; flex: none; }
|
||
/* Erfolge: gesperrte bleiben lesbar (Halbtransparenz war im hellen Theme zu blass) */
|
||
.ach:not(.on) { opacity: 1; border: 1px dashed var(--line); }
|
||
.ach:not(.on) .i { filter: grayscale(1); opacity: .5; }
|
||
.ach:not(.on) b { color: var(--muted); }
|
||
/* Freunde: Name nicht zerquetschen, Aktionen nebeneinander (Zelle bleibt Tabellenzelle) */
|
||
table.friends td:first-child { min-width: 8em; }
|
||
table.friends td.row-actions { display: table-cell; white-space: nowrap; text-align: right; }
|
||
table.friends td.row-actions .btn + .btn { margin-left: 6px; }
|
||
/* Battle-Verlauf: Ergebnis darf zweizeilig sein, die Renditen bleiben zusammen */
|
||
#btLists td.num { white-space: normal; }
|
||
#btLists td.num small.block { white-space: nowrap; }
|
||
/* Häkchen-Zeilen mit mehrzeiligem Text: Kästchen an der ersten Zeile ausrichten */
|
||
:is(#v-clans, #setForm) .check { align-items: flex-start; }
|
||
:is(#v-clans, #setForm) .check input { margin-top: 2px; flex: none; }
|
||
/* Einstellungen: Passwortfelder auf einer Linie, am Handy untereinander */
|
||
#setForm .row2 { align-items: end; }
|
||
/* Dialogtitel nicht unter den Schließen-Knopf laufen lassen */
|
||
.modal h2 { padding-right: 42px; overflow-wrap: anywhere; }
|
||
/* Saisonrückblick: Kollision mit .recap (Wochenrückblick) aufheben, Kennzahlen im 2er-Raster */
|
||
.recap-modal .recap { border-left: 0; padding-left: 0; margin-bottom: 0; }
|
||
.recap-modal .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 340px; margin: 0 auto 10px; }
|
||
.recap-big { white-space: nowrap; }
|
||
@media (max-width: 760px) {
|
||
#setForm .row2 { grid-template-columns: minmax(0, 1fr); }
|
||
/* Handy: Freunde ohne Level-Spalte, Knöpfe untereinander – passt ohne Querscrollen */
|
||
table.friends :is(th, td):nth-child(4) { display: none; }
|
||
table.friends td.row-actions .btn { display: flex; width: 100%; }
|
||
table.friends td.row-actions .btn + .btn { margin: 4px 0 0; }
|
||
/* Handy: Mitgliederliste ohne „(–)“-Hinweis (steht als „Gewertet“ in den Kennzahlen) */
|
||
#v-clans td.num > .muted.small { display: none; }
|
||
:is(#v-clans, #btLists) td .plink { display: inline-block; max-width: 8em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; vertical-align: bottom; }
|
||
}
|