/* Omok light theme — a quiet baduk room: walnut table, mulberry paper,
   warm lamp light, and a real wooden board. Visuals only; game logic,
   board intersections and stone graphics retain the original implementation. */
html[data-theme="light"] body.standalone-hub-page-omok {
  --bg:#e9e0d1;
  --surface:#f7efdf;
  --line:#bda98d;
  --text:#332a21;
  --muted:#665748;
  --lime:#345947;
  --omok-ink:#332a21;
  --omok-muted:#665748;
  --omok-wood:#503725;
  --omok-gold:#a47c45;
  background:
    radial-gradient(ellipse at 50% 4%,rgba(255,247,222,.8),transparent 54%),
    repeating-linear-gradient(90deg,rgba(84,61,37,.018) 0 1px,transparent 1px 6px),
    #e9e0d1;
  color:var(--omok-ink);
  color-scheme:light;
}
html[data-theme="light"] body.standalone-hub-page-omok .intro {
  border-bottom:1px solid #b9a385;
}
html[data-theme="light"] body.standalone-hub-page-omok .intro h1 {
  color:#352619;
  text-shadow:0 1px 0 rgba(255,252,240,.65);
}
html[data-theme="light"] body.standalone-hub-page-omok .intro .eyebrow {
  color:#735631!important;
}
html[data-theme="light"] body.standalone-hub-page-omok .intro p:not(.eyebrow) {
  color:#605143;
}
html[data-theme="light"] body.standalone-hub-page-omok .title-mark {
  color:#80603c;
}
html[data-theme="light"] body.standalone-hub-page-omok .mini-board {
  background:
    repeating-linear-gradient(0deg,transparent 0 22px,#865b3970 22px 24px),
    repeating-linear-gradient(90deg,transparent 0 22px,#865b3970 22px 24px),
    linear-gradient(145deg,#dfbe85,#c3955a);
  border:8px solid #805a38;
  box-shadow:0 9px 15px #4d36242d;
  opacity:1;
}
/* A dark walnut tabletop frames the original golden wood playing board. */
html[data-theme="light"] body.standalone-hub-page-omok .board-panel {
  color:#f5e8cc;
  border:1px solid #59402a;
  background:
    linear-gradient(115deg,rgba(255,224,167,.065),transparent 42%,rgba(24,12,5,.13)),
    repeating-linear-gradient(5deg,rgba(255,224,169,.018) 0 3px,transparent 3px 12px),
    linear-gradient(155deg,#64482e,#463021 68%,#36271d);
  box-shadow:0 2px 0 #bd9f76,0 17px 27px #49372638,inset 0 1px 0 #aa855d;
}
html[data-theme="light"] body.standalone-hub-page-omok .board-panel .board-toolbar,
html[data-theme="light"] body.standalone-hub-page-omok .board-panel .board-toolbar span {
  color:#fcf0d5;
}
html[data-theme="light"] body.standalone-hub-page-omok .board-panel .board-toolbar span:last-child {
  color:#e1caa6;
}
html[data-theme="light"] body.standalone-hub-page-omok .board-panel .board-footer {
  color:#e8d5b5;
}
html[data-theme="light"] body.standalone-hub-page-omok .board-panel .board-footer span:last-child {
  color:#d4ba95;
}
/* Paper-and-wood side panels mimic handwritten game records, not app cards. */
html[data-theme="light"] body.standalone-hub-page-omok :is(.setting-card,.status-card,.history-card) {
  color:var(--omok-ink);
  background:
    repeating-linear-gradient(0deg,rgba(90,64,43,.018) 0 1px,transparent 1px 5px),
    linear-gradient(155deg,#fcf6e9,#eee0ca);
  border:1px solid #bda687;
  border-radius:9px;
  box-shadow:0 5px 16px rgba(70,48,30,.1),inset 0 1px 0 #fffaf0;
}
html[data-theme="light"] body.standalone-hub-page-omok :is(.setting-card,.status-card,.history-card) :is(.section-header h2,.history-head h2) {
  color:#3c2c20;
}
html[data-theme="light"] body.standalone-hub-page-omok :is(#turn-number,.history-head span) {
  color:#6b5844;
}
html[data-theme="light"] body.standalone-hub-page-omok .section-index {
  background:#e5d2b1;
  border:1px solid #b08a5b;
  border-radius:4px;
  color:#60401e;
  font-weight:800;
}
html[data-theme="light"] body.standalone-hub-page-omok .mode-option {
  background:#f8eedc;
  color:#3c2f22;
  border:1px solid #bfa98b;
  border-radius:7px;
  box-shadow:inset 0 1px 0 #fff9eb;
}
html[data-theme="light"] body.standalone-hub-page-omok .setting-card .mode-option:not(.selected) {
  color:#3c2f22;
}
html[data-theme="light"] body.standalone-hub-page-omok .mode-option.selected {
  background:linear-gradient(145deg,#e6d7b9,#d6bd95);
  color:#33271c;
  border-color:#8c683d;
  box-shadow:inset 0 0 0 1px #ad8653,0 2px 5px #47332118;
}
html[data-theme="light"] body.standalone-hub-page-omok .mode-option:hover {
  border-color:#805b34;
  background:#eddfc7;
}
html[data-theme="light"] body.standalone-hub-page-omok .mode-option :is(strong,.mode-icon) {
  color:#3d2e22;
}
html[data-theme="light"] body.standalone-hub-page-omok .setting-card .mode-option small {
  color:#66513d;
}
html[data-theme="light"] body.standalone-hub-page-omok .difficulty-row {
  color:#574535;
}
html[data-theme="light"] body.standalone-hub-page-omok .setting-card .difficulty-row select {
  background:#fff8e9;
  border:1px solid #a99578;
  border-radius:5px;
  color:#33291e;
  color-scheme:light;
}
/* The current side is recognizable without making the inactive side unreadable. */
html[data-theme="light"] body.standalone-hub-page-omok .status-card .player {
  background:#f1e5d0;
  border:1px solid #c5ad8b;
  color:#493a2b;
  border-radius:7px;
  opacity:1;
}
html[data-theme="light"] body.standalone-hub-page-omok .status-card .player.active {
  background:#dfd5bd;
  border-color:#4c7456;
  color:#273b2b;
  box-shadow:inset 0 0 0 1px #8da68a,0 0 0 1px #f4e8d3;
}
html[data-theme="light"] body.standalone-hub-page-omok .status-card .player strong {
  color:#34291e;
}
html[data-theme="light"] body.standalone-hub-page-omok .status-card .player small {
  color:#65503c;
}
html[data-theme="light"] body.standalone-hub-page-omok .status-card .player b {
  color:#385942;
}
html[data-theme="light"] body.standalone-hub-page-omok .players-vs {
  color:#725b43;
}
html[data-theme="light"] body.standalone-hub-page-omok .status-card .turn-message {
  border:1px solid #a59170;
  border-left:4px solid #52745a;
  border-radius:6px;
  background:linear-gradient(120deg,#ede7d1,#e5ddc2);
  color:#322d22;
}
html[data-theme="light"] body.standalone-hub-page-omok .status-card .turn-message span {
  color:#465d46;
  font-weight:700;
}
html[data-theme="light"] body.standalone-hub-page-omok .status-card .turn-message strong {
  color:#2b3a2b;
}
html[data-theme="light"] body.standalone-hub-page-omok .status-card .turn-message p {
  color:#655545;
}
html[data-theme="light"] body.standalone-hub-page-omok .action-button {
  border-radius:6px;
}
html[data-theme="light"] body.standalone-hub-page-omok .action-button.secondary {
  background:#f4e8d2;
  border-color:#ad9778;
  color:#493523;
}
html[data-theme="light"] body.standalone-hub-page-omok .action-button.primary {
  background:#47684a;
  border-color:#37543b;
  color:#fff7e7;
}
html[data-theme="light"] body.standalone-hub-page-omok .action-button.secondary:not(:disabled):hover {
  background:#e7d5b8;
}
html[data-theme="light"] body.standalone-hub-page-omok .action-button.primary:not(:disabled):hover {
  background:#37593e;
}
html[data-theme="light"] body.standalone-hub-page-omok .history-card .move-history li:not(.history-empty) {
  background:#f7ead5;
  color:#4b3928;
  border:1px solid #d7c19f;
  border-radius:4px;
}
html[data-theme="light"] body.standalone-hub-page-omok .history-card .move-history .history-empty {
  color:#6b5845;
}
/* The rule sheet uses the same stationery as the move log. */
html[data-theme="light"] body.standalone-hub-page-omok .rules {
  border-top:1px solid #bba68a;
  color:#3b2d21;
}
html[data-theme="light"] body.standalone-hub-page-omok .rules-head h2 {
  color:#3d2d20;
}
html[data-theme="light"] body.standalone-hub-page-omok .rules-head span {
  color:#715c45;
}
html[data-theme="light"] body.standalone-hub-page-omok .rules article {
  background:linear-gradient(135deg,#fbf3e5,#efe0c8);
  border:1px solid #c3ad8b;
  border-radius:7px;
  color:#463525;
}
html[data-theme="light"] body.standalone-hub-page-omok .rules article>span {
  color:#795c32;
  font-weight:800;
}
html[data-theme="light"] body.standalone-hub-page-omok .rules .rules-grid article h3 {
  color:#392a1e;
}
html[data-theme="light"] body.standalone-hub-page-omok .rules article p {
  color:#645140;
}
html[data-theme="light"] body.standalone-hub-page-omok footer {
  border-top-color:#bda588;
  color:#66533f;
}
html[data-theme="light"] body.standalone-hub-page-omok footer small {
  color:#79664d;
}
html[data-theme="light"] body.standalone-hub-page-omok .rules h3 {
  color:#392a1e;
}
html[data-theme="light"] body.standalone-hub-page-omok .omok-rules-kicker {
  color:#795c32;
}
html[data-theme="light"] body.standalone-hub-page-omok .omok-rules-plus {
  color:#795c32;
}
html[data-theme="light"] body.standalone-hub-page-omok .omok-drawer-body {
  border-top-color:#cbb695;
  color:#4e3d2c;
}
html[data-theme="light"] body.standalone-hub-page-omok .omok-term-dl dt {
  color:#2f523e;
}
