/* あそぼれ。10ゲーム版 2026-11-23 - original CSS illustrations, no image downloads */
.topbar-inner{gap:10px}
.topbar .brand{flex-shrink:0}
.topbar .nav{flex:1 1 auto;min-width:0;max-width:100%;overflow-x:auto;overflow-y:hidden;justify-content:flex-start;scrollbar-width:thin;scrollbar-color:#c1cbbb transparent;overscroll-behavior-x:contain}
.topbar .nav a{flex-shrink:0;font-size:.76rem;padding:12px 8px}
.topbar .nav-cta{flex-shrink:0}
@media(min-width:851px){.topbar .nav-cta{display:none}.topbar-inner{min-height:82px}}
@media(max-width:660px){.topbar .nav{margin:0;padding-bottom:10px}.topbar .nav a{font-size:.75rem;padding:9px 10px}}
.game-top--maze .game-heading-badge{background:#416d57!important;color:#f8f6e7}
.game-top--freecell .game-heading-badge{background:#344e4c!important;color:#f8f6e7}
.game-top--mole .game-heading-badge{background:#88704e!important;color:#f8f6e7}
.other-icon--maze{background:#e1ece2;color:#38644c}
.other-icon--freecell{background:#e5ece9;color:#365c52}
.other-icon--mole{background:#eee3d0;color:#937044}
.game-card--maze .game-tag{background:#e2ede4;color:#3f7355}
.game-card--freecell .game-tag{background:#e4ece9;color:#315e55}
.game-card--mole .game-tag{background:#f1e9db;color:#806640}
/* home thumbnail illustration: maze */
.art-maze{background:linear-gradient(135deg,#2d5846,#557a68)}
.art-maze-grid{width:188px;aspect-ratio:7/5;display:grid;grid-template-columns:repeat(7,1fr);grid-template-rows:repeat(5,1fr);gap:1px;border:7px solid #e1d7bc;border-radius:10px;background:#e3e6d9;transform:rotate(-6deg);box-shadow:12px 16px 22px #12362955;overflow:hidden}
.art-maze-grid span{display:grid;place-items:center;background:#eff2e9;color:#a27d47;font-size:16px;font-weight:900}
.art-maze-grid .wall{background:#2f624e}
.art-maze-grid .start{color:#b59a58}.art-maze-grid .goal{color:#b58445}
/* home thumbnail illustration: freecell */
.art-freecell{background:linear-gradient(130deg,#2a4e4a,#527568)}
.art-freecell-cards{width:240px;height:156px;position:relative;transform:rotate(-6deg)}
.art-freecell-cards>span{position:absolute;top:15px;width:78px;height:118px;border:4px solid #fff8ec;border-radius:9px;background:#fffdf7;color:#253f3c;box-shadow:6px 10px 13px #0e242241;font-weight:900;font-size:21px;padding:6px 9px}
.art-freecell-cards em{font-style:normal;font-size:39px;display:block;text-align:center;margin-top:4px}
.art-freecell-cards span:nth-child(1){left:0;transform:rotate(-16deg)}
.art-freecell-cards span:nth-child(2){left:55px;color:#ad6b6b;transform:rotate(-2deg)}
.art-freecell-cards span:nth-child(3){left:110px;transform:rotate(9deg)}
.art-freecell-cards span:nth-child(4){left:158px;color:#ad6b6b;transform:rotate(19deg)}
/* home thumbnail illustration: mole */
.art-mole{background:linear-gradient(130deg,#85735b,#b49b77)}
.art-mole-group{width:220px;height:175px;position:relative;display:grid;place-items:center}
.art-hole{position:absolute;bottom:14px;left:0;width:100%;height:52px;background:#26372e;border:11px solid #c6b191;border-radius:50%;box-shadow:inset 0 4px 10px #0008;transform:rotate(-3deg)}
.art-mole-face{position:absolute;bottom:31px;left:46px;width:135px;height:122px;background:#9c7656;border:7px solid #ac8a68;border-radius:50% 50% 44% 44%;z-index:1;box-shadow:5px 9px 12px #40301c33}
.art-mole-face:before,.art-mole-face:after{content:"";position:absolute;top:-17px;width:34px;height:36px;border-radius:50%;background:#a88365;border:6px solid #9c7656}
.art-mole-face:before{left:-9px}.art-mole-face:after{right:-9px}
.art-mole-face>i{position:absolute;width:11px;height:14px;background:#27342d;border-radius:50%;top:43px;left:35px;z-index:2}
.art-mole-face>i:nth-child(2){left:auto;right:35px}
.art-mole-face>b{position:absolute;width:28px;height:20px;background:#d8b7a1;border-radius:50% 50% 65% 65%;top:65px;left:calc(50% - 14px);z-index:2}
.art-spark{position:absolute;right:2px;top:0;font-size:46px;color:#f5e3b6}
/* Maze */
.maze-shell{background:linear-gradient(142deg,#f4f4ec,#dce7d9);padding:20px 14px}
.maze-board{width:min(100%,495px);aspect-ratio:1;display:grid;grid-template-columns:repeat(var(--maze-size),minmax(0,1fr));grid-template-rows:repeat(var(--maze-size),minmax(0,1fr));border:8px solid #a38b60;border-radius:7px;background:#f6f6ed;box-shadow:0 13px 26px #2b3e3050;overflow:hidden}
.maze-cell{min-width:0;min-height:0;display:grid;place-items:center;background:#f7f7ef;color:#ab8251;font-weight:900;font-size:clamp(8px,1.5vw,17px);line-height:1}
.maze-cell.is-wall{background:#305943}
.maze-cell.is-visited{background:#dbeadd}
.maze-cell.is-path{background:#e7d2a5}
.maze-cell.is-player{color:transparent;background:#e5eadb;position:relative}
.maze-cell.is-player:after{content:"";position:absolute;width:68%;height:68%;background:#bd995f;border-radius:50%;box-shadow:0 0 0 2px #fff8e9,0 1px 6px #37312063}
.maze-cell.is-goal{background:#e6c98f;color:#674d2d}
.maze-pad{display:grid;justify-items:center;gap:6px;margin:20px auto 2px}
.maze-pad-row{display:flex;gap:6px}
.maze-pad button{width:58px;height:46px;border:1px solid #cfdbd0;border-radius:10px;background:#e4ece2;color:#2f6048;font-size:1.55rem;font-weight:850;touch-action:manipulation}
.maze-pad button:hover{background:#d6e6d7}
.maze-pad button:active{background:#c5d8c7;transform:translateY(2px)}
/* Freecell */
.fc-table{border-radius:16px;border:1px solid #ccd8c9;background:linear-gradient(150deg,#2c5845,#204437);padding:16px 11px 20px;box-shadow:inset 0 0 25px #061b132a;overflow:hidden}
.fc-row-heading{display:grid;grid-template-columns:1fr 1fr;gap:10px;font-size:.72rem;font-weight:850;color:#d1dcca;margin-bottom:8px}
.fc-row-heading span:last-child{text-align:right}
.fc-top{display:flex;gap:14px;justify-content:space-between}
.fc-free,.fc-foundations{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;width:calc(50% - 7px)}
.fc-slot{position:relative;width:100%;aspect-ratio:.71;border:1.5px dashed #d9dfd87c;border-radius:6px;background:#f9f8f01a;color:#dce5d7;display:grid;place-items:center;padding:0;min-width:0;cursor:pointer}
.fc-slot-marker{font-size:clamp(15px,2.3vw,28px);opacity:.8}
.fc-slot.fc-filled{background:#fffef8;border:1px solid #e5e2d6;box-shadow:0 2px 3px #132e234f}
.fc-slot.is-selected,.fc-tableau-card.is-selected{outline:3px solid #dfbe71;outline-offset:-1px}
.fc-caption{font-size:.75rem;color:#d7e6d8;margin:22px 0 9px;font-weight:750}
.fc-columns{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:5px}
.fc-column{position:relative;min-width:0}
.fc-empty-target{position:relative;width:100%;aspect-ratio:.71;border:1px dashed #b0c6b24f;border-radius:6px;background:#14362924;display:grid;place-items:center;color:#b3c5b59b;padding:0;cursor:pointer}
.fc-empty-target>span{font-size:1.5rem}
.fc-tableau-card{position:absolute;top:calc(var(--index) * 29px);left:0;width:100%;aspect-ratio:.71;min-width:0;border:1px solid #d8d8c9;background:#fffdf7;border-radius:6px;color:#223a34;padding:0;cursor:pointer;box-shadow:0 2px 3px #08251a48;text-align:left;z-index:1;touch-action:manipulation;overflow:hidden}
.fc-tableau-card:hover{filter:brightness(.98)}
.fc-corner{position:absolute;top:5px;left:5px;display:flex;flex-direction:column;align-items:center;line-height:1.08;font-size:clamp(.69rem,1.35vw,1.04rem);font-weight:900}
.fc-corner>small{font-size:.85em}
.fc-center{position:absolute;left:50%;top:49%;transform:translate(-50%,-40%);font-size:clamp(1.05rem,2.6vw,2.2rem);line-height:1}
.fc-red{color:#b45f62}.fc-black{color:#30463f}
.fc-tableau-card .fc-center{top:57%}
.fc-tableau-card.is-selected{background:#fff4d9}
.fc-slot:focus-visible,.fc-tableau-card:focus-visible,.fc-empty-target:focus-visible{outline:3px solid #e9ca82;outline-offset:1px;z-index:100}
/* Whack-a-mole */
.mole-progress{height:9px;border-radius:99px;background:#ebebe3;overflow:hidden;margin:-5px 0 18px}
.mole-progress span{display:block;width:100%;height:100%;background:linear-gradient(90deg,#9b7b4e,#c3a468);transition:width .12s linear}
.mole-shell{background:linear-gradient(140deg,#eee7da,#dce7d7);padding:19px}
.mole-board{display:grid;grid-template-columns:repeat(3,1fr);gap:17px 9px;width:min(100%,480px);padding:15px 12px 5px;background:#9db099;border-radius:17px;box-shadow:inset 0 0 38px #3f5f453a}
.mole-hole{position:relative;display:block;width:100%;aspect-ratio:1.05;border:0;background:transparent;padding:0;cursor:pointer;touch-action:manipulation;overflow:hidden}
.mole-hole:before{content:"";position:absolute;bottom:10%;left:1%;width:98%;height:39%;border-radius:50%;background:#263c2e;box-shadow:inset 0 6px 12px #172a215e;z-index:1}
.mole-hole-front{position:absolute;bottom:2%;left:1%;width:98%;height:26%;border-radius:45% 45% 48% 48%;background:#809d79;border:4px solid #72916d;z-index:5;pointer-events:none}
.mole-figure{position:absolute;left:16%;width:68%;height:83%;bottom:-105%;border-radius:46% 46% 38% 38%;background:#947254;border:3px solid #a78b6a;z-index:3;transition:bottom .18s ease-out;pointer-events:none}
.mole-hole.is-active .mole-figure{bottom:14%}
.mole-ear{position:absolute;width:27%;height:27%;top:-11%;border-radius:50%;background:#aa866b;border:3px solid #947254}
.mole-ear.left{left:0}.mole-ear.right{right:0}
.mole-face{position:relative;display:block;width:100%;height:100%}
.mole-face i{position:absolute;top:39%;left:25%;width:11%;height:13%;background:#263c35;border-radius:50%}
.mole-face i:nth-child(2){left:auto;right:25%}
.mole-face b{position:absolute;top:59%;left:40%;width:20%;height:15%;border-radius:55%;background:#d8b3a1}
.mole-hole.is-gold .mole-figure{background:#d4ac5e;border-color:#c09a50}
.mole-hole.is-gold .mole-ear{background:#daba78;border-color:#c09a50}
.mole-note{text-align:center;color:#7f7158;font-size:.8rem;font-weight:800;margin:13px 0 4px}
@media(max-width:660px){
 .art-maze-grid{width:160px}.art-freecell-cards{transform:rotate(-6deg) scale(.85)}.art-mole-group{transform:scale(.85)}
 .fc-table{padding:11px 6px 13px;border-radius:9px}
 .fc-columns,.fc-free,.fc-foundations{gap:3px}
 .fc-top{gap:7px}.fc-free,.fc-foundations{width:calc(50% - 3px)}
 .fc-tableau-card{top:calc(var(--index) * 23px);border-radius:3px}
 .fc-column{min-height:255px!important}
 .fc-slot{border-radius:3px}.fc-corner{top:2px;left:2px;font-size:clamp(.56rem,2.5vw,.8rem)}
 .fc-center{font-size:clamp(.8rem,3vw,1.15rem)}.fc-tableau-card .fc-center{top:63%}
 .fc-caption{font-size:.65rem;margin:18px 0 8px}
 .fc-row-heading{font-size:.6rem}
 .maze-shell{padding:12px 8px}.maze-board{border-width:5px}.maze-pad button{width:58px;height:46px}
 .mole-board{gap:9px 5px;padding:12px 6px 4px}.mole-shell{padding:10px}
 .mole-hole-front{border-width:2px}
}
