/* Solitaire shared game styles — dark theme */
@charset "utf-8";
@import url("https://fonts.googleapis.com/css?family=Acme") screen;

body {
  overflow: auto;
}

/* Game container */
.game-inner-content {
  background: var(--bg-card, #1a1d28);
  border: 1px solid var(--border-subtle, rgba(255,255,255,0.06));
  border-radius: var(--radius-lg, 16px);
  padding: 9px;
  max-width: 880px;
  width: 100%;
  margin: 0 auto 16px;
  box-shadow: var(--shadow-card, 0 4px 24px rgba(0,0,0,0.4));
}

.centent-color {
  background: transparent;
}

/* SVG Baize (card table) */
svg#baize {
  padding: 4px;
  border-radius: 10px;
  background-color: var(--bg-color, #1a5c2a);
  width: 100%;
  height: 100%;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  position: static;
}

/* Card faces */
.spielkarte {
  fill: white;
  stroke-width: 1;
  stroke: rgba(255,255,255,0.2);
  pointer-events: fill;
  touch-action: none;
}

.spielkarteback {
  fill: url("#image");
  stroke-width: 1;
  stroke: rgba(255,255,255,0.2);
  pointer-events: fill;
  touch-action: none;
}

.grabbed {
  filter: url("#dropshadow");
}

.focus {
  stroke-width: 2 !important;
  stroke: #4da6ff !important;
}

.unmoveable {
  fill: rgb(200, 210, 200) !important;
}

.spielkartevalue {
  font-family: "Acme", sans-serif;
  font-size: 28px;
  pointer-events: none;
  touch-action: none;
}

.spielkartesuit {
  font-family: "Acme", sans-serif;
  font-size: 32px;
  pointer-events: none;
  touch-action: none;
}

/* Pile backgrounds */
.Reserve, .ReserveFrog,
.Stock, .StockAgnes, .StockCruel, .StockFan,
.StockKlondike, .StockScorpion, .StockSpider,
.Waste {
  fill: var(--bg-color, #1a5c2a);
  stroke: none;
}

.Cell, .CellCarpet {
  fill: var(--bg-color, #1a5c2a);
  stroke: rgba(255,255,255,0.3);
  stroke-width: 1;
}

.Tableau, .TableauBlockade, .TableauCanfield,
.TableauFortunesFavor, .TableauFreecell,
.TableauGolf, .TableauSpider, .TableauTail {
  fill: var(--bg-color, #1a5c2a);
  stroke: var(--hi-color, #2d8a4a);
  stroke-width: 1;
}

.Foundation, .FoundationCanfield, .FoundationOsmosis,
.FoundationPenguin, .FoundationSpider {
  fill: var(--bg-color, #1a5c2a);
  stroke: var(--hi-color, #2d8a4a);
  stroke-width: 1;
}

.accepts {
  font-family: "Acme", sans-serif;
  font-size: 24px;
  stroke: none;
  fill: var(--hi-color, #2d8a4a);
}

.stockredeals {
  font-family: "Acme", sans-serif;
  font-size: 48px;
  stroke: none;
  fill: var(--hi-color, #2d8a4a);
}

.noselect {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* Game header with Bob */
.game-header {
  margin-top: 12px;
  margin-bottom: 0;
}

/* Small screen adjustments */
@media only screen and (max-width: 450px) {
  .container-fluid {
    padding-right: 3px;
    padding-left: 3px;
  }

  .game-inner-content {
    padding: 3px;
    border-radius: var(--radius-md, 10px);
  }

  svg#baize {
    padding: 2px;
  }
}
