.App{text-align:center;display:flex;flex-direction:column;font-family:Courier New,Courier,monospace;-webkit-user-select:none;user-select:none;color:#000;overflow-x:auto}.App,body,html{margin:0;padding:0}body,html{height:100%}body{background-color:#dfdfdf}.app-root{min-height:100vh;display:flex;flex-direction:column}#root{height:100%}.game-wrapper{position:relative;display:flex;flex-direction:column;align-items:center;width:-moz-fit-content;width:fit-content;margin:20px auto}.difficulty-dropdown{margin-bottom:0}.difficulty-select{padding:5px;font-family:Courier New,Courier,monospace;background-color:#c0c0c0;border-color:#fff #7b7b7b #7b7b7b #fff;border-style:solid;border-width:2px;cursor:pointer;font-size:.9rem;font-weight:700;outline:none}.difficulty-select:focus{outline:none}.difficulty-select:hover{background-color:#d0d0d0}.game{flex-direction:column;-webkit-user-select:none;user-select:none;padding:15px;border-color:#fff #7b7b7b #7b7b7b #fff;border-style:solid;border-width:3px}.game,.game-info{display:flex;align-items:center;background-color:#c0c0c0}.game-info{justify-content:space-between;width:100%;max-width:400px;margin-bottom:15px;padding:10px;border-color:#7b7b7b #fff #fff #7b7b7b;border-style:solid;border-width:2px;font-weight:700;box-sizing:border-box}.face-button{border:none;margin:0;padding:0;background:none;cursor:pointer;display:flex;align-items:center;justify-content:center}.face-img{width:35px;height:35px}.mines-count,.timer{display:flex;border:1px solid black;background:black}.counter-digit{width:17.5px;height:31px}.cell{width:22px;height:22px;display:flex;align-items:center;justify-content:center;margin:0;-webkit-user-select:none;user-select:none;background-image:url(/images/minesweeper-sprites.png);background-repeat:no-repeat;background-size:88px 88px;position:relative;box-sizing:border-box;touch-action:manipulation;-webkit-tap-highlight-color:transparent;-webkit-touch-callout:none}.cell[data-last-col=true]{border-right:1px solid #8b8b8b}.cell[data-last-row=true]{border-bottom:1px solid #8b8b8b}.cell-num-1{background-position:0 0}.cell-num-2{background-position:-22px 0}.cell-num-3{background-position:-44px 0}.cell-num-4{background-position:-66px 0}.cell-num-5{background-position:0 -22px}.cell-num-6{background-position:-22px -22px}.cell-num-7{background-position:-44px -22px}.cell-num-8{background-position:-66px -22px}.cell-empty{background-position:0 -44px}.cell-hidden{background-position:-22px -44px}.cell-flagged{background-position:-44px -44px}.cell-crossed-mine{background-position:-66px -44px}.cell-question{background-position:0 -66px}.cell-question-pressed{background-position:-22px -66px}.cell-bomb{background-position:-44px -66px}.cell-bomb-red{background-position:-66px -66px}.controls{margin-top:20px}.controls button{background-color:#c0c0c0;color:black;border-color:#fff #7b7b7b #7b7b7b #fff;border-style:solid;border-width:2px;padding:8px 16px;margin:0 10px;cursor:pointer;font-family:Courier New,Courier,monospace;font-weight:700}.controls button:hover{background-color:#d0d0d0}.controls button:active{background-color:#b0b0b0}.controls button:active,.message{border-color:#7b7b7b #fff #fff #7b7b7b}.message{margin-top:15px;padding:10px 20px;border-style:solid;border-width:2px;font-weight:700;background-color:#c0c0c0}.message.win{color:#008000}.message.lose{color:#ff0000}.bomb-image{width:14px;height:14px;background-size:contain;background-repeat:no-repeat;background-position:50%;border-radius:50%;background-color:red;display:inline-block}.board-container{display:inline-block;background-color:#c0c0c0;border-color:#7b7b7b #fff #fff #7b7b7b;border-style:solid;border-width:3px;padding:5px;-webkit-user-select:none;user-select:none;position:relative}.cell[data-last-col=true]{border-right:none}.cell[data-last-row=true]{border-bottom:none}.board{display:inline-block;background-color:#c0c0c0;-webkit-user-select:none;user-select:none;position:relative;box-shadow:1px 1px 1px 0 #9b9b9b;touch-action:manipulation}.row{display:flex;height:22px;font-size:0;line-height:0;gap:0}.cell.revealed,.game-over .board .cell{cursor:default;pointer-events:none}.cell-flagged:before,.cell-hidden:before,.cell-question:before{content:"";position:absolute;top:0;left:0;width:100%;height:1px;background-color:#c0c0c0;z-index:1}.attribution{font-size:12px;color:#777;background-color:#dfdfdf;padding:8px 16px;border-top:1px solid #ccc;margin-top:auto;box-sizing:border-box;font-family:Courier New,Courier,monospace;width:100%}.attribution-content{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:16px}.privacy-link{color:#0066cc;text-decoration:none;font-size:12px}.privacy-link:hover{text-decoration:underline}.copyright{color:#777;font-size:12px}.privacy-policy-page{background-color:#c0c0c0;padding:20px;font-family:Courier New,Courier,monospace;display:flex;flex:1 1;flex-direction:column;align-items:center;justify-content:flex-start}.privacy-policy-header{max-width:800px;margin:0 auto 32px;text-align:center}.back-to-game{display:inline-block;color:#0066cc;text-decoration:none;font-size:14px;margin-bottom:16px;padding:8px 16px;background-color:#e0e0e0;border-color:#fff #7b7b7b #7b7b7b #fff;border-style:solid;border-width:2px}.back-to-game:hover{background-color:#d0d0d0;text-decoration:none}.back-to-game:active{border-color:#7b7b7b #fff #fff #7b7b7b}.privacy-policy-header h1{margin:0;font-size:24px;color:#000;font-weight:700}.privacy-policy-content{max-width:700px;margin:0 auto;background-color:#f0f0f0;padding:24px;border-color:#7b7b7b #fff #fff #7b7b7b;border-style:solid;border-width:2px;line-height:1.6;text-align:center}.privacy-policy-content section{margin-bottom:24px}.privacy-policy-content h2{font-size:18px;color:#000;margin:0 0 12px;font-weight:700;text-align:center}.privacy-policy-content p{margin:0 0 12px;color:#000;font-size:14px;text-align:center}.privacy-policy-content ul{margin:12px 0;padding-left:24px;text-align:left;display:inline-block}.privacy-policy-content li{margin:8px 0;color:#000;font-size:14px}.privacy-policy-content a{color:#0066cc;text-decoration:underline}.privacy-policy-content a:hover{color:#004499}.privacy-policy-content a:visited{color:#800080}@media (max-width:768px){.App{padding-bottom:120px}.game-wrapper{margin-bottom:30px}.attribution-content{flex-direction:column;align-items:flex-start;gap:4px}.attribution{padding:6px 12px}.privacy-policy-content,.privacy-policy-page{padding:16px}}@keyframes press-feedback{0%{background-color:#c0c0c0}50%{background-color:#a0a0a0}to{background-color:#c0c0c0}}.longpress-feedback{animation:press-feedback .3s ease}.top-menu{border-bottom:2px solid #7b7b7b;padding:2px 16px;display:flex;gap:8px;box-shadow:0 2px 4px rgba(0,0,0,.1);box-sizing:border-box;width:100%}.menu-button,.top-menu{background-color:#c0c0c0}.menu-button{padding:2px 12px;font-family:Courier New,Courier,monospace;font-size:14px;font-weight:400;border-color:#fff #7b7b7b #7b7b7b #fff;border-style:solid;border-width:2px;cursor:pointer;outline:none;color:#000;white-space:nowrap;height:auto;line-height:normal;text-decoration:none;display:inline-block}.menu-button:hover{background-color:#d0d0d0}.menu-button:active{border-color:#7b7b7b #fff #fff #7b7b7b}.help-modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background-color:rgba(0,0,0,.5);display:flex;align-items:center;justify-content:center;z-index:1000}.help-modal{background-color:#c0c0c0;border-color:#fff #7b7b7b #7b7b7b #fff;border-style:solid;border-width:3px;width:90%;max-width:500px;max-height:80vh;overflow-y:auto;font-family:Courier New,Courier,monospace}.help-header{background-color:#0f5197;color:white;padding:8px 12px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #7b7b7b}.help-header h3{margin:0;font-size:14px;font-weight:700}.close-button{background-color:#c0c0c0;border-color:#fff #7b7b7b #7b7b7b #fff;border-style:solid;border-width:2px;width:20px;height:20px;display:flex;align-items:center;justify-content:center;cursor:pointer;font-size:12px;font-weight:700;color:#000;padding:0}.close-button:hover{background-color:#d0d0d0}.close-button:active{border-color:#7b7b7b #fff #fff #7b7b7b}.help-content{padding:16px;text-align:left;color:#000}.help-content h4{margin:16px 0 8px;font-size:16px;font-weight:700}.help-content ul{margin:8px 0;padding-left:20px}.help-content li{margin:4px 0;font-size:15px;line-height:1.6}.help-content strong{font-weight:700}.not-found-page{min-height:100vh;display:flex;flex-direction:column;align-items:center;justify-content:center;font-family:Courier New,Courier,monospace;background-color:#dfdfdf;text-align:center}.not-found-content{background-color:#c0c0c0;padding:40px;border-color:#fff #7b7b7b #7b7b7b #fff;border-style:solid;border-width:3px;max-width:500px}.not-found-content h1{font-size:3rem;margin-bottom:20px;color:#000;text-shadow:2px 2px 0 #7b7b7b}.not-found-content p{font-size:1.2rem;margin-bottom:30px;color:#333;line-height:1.5}.back-to-home{display:inline-block;color:#0066cc;text-decoration:none;font-size:14px;margin-bottom:16px;padding:8px 16px;background-color:#e0e0e0;border-color:#fff #7b7b7b #7b7b7b #fff;border-style:solid;border-width:2px;cursor:pointer;font-family:Courier New,Courier,monospace;font-weight:700}.back-to-home:hover{background-color:#d0d0d0;text-decoration:none}.back-to-home:active{border-color:#7b7b7b #fff #fff #7b7b7b}.home-page{display:flex;flex-direction:column;min-height:auto;flex:1 1;width:100%}.home-page .attribution{margin-top:auto}.game-scroll-container{width:100%;overflow-x:auto}.game-scroll-inner{width:-moz-fit-content;width:fit-content;margin:0 auto;display:flex;flex-direction:column;align-items:center}.main-layout{align-items:flex-start;width:100%;padding:20px 0;box-sizing:border-box}.game-content,.main-layout{display:flex;justify-content:center}.game-content{flex-direction:column;align-items:center;min-width:-moz-fit-content;min-width:fit-content;flex-grow:0;flex-shrink:0}.ad-banner{width:100%;margin-top:16px}.ad-banner .adsbygoogle{width:100%;display:block}.ad-below{width:100%;max-width:400px}.game-article{max-width:800px;margin:40px auto 30px;padding:0 20px;box-sizing:border-box;width:100%;display:flex;flex-direction:column;align-items:center}.article-content{background-color:#f0f0f0;padding:24px;border-color:#7b7b7b #fff #fff #7b7b7b;border-style:solid;border-width:2px;line-height:1.6;font-family:Courier New,Courier,monospace;color:#000}.article-content h2{font-size:24px;margin:0 0 20px;padding-bottom:12px;border-bottom:2px solid #c0c0c0}.article-content h2,.article-content h3{color:#000;font-weight:700;text-align:center}.article-content h3{font-size:18px;margin:24px 0 12px}.article-content h4{font-size:16px;color:#000;margin:16px 0 8px;font-weight:700}.article-content p{margin:0 0 12px;color:#000;font-size:14px;text-align:justify}.article-content ul{margin:12px 0;padding-left:24px}.article-content li{margin:8px 0;color:#000;font-size:14px}.article-content strong{font-weight:700;color:#000}.article-content section{margin-bottom:20px}.difficulty-info{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));grid-gap:16px;gap:16px;margin:16px 0}.difficulty-item{background-color:#e0e0e0;padding:12px;border:1px solid #c0c0c0;border-radius:0}.difficulty-item h4{margin:0 0 8px;color:#000;font-size:14px;font-weight:700}.difficulty-item p{margin:0;font-size:13px;color:#333}@media (max-width:768px){.game-article{margin:20px auto 0;padding:0 16px}.article-content{padding:16px}.article-content h2{font-size:20px}.article-content h3{font-size:16px}.difficulty-info{grid-template-columns:1fr;gap:12px}}.footer-links{display:flex;flex-wrap:wrap;gap:12px}.footer-link{color:#0066cc;text-decoration:none;font-size:12px}.footer-link:hover{text-decoration:underline}@media (min-width:1024px){.game-scroll-container{overflow-x:visible}.game-scroll-inner{width:100%}}