/* «Hand des Tages» (Live-Demo) und «Mehr zur Hand» – gemeinsam für Startseite und Analyzer (Reiter «Training»).
   18.11.2026 aus static/style.css hierher verschoben; Reihenfolge wie vorher. */
.demo { background: linear-gradient(160deg, var(--panel), var(--deep)); border: 1px solid var(--gold-dim); border-radius: 16px; padding: 18px 20px; box-shadow: 0 12px 40px rgba(0, 0, 0, .35); }
.demo-h { font-size: 18px; margin: 0 0 12px; }
.dcards { display: flex; gap: 14px; justify-content: center; }
.dcard { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.dface { width: 88px; height: 124px; border-radius: 10px; background: #fbf7ee; color: #1b1b1b; box-shadow: 0 6px 16px rgba(0, 0, 0, .5); position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; font-family: Georgia, serif; }
.dface b { font-size: 34px; line-height: 1; } .dface i { font-style: normal; font-size: 40px; line-height: 1; }
.dface.red { color: var(--card-red); }
.dcard label.sr { display: inline; font-size: 0; }
.dcard select { font: inherit; font-size: 14px; background: var(--deep); color: var(--ink); border: 1px solid var(--line); border-radius: 6px; padding: 3px 4px; }
.dcard .dsel { display: flex; gap: 4px; }
.dres { display: flex; gap: 12px; margin: 14px 0 6px; }
.dres > div { flex: 1; text-align: center; background: rgba(0, 0, 0, .22); border: 1px solid var(--line); border-radius: 10px; padding: 8px 6px; }
.dres b { display: block; font-size: 30px; color: var(--gold); font-variant-numeric: tabular-nums; }
.dres span { font-size: 13px; color: var(--ink-dim); }
.dverdict { text-align: center; font-weight: 700; min-height: 1.5em; margin: 6px 0 10px; }
.dverdict.strong { color: #7fd99a; } .dverdict.medium { color: #f0b45c; } .dverdict.weak { color: #ff9c8a; }
.dbtns { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-bottom: 6px; }
@media (max-width: 600px) { .dface { width: 76px; height: 106px; } .dres b { font-size: 26px; } }
/* «Mehr zur Hand» (static/hand-info.js) */
.hi-dlg { width: min(760px, calc(100vw - 32px)); max-height: calc(100vh - 40px); overflow: auto; background: var(--panel); color: var(--ink); border: 1px solid var(--gold-dim); border-radius: 16px; padding: 18px 22px; box-shadow: 0 20px 60px rgba(0, 0, 0, .6); }
.hi-dlg::backdrop { background: rgba(0, 0, 0, .6); }
.hi-dlg h2 { margin: 0 34px 6px 0; font-size: 22px; } .hi-dlg h3 { font-size: 17px; margin: 18px 0 8px; } .hi-dlg h4 { margin: 14px 0 6px; color: var(--gold); }
.hi-close { position: absolute; right: 14px; top: 12px; margin: 0; }
.hi-dlg { position: fixed; } /* 18.11.2026: fixed statt relative – sonst springt die Seite beim Öffnen nach oben */
.hi-sub { margin: 0 0 4px; color: var(--ink-dim); } .hi-eq { margin: 6px 0 0; }
.hi-card { display: inline-block; background: #fbf8ef; color: #111; border-radius: 5px; padding: 1px 6px; font-weight: 800; font-size: 18px; box-shadow: 0 1px 3px rgba(0, 0, 0, .5); }
.hi-card.red { color: #c0392b; }
.hi-tab { width: 100%; } .hi-tab td, .hi-tab th { padding: 5px 8px; } .hi-sim td:not(:first-child), .hi-sim th { text-align: right; white-space: nowrap; }
.hi-strong td { border-top: 1px solid var(--line); }
.hi-act { display: inline-block; min-width: 70px; text-align: center; padding: 2px 10px; border-radius: 12px; font-weight: 700; font-size: 13px; }
.hi-act.raise, .hi-act.three { background: rgba(63, 157, 92, .25); color: #7be29a; border: 1px solid #3f9d5c; }
.hi-act.call, .hi-act.check { background: rgba(201, 154, 46, .2); color: #f0c060; border: 1px solid var(--warn); }
.hi-act.fold { background: rgba(224, 112, 92, .18); color: #f19a88; border: 1px solid var(--bad); }
.hi-adv li { margin: 6px 0; }
.hi-opp th { text-align: center; font-size: 13px; white-space: nowrap; } .hi-opp td:not(:first-child) { text-align: center; } .hi-opp .hi-act { min-width: 58px; padding: 2px 6px; }
@media (max-width: 560px) { .hi-opp .hi-act { min-width: 0; font-size: 11px; } .hi-opp td, .hi-opp th { padding: 4px 3px; } }
/* Top 5 Hände, die dich schlagen könnten (Hand des Tages, 04.11.2026) */
.dtop { margin: 4px 0 12px; text-align: left; }
.dtop:empty { display: none; }
.dtop h3 { font-size: 15px; margin: 0 0 6px; color: var(--gold); text-align: center; }
.dtop ol { margin: 0; padding: 0 0 0 1.6em; }
.dtop li { padding: 3px 0; border-bottom: 1px dashed var(--line); line-height: 1.35; }
.dtop li b { display: inline-block; min-width: 3.2em; }
.dtop .dtop-p { font-variant-numeric: tabular-nums; font-weight: 700; }
.dtop small { display: block; color: var(--ink-dim); font-size: 12px; }
.dtop p { margin: 4px 0; text-align: center; }
/* Top 5 als kleine Karten (gleicher Stil wie die Hand des Tages) */
.dtop li { display: grid; grid-template-columns: auto 1fr; column-gap: 10px; align-items: center; }
.dtop li small { grid-column: 2; }
.dpair { display: inline-flex; align-items: center; gap: 3px; grid-row: span 2; flex-wrap: wrap; max-width: 92px; }
.dmini { width: 28px; height: 39px; border-radius: 4px; background: #fbf7ee; color: #1b1b1b; box-shadow: 0 2px 5px rgba(0, 0, 0, .45); display: inline-flex; flex-direction: column; align-items: center; justify-content: center; font-family: Georgia, serif; line-height: 1; }
.dmini b { font-size: 14px; min-width: 0; } .dmini i { font-style: normal; font-size: 15px; }
.dmini.red { color: var(--card-red); }
.dsuit { flex-basis: 100%; font-style: normal; font-size: 10px; color: var(--ink-dim); text-align: center; }
.dtop .dmini b { display: block; min-width: 0; font-size: 14px; }
.dtop li { grid-template-columns: 96px 1fr; } .dpair { justify-content: center; }
@media (min-width: 1440px) {
  .dface { width: 104px; height: 146px; } .dface b { font-size: 40px; } .dface i { font-size: 48px; }
  .dres b { font-size: 34px; }
}
.gian-hand { margin: 10px 0 4px; }
.gian-hand:empty { display: none; }
.gian-hand > div { vertical-align: top; }
.gian-hand { display: flex; gap: 10px; align-items: flex-start; background: rgba(212, 175, 55, .10); border: 1px solid var(--gold-dim); border-radius: 12px; padding: 8px 10px; font-size: 14.5px; line-height: 1.5; }
.gh-face svg { width: 44px; height: 44px; }
.gh-txt b { color: var(--gold); }
.dface { background: linear-gradient(180deg, #fffdf8 0%, #f3ede0 100%); border: 1px solid rgba(0, 0, 0, .22); }
.dface b { font-weight: 800; letter-spacing: -.5px; }
