.account-dialog{border:1px solid #cbd6be;border-radius:16px;padding:28px;width:min(440px,calc(100% - 32px));color:#263224;background:#fafcf7;box-shadow:0 24px 80px #0003}.account-dialog::backdrop{background:#17201799}.account-top{display:flex;justify-content:space-between;align-items:center;gap:12px}.account-top h2{margin:0}.account-close{border:0;background:transparent;padding:10px;font-size:18px}.account-intro{font-size:14px;color:#718066;line-height:1.6}.account-dialog label{display:flex;flex-direction:column;gap:8px;margin:16px 0;font-size:13px}.account-dialog input{font-size:16px;padding:12px}.account-error{color:#a33434;font-size:13px}.account-switch{background:none;border:0;padding:16px 0;width:100%;color:#526e35;font-size:13px}.account-note{font-size:11px;line-height:1.6;color:#7d8875}.library-main{padding:50px 0;min-height:70vh}.library-heading{display:flex;justify-content:space-between;align-items:center;gap:30px}.library-heading h1{font-size:52px;letter-spacing:-2px;margin:18px 0 10px}.library-heading p{color:#7b8673}.new-game{display:block;width:auto;white-space:nowrap}.game-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:22px;margin-top:28px}.game-card{background:#fff;border:1px solid #dae2d1;border-radius:14px;overflow:hidden}.game-art{height:105px;background:radial-gradient(#a6be8b 1px,transparent 1px),#edf4e5;background-size:14px 14px;display:flex;align-items:center;justify-content:space-between;padding:24px;color:#617e42}.game-art>span{font-size:45px}.game-art small{background:#fff9;border:1px solid #cddbc0;padding:5px 9px;border-radius:20px;font-size:10px}.game-info{padding:22px}.game-info h2{overflow-wrap:anywhere;font-size:21px;margin:0 0 12px}.game-meta{font-size:11px;color:#839178;line-height:1.7}.game-actions{display:flex;gap:10px;margin:20px 0}.game-actions a,.game-actions button{border:1px solid #c9d8bb;border-radius:6px;padding:10px;background:#f4f8ed;font-size:12px}.game-info details{border-top:1px solid #e3e9dc;padding-top:15px}.game-info summary{cursor:pointer;font-size:13px;font-weight:600}.game-info details p{font-size:12px;line-height:1.6;color:#7c8971}.game-info input[type=file]{width:100%;font-size:12px;margin:5px 0 12px}.game-result{font-size:12px;color:#526e35;overflow-wrap:anywhere}.game-result.error{color:#a33434}.library-empty{border:1px dashed #c6d3b9;border-radius:15px;text-align:center;padding:48px 20px;background:#f1f5ea}.library-empty .empty-icon{margin:auto}.library-empty p{color:#77876b}.library-empty .primary{width:auto;min-width:200px}.library-legacy{font-size:12px;line-height:1.6;color:#819073;margin-top:30px}#library-message{color:#a33434}#account-button{font-size:13px}@media(max-width:650px){.library-heading{align-items:start;flex-direction:column;gap:12px}.library-heading h1{font-size:44px}.library-main{padding-top:32px}.new-game{width:100%}}

@media(max-width:650px){nav>a.my-games-link{display:inline-block;margin-right:14px}}
.animation-settings{border-top:1px solid #e3e9dc;padding-top:15px;margin:0 0 18px}.animation-toggle{display:flex;flex-direction:row!important;align-items:center;gap:9px;margin:14px 0 4px!important;font-size:13px!important;font-weight:600}.animation-toggle input{width:18px;height:18px;accent-color:#668b3f}.animation-help{font-size:12px;line-height:1.55;color:#7c8971}.duration-label{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:14px 0;font-size:12px}.duration-label select{border:1px solid #cbd6be;border-radius:6px;padding:8px;background:#fff;color:#263224}.export-mp4{width:100%;padding:11px}.mp4-dialog{border:1px solid #cbd6be;border-radius:16px;padding:24px;width:min(560px,calc(100% - 28px));max-width:none;color:#263224;background:#fafcf7;box-shadow:0 24px 80px #0005}.mp4-dialog::backdrop{background:#172017bb}.mp4-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px}.mp4-heading h2{font-size:21px;overflow-wrap:anywhere;margin:7px 0 0}.mp4-heading button{border:0;border-radius:8px;background:#edf4e5;padding:9px 12px}.mp4-dialog #record-stage{width:min(480px,100%);aspect-ratio:4/3;margin:auto;background:#20261e;border-radius:8px;overflow:hidden}.mp4-dialog #record-stage>*{width:100%!important;height:100%!important}.mp4-status{min-height:40px;font-size:13px;line-height:1.5;color:#526e35}.mp4-actions{display:flex;align-items:center;gap:12px}.mp4-actions .primary{width:auto;flex:1}.mp4-actions .text{padding:10px 16px}.mp4-note{font-size:11px;line-height:1.55;color:#7d8875;margin-bottom:0}@media(max-width:520px){.mp4-dialog{padding:17px}.mp4-heading h2{font-size:18px}.mp4-actions .primary{padding:12px 10px;font-size:12px}}
.animation-settings{background:#f5f8ef;border:1px solid #dfe8d4;border-radius:10px;padding:14px;margin:14px 0 18px}.animation-settings>strong{display:block;font-size:13px;color:#31412a}.animation-toggle{cursor:pointer}.animation-help{margin:5px 0 10px 27px}.export-options[hidden]{display:none!important}
.mp4-dialog #stop-capture{width:100%;margin-top:8px;padding:12px}.mp4-dialog #mp4-progress{display:block;width:100%;height:12px;margin:12px 0;accent-color:#668b3f}.mp4-dialog #mp4-progress[hidden]{display:none}.video-state{font-size:12px;line-height:1.5;color:#526e35;overflow-wrap:anywhere}.video-progress{display:block;width:100%;height:8px;margin:7px 0 12px;accent-color:#668b3f}.video-progress[hidden]{display:none}.video-action{width:100%;padding:10px}
.mp4-dialog #record-stage{position:fixed!important;left:-10000px!important;top:0!important;width:480px!important;height:360px!important;margin:0!important;border:0!important;pointer-events:none!important}.mp4-dialog #record-stage>*{width:480px!important;height:360px!important}
#record-stage{position:fixed!important;left:-10000px!important;top:0!important;width:480px!important;height:360px!important;margin:0!important;border:0!important;pointer-events:none!important}#record-stage>*{width:480px!important;height:360px!important}.video-stop{width:100%;margin-top:8px;padding:10px;border:1px solid #c9d8bb;border-radius:6px;background:#f4f8ed;color:#35452e;font-size:12px}.video-stop[hidden]{display:none!important}
