/* Omok dark: traditional nighttime match room. Board and stones untouched. */
html[data-theme="dark"] body.standalone-hub-page-omok{
  --bg:#1a1714;--surface:#302821;--line:#705742;--text:#f3e7d3;--muted:#cfbaa0;--lime:#d6b681;
  background:radial-gradient(ellipse at 50% 0%,#855a303a,transparent 56%),repeating-linear-gradient(90deg,#f1c07805 0 1px,transparent 1px 7px),#1a1714;
  color:#f3e7d3;color-scheme:dark;
}
html[data-theme="dark"] body.standalone-hub-page-omok .intro{border-bottom-color:#71563e}
html[data-theme="dark"] body.standalone-hub-page-omok .intro h1{color:#f6e9d4;text-shadow:0 2px 14px #0004}
html[data-theme="dark"] body.standalone-hub-page-omok .intro .eyebrow{color:#d7ba85!important}
html[data-theme="dark"] body.standalone-hub-page-omok .intro p:not(.eyebrow){color:#d7c4aa}
html[data-theme="dark"] body.standalone-hub-page-omok .title-mark{color:#d7b581}
html[data-theme="dark"] body.standalone-hub-page-omok .mini-board{
  background:repeating-linear-gradient(0deg,transparent 0 22px,#77523599 22px 24px),repeating-linear-gradient(90deg,transparent 0 22px,#77523599 22px 24px),linear-gradient(145deg,#cba36d,#95683e);
  border:8px solid #624229;box-shadow:0 12px 25px #0006,0 0 25px #c2925120;opacity:1;
}
/* Walnut playing table around the original warm wooden 15x15 board. */
html[data-theme="dark"] body.standalone-hub-page-omok .board-panel{
  color:#f1dfc3;border:1px solid #876545;
  background:linear-gradient(118deg,#d0a66418,transparent 43%,#0004),repeating-linear-gradient(3deg,#e4ab5f05 0 2px,transparent 2px 13px),linear-gradient(145deg,#493628,#2e241e 75%,#251e19);
  box-shadow:0 2px 0 #96724b,0 17px 35px #0007,inset 0 1px 0 #9f78513f;
}
html[data-theme="dark"] body.standalone-hub-page-omok .board-panel .board-toolbar,
html[data-theme="dark"] body.standalone-hub-page-omok .board-panel .board-toolbar span{color:#f5e6ce}
html[data-theme="dark"] body.standalone-hub-page-omok .board-panel .board-toolbar span:last-child,
html[data-theme="dark"] body.standalone-hub-page-omok .board-panel .board-footer span:last-child{color:#d8bd98}
html[data-theme="dark"] body.standalone-hub-page-omok .board-panel .board-footer{color:#e6d4b7}
/* Dark ink record sheets and muted brass labels. */
html[data-theme="dark"] body.standalone-hub-page-omok :is(.setting-card,.status-card,.history-card){
  color:#f0e4d2;border:1px solid #705945;border-radius:9px;
  background:repeating-linear-gradient(0deg,#e6c49305 0 1px,transparent 1px 6px),linear-gradient(145deg,#372e26,#29231f);
  box-shadow:0 6px 18px #0004,inset 0 1px 0 #d6b98e18;
}
html[data-theme="dark"] body.standalone-hub-page-omok :is(.setting-card,.status-card,.history-card) :is(.section-header h2,.history-head h2){color:#f3e2c8}
html[data-theme="dark"] body.standalone-hub-page-omok :is(#turn-number,.history-head span){color:#cebaa0}
html[data-theme="dark"] body.standalone-hub-page-omok .section-index{color:#eed19e;background:#50402e;border:1px solid #93724d;border-radius:4px;font-weight:800}
html[data-theme="dark"] body.standalone-hub-page-omok .mode-option{
  background:#393029;color:#eddfca;border:1px solid #78604a;border-radius:7px;box-shadow:inset 0 1px 0 #c8a87812
}
html[data-theme="dark"] body.standalone-hub-page-omok .mode-option.selected{
  background:linear-gradient(145deg,#594630,#473b2d);color:#fff0d3;border-color:#d1ac70;box-shadow:inset 0 0 0 1px #aa8455,0 3px 10px #0003
}
html[data-theme="dark"] body.standalone-hub-page-omok .mode-option:hover{background:#544331;border-color:#c5a476}
html[data-theme="dark"] body.standalone-hub-page-omok .mode-option :is(strong,.mode-icon){color:#f6e4c8}
html[data-theme="dark"] body.standalone-hub-page-omok .mode-option small{color:#d2bfa5}
html[data-theme="dark"] body.standalone-hub-page-omok .difficulty-row{color:#d7c5ad}
html[data-theme="dark"] body.standalone-hub-page-omok .difficulty-row select{
  background:#2b2520;color:#f6e8d5;border:1px solid #967756;border-radius:5px;color-scheme:dark;
}
html[data-theme="dark"] body.standalone-hub-page-omok .status-card .player{
  background:#332c26;color:#e9dece;border:1px solid #79624e;border-radius:7px;opacity:1;
}
html[data-theme="dark"] body.standalone-hub-page-omok .status-card .player.active{
  background:linear-gradient(145deg,#364337,#283a31);color:#fbf0dc;border-color:#a4b18a;box-shadow:inset 0 0 0 1px #6b856c,0 0 0 1px #2b241d
}
html[data-theme="dark"] body.standalone-hub-page-omok .status-card .player strong{color:#f6e8d2}
html[data-theme="dark"] body.standalone-hub-page-omok .status-card .player small{color:#d8c5ad}
html[data-theme="dark"] body.standalone-hub-page-omok .status-card .player b{color:#e2c08a}
html[data-theme="dark"] body.standalone-hub-page-omok .players-vs{color:#c2ab8d}
html[data-theme="dark"] body.standalone-hub-page-omok .status-card .turn-message{
  background:linear-gradient(125deg,#2e4338,#27362e);color:#f7ebd5;border:1px solid #6c8e78;border-left:4px solid #c7a56d;border-radius:6px
}
html[data-theme="dark"] body.standalone-hub-page-omok .status-card .turn-message span{color:#d8c596;font-weight:700}
html[data-theme="dark"] body.standalone-hub-page-omok .status-card .turn-message strong{color:#fff0db}
html[data-theme="dark"] body.standalone-hub-page-omok .status-card .turn-message p{color:#d6dbc9}
html[data-theme="dark"] body.standalone-hub-page-omok .action-button{border-radius:6px}
html[data-theme="dark"] body.standalone-hub-page-omok .action-button.secondary{background:#3a3129;color:#f0dec3;border-color:#927556}
html[data-theme="dark"] body.standalone-hub-page-omok .action-button.primary{background:#dcba81;color:#322719;border-color:#dcba81}
html[data-theme="dark"] body.standalone-hub-page-omok .action-button.secondary:not(:disabled):hover{background:#57432f}
html[data-theme="dark"] body.standalone-hub-page-omok .action-button.primary:not(:disabled):hover{background:#edcf9e}
html[data-theme="dark"] body.standalone-hub-page-omok .history-card .move-history li:not(.history-empty){background:#403329;color:#f0dcc1;border:1px solid #725a41;border-radius:4px}
html[data-theme="dark"] body.standalone-hub-page-omok .history-card .move-history .history-empty{color:#cbb69a}
html[data-theme="dark"] body.standalone-hub-page-omok .rules{color:#f0dec7;border-top-color:#67513c}
html[data-theme="dark"] body.standalone-hub-page-omok .rules-head h2{color:#f2e3ca}
html[data-theme="dark"] body.standalone-hub-page-omok .rules-head span{color:#c9b399}
html[data-theme="dark"] body.standalone-hub-page-omok .rules article{
  background:linear-gradient(145deg,#342b24,#29231f);color:#f0e0c8;border:1px solid #705a44;border-radius:7px;
}
html[data-theme="dark"] body.standalone-hub-page-omok .rules article>span{color:#d6b47b;font-weight:800}
html[data-theme="dark"] body.standalone-hub-page-omok .rules h3{color:#f0dfc6}
html[data-theme="dark"] body.standalone-hub-page-omok .rules article p{color:#d3c0aa}
html[data-theme="dark"] body.standalone-hub-page-omok .omok-rules-kicker{color:#d6b47b}
html[data-theme="dark"] body.standalone-hub-page-omok .omok-rules-plus{color:#d6b47b}
html[data-theme="dark"] body.standalone-hub-page-omok .omok-drawer-body{border-top-color:#6e5843;color:#dfd0bc}
html[data-theme="dark"] body.standalone-hub-page-omok .omok-term-dl dt{color:#ebd09e}
/* Related-games navigation joins the same warm palette. */
html[data-theme="dark"] body.standalone-hub-page-omok .seo-related-games{background:linear-gradient(145deg,#342920,#241f1b);border-color:#70583e;color:#efe0cc}
html[data-theme="dark"] body.standalone-hub-page-omok .seo-related-copy h2{color:#f1dfc4}
html[data-theme="dark"] body.standalone-hub-page-omok .seo-related-copy p{color:#cfbca4}
html[data-theme="dark"] body.standalone-hub-page-omok .seo-related-links a{background:#403128!important;border-color:#80654a;color:#f4e4c9!important}
html[data-theme="dark"] body.standalone-hub-page-omok .seo-related-links a:hover{background:#57422f!important;border-color:#c9a373}
html[data-theme="dark"] body.standalone-hub-page-omok .seo-related-icon{background:#624c36}
html[data-theme="dark"] body.standalone-hub-page-omok .seo-related-links strong{color:#f5e5cd}
html[data-theme="dark"] body.standalone-hub-page-omok .seo-related-links small{color:#d4c2ac}
html[data-theme="dark"] body.standalone-hub-page-omok footer{border-top-color:#66513d;color:#c9b394}
html[data-theme="dark"] body.standalone-hub-page-omok footer small{color:#b3a088}
