/* Ergänzungen für „Farbwechsel“ – baut auf style.css auf */

.status-card { width: 250px; }
.status-card .turn { margin-top: 10px; }
.facts { margin: 12px 0 0; display: grid; gap: 0; }
.facts > div { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 9px 0; border-top: 1px solid var(--line); font-size: 13.5px; }
.facts dt { color: var(--ink-3); font-weight: 600; font-size: 12.5px; }
.facts dd { margin: 0; font-weight: 600; display: flex; align-items: center; gap: 7px; text-align: right; }
.chip { width: 14px; height: 14px; border-radius: 5px; background: var(--chip, #999); box-shadow: 0 2px 0 color-mix(in srgb, var(--chip, #999) 55%, #000); transition: background .3s; }

/* Namensschilder über den Gegnern */
#seatLabels { position: absolute; inset: 0; pointer-events: none; }
.seat-label {
  position: absolute; left: 0; top: 0; display: flex; align-items: center; gap: 9px;
  padding: 6px 12px 6px 6px; border-radius: 999px; background: var(--card); box-shadow: var(--shadow);
  white-space: nowrap; transition: box-shadow .2s;
}
.seat-label .mono { width: 32px; height: 32px; border-radius: 50%; font-size: 15px; box-shadow: none; }
.seat-text { display: flex; flex-direction: column; line-height: 1.15; }
.seat-text b { font: 600 15px/1.1 var(--serif); }
.seat-text small { font: 600 11.5px/1.2 var(--mono); color: var(--ink-2); }
.seat-label.active { box-shadow: 0 0 0 3px var(--green), var(--shadow); }
.seat-label.active::after {
  content: ''; position: absolute; left: 50%; top: -7px; width: 12px; height: 12px; transform: translateX(-50%) rotate(45deg);
  background: var(--green); border-radius: 2px;
}
.seat-label.me { left: 50% !important; top: auto; bottom: 230px; padding: 0; background: none; box-shadow: none; transform: translateX(-50%) !important; }
.bubble {
  position: absolute; left: 50%; bottom: calc(100% + 10px); transform: translate(-50%, 6px) scale(.9); opacity: 0;
  padding: 7px 12px; border-radius: 12px; background: var(--ink); color: #f4efe4; font: 700 13px/1 var(--sans);
  white-space: nowrap; transition: opacity .2s, transform .25s cubic-bezier(.3, 1.6, .5, 1); pointer-events: none;
}
.seat-label.me .bubble { bottom: 0; background: var(--green); }
.bubble.show { opacity: 1; transform: translate(-50%, 0) scale(1); }

/* Dock */
.key.call.ready { --btn-2: var(--gold); --btn-2-fg: #2b1f05; --btn-2-edge: #7d5e16; animation: nudge 1.4s ease-in-out infinite; }
.key.call.on { --btn-2: var(--green); --btn-2-fg: var(--btn-fg); --btn-2-edge: #123826; opacity: 1; }
@keyframes nudge { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }
.dock .key span { display: inline; white-space: nowrap; }
.dock .key { width: auto; padding: 0 16px; }
.dock .key.round { width: 46px; padding: 0; }
.toast { top: 18px; bottom: auto; }

/* Menü */
.menu-card .lede { margin-top: -6px; }
.menu-card > .eyebrow { margin: 0 0 10px; }
#oppSeg { margin-bottom: 18px; }
#oppSeg button { font-size: .95rem; }
.rules { display: grid; gap: 8px; margin: 24px 0 22px; }
.rule { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--ink-2); line-height: 1.4; }
.rule b { color: var(--ink); }
.mini {
  width: 30px; height: 42px; border-radius: 7px; flex: none; display: grid; place-items: center;
  font: 600 16px/1 var(--serif); color: #fbf7ee; box-shadow: 0 0 0 3px #fbf7ee inset, 0 2px 0 rgba(0,0,0,.15);
}
.mini.r { background: #c4462f; } .mini.y { background: #dba22b; } .mini.g { background: #3d8a57; } .mini.b { background: #2f5f8f; }
.mini.w { background: conic-gradient(#3d8a57 0 25%, #2f5f8f 0 50%, #c4462f 0 75%, #dba22b 0); }
.scores { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.scores li { background: var(--paper); border-radius: 14px; padding: 10px 12px; display: flex; flex-direction: column; gap: 4px; }
.scores span { font-size: 12.5px; color: var(--ink-2); font-weight: 600; }
.scores b { font: 600 24px/1 var(--serif); }
.scores.compact { margin: 4px 0 18px; }
.scores.compact li { padding: 8px; align-items: center; }

.color-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 18px 0 6px; }
.color-row .btn { min-height: 72px; font-size: 1.15rem; }

@media (max-width: 1100px) {
  .dock .key span { display: inline; }
  .dock .key { width: auto; padding: 0 14px; }
}
@media (max-width: 760px) {
  .status-card { display: block; width: auto; right: auto; padding: 10px 12px; }
  .status-card .eyebrow, .facts > div:nth-child(n+2) { display: none; }
  .facts { margin-top: 6px; }
  .facts > div { border: 0; padding: 2px 0; }
  .status-card .turn { margin: 6px 0 0; }
  .dock .key span { display: none; }
  .dock .key { width: 48px; padding: 0; justify-content: center; }
  .dock .key.call span { display: inline; }
  .dock .key.call { width: auto; padding: 0 14px; }
  .toast { top: 110px; }
  .seat-label { padding: 4px 10px 4px 4px; }
  .seat-label .mono { width: 26px; height: 26px; font-size: 13px; }
  .seat-text b { font-size: 13px; }
  .seat-label.me { bottom: 190px; }
  .scores { grid-template-columns: repeat(2, 1fr); }
}

