@charset "UTF-8";
.portal-home-content .home-file-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;min-width:0}
.home-file-card{position:relative;min-width:0;display:flex;flex-direction:column;background:var(--portal-bg);border:1px solid var(--portal-border);border-radius:12px;overflow:hidden;box-shadow:0 4px 16px #00000012;transition:border-color .18s,box-shadow .18s}
.home-file-card:hover{border-color:#685237;box-shadow:0 9px 26px #00000021}
.home-file-media{position:relative;background:var(--portal-sidebar);border-bottom:2px solid #f5a53b38}
.portal-page .home-file-cover{display:block;position:relative;width:100%;aspect-ratio:16/9;overflow:hidden;padding:0;border:0;background:var(--portal-sidebar);color:var(--portal-text);cursor:zoom-in}
.home-file-cover>img{width:100%;height:100%;display:block;object-fit:cover;transition:transform .3s}
.home-file-cover:hover>img{transform:scale(1.025)}
.portal-page .home-file-cover:focus-visible{outline-offset:-5px}
.home-file-enlarge{position:absolute;right:10px;top:10px;display:grid;place-items:center;width:28px;height:28px;padding:0;border:1px solid #ffffff23;border-radius:6px;background:#0e1013c9;color:transparent;font-size:0;pointer-events:none}
.home-file-enlarge .icon{width:14px;height:14px;color:#e8edf3}
.portal-page .home-file-category{position:absolute;top:10px;left:10px;max-width:calc(100% - 57px);padding:5px 9px;border:1px solid #f5a53b66;border-radius:6px;background:#2b2219ed;color:#f7b75f;font-size:9px;font-weight:750;line-height:1.4;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.portal-page .home-file-category:hover{background:#47331e;color:#ffcf90;text-decoration:none}
.home-file-game{position:absolute;right:10px;bottom:10px;max-width:calc(100% - 20px);padding:4px 7px;border:1px solid #ffffff20;border-radius:5px;background:#0d1014dc;color:#d5dbe4;font-size:9px;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;pointer-events:none}
.home-file-game>span{color:#aab3c0;font-weight:400}
.portal-page .home-file-cover--empty{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:13px;cursor:pointer;color:#ad956f;background:radial-gradient(ellipse at center,#302b22 0,transparent 70%),repeating-linear-gradient(135deg,transparent,transparent 30px,#ffffff03 31px,#ffffff03 32px),var(--portal-sidebar);font-size:16px;font-weight:700;letter-spacing:.04em}
.home-file-cover--empty>.icon{width:44px;height:44px;color:var(--portal-accent);stroke-width:1.2}
.home-file-gallery-bar{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:45px;padding:7px 12px;border-bottom:1px solid var(--portal-border);background:var(--portal-sidebar)}
.home-file-gallery-bar>span{display:flex;align-items:center;gap:4px;flex:none;font-size:9px;color:#959eac}
.home-file-gallery-total{color:var(--portal-accent);font-size:9px;font-variant-numeric:tabular-nums}
.home-file-thumbnails{display:flex;justify-content:flex-end;gap:4px;min-width:0}
.portal-page .home-file-thumbnails>button{display:block;flex:0 1 31px;width:31px;min-width:0;aspect-ratio:4/3;padding:0;overflow:hidden;border:1px solid #424853;border-radius:4px;background:var(--portal-bg);cursor:zoom-in;transition:border-color .18s}
.home-file-thumbnails>button:hover,.home-file-thumbnails>button:focus-visible{border-color:var(--portal-accent)}
.home-file-thumbnails img{display:block;width:100%;height:100%;object-fit:cover}
.home-file-body{padding:17px 15px 14px;display:flex;flex-direction:column;flex:1;min-width:0}
.portal-page .home-file-body h3{margin:0;font-size:16px;line-height:1.45;letter-spacing:-.015em;overflow-wrap:anywhere}
.home-file-body h3>a:hover{color:var(--portal-accent)}
.portal-page .home-file-summary{margin:11px 0 14px;color:#a7b1be;font-size:11px;line-height:1.75;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}
.home-file-byline{display:flex;align-items:center;flex-wrap:wrap;gap:6px 12px;margin-top:auto;color:#8e99a9;font-size:9px;line-height:1.5}
.home-file-byline>span,.home-file-byline>time{display:flex;align-items:center;gap:5px;min-width:0;overflow-wrap:anywhere}
.home-file-byline .icon{flex:none;width:12px;height:12px;color:#c28d49}
.home-file-byline time{flex:none;font-variant-numeric:tabular-nums}
.home-file-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;min-width:0;margin-top:15px}
.home-file-actions>*{min-width:0}
.home-file-download{margin:0}
.portal-page .home-file-actions .portal-button{width:100%;min-height:36px;margin:0;padding:8px 7px;gap:5px;border-radius:7px;font:700 10px/1.3 var(--font);text-transform:none;letter-spacing:0}
.home-file-actions .icon{width:13px;height:13px;flex:none}
.portal-page .home-file-download-unavailable{display:flex;align-items:center;justify-content:center;gap:5px;border:1px solid var(--portal-border);border-radius:7px;color:var(--portal-muted);font-size:10px}
.home-file-footer{display:flex;align-items:center;flex-wrap:wrap;justify-content:space-between;gap:8px;padding:10px 12px;border-top:1px solid var(--portal-border);background:var(--portal-sidebar)}
.home-file-stats{display:flex;align-items:center;flex-wrap:wrap;gap:8px 12px;color:#cbd2db;font-size:10px;line-height:1.4}
.home-file-stats>span{display:flex;align-items:center;gap:4px;min-width:0}
.home-file-stats .icon{width:13px;height:13px;color:var(--portal-accent)}
.home-file-stats strong{font-size:10px;color:#d8dfe8;font-weight:650;font-variant-numeric:tabular-nums}
.home-file-feedback{display:flex;align-items:center;gap:6px;margin-left:auto}
.portal-page .home-file-feedback .like-controls{display:inline-flex;align-items:center;gap:0;flex-wrap:nowrap;border:1px solid #343b45;border-radius:16px;background:#1d2229;overflow:hidden;white-space:nowrap}
.portal-page .home-file-feedback :is(.product-like,.like-heart-readonly){display:inline-flex;align-items:center;justify-content:center;flex:none;width:28px;min-width:28px;min-height:29px;height:29px;margin:0;border:0;border-radius:0;padding:0;background:transparent;color:#a0aab8;cursor:pointer}
.portal-page .home-file-feedback .like-heart-readonly{cursor:default}
.home-file-feedback .product-like .icon,.home-file-feedback .like-heart-readonly .icon{width:14px;height:14px}
.portal-page .home-file-feedback .product-like:hover{background:#332b27;color:var(--portal-accent)}
.portal-page .home-file-feedback .product-like[aria-pressed="true"]{color:var(--portal-accent);background:#f5a53b12}
.portal-page .home-file-feedback .product-like[aria-pressed="true"] .icon{fill:currentColor}
.portal-page .home-file-feedback .like-statistics-button{min-width:0;min-height:29px;margin:0;border:0;border-radius:0;padding:5px 9px 5px 0;background:transparent;color:#d8dfe8;font:650 10px/1.3 var(--font)}
.portal-page .home-file-feedback .like-statistics-button:hover{background:#292e36;color:var(--portal-accent)}
.home-file-feedback [data-like-label]{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.portal-page .home-file-favorite{display:inline-flex;align-items:center;justify-content:center;flex:none;width:31px;min-width:31px;min-height:31px;padding:0;margin:0;border:1px solid #343b45;border-radius:7px;background:#1d2229;color:#a0aab8;cursor:pointer}
.home-file-favorite .icon{width:14px;height:14px}
.portal-page .home-file-favorite:hover{background:#322a21;color:var(--portal-accent);border-color:#7a5a33}
.portal-page .home-file-favorite[aria-pressed="true"]{background:#f5a53b13;color:var(--portal-accent);border-color:#f5a53b44}
.home-file-favorite[aria-pressed="true"] .icon{fill:currentColor}
.home-file-feedback button:disabled{opacity:.5;cursor:wait}
.portal-page .home-file-status:not(.sr-only){display:block;width:100%;margin:0;color:#e7b374;font-size:10px;line-height:1.5}
.home-file-empty{grid-column:1/-1}
.home-files-controls{min-width:0}
.home-files-pagination .pb-pagination{justify-content:center;margin-top:24px;padding-top:20px;gap:12px}
.home-files-pagination .pb-pagination__summary{width:100%;text-align:center;font-size:11px}
.portal-page .home-files-pagination :is(.pb-pagination__step,.pb-pagination__number){min-height:36px;min-width:36px;padding:7px 10px;border:1px solid var(--portal-border);border-radius:7px;background:var(--portal-sidebar);color:#b8c2ce;font-size:11px}
.portal-page .home-files-pagination .pb-pagination__step svg{width:15px;height:15px;min-width:15px;max-width:15px;flex-basis:15px}
.portal-page .home-files-pagination [aria-current="page"]{color:var(--portal-accent);background:#f5a53b13;border-color:#f5a53b59}
.portal-page .home-files-pagination a:hover{background:var(--portal-raised);border-color:#79603e;color:var(--portal-accent)}
.portal-page .home-files-pagination [aria-disabled="true"]{opacity:.4;background:transparent;border-color:transparent}
.home-files-more{display:flex;flex-direction:column;align-items:center;gap:10px;margin-top:20px}
.portal-page .home-files-load-more{gap:11px;min-width:220px;min-height:42px;padding:10px 15px;font-size:12px;border-radius:8px}
.home-files-load-more .icon{width:16px;height:16px;color:var(--portal-accent)}
.home-files-batch{padding:3px 7px;border:1px solid #f5a53b3b;border-radius:5px;background:#f5a53b0b;color:var(--portal-accent);font:650 10px/1.3 var(--font)}
.home-files-load-more[aria-busy="true"]{opacity:.6;cursor:wait;pointer-events:none}
.portal-page .home-files-progress{margin:0;color:var(--portal-muted);font-size:11px;line-height:1.5}
.home-files-progress strong{color:#c6cfd9;font-weight:650;font-variant-numeric:tabular-nums}
.portal-page .home-files-status:not(.sr-only){margin:12px 0 0;text-align:center;color:#e7b374;font-size:12px;line-height:1.5}
.portal-page .home-file-dialog{width:min(1100px,calc(100% - 36px));max-height:calc(100dvh - 36px);padding:20px;border:1px solid #454d5a;border-radius:12px;background:#181c22;color:#edf0f5;box-shadow:0 25px 100px #0009;overflow:auto}
.home-file-dialog::backdrop{background:#070a0deb;backdrop-filter:blur(4px)}
.home-file-dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:16px}
.portal-page .home-file-dialog-heading h2{margin:0;font-size:18px;line-height:1.4;overflow-wrap:anywhere}
.portal-page .home-file-dialog-heading>button,.portal-page .home-file-dialog-navigation>button{display:grid;place-items:center;flex:none;min-width:40px;width:40px;height:40px;padding:0;border:1px solid #454d5a;border-radius:7px;background:#252b34;color:#e9edf3;font-size:22px;line-height:1;cursor:pointer}
.home-file-dialog-heading>button:hover,.home-file-dialog-navigation>button:hover{background:#343c48;border-color:#8a704f;color:#ffd08f}
.home-file-dialog-stage{display:flex;align-items:center;justify-content:center;min-height:180px;border-radius:7px;background:#0e1115;overflow:hidden}
.home-file-dialog-stage>img{display:block;max-width:100%;max-height:calc(100dvh - 190px);width:auto;height:auto;object-fit:contain}
.home-file-dialog-navigation{display:flex;align-items:center;justify-content:center;gap:20px;margin-top:16px}
.home-file-dialog-navigation>span{min-width:65px;text-align:center;color:#a3afbf;font-size:12px;font-variant-numeric:tabular-nums}
.portal-page .home-file-dialog-navigation>button:disabled{opacity:.35;cursor:default}
body.home-file-viewer-open{overflow:hidden}

@container portal-home (max-width: 820px){.portal-home-content .home-file-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}}
@container portal-home (max-width: 540px){.portal-home-content .home-file-grid{grid-template-columns:minmax(0,1fr);gap:18px}.home-file-body{padding:18px}.home-file-footer{padding:11px 16px}.portal-page .home-file-body h3{font-size:18px}.portal-page .home-file-summary{font-size:12px}.home-file-byline{font-size:10px}.portal-page .home-file-thumbnails>button{flex-basis:39px;width:39px}.home-file-gallery-bar{padding-inline:16px}.portal-page .home-file-actions .portal-button{min-height:39px;font-size:11px}.home-file-stats strong{font-size:11px}}
@media(max-width:680px){.portal-page .home-file-dialog{width:calc(100% - 20px);max-height:calc(100dvh - 20px);padding:14px;border-radius:9px}.portal-page .home-file-dialog-heading h2{font-size:15px}.home-file-dialog-stage>img{max-height:calc(100dvh - 175px)}}
@media(prefers-reduced-motion:reduce){.home-file-card,.home-file-cover>img,.home-file-thumbnails>button{transition:none}.home-file-cover:hover>img{transform:none}}
