mirror of
https://github.com/db9979/wibosim.git
synced 2026-12-06 13:34:09 +01:00
Merge des Derivate-Pakets; Icons der neuen Einträge auf das Icon-System umgestellt. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018i4GUhQVoPUusUzxgxLWkK
1475 lines
109 KiB
CSS
1475 lines
109 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: #11803d; --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;
|
||
/* Flächen mit weißer Schrift (Knöpfe, Zähler): eigene, dunklere Töne für WCAG AA */
|
||
--accent-fill: #2f6fe4; --down-fill: #d93636;
|
||
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);
|
||
--accent-fill: #1f5bd8; --down-fill: #b82424;
|
||
color-scheme: light;
|
||
}
|
||
/* Design-Tokens: Schriftskala, Radien, Steuerelement-Größen (Maus kompakt, Finger mindestens 44 px) */
|
||
:root {
|
||
--fs-xs: 11px; --fs-sm: 12px; --fs-base: 14px; --fs-md: 16px; --fs-lg: 19px; --fs-xl: 24px; --fs-2xl: 32px;
|
||
--r-xs: 4px; --r-sm: 6px; --r-md: 10px; --r-lg: 14px; --r-pill: 999px;
|
||
--ctl-h-sm: 26px; --ctl-h: 32px; --ctl-h-lg: 40px; --ctl-px: 12px; --ctl-fs: 13px; --ctl-fs-sm: 12px;
|
||
--num-font: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
|
||
--safe-l: env(safe-area-inset-left, 0px); --safe-r: env(safe-area-inset-right, 0px); --safe-t: env(safe-area-inset-top, 0px); --safe-b: env(safe-area-inset-bottom, 0px);
|
||
}
|
||
@media (pointer: coarse) {
|
||
:root { --fs-base: 15px; --ctl-h-sm: 36px; --ctl-h: 44px; --ctl-h-lg: 48px; --ctl-px: 16px; --ctl-fs: 15px; --ctl-fs-sm: 13px; }
|
||
}
|
||
* { box-sizing: border-box; }
|
||
[hidden] { display: none !important; }
|
||
html { -webkit-text-size-adjust: 100%; -webkit-tap-highlight-color: transparent; scroll-padding-top: calc(var(--top-h, var(--hdr-h, 56px)) + 8px); }
|
||
html, body { margin: 0; background: var(--bg); color: var(--text); font: var(--fs-base)/1.45 system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; }
|
||
body { min-height: 100vh; min-height: 100dvh; }
|
||
html.modal-open, html.modal-open body { overflow: hidden; }
|
||
button, .btn, [role=tab] { touch-action: manipulation; }
|
||
button, .btn { -webkit-user-select: none; user-select: none; }
|
||
.scroll, .scroll-x, .scroll-y, .modal, .bracket { overscroll-behavior: contain; }
|
||
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; }
|
||
/* Textfelder: Radios, Häkchen und Regler ausgenommen (sonst werden sie 38 px hoch und so breit wie die Zeile) */
|
||
input:where(:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]):not([type=file])), select, textarea {
|
||
font: inherit; background: var(--bg); color: var(--text); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 6px 10px; width: 100%; min-height: calc(var(--ctl-h) + 2px); }
|
||
input[type=checkbox], input[type=radio] { width: 18px; height: 18px; margin: 0; padding: 0; flex: none; accent-color: var(--accent); vertical-align: -3px; }
|
||
textarea { resize: vertical; }
|
||
input:focus, select:focus, textarea:focus { border-color: var(--accent); }
|
||
:focus-visible { outline: 2px solid var(--accent) !important; outline-offset: 2px; }
|
||
:is(input, select, textarea):focus-visible:not([type=checkbox]):not([type=radio]) { outline: 0 !important; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 30%, transparent); }
|
||
/* iOS zoomt beim Fokussieren von Feldern unter 16 px */
|
||
@media (pointer: coarse) { input:not([type=checkbox]):not([type=radio]), select, textarea { font-size: 16px; } }
|
||
input:user-invalid { border-color: var(--down); }
|
||
fieldset { border: 1px solid var(--line); border-radius: 8px; padding: 8px 12px 10px; margin: 10px 0; min-inline-size: 0; min-width: 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(--num-font); font-variant-numeric: tabular-nums lining-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-fill); color: #fff; padding: 8px 12px; border-radius: 6px; z-index: 100; }
|
||
.skip:focus { left: 8px; }
|
||
|
||
/* ---------------------------------------------------------------- Schaltflächen */
|
||
/* Knöpfe: ein Rand ist immer da (transparent), damit alle Varianten gleich hoch sind. Größen über --ctl-* (Maus 26/32/40, Finger 36/44/48) */
|
||
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; background: var(--accent-fill); color: #fff; border: 1px solid transparent; border-radius: var(--r-sm); padding: 0 var(--ctl-px); font-size: var(--ctl-fs); line-height: 1.2; font-weight: 600; text-decoration: none; min-height: var(--ctl-h); }
|
||
.btn:hover:not(:disabled) { filter: brightness(1.1); }
|
||
.btn.ghost { background: transparent; border-color: var(--line); color: var(--text); }
|
||
.btn.small { padding: 0 10px; font-size: var(--ctl-fs-sm); min-height: var(--ctl-h-sm); }
|
||
.btn.buy { background: var(--buy); } .btn.sell { background: var(--sell); }
|
||
.btn.wide { width: 100%; padding: 0 12px; min-height: var(--ctl-h-lg); 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: var(--r-sm); width: 34px; height: 34px; display: grid; place-items: center; color: var(--text); }
|
||
.icon-btn .count { position: absolute; top: -6px; right: -6px; background: var(--down-fill); 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: max(6px, var(--safe-t)) max(14px, var(--safe-r)) 6px max(14px, var(--safe-l)); 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-t > 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; font-variant-numeric: tabular-nums; }
|
||
.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(--num-font); font-variant-numeric: tabular-nums; font-weight: 650; 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-fill); 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 max(10px, var(--safe-r)) 0 max(10px, var(--safe-l)); background: var(--panel); border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
|
||
.mainnav button { background: none; border: 0; border-bottom: 2px solid transparent; color: var(--muted); padding: 10px 12px; white-space: nowrap; font-weight: 600; flex: none; }
|
||
.mainnav button:hover { color: var(--text); }
|
||
.mainnav button[aria-current="page"] { color: var(--text); border-color: var(--accent); }
|
||
|
||
/* ---------------------------------------------------------------- Ansichten */
|
||
main { padding: 10px max(10px, var(--safe-r)) 10px max(10px, var(--safe-l)); 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, body[data-view="heute"] #v-heute { 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: calc(var(--top-h, 104px) + 8px); max-height: calc(100vh - var(--top-h, 104px) - 20px); max-height: calc(100dvh - var(--top-h, 104px) - 20px); }
|
||
.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; max-height: 70dvh; 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 { flex: none; }
|
||
.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; }
|
||
/* Marktliste: feste Spaltenbreiten – Kurs und Änderung bleiben immer sichtbar, der Name kürzt sich */
|
||
.mlist { table-layout: fixed; }
|
||
.mlist th:nth-child(2) { width: 64px; } .mlist th:nth-child(3) { width: 84px; }
|
||
.mlist td.num { font-size: 13px; }
|
||
.mlist td:first-child { overflow: hidden; }
|
||
.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; max-width: 100%; }
|
||
.sym-btn b { font-size: 14px; }
|
||
.sym-btn small { display: block; color: var(--muted); font-size: 12px; max-width: 100%; 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: var(--fs-xs); font-variant-numeric: tabular-nums; }
|
||
.mlist .ind { white-space: normal; margin-top: 2px; }
|
||
.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; }
|
||
/* Kursblitz: nur die Ziffern kurz einfärben (kein Farbblock) */
|
||
.flash-up { animation: fu .6s ease-out; } .flash-down { animation: fd .6s ease-out; }
|
||
@keyframes fu { from { color: var(--up); } } @keyframes fd { from { color: var(--down); } }
|
||
|
||
/* Aktienkopf & Chart */
|
||
.stock-head { padding: 12px 14px 6px; }
|
||
.sh-top { display: flex; gap: 10px 18px; align-items: center; flex-wrap: wrap; position: relative; }
|
||
.sh-top > .help-q { order: 9; margin-left: auto; }
|
||
.sh-top .sym { font-size: 22px; font-weight: 800; display: inline; margin-right: 8px; }
|
||
.px-big { font-size: 22px; font-weight: 700; letter-spacing: -.01em; font-family: var(--num-font); font-variant-numeric: tabular-nums; display: flex; gap: 10px; align-items: baseline; }
|
||
.px-big .num { font-family: inherit; }
|
||
.px-big .up, .px-big .down, .px-big .flat { font-size: 15px; }
|
||
.kv-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 8px 16px; margin: 10px 0 2px; }
|
||
.kv-row div { display: flex; flex-direction: column; min-width: 0; }
|
||
.kv-row dt { color: var(--muted); font-size: 12px; white-space: nowrap; }
|
||
.kv-row dd { margin: 0; font-size: 13px; font-weight: 600; }
|
||
.kv-row dd.num { text-align: left; }
|
||
.ind-line { display: inline-block; margin-left: 6px; }
|
||
.chart-bar { display: flex; align-items: center; gap: 8px 12px; padding: 0 14px 6px; flex-wrap: wrap; }
|
||
.chart-bar .seg.ranges button { padding: 4px 8px; min-width: 36px; }
|
||
.chart-stats { font-variant-numeric: tabular-nums; white-space: nowrap; }
|
||
.chart-stats .num { font-family: var(--num-font); }
|
||
.chart-note { flex-basis: 100%; }
|
||
.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: 1px solid var(--line); border-radius: var(--r-md); padding: 2px; margin-bottom: 10px; gap: 2px; }
|
||
.seg.w-auto { display: inline-grid; width: auto; }
|
||
.seg button { border: 0; background: none; color: var(--muted); padding: 0 12px; border-radius: var(--r-sm); font-weight: 600; min-height: 28px; }
|
||
@media (pointer: coarse) { .seg button { min-height: 40px; } }
|
||
.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: 0 10px; min-height: 24px; font-size: 12px; }
|
||
@media (pointer: coarse) { .seg.mini button { min-height: 34px; font-size: 13px; } }
|
||
/* Segment-Schalter aus Radios (Analysen, Hauptversammlung, Fehlerbericht): Kreis unsichtbar, das Label ist die Fläche */
|
||
.seg-radio { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 4px; min-height: 28px; padding: 0 12px; border-radius: var(--r-sm);
|
||
color: var(--muted); font-weight: 600; cursor: pointer; text-align: center; line-height: 1.2; white-space: nowrap; }
|
||
@media (pointer: coarse) { .seg-radio { min-height: 40px; } }
|
||
.seg-radio input { position: absolute; inset: 0; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
|
||
.seg-radio:hover { color: var(--text); }
|
||
.seg-radio:has(input:checked) { background: var(--seg-on); color: var(--text); box-shadow: var(--seg-shadow); }
|
||
.seg-radio:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 1px; }
|
||
|
||
.tabs { display: flex; gap: 2px; padding: 4px 8px 0; border-bottom: 1px solid var(--line); overflow-x: auto; align-items: flex-end; scrollbar-width: thin; }
|
||
.tabs button { background: none; border: 0; color: var(--muted); padding: 0 12px; min-height: 36px; border-bottom: 2px solid transparent; white-space: nowrap; font-weight: 600; flex: none; }
|
||
@media (pointer: coarse) { .tabs button { min-height: 44px; } }
|
||
.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-variant-numeric: tabular-nums; }
|
||
.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; }
|
||
ul.plain.ana-list, ul.ana-list { list-style: none; padding-left: 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 { accent-color: var(--accent); }
|
||
.qty-quick { display: flex; gap: 6px; margin: -2px 0 8px; }
|
||
.qty-quick .btn { flex: 1; }
|
||
.lim-tools { display: flex; flex-wrap: wrap; gap: 6px; margin: -2px 0 8px; }
|
||
.lim-tools .btn { flex: 1 1 0; min-width: 0; padding-left: 4px; padding-right: 4px; }
|
||
.lim-tools .lim-band { flex-basis: 100%; font-variant-numeric: tabular-nums; }
|
||
.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; }
|
||
.hint.after-submit { margin-top: 10px; }
|
||
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-variant-numeric: tabular-nums; 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-variant-numeric: tabular-nums; 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(--num-font); font-variant-numeric: tabular-nums; font-weight: 650; font-size: 15px; }
|
||
.kpis.big b { font-size: var(--fs-lg); letter-spacing: -.01em; }
|
||
.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-variant-numeric: tabular-nums; 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: var(--fs-lg); 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-weight: 700; font-variant-numeric: tabular-nums; }
|
||
.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-variant-numeric: tabular-nums; letter-spacing: -.02em; 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 */
|
||
/* Dialoge liegen über Meldungen (Toasts), aber unter der Einführung */
|
||
.modal-bg { position: fixed; inset: 0; background: var(--overlay); display: flex; align-items: center; justify-content: center; z-index: 82; padding: max(12px, var(--safe-t)) max(12px, var(--safe-r)) max(12px, var(--safe-b)) max(12px, var(--safe-l)); overscroll-behavior: contain; }
|
||
.modal { position: relative; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; width: min(460px, 100%); max-height: calc(100vh - 24px); max-height: calc(100dvh - 24px - var(--safe-t) - var(--safe-b)); overflow: auto; outline: none; box-shadow: 0 16px 48px var(--shadow-lg); }
|
||
.modal.wide { width: min(720px, 100%); }
|
||
.modal h2 { margin: 0 0 12px; font-size: var(--fs-lg); padding-right: 30px; }
|
||
.modal-x { position: absolute; top: 10px; right: 10px; z-index: 2; background: none; border: 0; font-size: 24px; line-height: 1; color: var(--muted); width: 36px; height: 36px; border-radius: 8px; }
|
||
@media (pointer: coarse) { .modal-x { width: 44px; height: 44px; top: 6px; right: 6px; } }
|
||
.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: max(16px, var(--safe-r)); bottom: max(16px, var(--safe-b)); display: flex; flex-direction: column; gap: 8px; z-index: 80; width: min(380px, calc(100vw - 32px)); pointer-events: none; }
|
||
/* Handelsseite: Meldungen links unten, damit sie das Orderticket (rechts) nicht verdecken */
|
||
@media (min-width: 761px) { body[data-view="markt"] .toasts, body[data-view="handeln"] .toasts { right: auto; left: 16px; } }
|
||
.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) {
|
||
body { padding-bottom: calc(64px + var(--safe-b)); }
|
||
header.top { gap: 10px; padding: max(6px, var(--safe-t)) max(10px, var(--safe-r)) 6px max(10px, var(--safe-l)); 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 max(8px, var(--safe-r)) 8px max(8px, var(--safe-l)); }
|
||
#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(56px + var(--safe-b)); padding: 8px max(8px, var(--safe-r)) 8px max(8px, var(--safe-l)); background: var(--panel-glass); border-top: 1px solid var(--line); z-index: 25; transition: transform .18s ease-out, opacity .18s; }
|
||
/* Kauf-Leiste weg, sobald das Orderticket selbst im Bild ist – sonst liegen zwei „Kaufen“-Knöpfe übereinander */
|
||
body[data-view="handeln"].ticket-visible .sticky-trade { transform: translateY(calc(100% + 56px + var(--safe-b))); opacity: 0; pointer-events: none; }
|
||
body[data-view="handeln"] { padding-bottom: calc(124px + var(--safe-b)); }
|
||
#ticket, #ticketCard { scroll-margin-bottom: calc(64px + var(--safe-b)); }
|
||
.sticky-trade .btn { min-height: 48px; flex-direction: column; gap: 0; line-height: 1.15; font-size: 15px; }
|
||
.sticky-trade small { font-variant-numeric: tabular-nums; font-weight: 500; font-size: 12px; }
|
||
/* Aktie am Handy: Chart früher sichtbar – Kennzahlen als waagrecht scrollende Zeile, Zeitraum und Darstellung in einer Reihe */
|
||
.stock-head { padding: 10px 12px 4px; }
|
||
.sh-top { gap: 6px 12px; }
|
||
.px-big { font-size: 22px; }
|
||
.kv-row { display: flex; flex-wrap: nowrap; overflow-x: auto; gap: 16px; margin: 8px -12px 0; padding: 0 12px 6px; scrollbar-width: none; overscroll-behavior-x: contain; }
|
||
.kv-row > div { flex: none; }
|
||
.chart-wrap { height: 240px; }
|
||
.chart-bar { padding: 2px 10px 6px; flex-wrap: wrap; gap: 6px; }
|
||
.chart-bar .seg.ranges { flex: 1 1 auto; }
|
||
.chart-bar .seg.ranges button { min-width: 0; padding: 0 4px; }
|
||
.chart-stats { white-space: normal; flex-basis: 100%; order: 3; }
|
||
.chart-note { display: none; }
|
||
.grid2, .grid3, .row3 { grid-template-columns: minmax(0, 1fr); }
|
||
.margin-line { grid-template-columns: auto 1fr auto; }
|
||
.margin-line .muted { grid-column: 1 / -1; }
|
||
.bnav { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 0; right: 0; bottom: 0; height: calc(56px + var(--safe-b)); padding: 0 var(--safe-r) var(--safe-b) var(--safe-l); 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); }
|
||
/* Meldungen unten über der Navigationsleiste (im Handel über der Kauf-Leiste), nicht über dem Seitenkopf */
|
||
.toasts { top: auto; bottom: calc(64px + var(--safe-b)); left: max(8px, var(--safe-l)); right: max(8px, var(--safe-r)); width: auto; }
|
||
body[data-view="handeln"]:not(.ticket-visible) .toasts { bottom: calc(128px + var(--safe-b)); }
|
||
/* Dialoge als Bottom-Sheet */
|
||
.modal-bg { align-items: flex-end; padding: max(12px, var(--safe-t)) 0 0; }
|
||
.modal { width: 100%; max-width: 100%; border-radius: var(--r-lg) var(--r-lg) 0 0; border-bottom: 0; padding: 18px max(16px, var(--safe-r)) calc(18px + var(--safe-b)) max(16px, var(--safe-l)); max-height: 92vh; max-height: calc(100dvh - 24px - var(--safe-t)); animation: sheet-in .2s ease-out; }
|
||
.modal.wide { width: 100%; }
|
||
.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-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; max-height: 65dvh; 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: calc(74px + var(--safe-b)); } }
|
||
|
||
/* Rivalen (computergesteuerte Mitspieler) */
|
||
.ki-badge { display: inline-block; font-size: var(--fs-xs); 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: var(--fs-xs); 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) */
|
||
|
||
/* ===== 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; }
|
||
/* Abstimmung als gleich breiter Segment-Schalter „Ja | Nein | Enthaltung“ */
|
||
.seg.agm-vote { display: inline-grid; grid-auto-flow: column; grid-auto-columns: 1fr; margin: 6px 0 2px; min-width: min(100%, 300px); }
|
||
|
||
/* ===== 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-fill); color: #fff; border-color: var(--accent-fill); }
|
||
.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-form .seg { max-width: 320px; margin-bottom: 4px; }
|
||
.ana-list .ana { padding: 8px 0 8px 10px; border-bottom: 1px solid var(--line); }
|
||
.ana-list .ana--up { border-left: 3px solid var(--up); }
|
||
.ana-list .ana--down { border-left: 3px solid var(--down); }
|
||
.ana-list .ana p { margin: 4px 0; }
|
||
.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: 8px; border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; }
|
||
.bug-incl label { display: flex; gap: 8px; align-items: flex-start; }
|
||
.bug-incl label input { margin-top: 1px; }
|
||
.bug-form fieldset.seg { margin: 0; padding: 2px; }
|
||
@media (max-width: 480px) { .bug-form fieldset.seg { grid-auto-flow: row; grid-template-columns: 1fr 1fr; } }
|
||
.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 { position: relative; 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-fill); color: #fff; border-color: var(--accent-fill); }
|
||
.help-ic { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 50%; background: var(--accent-fill); 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: 15px; }
|
||
.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: calc(var(--top-h, 56px) + 14px); }
|
||
.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-fill); 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); }
|
||
.klartext { color: var(--text); }
|
||
.klartext .klar-h { display: block; font-weight: 700; font-size: 11px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); margin-bottom: 2px; }
|
||
.klar-rows { margin: 0; display: grid; gap: 2px; }
|
||
.klar-rows > div { display: grid; grid-template-columns: 6.5em minmax(0, 1fr); gap: 8px; align-items: baseline; }
|
||
.klar-rows dt { color: var(--muted); }
|
||
.klar-rows dd { margin: 0; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
|
||
.klar-rows .num { font-variant-numeric: tabular-nums; white-space: nowrap; }
|
||
|
||
/* ===== 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: max(var(--ctl-h-sm), 32px); }
|
||
}
|
||
|
||
/* 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; }
|
||
}
|
||
|
||
/* ---------------------------------------------------------------- Klick-Rückmeldung (js/feedback.js, js/btnstate.js) */
|
||
/* sofortiges Nachgeben beim Drücken; deutlicher Fokusrahmen (Hell und Dunkel über --focus) */
|
||
button { --fb-c: var(--text); transition: transform .07s ease-out, filter .12s; }
|
||
.btn:not(.ghost) { --fb-c: #fff; }
|
||
button:not(:disabled):active { transform: translateY(1px) scale(.97); }
|
||
.bnav button:not(:disabled):active, .mainnav button:not(:disabled):active { transform: scale(.95); }
|
||
button:focus-visible, .btn:focus-visible { outline: 2px solid var(--accent) !important; outline-offset: 2px; }
|
||
/* Zustände: Text bleibt (unsichtbar) stehen → Breite bleibt gleich; Symbol liegt darüber */
|
||
button.is-busy, button.is-ok, button.is-err { position: relative; color: transparent !important; -webkit-text-fill-color: transparent; }
|
||
button.is-busy > *, button.is-ok > *, button.is-err > * { visibility: hidden; }
|
||
button.is-busy:disabled { opacity: .9; cursor: progress; }
|
||
button.is-busy::after { content: ''; position: absolute; inset: 0; margin: auto; width: 1.05em; height: 1.05em; box-sizing: border-box;
|
||
border: 2px solid var(--fb-c); border-right-color: transparent; border-radius: 50%; animation: fb-spin .7s linear infinite; }
|
||
button.is-ok, button.is-err { --fb-c: #fff; }
|
||
button.is-ok { background: var(--buy) !important; border-color: var(--buy) !important; }
|
||
button.is-err { background: var(--sell) !important; border-color: var(--sell) !important; animation: fb-shake .32s ease-in-out; }
|
||
button.is-ok::after, button.is-err::after { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; -webkit-text-fill-color: #fff; font-weight: 800; font-size: 1.1em; line-height: 1; }
|
||
button.is-ok::after { content: '✓'; }
|
||
button.is-err::after { content: '✗'; }
|
||
@keyframes fb-spin { to { transform: rotate(360deg); } }
|
||
@keyframes fb-shake { 0%, 100% { transform: translateX(0); } 20% { transform: translateX(-4px); } 40% { transform: translateX(4px); } 60% { transform: translateX(-3px); } 80% { transform: translateX(2px); } }
|
||
/* getrennte Verbindung: WebSocket-Aktionen sichtbar gesperrt (Klicks fängt feedback.js ab) */
|
||
[data-wsoff] { opacity: .5; cursor: not-allowed; filter: grayscale(.4); }
|
||
.conn-bar { position: sticky; top: var(--top-h, var(--hdr-h, 56px)); z-index: 29; display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; padding: 8px 14px; font-weight: 600; font-size: 13px;
|
||
background: color-mix(in srgb, var(--gold) 22%, var(--panel)); color: var(--text); border-bottom: 2px solid var(--gold); text-align: center; }
|
||
.conn-bar .conn-ic { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--gold); animation: fb-pulse 1.2s ease-in-out infinite; }
|
||
.conn-bar .btn { min-height: 30px; padding: 4px 12px; font-size: 12px; }
|
||
@keyframes fb-pulse { 50% { opacity: .3; } }
|
||
@media (max-width: 760px) {
|
||
.conn-bar { gap: 6px 10px; padding: 6px 10px; font-size: 12px; }
|
||
}
|
||
/* optimistische Orders („wird übermittelt …“) und eigene Orders im Ticket */
|
||
tr.ord-pending td { opacity: .6; font-style: italic; }
|
||
tr.ord-pending.ok td { opacity: 1; font-style: normal; background: color-mix(in srgb, var(--up) 10%, transparent); }
|
||
tr.ord-pending.err td { opacity: 1; font-style: normal; background: color-mix(in srgb, var(--down) 12%, transparent); }
|
||
.badge-s.sending { background: color-mix(in srgb, var(--accent) 18%, transparent); color: var(--info); white-space: nowrap; }
|
||
.badge-s.sending::before { content: ''; display: inline-block; width: .8em; height: .8em; margin-right: 4px; vertical-align: -1px; box-sizing: border-box; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: fb-spin .8s linear infinite; }
|
||
.badge-s.done { background: color-mix(in srgb, var(--up) 18%, transparent); color: var(--up); }
|
||
.badge-s.fail { background: color-mix(in srgb, var(--down) 18%, transparent); color: var(--down-soft); }
|
||
.my-orders { margin-top: 12px; border-top: 1px solid var(--line); padding-top: 8px; }
|
||
.my-orders h3 { margin: 0 0 4px; font-size: 12px; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .4px; display: flex; justify-content: space-between; gap: 8px; }
|
||
.my-orders td { padding: 4px; font-size: 12px; }
|
||
.my-orders .btn.small { min-height: var(--ctl-h-sm); padding: 0 8px; }
|
||
/* Meine letzten Aktionen (Profil) */
|
||
.trail-list { list-style: none; margin: 0; padding: 0; max-height: 260px; overflow: auto; font-size: 13px; }
|
||
.trail-list li { display: grid; grid-template-columns: 4.4em 1.2em minmax(0, 1fr); gap: 6px; padding: 4px 2px; border-top: 1px solid var(--row-line); }
|
||
.trail-list li:first-child { border-top: 0; }
|
||
.trail-list .t { color: var(--muted); font-variant-numeric: tabular-nums; font-size: 12px; }
|
||
.trail-list .ok-i { color: var(--up); font-weight: 700; } .trail-list .err-i { color: var(--down); font-weight: 700; }
|
||
.trail-list .why { display: block; color: var(--down-soft); font-size: 12px; }
|
||
@media (prefers-reduced-motion: reduce) {
|
||
button:not(:disabled):active { transform: none; filter: brightness(.9); }
|
||
button.is-busy::after { content: '…'; border: 0; width: auto; height: auto; display: grid; place-items: center; color: var(--fb-c); -webkit-text-fill-color: var(--fb-c); font-weight: 800; font-size: 1.2em; }
|
||
button.is-err { animation: none !important; }
|
||
}
|
||
|
||
/* ---------------------------------------------------------------- Mein Tag */
|
||
.todo-pill { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 10px 0 4px; border-radius: 17px; border: 1px solid color-mix(in srgb, var(--accent) 45%, var(--line)); background: color-mix(in srgb, var(--accent) 12%, var(--panel)); color: var(--text); font-weight: 600; font-size: 13px; white-space: nowrap; }
|
||
.todo-pill:hover { border-color: var(--accent); }
|
||
.todo-pill .todo-n { display: grid; place-items: center; min-width: 26px; height: 26px; padding: 0 6px; border-radius: 13px; background: var(--accent-fill); color: #fff; font-weight: 800; font-size: 13px; font-variant-numeric: tabular-nums; }
|
||
.todo-pill.urgent { border-color: color-mix(in srgb, var(--down) 55%, var(--line)); background: color-mix(in srgb, var(--down) 12%, var(--panel)); }
|
||
.todo-pill.urgent .todo-n { background: var(--down-fill); }
|
||
.todo-pill.none { border-color: var(--line); background: transparent; color: var(--muted); }
|
||
.todo-pill.none .todo-n { background: color-mix(in srgb, var(--up) 18%, transparent); color: var(--up); }
|
||
.nav-count { display: inline-grid; place-items: center; min-width: 18px; height: 18px; padding: 0 5px; margin-left: 6px; border-radius: 9px; background: var(--accent-fill); color: #fff; font-size: 11px; font-weight: 800; line-height: 1; vertical-align: 1px; font-variant-numeric: tabular-nums; }
|
||
.nav-count.urgent { background: var(--down-fill); }
|
||
.more-item { position: relative; }
|
||
.more-item .nav-count { position: absolute; top: 10px; right: 10px; margin: 0; font-size: 12px; min-width: 20px; height: 20px; border-radius: 10px; }
|
||
.today { max-width: 980px; }
|
||
.today-card .body { padding: 10px 14px; }
|
||
.td-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin: 0; font-size: 15px; }
|
||
.td-head .sep { color: var(--muted); }
|
||
.td-head .cd { font-variant-numeric: tabular-nums; }
|
||
.td-groups { display: flex; flex-direction: column; gap: 10px; }
|
||
.td-group { border-left: 4px solid var(--line); }
|
||
.td-group.td-urgent { border-left-color: var(--down); }
|
||
.td-group.td-today { border-left-color: var(--gold); }
|
||
.td-group.td-claim { border-left-color: var(--up); }
|
||
.td-group.td-watch { border-left-color: var(--muted); }
|
||
.td-group.td-start { border-left-color: var(--accent); }
|
||
.td-gh { display: flex; align-items: center; gap: 8px; margin: 0; padding: 9px 12px; font-size: 13px; text-transform: uppercase; letter-spacing: .6px; font-weight: 700; color: var(--muted); border-bottom: 1px solid var(--line); }
|
||
.td-urgent .td-gh { color: var(--down); } .td-today .td-gh { color: var(--gold); } .td-claim .td-gh { color: var(--up); }
|
||
.td-gn { margin-left: auto; font-variant-numeric: tabular-nums; font-size: 12px; background: var(--panel3); color: var(--text); border-radius: 9px; padding: 0 7px; }
|
||
.td-list { list-style: none; margin: 0; padding: 0; }
|
||
.td-item { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; gap: 4px 10px; align-items: start; padding: 10px 12px; border-top: 1px solid var(--row-line); }
|
||
.td-item > .td-ic { margin-top: 1px; }
|
||
.td-item > .td-acts { align-self: center; }
|
||
.td-item:first-child { border-top: 0; }
|
||
.td-ic { font-size: 19px; line-height: 1; text-align: center; }
|
||
.td-main { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
|
||
.td-title { font-weight: 650; }
|
||
.td-detail { color: var(--muted); font-size: 13px; }
|
||
.td-due { font-size: 12px; color: var(--muted); }
|
||
.td-due .cd { font-variant-numeric: tabular-nums; color: var(--text); }
|
||
.td-due.soon, .td-due.soon .cd { color: var(--down-soft); font-weight: 600; }
|
||
.td-acts { display: flex; align-items: center; gap: 8px; justify-content: flex-end; flex-wrap: wrap; }
|
||
.td-acts .btn { white-space: nowrap; }
|
||
.td-acts .btn.claim { background: var(--buy); }
|
||
.td-hide { color: var(--muted); font-size: 12px; white-space: nowrap; }
|
||
.td-empty .body { text-align: center; padding: 22px 16px; display: flex; flex-direction: column; align-items: center; gap: 6px; }
|
||
.td-empty h3 { font-size: 18px; }
|
||
.td-done { display: grid; place-items: center; width: 48px; height: 48px; margin: 0; border-radius: 50%; background: color-mix(in srgb, var(--up) 16%, transparent); color: var(--up); font-size: 26px; font-weight: 800; }
|
||
.td-hidden { text-align: center; }
|
||
.td-flash { animation: tdFlash 2.2s ease-out; }
|
||
@keyframes tdFlash { 0%, 30% { box-shadow: 0 0 0 3px var(--gold); } 100% { box-shadow: 0 0 0 3px transparent; } }
|
||
@media (prefers-reduced-motion: reduce) { .td-flash { animation: none; outline: 3px solid var(--gold); } }
|
||
#v-heute [id], #v-termine [id], #v-parlament [id], #v-battles [id], #v-clans [id] { scroll-margin-top: 8px; }
|
||
@media (max-width: 760px) {
|
||
.todo-pill { height: 32px; padding: 0 4px; gap: 0; }
|
||
.todo-pill .todo-l { display: none; }
|
||
header.top { column-gap: 8px; }
|
||
#userBtn { max-width: 92px; }
|
||
}
|
||
@media (max-width: 760px) {
|
||
/* untere Leiste: Zähler oben rechts am Symbol (auch 401–760 px) */
|
||
.bnav .nav-count { position: absolute; top: 5px; left: calc(50% + 5px); margin: 0; min-width: 18px; height: 18px; font-size: 11px; box-shadow: 0 0 0 2px var(--panel); }
|
||
/* Mein Tag: Knöpfe unter den Text statt eine schmale Textspalte */
|
||
.td-item { grid-template-columns: 24px minmax(0, 1fr); padding: 10px; }
|
||
.td-acts { grid-column: 2; justify-content: flex-start; }
|
||
}
|
||
@media (max-width: 400px) {
|
||
.todo-pill .todo-n { min-width: 24px; height: 24px; }
|
||
.bnav button { font-size: 11px; }
|
||
.td-head { font-size: 14px; }
|
||
}
|
||
|
||
/* ---------------------------------------------------------------- Freunde einladen */
|
||
.col-stack { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
|
||
.invite-hero { margin: 0 0 12px; padding: 14px 16px; border-radius: 10px; border: 1px solid color-mix(in srgb, var(--gold) 40%, transparent);
|
||
background: linear-gradient(135deg, color-mix(in srgb, var(--gold) 14%, var(--panel)), var(--panel2)); }
|
||
.invite-hero .kicker { font-size: 11px; letter-spacing: 1.6px; text-transform: uppercase; color: var(--gold); font-weight: 700; }
|
||
.invite-hero h2 { margin: 4px 0 8px; font-size: 20px; line-height: 1.25; }
|
||
.invite-points { list-style: none; margin: 0 0 6px; padding: 0; display: grid; gap: 5px; font-size: var(--fs-base); }
|
||
.invite-points li { display: flex; gap: 8px; align-items: baseline; }
|
||
.invite-link { display: flex; gap: 8px; margin: 10px 0 4px; }
|
||
.invite-link input { flex: 1; min-width: 0; font-family: var(--mono); font-size: 13px; }
|
||
.invite-actions { margin: 10px 0 12px; }
|
||
.invite-kpis { margin: 4px 0 0; padding-top: 10px; border-top: 1px solid var(--line); }
|
||
b.code, .code { font-family: var(--mono); letter-spacing: 1.5px; }
|
||
.qr-box { display: grid; place-items: center; padding: 12px; margin: 8px 0; background: #fff; border-radius: 10px; }
|
||
.qr-box canvas { display: block; image-rendering: pixelated; }
|
||
.qr-link { text-align: center; word-break: break-all; margin: 6px 0; font-size: 13px; }
|
||
.invite-list td { vertical-align: top; }
|
||
.inv-steps { display: inline-flex; flex-wrap: wrap; gap: 4px; align-items: center; }
|
||
.inv-step { font-size: 12px; padding: 1px 8px; border-radius: 10px; background: var(--panel3); color: var(--muted); white-space: nowrap; }
|
||
.inv-step.on { background: color-mix(in srgb, var(--up) 16%, transparent); color: var(--up); font-weight: 600; }
|
||
.inv-step .plink { font-size: 12px; }
|
||
.inv-arrow { color: var(--muted); font-size: 11px; }
|
||
.invite-fs .row-actions { margin-top: 6px; }
|
||
.inv-codes td, .inv-codes th { white-space: nowrap; }
|
||
@media (max-width: 760px) {
|
||
.invite-link { flex-direction: column; }
|
||
.invite-actions .btn { flex: 1 1 calc(50% - 6px); }
|
||
}
|
||
|
||
/* ---------- Projekt unterstützen (Buy me a coffee) ---------- */
|
||
.coffee-ico { width: 18px; height: 18px; flex: none; }
|
||
.bmc-btn { display: inline-flex; align-items: center; gap: 6px; background: #ffdd00; color: #1a1a1a; border-radius: 999px; padding: 5px 12px 5px 9px; font-size: 13px; font-weight: 700; text-decoration: none; white-space: nowrap; line-height: 1.2; box-shadow: 0 1px 0 rgba(0,0,0,.15); transition: transform .12s, box-shadow .12s; }
|
||
.bmc-btn:hover, .bmc-btn:focus-visible { transform: translateY(-1px); box-shadow: 0 3px 10px rgba(255,221,0,.35); color: #1a1a1a; text-decoration: none; }
|
||
.nav-ver .bmc-btn { margin-right: 4px; }
|
||
.bmc-tile { color: var(--text); text-decoration: none; border-color: rgba(255,221,0,.55); }
|
||
.bmc-tile .coffee-ico { width: 26px; height: 26px; color: #e6c200; }
|
||
.bmc-tile small { font-weight: 400; }
|
||
.bmc-note { display: grid; grid-template-columns: auto 1fr; gap: 6px 12px; align-items: start; border: 1px solid rgba(255,221,0,.55); background: rgba(255,221,0,.08); border-radius: var(--radius); padding: 12px 14px; margin: 8px 0 14px; }
|
||
.bmc-note p { margin: 0; font-size: 14px; }
|
||
.bmc-note .bmc-btn { grid-column: 2; justify-self: start; }
|
||
.bmc-note-ico { color: #e6c200; }
|
||
.bmc-note-ico .coffee-ico { width: 30px; height: 30px; }
|
||
@media (max-width: 1379px) { .nav-ver .bmc-btn span { display: none; } .nav-ver .bmc-btn { padding: 5px 8px; } }
|
||
@media (max-width: 1119px) { .nav-ver .bmc-btn { display: none; } }
|
||
|
||
/* ---------------------------------------------------------------- Icons (js/icons.js) & Logos (js/logos.js) */
|
||
:root { --icon-fill: currentColor; --icon-fill-o: .16; --logo-ring: rgba(255,255,255,.1); }
|
||
:root[data-theme="light"] { --logo-ring: rgba(15,23,42,.1); }
|
||
.ico { flex: none; vertical-align: -.25em; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }
|
||
.ico:not([width]) { width: 1.25em; height: 1.25em; }
|
||
.ico .f { fill: var(--icon-fill); fill-opacity: var(--icon-fill-o); }
|
||
.ico .n { fill: var(--icon-fill); fill-opacity: var(--icon-fill-o); stroke: none; }
|
||
.ico .s { fill: currentColor; stroke: none; }
|
||
.logo-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
|
||
.tlogo { flex: none; display: inline-block; vertical-align: middle; border-radius: 25%; box-shadow: 0 0 0 1px var(--logo-ring); }
|
||
/* Einsatzorte */
|
||
.with-logo { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
|
||
.sym-tag { display: inline-flex; align-items: center; gap: 6px; vertical-align: middle; }
|
||
.sym-btn.has-logo { display: flex; align-items: center; gap: 9px; }
|
||
.sym-btn .sym-txt { display: block; min-width: 0; }
|
||
.sh-id { display: flex; align-items: center; gap: 12px; min-width: 0; }
|
||
.sh-id .sh-logo { border-radius: 14px; }
|
||
.sh-act .ico, .btn .ico { width: 16px; height: 16px; }
|
||
.ico.star-on { color: var(--gold); --icon-fill-o: 1; }
|
||
#tSym { display: inline-flex; align-items: center; gap: 6px; vertical-align: -5px; margin-left: 4px; }
|
||
ul.news li.n-sym { display: grid; grid-template-columns: 28px minmax(0, 1fr); column-gap: 10px; }
|
||
ul.news li.n-sym > * { grid-column: 2; }
|
||
ul.news li.n-sym > .n-logo { grid-column: 1; grid-row: 1 / span 3; margin-top: 2px; }
|
||
.ic { display: inline-flex; justify-content: center; color: var(--muted); }
|
||
ul.inbox li.unread .ic { color: var(--accent); }
|
||
ul.cal .ic { padding-top: 1px; }
|
||
ul.events .ic { flex: none; }
|
||
.more-item .more-ic { width: 26px; height: 26px; color: var(--accent); }
|
||
.td-ic { display: grid; place-items: center; position: relative; }
|
||
.td-urgent .td-ic { color: var(--down); } .td-today .td-ic { color: var(--gold); } .td-claim .td-ic { color: var(--up); } .td-watch .td-ic, .td-start .td-ic { color: var(--accent); }
|
||
.td-badge { position: absolute; right: -6px; bottom: -6px; width: 19px; height: 19px; border-radius: 50%; display: grid; place-items: center; background: var(--panel); box-shadow: 0 0 0 1px var(--line); }
|
||
.td-due .ico { width: 14px; height: 14px; vertical-align: -2px; }
|
||
.toast.has-ic { padding-left: 44px; }
|
||
.toast .t-ic { position: absolute; left: 13px; top: 11px; color: var(--accent); }
|
||
.toast.ok .t-ic { color: var(--up); } .toast.err .t-ic { color: var(--down); } .toast.gold .t-ic, .toast.warn .t-ic { color: var(--gold); }
|
||
.toast-x { display: grid; place-items: center; }
|
||
.ach .i { color: var(--gold); line-height: 0; }
|
||
.ach-chip .ico { color: var(--gold); }
|
||
.medal .ico { width: 20px; height: 20px; }
|
||
.ico.rank-1 { color: var(--gold); } .ico.rank-2 { color: #9aa6b8; } .ico.rank-3 { color: #c27a3e; }
|
||
.toc-item .ico { margin-right: 4px; color: var(--accent); }
|
||
.toc-item[aria-current="page"] .ico { color: inherit; }
|
||
.help-sec h3 .ico, .help-modal h2 .ico { color: var(--accent); }
|
||
.gov-line .ico { color: var(--muted); }
|
||
.bnav .ico { width: 24px; height: 24px; }
|
||
.logo { display: inline-flex; align-items: center; gap: 8px; }
|
||
.logo .signet { width: 28px; height: 28px; flex: none; }
|
||
@media (max-width: 760px) { .logo .signet { width: 24px; height: 24px; } .sh-id .sh-logo { width: 42px; height: 42px; border-radius: 11px; } }
|
||
|
||
/* ---------------------------------------------------------------- Feinschliff 0.22: Größen, Touch, Navigation (Design-Review) */
|
||
/* Unsichtbare Trefferfläche: kleine sichtbare Elemente (?, Links, Chips) bekommen am Finger mindestens 44 × 44 px */
|
||
@media (pointer: coarse) {
|
||
.help-q, .linkish, .plink, .td-hide, button.chip, .px-btn, .ver-btn { position: relative; }
|
||
:is(.help-q, .linkish, .plink, .td-hide, .toast-x, button.chip, .px-btn, .ver-btn)::before {
|
||
content: ''; position: absolute; left: 50%; top: 50%; width: max(100%, 44px); height: max(100%, 44px); transform: translate(-50%, -50%); }
|
||
.help-q { width: 24px; height: 24px; }
|
||
.toast-x { width: 36px; height: 36px; }
|
||
.grp-btn { min-height: 44px; }
|
||
.mlist td { padding-top: 8px; padding-bottom: 8px; }
|
||
.toc-item { min-height: 44px; }
|
||
.bnav button { min-height: 52px; }
|
||
}
|
||
|
||
/* Kopf am Handy: Fehler-Knopf liegt im Menü „Mehr“ (sichtbar bleibt er nur, wenn gerade ein Fehler auftrat) */
|
||
@media (max-width: 760px) {
|
||
#bugBtn:not(:has(.dot:not([hidden]))) { display: none; }
|
||
header.top .icon-btn { width: 40px; height: 40px; }
|
||
header.top :is(.icon-btn, .todo-pill, #userBtn) { position: relative; }
|
||
header.top :is(.icon-btn, .todo-pill, #userBtn)::before { content: ''; position: absolute; left: -2px; right: -2px; top: 50%; height: 44px; transform: translateY(-50%); }
|
||
#userBtn { min-height: 40px; padding: 7px 10px; line-height: 26px; }
|
||
.todo-pill { height: 40px; min-width: 44px; justify-content: center; }
|
||
.sh-act-l { display: none; }
|
||
.sh-act .btn { min-width: 40px; padding: 0 9px; }
|
||
.sh-act { margin-left: auto; }
|
||
}
|
||
@media (min-width: 761px) and (pointer: coarse) {
|
||
header.top .icon-btn { width: 40px; height: 40px; }
|
||
.mainnav button, .nav-more { min-height: 44px; }
|
||
}
|
||
@media (max-width: 1020px) and (min-width: 761px) {
|
||
/* Tablet: Kopf priorisieren – Text der Aufgaben-Pille weg, Name kürzer */
|
||
.todo-pill .todo-l { display: none; }
|
||
.todo-pill { padding: 0 4px; }
|
||
#userBtn { max-width: 120px; }
|
||
header.top { gap: 10px; }
|
||
.phase { min-width: 130px; }
|
||
}
|
||
|
||
/* Hauptnavigation mit „Mehr“-Überlauf (js/navfit.js) */
|
||
.mainnav::-webkit-scrollbar { display: none; }
|
||
.nav-more { background: none; border: 0; border-bottom: 2px solid transparent; color: var(--muted); padding: 10px 12px; white-space: nowrap; font-weight: 600; flex: none; display: inline-flex; align-items: center; gap: 4px; position: relative; }
|
||
.nav-more:hover, .nav-more[aria-expanded="true"] { color: var(--text); }
|
||
.nav-more[aria-current="page"] { color: var(--text); border-color: var(--accent); }
|
||
.nav-more.has-count::after { content: ''; position: absolute; top: 9px; right: 4px; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
|
||
.nav-more-ic { width: 14px; height: 14px; stroke-width: 2.2; }
|
||
.nav-pop { position: fixed; z-index: 40; min-width: 220px; max-width: calc(100vw - 16px); display: flex; flex-direction: column; padding: 6px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: 0 12px 32px var(--shadow-lg); }
|
||
.nav-pop-item { display: flex; align-items: center; justify-content: space-between; gap: 10px; text-align: left; background: none; border: 0; border-radius: var(--r-sm); padding: 0 12px; min-height: var(--ctl-h-lg); color: var(--text); font-weight: 600; white-space: nowrap; }
|
||
.nav-pop-item:hover { background: var(--panel2); }
|
||
.nav-pop-item[aria-current="page"] { color: var(--accent); background: color-mix(in srgb, var(--accent) 10%, transparent); }
|
||
.nav-pop-item .nav-count { margin-left: auto; }
|
||
.nav-pop-ver { display: flex; align-items: center; gap: 8px; padding: 6px 8px 2px; margin-top: 4px; border-top: 1px solid var(--line); }
|
||
.nav-pop-ver .bmc-btn { display: inline-flex; }
|
||
.nav-pop-ver .bmc-btn span { display: inline; }
|
||
|
||
/* Tabellen mit seitlichem Scrollen: Schattenkante zeigt, dass es weitergeht */
|
||
.card .scroll-x { background:
|
||
linear-gradient(90deg, var(--panel) 30%, transparent) left / 24px 100% no-repeat local,
|
||
linear-gradient(-90deg, var(--panel) 30%, transparent) right / 24px 100% no-repeat local,
|
||
radial-gradient(farthest-side at 0 50%, var(--shadow), transparent) left / 10px 100% no-repeat scroll,
|
||
radial-gradient(farthest-side at 100% 50%, var(--shadow), transparent) right / 10px 100% no-repeat scroll; }
|
||
|
||
/* Briefing „Deine Positionen“: am Handy ohne Vortag/Indikativ, passt dann ohne Querscrollen */
|
||
@media (max-width: 520px) { table.brief-pos :is(th, td):is(:nth-child(4), :nth-child(5)) { display: none; } }
|
||
|
||
/* Freunde am Handy als Kartenliste: Name oben, Kennzahlen darunter, Aktionen rechts */
|
||
@media (max-width: 760px) {
|
||
table.friends, table.friends tbody { display: block; }
|
||
table.friends thead { display: none; }
|
||
table.friends tr { display: grid; grid-template-columns: repeat(3, auto) minmax(0, 1fr); gap: 4px 16px; padding: 10px 0; border-top: 1px solid var(--row-line); align-items: end; }
|
||
table.friends td { display: block; border: 0; padding: 0; text-align: left; }
|
||
table.friends td:first-child { grid-column: 1 / -1; min-width: 0; }
|
||
table.friends td[data-l]::before { content: attr(data-l); display: block; font-size: 11px; color: var(--muted); }
|
||
table.friends :is(th, td):nth-child(4) { display: block; }
|
||
table.friends td.row-actions { display: flex; gap: 6px; justify-content: flex-end; white-space: nowrap; }
|
||
table.friends td.row-actions .btn { display: inline-flex; width: auto; }
|
||
table.friends td.row-actions .btn + .btn { margin: 0; }
|
||
.card .scroll-x:has(> table.friends) { background: none; overflow: visible; }
|
||
}
|
||
|
||
/* Analysen: Formular-Beschriftungen über dem Feld */
|
||
.ana-form > label { display: grid; gap: 3px; color: var(--muted); font-size: 12px; }
|
||
.ana-form > label > :is(input, textarea) { color: var(--text); font-size: var(--fs-base); }
|
||
@media (pointer: coarse) { .ana-form > label > :is(input, textarea) { font-size: 16px; } }
|
||
|
||
/* Bottom-Sheet-Einschub */
|
||
@keyframes sheet-in { from { transform: translateY(24px); opacity: 0; } }
|
||
|
||
/* Querformat am Handy: Kopf nicht kleben lassen (sonst bleibt kaum Inhalt sichtbar) */
|
||
@media (max-height: 500px) and (pointer: coarse) {
|
||
header.top { position: static; }
|
||
body:not(.admin) .mainnav { position: static; }
|
||
.market-col { top: 8px; max-height: calc(100dvh - 16px); }
|
||
}
|
||
|
||
/* Marktliste in mittleren Breiten: etwas breiter, kleinere Logos – Name bleibt lesbar */
|
||
@media (max-width: 1250px) and (min-width: 1021px) { #v-trade { grid-template-columns: 272px minmax(0, 1fr) 310px; } }
|
||
@media (max-width: 1250px) { .mlist .tlogo { width: 24px; height: 24px; } .sym-btn.has-logo { gap: 7px; } .mlist th:nth-child(2) { width: 62px; } }
|
||
@media (max-width: 760px) {
|
||
.chart-bar .seg.ranges { flex: 1 1 0; min-width: 0; }
|
||
.chart-bar .seg.mini:not(.ranges) { flex: none; }
|
||
.chart-bar .seg.mini:not(.ranges) button { padding: 0 8px; }
|
||
.sh-id { min-width: 0; flex: 1 1 0; }
|
||
.sh-act { order: 1; margin-left: 0; }
|
||
.sh-top > .help-q { order: 2; margin: 0 0 0 2px; }
|
||
.px-big { order: 3; }
|
||
.sh-top > .badges { order: 4; }
|
||
/* Handeln am Handy: der Börsen-Hinweis steht schon im Aktienkopf */
|
||
body[data-view="handeln"] #marketBanner { display: none; }
|
||
.sh-id > div { min-width: 0; }
|
||
.sh-id .sym { font-size: 20px; }
|
||
.sh-id .muted { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 13px; }
|
||
}
|
||
@media (max-width: 760px) {
|
||
.phase-txt { min-width: 0; }
|
||
.phase-txt b { flex: none; }
|
||
.stock-col .banner-in { font-size: 13px; padding: 6px 10px; margin: 0 12px 8px; }
|
||
}
|
||
/* Mein Tag: gefüllte Knöpfe nur für „Sofort handeln“, „Heute fällig“ und „Abholen“ – „Im Blick“ als Umriss */
|
||
.td-watch .td-acts .btn:not(.ghost) { background: transparent; border-color: var(--line); color: var(--text); }
|
||
/* kleine Knöpfe am Finger: 36 px sichtbar, 44 px Trefferfläche */
|
||
@media (pointer: coarse) { .btn.small { position: relative; } .btn.small::before { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 44px; transform: translateY(-50%); } }
|
||
|
||
/* ================================================================ Bilanz, Rating, Gewinnserie, Branchenausblick */
|
||
.credit-card { border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; margin-bottom: 12px; background: var(--panel2); }
|
||
.credit-card .kpis { margin: 6px 0; gap: 8px 22px; }
|
||
.credit-card .kpis div { min-width: 84px; }
|
||
.cc-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 12px; }
|
||
.cc-head h3 { margin: 0; }
|
||
.cc-rating { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
|
||
.rt-badge { display: inline-block; font-family: var(--mono); font-weight: 700; font-size: 13px; padding: 0 7px; border-radius: 6px; line-height: 1.6; white-space: nowrap; }
|
||
.rt-badge.sm { font-size: 11px; padding: 0 5px; line-height: 1.5; }
|
||
.rt-aa { background: color-mix(in srgb, var(--up) 20%, transparent); color: var(--up); }
|
||
.rt-a { background: color-mix(in srgb, var(--up) 12%, transparent); color: var(--up); }
|
||
.rt-bbb { background: color-mix(in srgb, var(--accent) 18%, transparent); color: var(--info); }
|
||
.rt-bb { background: color-mix(in srgb, var(--gold) 18%, transparent); color: var(--gold); }
|
||
.rt-b { background: color-mix(in srgb, var(--down) 16%, transparent); color: var(--down-soft); }
|
||
.rt-d { background: var(--down); color: var(--on-signal); }
|
||
.rt-ol { font-size: 10px; margin-left: 2px; }
|
||
.streak { margin: 6px 0; padding: 4px 8px; border-left: 3px solid var(--line); font-size: 14px; }
|
||
.streak.on { border-left-color: var(--up); }
|
||
.streak.broke { border-left-color: var(--down); }
|
||
.ol-own { margin: 6px 0; font-size: 14px; }
|
||
.ol-list li { display: grid; grid-template-columns: minmax(90px, 140px) minmax(80px, 1fr) auto; align-items: center; gap: 2px 10px; padding: 4px 0; border-bottom: 1px solid var(--row-line); }
|
||
.ol-list .ol-why { grid-column: 1 / -1; }
|
||
.ol-name { font-weight: 600; }
|
||
.ol-val { font-family: var(--mono); text-align: right; white-space: nowrap; }
|
||
.ol-bar { position: relative; height: 8px; border-radius: 4px; background: var(--panel3); }
|
||
.ol-bar::after { content: ''; position: absolute; left: 50%; top: -2px; bottom: -2px; width: 1px; background: var(--muted); }
|
||
.ol-bar i { position: absolute; top: 0; bottom: 0; border-radius: 4px; background: var(--up); }
|
||
.ol-bar i.down { background: var(--down); }
|
||
.ol-wrap { margin-top: 12px; }
|
||
.ol-brief summary { cursor: pointer; margin: 10px 0 4px; }
|
||
@media (max-width: 600px) {
|
||
.ol-list li { grid-template-columns: minmax(0, 1fr) auto; }
|
||
.ol-list .ol-bar { grid-column: 1 / -1; grid-row: 2; }
|
||
.credit-card .kpis div { min-width: 40%; }
|
||
}
|
||
|
||
/* Hauptnavigation am Desktop bleibt beim Scrollen unter dem Kopf stehen; --top-h = Kopf + Navigation (gemessen in app.js) */
|
||
body:not(.admin) .mainnav { position: sticky; top: var(--hdr-h, 56px); z-index: 29; }
|
||
|
||
/* ---------------------------------------------------------------- Hebelprodukte (Optionsscheine, Turbos) */
|
||
.d-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-bottom: 8px; }
|
||
.d-u { margin: 0; }
|
||
.d-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 0 0 8px; }
|
||
.d-filters .seg { margin: 0; }
|
||
.d-f { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); }
|
||
.d-f select { padding: 3px 6px; min-height: 28px; }
|
||
.d-table { width: 100%; }
|
||
.d-table td { vertical-align: top; }
|
||
.d-table tr.d-held td { background: color-mix(in srgb, var(--up) 6%, transparent); }
|
||
.th-sort { background: none; border: 0; padding: 0; color: inherit; font: inherit; font-weight: 600; cursor: pointer; white-space: nowrap; }
|
||
.th-sort:hover { color: var(--text); }
|
||
.d-open { text-align: left; white-space: nowrap; }
|
||
.d-k { display: inline-block; font-size: 11px; font-weight: 700; padding: 0 6px; border-radius: 6px; line-height: 1.6; }
|
||
.d-k.d-call, .d-k.d-long { background: color-mix(in srgb, var(--up) 16%, transparent); color: var(--up); }
|
||
.d-k.d-put, .d-k.d-short { background: color-mix(in srgb, var(--down) 16%, transparent); color: var(--down-soft); }
|
||
.d-theta { color: var(--muted); }
|
||
.d-explain { margin: 10px 0 4px; }
|
||
.d-warn .btn-row { margin-top: 8px; }
|
||
.modal.d-modal { width: min(560px, 100%); }
|
||
.d-sub { margin: -6px 0 10px; }
|
||
.d-quote { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin: 0 0 10px; }
|
||
.d-quote > div { background: var(--panel2); border: 1px solid var(--line); border-radius: 8px; padding: 6px 8px; min-width: 0; }
|
||
.d-quote small { display: block; color: var(--muted); font-size: 11px; }
|
||
.d-quote b { font-size: 15px; }
|
||
.d-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px 12px; margin: 0 0 10px; font-size: 13px; }
|
||
.d-kpis > div { display: flex; justify-content: space-between; gap: 6px; border-bottom: 1px dashed var(--line); padding: 2px 0; min-width: 0; }
|
||
.d-kpis dt { color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
|
||
.d-kpis dd { margin: 0; white-space: nowrap; }
|
||
.d-ticket .seg.mini { margin-bottom: 8px; }
|
||
.d-ticket .btn-row { display: flex; gap: 4px; flex-wrap: wrap; }
|
||
.lbl-s { display: block; color: var(--muted); font-size: 12px; margin-bottom: 3px; }
|
||
.klar-say { margin: 6px 0 0; min-height: 2.8em; line-height: 1.4; }
|
||
.d-risk { margin: 6px 0 8px; color: var(--down-soft); }
|
||
.d-ack { color: var(--down-soft); }
|
||
.d-depot td { vertical-align: top; }
|
||
@media (max-width: 760px) {
|
||
.d-quote { grid-template-columns: repeat(2, minmax(0, 1fr)); }
|
||
.d-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
|
||
.d-filters .seg { overflow-x: auto; max-width: 100%; }
|
||
}
|