/* Opening notice is outside the scaled game device. */
.opening-notice{position:fixed;inset:0;margin:auto;width:calc(100% - 32px);max-width:480px;max-height:calc(100vh - 32px);max-height:calc(100dvh - 32px);padding:0;border:1px solid #dcd8ce;border-radius:16px;background:#faf8f2;color:#293b35;overflow:auto;overscroll-behavior:contain;box-sizing:border-box;font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif}
.opening-notice::backdrop{background:rgba(10,16,14,.82)}
.opening-notice-content{padding:28px 28px 0}
.opening-notice .opening-notice-eyebrow{margin:0 0 10px;font-size:12px;letter-spacing:2px;color:#768176}
.opening-notice h1{margin:0 0 22px;font-size:23px;line-height:1.4;font-weight:600}
.opening-notice h1:focus{outline:none}
.opening-notice p{margin:0 0 16px;font-size:15px;line-height:1.85;overflow-wrap:anywhere}
.opening-notice-warning{margin-top:22px;padding:18px;background:#edeae0;border-radius:10px}
.opening-notice-warning p:last-child{margin-bottom:0}
.opening-notice .opening-notice-rating{font-size:14px;color:#675c47}
.opening-notice-rating strong{margin-left:6px;font-size:21px}
.opening-notice-actions{padding:22px 28px 28px}
.opening-notice-actions button{display:block;width:100%;min-height:48px;border:0;border-radius:8px;padding:12px;background:#2c443d;color:#fff;font:inherit;font-size:15px;cursor:pointer}
.opening-notice-actions button:hover{background:#38564d}
.opening-notice-actions button:focus-visible{outline:3px solid #738d7d;outline-offset:3px}
@media(max-width:380px){.opening-notice-content{padding:22px 20px 0}.opening-notice-actions{padding:20px}.opening-notice h1{font-size:21px}}

.opening-mode{min-width:0;border:0;padding:0;margin:0 0 20px}
.opening-mode legend{padding:0;margin-bottom:12px;font-size:15px;font-weight:600}
.opening-mode label{display:flex;align-items:center;gap:12px;padding:13px 14px;margin-bottom:9px;border:1px solid #dcd8ce;border-radius:8px;cursor:pointer}
.opening-mode label:has(input:checked){border-color:#527666;background:#eaf0ed}
.opening-mode input{flex:none;width:18px;height:18px;margin:0;accent-color:#2c443d}
.opening-mode span{min-width:0}
.opening-mode strong{display:block;font-size:15px;font-weight:600}
.opening-mode small{display:block;margin-top:4px;font-size:12px;line-height:1.5;color:#647268}
.opening-mode input:focus-visible{outline:2px solid #527666;outline-offset:4px}
