/* Battle skin only. No cover, collection, builder or lobby selectors. */
.battle-salon .game-shell.battle-layout {
  --panel: #14241e;
  --panel-2: #20332a;
  --line: #b69b5f40;
  --text: #eee6d6;
  --muted: #bec6b8;
  --gold: #d4bb80;
  --blue: #9dc9c4;
  --red: #ee9698;
  --green: #b1d6ac;
  width: 100%;
  background: #171d20;
  letter-spacing: 0;
}
.battle-salon .battle-layout > :is(.topbar, .player-panel, .hand-panel, .center-board) { backdrop-filter: none; }
.battle-salon .battle-layout :is(h1, h2, .card-name, .turn-counter) { font-family: "Songti SC", "Noto Serif CJK SC", Georgia, serif; }
.battle-salon .battle-layout :is(.primary-button, .ghost-button, .hero-target) {
  border: 1px solid #aa905f80;
  border-radius: 3px;
  background: linear-gradient(#243b2eef, #14251ef2);
  color: #eee3c7;
  font-weight: 600;
  box-shadow: inset 0 0 0 2px #060e0b55, 0 3px 8px #0003;
  transition: border-color 160ms, box-shadow 160ms, translate 160ms;
}
.battle-salon .battle-layout .primary-button { color: #fff0cf; border-color: #d4b475; background: linear-gradient(135deg, #863744, #51202b); box-shadow: inset 0 0 0 2px #4c172588, inset 0 0 0 3px #c59f6740, 0 3px 12px #0005; }
.battle-salon .battle-layout :is(.ghost-button, .primary-button, .hero-target):not(:disabled):hover { border-color: #e6ce95; box-shadow: inset 0 0 0 2px #c6a36728, 0 5px 16px #0005; translate: 0 -2px; }
.battle-salon .battle-layout :is(.ghost-button, .primary-button, .hero-target):not(:disabled):active { translate: 0 1px; }
.battle-salon .battle-layout :is(button, summary):focus-visible { outline: 2px solid #bbdcd1; outline-offset: 3px; }
.battle-salon .battle-layout .topbar { border: 0; border-bottom: 1px solid #c5a46760; border-radius: 0; background: #0a100cba; box-shadow: none; }
.battle-salon .battle-layout .topbar h1 { color: #e4cea0; font-weight: 600; }
.battle-salon .battle-layout .player-panel { border: 0; border-radius: 0; background: #03140b15; box-shadow: none; padding: 12px 8px; align-items: center; }
.battle-salon .battle-layout .player-panel:not(.opponent-panel) { border-top: 1px solid #cbae6c55; }
.battle-salon .battle-layout .board-row { height: 100%; min-height: 0; align-items: center; }
.battle-salon .battle-layout .empty-slot { border: 0; background: transparent; position: relative; }
.battle-salon .battle-layout .empty-slot::before { content: ""; position: absolute; bottom: 10px; left: calc(50% - 10px); width: 20px; height: 1px; background: #d0b87830; }
.battle-salon .battle-layout .hero { min-height: 144px; max-height: 178px; width: 100%; border: 1px solid #c1a26a; border-radius: 48% 48% 10px 10px; background: linear-gradient(150deg, #284735, #091d12); box-shadow: inset 0 0 0 3px #15251d, inset 0 0 0 4px #b89d6955, 0 7px 20px #0006; padding: 14px 7px 9px; align-items: center; text-align: center; }
.battle-salon .battle-layout .hero.enemy { background: linear-gradient(145deg, #552b31, #221619); }
.battle-salon .battle-layout .hero .health-line { justify-content: center; }
.battle-salon .battle-layout .hero .role { color: #e4d2ae; }
.battle-salon .battle-layout .hero strong { font-family: Georgia, serif; font-weight: 500; }
.battle-salon .battle-layout .hero.player strong { color: #cee1bb; }
.battle-salon .battle-layout :is(.mana, .evo) { align-self: center; background: #090f0bbf; border-color: #aa905f75; color: #cee2d2; }
.battle-salon .battle-layout .evo { color: #e5c78a; }
.battle-salon .battle-layout .center-board { border: 0; border-left: 1px solid #bfa26666; border-radius: 0; background: #09180fe8; box-shadow: none; }
.battle-salon .battle-layout :is(.target-zone, .log-panel, .system-status-panel) { padding: 12px 16px; }
.battle-salon .battle-layout .turn-counter { color: #f0dfb2; background: #6c313daa; border-color: #c3a26780; }
.battle-salon .battle-layout #turnNotice { color: #ccd5c3; }
.battle-salon .battle-layout .battle-log { color: #c3cdbb; }
.battle-salon .battle-layout .deck-breakdown summary { background: #101f15; border-color: #9b834d66; color: #dac896; }
.battle-salon .battle-layout .hand-panel { border: 0; border-top: 1px solid #b899604d; border-radius: 0; background: linear-gradient(#07150d28, #08130bb8); box-shadow: none; }
.battle-salon .battle-layout .hand-header { padding: 0 4px; }
.battle-salon .battle-layout .hand-header h2 { font-size: 15px; }
.battle-salon .battle-layout .mulligan-panel { background: #11271ef5; border-color: #d5b46d85; }
.battle-salon .battle-layout .hand-row { gap: 10px; padding: 8px 5px; }
.battle-salon .battle-layout .hand-row .card { min-height: 0; height: 100%; max-height: 210px; }
.battle-salon .battle-layout :is(.board-row, .hand-row) .card { border-radius: 4px; border-width: 1px; box-shadow: 0 5px 12px #0008, inset 0 0 0 2px #b49d6480; transition: transform 170ms ease, box-shadow 170ms ease; }
.battle-salon .battle-layout .board-card { width: 100%; max-width: 140px; height: min(100%, 210px); margin: 0 auto; }
.battle-salon .battle-layout :is(.board-row, .hand-row) .card-art { inset: 3px; width: calc(100% - 6px); height: calc(100% - 6px); border-radius: 2px; }
.battle-salon .battle-layout :is(.board-row, .hand-row) .card-art::after { background: linear-gradient(transparent 35%, #07160b85 57%, #0b160df5 88%); }
.battle-salon .battle-layout :is(.board-row, .hand-row) .cost { background: #782e3e; border: 1px solid #ddbd7b; color: #fff0d4; font-family: Georgia, serif; box-shadow: 0 2px 6px #0008; }
.battle-salon .battle-layout .hand-row .card.unplayable .cost { background: #473c32; color: #b9b3a3; }
.battle-salon .battle-layout :is(.board-row, .hand-row) .card-name { color: #ffedc3; font-size: 13px; }
.battle-salon .battle-layout :is(.board-row, .hand-row) .keywords span { color: #e8d09b; background: #bd9e5b26; }
.battle-salon .battle-layout :is(.board-row, .hand-row) .stats span { border-radius: 50%; min-width: 24px; border: 1px solid #b29b6855; background: #08150dd9; }
.battle-salon .battle-layout .card.ready { animation: none; box-shadow: 0 0 0 1px #91ba8f, 0 5px 12px #0008; }
.battle-salon .battle-layout .card:is(:hover, .ready:hover) { transform: translateY(-3px); box-shadow: 0 0 0 1px #ddc48a, 0 8px 16px #0008; }
.battle-salon .battle-layout .player-panel.hand-drop-ready { outline-color: #e1c488; background: #b7ad6429; }
.battle-salon .battle-layout .hero.attack-drop-hover.attack-drop-ready { background: #436143; }
.battle-salon .battle-layout :is(.emote-panel, .emote-bubble) { background: #132a1ef7; border-color: #c1a373; }
.battle-salon .card-inspector .inspect-face { border-color: #cfb175; background: #15271b; border-radius: 5px; }
.battle-salon .card-inspector .inspect-back { background: linear-gradient(135deg, #273b2b, #101f16); }
.battle-salon .card-inspector header { border-color: #c4a46b; }
.battle-salon .card-inspector button { background: #183020; border-color: #af9562; }
.battle-salon .card-inspector .inspect-stats { color: #c6d8b8; }
.battle-salon .card-inspector::backdrop { background: #080f0cba; }
.battle-salon .battle-feedback-card { background: #172c21f5; border-color: #c7ab77; }
.battle-skin-settings { margin-top: 16px; }
.salon-preferences[hidden] { display: none; }
.salon-preferences { display: grid; gap: 4px; margin-top: 20px; }
.salon-preferences label { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 44px; border-bottom: 1px solid var(--line); font-size: 14px; }
.salon-preferences input { width: 18px; height: 18px; accent-color: #8ca981; }
#salonClickLayer { position: fixed; inset: 0; z-index: 1000; pointer-events: none; overflow: hidden; }
.salon-click-stamp { position: absolute; width: 34px; height: 34px; border: 1px solid #f5d89a; outline: 1px solid #d6b16c99; outline-offset: -6px; background: #dcbb6b15; box-shadow: 0 0 10px #edbf5d22; pointer-events: none; }
@media (min-width: 1000px) {
  .battle-salon .game-shell.battle-layout { grid-template-columns: minmax(0, 1fr) 236px; gap: 8px 16px; padding: 12px 22px; }
}
@media (max-height: 800px) and (min-width: 1000px) {
  .battle-salon .battle-layout .hero { min-height: 130px; padding-top: 10px; }
}
@media (max-width: 999px) {
  .battle-salon .battle-layout .board-row { height: 180px; }
  .battle-salon .battle-layout .board-card { height: 168px; }
  .battle-salon .battle-layout .center-board { background: #0c2018ed; border: 1px solid var(--line); }
}
@media (max-width: 540px) {
  .battle-salon .battle-layout .top-actions { flex-wrap: wrap; }
  .battle-salon .battle-layout .top-actions button { min-width: 60px; }
  .battle-salon .battle-layout .hero { min-height: 145px; }
}
@media (prefers-reduced-motion: reduce) {
  .battle-salon :is(.battle-layout button, .battle-layout .card, .inspect-flipper) { transition: none; }
}
.battle-salon.salon-reduced-motion :is(.battle-layout button, .battle-layout .card, .inspect-flipper) { transition: none; }
