.game-sheet-dialog{width:820px}.game-sheet-dialog .dialog-inner{padding:23px 26px 25px}.sheet-heading h2{margin-bottom:13px;font-size:28px}.sheet-heading .detail-meta{margin:0 0 18px;gap:8px}.sheet-heading .dialog-badge{font-size:10px;margin-top:2px}.game-gallery{margin:0 0 23px}.gallery-stage{position:relative;display:grid;place-items:center;border:2px solid;background:#0f130f;min-height:120px}.gallery-main{display:block;max-width:100%;padding:0;border:0;line-height:0;cursor:zoom-in}.gallery-main img{display:block;width:100%;max-height:350px;height:auto;aspect-ratio:8/5;object-fit:contain;image-rendering:pixelated}.gallery-arrow{position:absolute;z-index:1;top:calc(50% - 18px);height:36px;width:30px;border:1px solid;background:var(--paper);box-shadow:2px 2px var(--ink);font-size:12px;padding:0}.gallery-arrow.previous{left:10px}.gallery-arrow.next{right:10px}.gallery-arrow:hover{background:var(--ink);color:var(--paper)}.gallery-arrow:disabled{opacity:.3;cursor:default}.gallery-position{position:absolute;right:10px;bottom:9px;background:var(--ink);border:1px solid var(--paper);color:var(--paper);font-size:10px;padding:4px 7px;line-height:1.3}.gallery-thumbnails{display:flex;gap:10px;margin-top:12px;overflow-x:auto;padding:2px 2px 4px;scrollbar-width:thin}.gallery-thumbnails button{display:block;padding:3px;border:1px solid;background:var(--chrome);position:relative;flex:0 0 109px;line-height:0}.gallery-thumbnails button[aria-pressed=true]{outline:2px solid;outline-offset:1px;background:var(--ink)}.gallery-thumbnails img{display:block;width:100%;height:62px;object-fit:cover;image-rendering:pixelated}.gallery-thumbnails span{position:absolute;left:3px;bottom:3px;font-size:9px;line-height:14px;padding:0 4px;background:var(--paper);color:var(--ink)}.gallery-caption{display:flex;justify-content:space-between;align-items:center;gap:15px;font-size:10px;line-height:1.6;margin-top:7px}.gallery-caption>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.gallery-caption button{font-size:11px;border:0;padding:0;text-decoration:underline;white-space:nowrap}.sheet-description{border-top:1px dashed;padding-top:18px}.sheet-description h3{font-weight:400;font-size:18px;margin:0 0 12px}.sheet-description>p,.description-full p{font-size:15px;line-height:1.8;margin:0 0 17px}.description-drawer{border:1px solid;margin-top:17px;background:#efefe5}.description-drawer summary{padding:12px 14px;display:flex;align-items:center;justify-content:space-between;cursor:pointer;list-style:none;font-size:14px;user-select:none}.description-drawer summary::-webkit-details-marker{display:none}.description-drawer summary:hover{background:var(--chrome)}.description-drawer summary:focus-visible{outline:2px dashed;outline-offset:3px}.description-sign{display:grid;place-items:center;width:20px;height:20px;border:1px solid;font-size:17px;background:var(--paper)}.description-drawer[open] summary{border-bottom:1px solid}.description-full{padding:16px 17px 14px;background:var(--paper)}.collapse-description{border:0;font-size:12px;text-decoration:underline;padding:0;line-height:1.6}.game-sheet-dialog .source-note{font-size:10px!important;margin-top:23px}.game-sheet-dialog .dialog-actions{gap:10px}.game-sheet-dialog .dialog-actions .gem-button{font-size:12px;padding:7px 10px}.gallery-lightbox{width:1050px;max-width:calc(100vw - 28px);max-height:calc(100dvh - 28px);padding:0;background:#11170f}.gallery-full-stage{display:grid;place-items:center;padding:13px;min-height:130px}.gallery-full-stage img{max-width:100%;width:auto;height:auto;max-height:calc(100dvh - 170px);image-rendering:pixelated;object-fit:contain}.gallery-full-controls{display:flex;gap:14px;align-items:center;justify-content:space-between;background:var(--chrome);border-top:2px solid;padding:10px 13px}.gallery-full-controls .gem-button{font-size:11px;padding:2px 8px;line-height:20px}.gallery-full-controls span{font-size:12px;line-height:1.5;text-align:center}.gallery-full-controls button:disabled{opacity:.3;cursor:default;transform:none;box-shadow:none}
.gallery-main{width:100%}.gallery-thumbnails button{flex-basis:calc((100% - 30px)/4);min-width:64px}
@media(min-width:900px){.game-sheet-dialog{width:920px}.sheet-columns{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:23px;align-items:start}.sheet-columns .game-gallery{margin-bottom:0}.sheet-columns .sheet-description{border-top:0;border-left:1px dashed;padding-top:0;padding-left:22px}.gallery-main img{max-height:260px}.sheet-description>p,.description-full p{font-size:14px;line-height:1.75}.sheet-description h3{font-size:17px}.description-drawer summary{font-size:13px}.gallery-caption{font-size:9px}.gallery-caption button{font-size:10px}}
@media(max-width:650px){.game-sheet-dialog .dialog-inner{padding:18px 14px 20px}.sheet-heading h2{font-size:25px}.sheet-heading .detail-meta{font-size:10px;gap:6px}.gallery-main img{max-height:260px}.gallery-arrow{width:24px;height:31px;top:calc(50% - 16px);font-size:10px}.gallery-arrow.previous{left:5px}.gallery-arrow.next{right:5px}.gallery-position{right:6px;bottom:6px;font-size:8px;padding:3px 5px}.gallery-thumbnails{gap:8px}.gallery-thumbnails button{flex-basis:calc((100% - 24px)/4);min-width:62px;padding:2px}.gallery-thumbnails img{height:45px}.gallery-thumbnails span{font-size:7px;line-height:12px;left:2px;bottom:2px}.gallery-caption{font-size:8px;gap:10px}.gallery-caption button{font-size:10px}.sheet-description h3{font-size:17px}.sheet-description>p,.description-full p{font-size:14px;line-height:1.75}.description-drawer summary{font-size:13px;padding:10px 12px}.description-full{padding:14px 12px}.game-sheet-dialog .dialog-actions .gem-button{font-size:11px;padding:6px 9px}.gallery-full-controls{gap:9px;padding:9px}.gallery-full-controls span{font-size:10px}.gallery-full-controls .gem-button{font-size:9px;padding:2px 6px}.gallery-full-stage{padding:7px}}
