/* asobore.com / three additional original games / 2026-11-23 */
/* Seven-game navigation keeps the original desktop and mobile design. */
@media (min-width:851px) {
 .topbar-inner{gap:12px}
 .topbar .brand-name{font-size:1.43rem}
 .nav{gap:0}
 .nav a{font-size:.735rem;padding:10px 7px}
 .nav-cta{font-size:.75rem;padding:12px 12px}
}
@media(min-width:851px) and (max-width:1070px){.nav-cta{display:none}}
@media(max-width:660px){.nav{justify-content:flex-start;gap:2px}}
/* Homepage category artwork — made from CSS, no external image files. */
.art-reversi{display:grid;place-items:center;background:linear-gradient(132deg,#2e5846,#153e33)}
.art-blocks{display:grid;place-items:center;background:linear-gradient(133deg,#717868,#3b584b)}
.art-fifteen{display:grid;place-items:center;background:linear-gradient(132deg,#cdbb9a,#948164)}
.preview-reversi{display:grid;grid-template-columns:repeat(4,43px);gap:0;padding:10px;border-radius:10px;transform:rotate(-7deg);background:#d0b78c;box-shadow:0 15px 24px #0e221c45}
.preview-reversi i{width:43px;height:43px;background:#42715e;display:grid;place-items:center;border:1px solid #355745;font-style:normal}
.preview-reversi i:nth-child(2n){background:#3d6a57}
.preview-reversi em{width:32px;height:32px;border-radius:50%;display:block;background:#25302d;box-shadow:inset 3px 4px 3px #ffffff1c,1px 2px 2px #142b26}
.preview-reversi .light{background:#f6f0e1;box-shadow:inset 3px 4px 4px #fff,1px 2px 3px #11261b59}
.preview-blocks{display:grid;grid-template-columns:repeat(5,36px);grid-template-rows:repeat(5,36px);gap:4px;padding:12px;background:#d9dfd4;border-radius:15px;transform:rotate(6deg);box-shadow:0 15px 25px #152d2438}
.preview-blocks span{background:#bac9bb;border-radius:5px}
.preview-blocks span.filled{background:#315e4a;box-shadow:inset 1px 1px 0 #d0e2d735}
.preview-blocks span.gold{background:#b89a69}
.preview-fifteen{display:grid;grid-template-columns:repeat(4,43px);grid-template-rows:repeat(4,43px);gap:4px;padding:12px;background:#e1d6bd;border-radius:13px;transform:rotate(-6deg);box-shadow:0 15px 25px #3f34253d}
.preview-fifteen span{display:grid;place-items:center;border-radius:6px;background:#fffdf4;color:#384b3d;font-size:1rem;font-weight:900;box-shadow:0 2px 0 #a7997f}
.preview-fifteen span.empty{background:#b3a990;box-shadow:none}
.game-card--reversi .game-tag{background:#e6eee5;color:#3e6a54}
.game-card--blocks .game-tag{background:#e7ece5;color:#4c6957}
.game-card--fifteen .game-tag{background:#f2ebdf;color:#8a6c42}
.game-top--reversi .game-heading-badge{background:#2c5a43!important}
.game-top--blocks .game-heading-badge{background:#54735d!important}
.game-top--fifteen .game-heading-badge{background:#90764e!important}
.other-icon--reversi{background:#dfece3;color:#315a44}
.other-icon--blocks{background:#e9ede5;color:#54705c}
.other-icon--fifteen{background:#f1e8d7;color:#8b714e}
/* Buttons match the forest green and warm brass palette. */
.controls .primary{background:#294d3e;color:#fffdf7;box-shadow:none}
.controls .primary:hover:not(:disabled){background:#193d30}
.controls .secondary{background:#e8ebe3;color:#375747}
.controls .secondary:hover:not(:disabled){background:#dce5d9}
/* Shared boards */
.extra-board-shell{display:flex;justify-content:center;padding:24px 15px;background:linear-gradient(140deg,#f1f2ec,#e4eae1);border:1px solid #dce3d8;border-radius:14px}
.extra-board-shell:focus-within{outline:1px solid #baab85}
.extra-lead{font-size:.76rem;color:#6f796e;margin-top:12px;margin-bottom:0;text-align:center}
.extra-board-shell button:focus-visible,.bp-choice:focus-visible{outline:3px solid #ccab73;outline-offset:1px;z-index:2}
/* Reversi — 8x8 with a carved wooden rim */
.reversi-board{width:min(100%,465px);aspect-ratio:1;display:grid;grid-template-columns:repeat(8,minmax(0,1fr));padding:9px;border:5px solid #876e49;border-radius:9px;background:#92764e;box-shadow:0 14px 29px #233b3040;touch-action:manipulation}
.rv-cell{position:relative;min-width:0;min-height:0;border:1px solid #2b5540;background:#46765d;display:grid;place-items:center;aspect-ratio:1;padding:0}
.rv-cell:nth-child(even){background:#427057}
.rv-cell:not(:disabled){cursor:pointer}
.rv-cell.rv-legal:hover{background:#619477}
.rv-cell.rv-legal:disabled{cursor:default}
.rv-disc{width:80%;height:80%;border-radius:50%;box-shadow:inset 2px 3px 3px #ffffff3c,1px 3px 4px #132f27a8;transition:transform .18s}
.rv-black{background:radial-gradient(circle at 28% 22%,#556059 0%,#24302b 55%,#111b17 100%)}
.rv-white{background:radial-gradient(circle at 28% 22%,#fff 0%,#f1eee6 65%,#c9cbbe 100%)}
.rv-dot{width:24%;height:24%;border-radius:50%;background:#ddf4ce8c}
.rv-hint{box-shadow:inset 0 0 0 4px #e6c485!important}
.rv-hint .rv-dot{background:#f7d587;width:40%;height:40%}
.rv-legend{display:flex;gap:18px;justify-content:center;flex-wrap:wrap;margin:14px 0 0;font-size:.78rem;color:#4b6254;font-weight:700}
.rv-legend span{display:flex;align-items:center;gap:7px}
.rv-legend i{width:13px;height:13px;display:inline-block;border-radius:50%;background:#26352b}
.rv-legend i.white{background:#f8f7ef;border:1px solid #b2bcad}
/* Blocks — selected tray with tap-select placement */
.blocks-board{width:min(100%,440px);display:grid;grid-template-columns:repeat(9,minmax(0,1fr));aspect-ratio:1;gap:2px;padding:9px;border-radius:10px;background:#bdcbbb;box-shadow:0 9px 23px #2b44332b;touch-action:manipulation}
.bp-cell{min-width:0;min-height:0;border:0;border-radius:3px;background:#eff1e9;padding:0;aspect-ratio:1;position:relative}
.bp-cell:disabled{opacity:1;cursor:default}
.bp-cell.is-filled{background:linear-gradient(135deg,#64876a,#365a46);box-shadow:inset 0 1px 0 #c7dbc59e,0 1px 1px #233e3250}
.bp-cell.bp-boundary-r{border-right:2px solid #a0b29e}
.bp-cell.bp-boundary-b{border-bottom:2px solid #a0b29e}
.bp-cell.is-preview{background:#d0ad71;box-shadow:inset 0 0 0 2px #ae8346}
.bp-cell.is-invalid{background:#dfbaba}
.bp-cell:not(:disabled):hover{cursor:pointer}
.bp-cell:focus-visible{outline-offset:-2px}
.piece-info{text-align:center;margin:20px 0 11px;font-weight:800;font-size:.87rem;color:#455b4d}
.piece-tray{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;max-width:480px;margin:auto}
.bp-choice{height:112px;padding:7px;border:2px solid #deddd2;border-radius:12px;background:#fffdfa;display:flex;align-items:center;justify-content:center;min-width:0;color:#94a092;font-size:.76rem;font-weight:700;transition:border-color .12s,background .12s}
.bp-choice.is-selected{background:#edf2e9;border-color:#ad905b;box-shadow:0 0 0 2px #d2b78b55}
.bp-choice.is-used{background:#f4f4ed;border-style:dashed}
.bp-mini{--mini-cell:19px;display:grid;gap:3px}
.bp-mini-cell{width:var(--mini-cell);height:var(--mini-cell);border-radius:3px}
.bp-mini-cell.is-filled{background:linear-gradient(135deg,#72907c,#345943);box-shadow:0 2px 1px #1b3b2838}
/* Fifteen puzzle — classic carved tiles */
.fifteen-board{width:min(100%,432px);aspect-ratio:1;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:repeat(4,minmax(0,1fr));gap:8px;padding:13px;border-radius:14px;background:linear-gradient(130deg,#8a9c88,#5b765e);box-shadow:0 12px 26px #2d422f39;touch-action:manipulation}
.fifteen-tile{border:0;border-radius:8px;display:grid;place-items:center;background:linear-gradient(145deg,#fffdf5,#e8e3d5);color:#344b3d;font-size:clamp(1.35rem,5vw,2.3rem);font-weight:850;box-shadow:0 4px 0 #b7ae9b,0 5px 8px #19392b5f;min-width:0;min-height:0;transition:background .16s,transform .16s;user-select:none}
.fifteen-tile.is-movable{cursor:pointer}
.fifteen-tile.is-movable:hover{background:#f4e8ce;transform:translateY(-1px)}
.fifteen-tile:not(.is-movable):not(.is-empty){opacity:.95}
.fifteen-tile.is-empty{background:#365641b3;box-shadow:inset 1px 2px 7px #1533216e}
.fifteen-tile:disabled{cursor:default;opacity:1}
@media(max-width:660px){
 .extra-board-shell{padding:13px 8px}
 .reversi-board{padding:5px;border-width:4px}
 .blocks-board{padding:5px;gap:2px}
 .bp-choice{height:95px}
 .bp-mini{--mini-cell:clamp(12px,3.6vw,18px);gap:2px}
 .fifteen-board{gap:5px;padding:9px}
 .fifteen-tile{border-radius:6px;box-shadow:0 3px 0 #b7ae9b,0 4px 5px #19392b48}
 .preview-reversi{transform:scale(.91) rotate(-7deg)}
 .preview-blocks{transform:scale(.92) rotate(6deg)}
 .preview-fifteen{transform:scale(.91) rotate(-6deg)}
}
@media(max-width:360px){.bp-mini{--mini-cell:11px}}
