#game-legal-dialog[hidden]{display:none!important}#game-legal-dialog{position:absolute;inset:0;z-index:110;display:flex;justify-content:center;align-items:center;padding:16px;background:#020908c9;box-sizing:border-box;color:#ece8da;font:14px/1.85 -apple-system,BlinkMacSystemFont,"Microsoft YaHei",sans-serif;touch-action:pan-y;text-align:left}#game-legal-dialog *{box-sizing:border-box}.game-legal-panel{width:min(880px,100%);height:min(630px,100%);min-height:0;display:flex;flex-direction:column;background:#16231e;border:1px solid #9b8458;border-radius:10px;box-shadow:0 15px 70px #0008;overflow:hidden}.game-legal-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 20px;border-bottom:1px solid #667147}.game-legal-header h2{font-size:20px;margin:0;color:#e5c78c}.game-legal-close{border:0;background:transparent;font:24px/1 sans-serif;color:#e5d6b6;cursor:pointer;padding:7px}.game-legal-tabs{display:flex;gap:10px;padding:12px 20px 5px}.game-legal-tabs button{flex:1;font:inherit;padding:7px 12px;border:1px solid #64714f;border-radius:4px;background:#26372c;color:#c9ccb6;cursor:pointer}.game-legal-tabs button[aria-pressed=true]{color:#efd39c;border-color:#cbb077}.game-legal-note{font-size:12px;color:#b4bca7;margin:7px 20px 10px}.game-legal-content{flex:1;min-height:0;overflow-y:auto;padding:4px 22px 18px;overscroll-behavior:contain;touch-action:pan-y;white-space:normal;overflow-wrap:anywhere;-webkit-overflow-scrolling:touch}.game-legal-content p{margin:14px 0;line-height:1.95}.game-legal-content h2,.game-legal-content h3{font-size:16px;color:#e0c38b}.game-legal-content dd{margin:4px 0 10px}.game-legal-actions{padding:10px 20px;border-top:1px solid #56613f;text-align:right}.game-legal-actions button{background:#cfb27b;border:0;border-radius:4px;padding:9px 22px;color:#18261e;font:inherit;cursor:pointer}.game-legal-trigger{display:inline!important;border:0!important;background:none!important;color:#d9bc83!important;padding:0!important;margin:0!important;width:auto!important;font:inherit!important;text-decoration:underline;cursor:pointer}#game-legal-dialog button:focus-visible,#game-legal-dialog .game-legal-content:focus-visible{outline:2px solid #e8cd94;outline-offset:2px}body.game-legal-reading,body.game-legal-reading #game-frame{touch-action:pan-y}@media(max-height:450px){#game-legal-dialog{padding:8px}.game-legal-header{padding:6px 14px}.game-legal-header h2{font-size:17px}.game-legal-tabs{padding:6px 14px 0}.game-legal-note{margin:4px 14px;font-size:11px}.game-legal-content{padding:0 14px 8px;font-size:12px}.game-legal-actions{padding:6px 14px}}