.game-library{gap:20px;min-width:0;display:grid}.gl-hero{background:linear-gradient(115deg,#16191e,#2d2531);justify-content:space-between;align-items:center;gap:16px;display:flex;color:#fff!important}.gl-hero h2,.gl-hero p{color:inherit}.gl-actions{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.gl-actions h3{margin-right:auto}.gl-stats{grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:10px;display:grid}.gl-stats article{background:#fff;border:1px solid #dedbd2;border-radius:12px;padding:16px}.gl-stats b{font-size:28px;display:block}.gl-stats span{font-size:13px}.gl-tabs{gap:8px;padding:4px;display:flex;overflow:auto}.gl-tabs button{white-space:nowrap;color:#252525;background:#fff;border:1px solid #ddd;border-radius:12px;padding:12px 16px}.gl-tabs .active{color:#f3c951;background:#17191f}.gl-fields{grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:14px;margin:16px 0;display:grid}.game-library label,.gl-login label{gap:6px;font-size:14px;display:grid}.game-library input,.game-library select,.game-library textarea,.gl-login input{color:#17191f;background:#fff;border:1px solid #c9c7c1;border-radius:8px;width:100%;min-width:0;padding:11px}.game-library .gl-check{align-items:center;gap:8px;margin:8px 12px 8px 0;display:inline-flex}.gl-check input{width:18px;height:18px}.gl-add form,.gl-login form,.gl-editor{gap:14px;display:grid}.gl-add form{margin-bottom:16px}.gl-upload{cursor:pointer;position:relative}.gl-upload input{opacity:0;cursor:pointer;position:absolute;inset:0}.gl-cards{scroll-snap-type:x proximity;grid-template-columns:none;grid-auto-columns:min(320px,90%);grid-auto-flow:column;gap:18px;min-width:0;padding-bottom:12px;display:grid;overflow-x:auto}.gl-cards>.gl-card{scroll-snap-align:start;min-width:0}.gl-cards:focus-visible{outline-offset:4px;outline:2px solid #b48b24}.gl-card{flex-direction:column;gap:10px;display:flex;overflow:hidden}.gl-card h3,.gl-card p{margin:0}.gl-thumb,.gl-placeholder{object-fit:cover;border-radius:10px;width:100%;height:170px}.gl-placeholder{color:#ffe38d;background:linear-gradient(135deg,#243c64,#8d2736);place-items:center;font-weight:700;display:grid}.gl-tags{flex-wrap:wrap;gap:6px;display:flex}.gl-tags span{color:#38382f;background:#f2efe6;border-radius:20px;padding:5px 9px;font-size:12px}.gl-status{color:#8b4d05;font-size:12px;font-weight:700}.gl-status.ready{color:#237246}.gl-status.processing{color:#254998}.gl-card .gl-actions{margin-top:auto}.gl-overlay{z-index:150;background:#0009;place-items:start center;padding:20px;display:grid;position:fixed;inset:0;overflow:auto}.gl-dialog{gap:14px;width:min(100%,760px);margin:30px 0;display:grid;position:relative}.gl-dialog h2{padding-right:75px}.gl-dialog video{background:#111;width:100%;max-height:420px}.gl-close{position:absolute;top:16px;right:16px}.gl-copy{white-space:pre-wrap;line-height:1.7}.gl-plan{border-top:1px solid #dedbd4;padding:16px 0}.gl-plan h4{margin:0}.gl-supply-input{grid-template-columns:2fr 1fr 1fr auto;gap:8px;display:grid}.gl-alert{color:#8e2020;background:#ffe8e8;border-radius:10px;padding:14px}.gl-notice{color:#664700;background:#fff6d9;border-radius:10px;padding:14px}.gl-login{max-width:500px;margin:30px auto}.gl-login img{border-radius:12px}.gl-page{max-width:1300px;margin:auto;padding:24px}.gl-page-header{align-items:center;gap:14px;margin-bottom:20px;display:flex}.gl-page-header img{border-radius:10px;width:64px}.gl-page-header a{color:inherit;text-decoration:none}.gl-page-header p{margin:3px 0}@media (max-width:600px){.gl-page{padding:12px}.gl-hero{flex-direction:column;align-items:start}.gl-overlay{padding:8px}.gl-dialog{margin:8px 0;padding:18px!important}.gl-supply-input{grid-template-columns:1fr 1fr}.gl-supply-input input:first-child{grid-column:1/-1}.gl-fields{grid-template-columns:1fr 1fr}.gl-fields label{min-width:0}.gl-stats{grid-template-columns:1fr 1fr}}.gl-thumb{aspect-ratio:16/9;height:auto}.gl-add{scroll-margin-top:100px}.gl-crop-overlay{z-index:170}.gl-crop-canvas{aspect-ratio:16/9;touch-action:none;cursor:grab;background:#eee;border-radius:12px;width:100%;height:auto;display:block}.gl-crop-canvas:active{cursor:grabbing}.game-library input[type=range]{accent-color:#b48b24;padding:8px 0}.gl-options{border-top:1px solid #e1ddd3;margin:8px 0;padding-top:12px}.gl-options summary{cursor:pointer;color:#625019;padding:8px 0;font-weight:600}.gl-options[open]>summary{margin-bottom:12px}.gl-card-description{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.gl-tools{min-width:150px}.gl-tabs{flex-wrap:wrap;align-items:center}.gl-tabs .gl-tools{margin-left:auto}.gl-tools select{padding:8px}.gl-card .gl-actions{justify-content:space-between}.gl-editor fieldset{border:1px solid #dedbd2;border-radius:10px}.gl-options>.gl-actions{margin-top:12px}@media (max-width:600px){.gl-tabs .gl-tools{flex:1;margin-left:0}.gl-options .gl-fields{grid-template-columns:1fr}}.gl-thumb{aspect-ratio:auto;object-fit:contain;background:#f2efe6;height:auto;max-height:420px}.gl-crop-preview{background:#e4e0d7;border-radius:12px;justify-content:center;align-items:center;min-height:100px;padding:8px;display:flex}.gl-crop-canvas{aspect-ratio:auto;border-radius:8px;max-width:100%}.gl-number{color:#812238;letter-spacing:.07em;background:#f7edd8;border-radius:999px;align-items:center;width:max-content;margin:0;padding:4px 9px;font-size:12px;font-weight:800;display:inline-flex}.gl-dialog h2 .gl-number{vertical-align:middle;font-size:12px}
