/* Collector shelves: amber and indigo, responsive application chrome. */
header{grid-template-columns:minmax(260px,1fr) auto auto;gap:20px}.brand{max-width:400px}.brand-image{width:360px;max-width:100%;height:96px;object-fit:cover;object-position:center}.brandline{min-width:0}.head-actions #designBtn{font-size:12px;min-height:44px}.head-actions #accountBtn{min-width:44px;min-height:44px}.page{padding-top:24px}.primary{background:var(--accent);color:var(--button-text)}.collection-stats{margin-bottom:10px}.stat-item span{font-size:14px}.shelf-toolbar{grid-template-columns:minmax(0,1fr) auto auto;gap:10px;margin:14px 0}.shelf-toolbar .primary{min-width:0;padding:12px 20px;font-size:15px;grid-column:auto}.shelf-search input{font-size:16px}.collection-filters[hidden]{display:none}.collection-filters{grid-template-columns:repeat(4,minmax(0,1fr));padding:16px;background:var(--panel);border:1px solid var(--line);border-radius:10px;margin:12px 0 20px}.collection-switch .small,.collection-switch .tabs button{font-size:13px}.collection-switch .tabs button{min-height:44px}.platform-shelf{min-width:0;margin:25px 0 30px}.shelf-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 8px}.shelf-heading h2{font-size:18px;font-weight:500;margin:0}.shelf-heading small{font-size:12px;color:var(--muted);margin-left:10px}.shelf-next{padding:8px 14px;min-height:44px;min-width:44px}.shelf-recess{min-width:0;background:linear-gradient(180deg,#111528,#1b2138);border-radius:8px 8px 0 0}.shelf-track{display:flex;align-items:flex-end;gap:1px;overflow-x:auto;overflow-y:hidden;height:260px;padding:20px 14px 16px;min-width:0;scrollbar-width:auto;scrollbar-color:#8471ca #20243a;overscroll-behavior-x:contain;scroll-behavior:smooth;touch-action:pan-x pan-y}.shelf-board{height:13px;background:linear-gradient(#6b5c83,#302a46 45%,#242037);border-top:2px solid #a796bd;box-shadow:0 6px 12px #0006;border-radius:0 0 5px 5px}.shelf-case{flex:0 0 44px;width:44px;height:210px;position:relative;border:0;border-radius:3px;background:transparent;padding:0;perspective:700px;text-align:left;transition:flex-basis .22s,width .22s;color:var(--text)}.book-spine{position:absolute;inset:0 5px 25px;display:block;background:linear-gradient(90deg,#11131b 0 2px,#f5f3e8 3px 85%,#b6b8b7 92%,#323842);color:#191b24;border:1px solid #565d70;border-radius:3px;box-shadow:inset 2px 0 2px #fff5,2px 3px 4px #0008;overflow:hidden}.book-spine b{position:absolute;top:0;left:0;right:0;height:30px;text-align:center;display:flex;align-items:center;justify-content:center;background:#0a0a0d;color:#fff;font:500 11px/1.1 Arial,sans-serif;border-bottom:1px solid #787d88;overflow:hidden}.book-spine>span{position:absolute;top:35px;bottom:20px;left:0;right:0;writing-mode:vertical-rl;text-orientation:mixed;display:flex;align-items:center;justify-content:center;font:600 12px/1.2 Arial,sans-serif;padding:3px 0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.book-spine:after{content:'';position:absolute;left:7px;right:7px;bottom:5px;height:8px;background:repeating-linear-gradient(90deg,#222 0 1px,transparent 1px 3px,#222 3px 5px,transparent 5px 6px);opacity:.7}.book-spine img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:1}.shelf-case[data-platform=PS1] .book-spine{background:linear-gradient(90deg,#696c74,#aeb0b8 10%,#16171c 14% 86%,#6b6e77 92%,#babcc1);color:white;box-shadow:inset 2px 0 #c2c4ca,2px 3px 4px #0008}.shelf-case[data-platform=PS1] .book-spine b{background:#c5c7cd;color:#20232b;height:34px}.shelf-case[data-platform=PS2] .book-spine{border-top:3px solid #131720;border-bottom:3px solid #10131a}.shelf-case[data-platform=PS2] .book-spine b{color:#d4def9;font-style:italic}.shelf-case[data-platform=PS3] .book-spine b{background:#161619;font-style:italic}.shelf-case[data-platform=PS4] .book-spine{border:2px solid #1264bc}.shelf-case[data-platform=PS4] .book-spine b{background:#0756ad;border-bottom-color:#1378ce}.shelf-case[data-platform=PS5] .book-spine{border:2px solid #1752a3}.shelf-case[data-platform=PS5] .book-spine b{background:#f8f8f8;color:#161820;border-bottom:2px solid #151a21}.book-face.cover{position:absolute;inset:0 0 25px;width:100%;height:auto;aspect-ratio:auto;opacity:0;transform:rotateY(-80deg);transform-origin:left center;transition:transform .22s,opacity .15s;background:#232c46;border:3px solid #465272;border-radius:4px;overflow:hidden;display:flex;align-items:center;justify-content:center;box-shadow:5px 5px 10px #0008}.book-face img{width:100%;height:100%;object-fit:cover}.book-platform{position:absolute;top:0;left:0;right:0;background:#0b0e1be8;color:#fff8eb;font-size:11px;padding:2px 6px}.book-fallback{padding:12px;text-align:center;font-size:19px;color:#e7e2ff;font-weight:600;overflow-wrap:anywhere}.book-fallback>span{display:block}.book-rating{position:absolute;bottom:0;left:0;right:0;text-align:center;opacity:0;white-space:nowrap}.book-rating .condition-stars{margin:0;justify-content:center;min-height:20px;gap:3px}.book-rating .rating-star{font-size:14px}.shelf-case.is-open{flex-basis:145px;width:145px;margin:0 5px}.shelf-case.is-open .book-spine{opacity:0}.shelf-case.is-open .book-face{opacity:1;transform:rotateY(0)}.shelf-case.is-open .book-rating{opacity:1}.shelf-case.is-sealed .book-spine{outline:1px solid #ffcf69;outline-offset:0;box-shadow:inset 0 0 0 1px #ba852b,0 0 7px #ffbd4359,2px 3px 4px #0008}.shelf-case.is-sealed .book-face{border:1px solid #ffcf69;box-shadow:0 0 9px #ffbd4370}.favorites-shelf .shelf-heading h2{color:var(--accent)}.shelf-category-title{font-size:23px;margin-top:34px}.object-case{flex-basis:150px;width:150px;height:180px;margin:0 10px}.object-case .book-spine{display:none}.object-case .book-face{opacity:1;transform:none;inset:0 0 52px;background:transparent;border:0;box-shadow:none}.object-case .book-face img{object-fit:contain}.object-case .book-rating{opacity:1;bottom:27px}.object-case .object-caption{position:absolute;bottom:0;left:0;right:0;font-size:12px;white-space:nowrap;text-align:center;overflow:hidden;text-overflow:ellipsis}.object-case.is-open{flex-basis:150px;width:150px;margin:0 10px}.object-case .book-platform{display:none}.object-peek{display:none;position:absolute;bottom:40px;left:0;right:0;background:var(--panel);border:1px solid var(--line);border-radius:8px;padding:12px;font-size:12px;z-index:3;box-shadow:0 4px 12px #0008}.object-peek>span{display:block;margin-top:8px}.object-case.is-open .object-peek{display:block}.object-case:focus-visible .object-peek{display:block}.item-detail{display:grid;grid-template-columns:190px minmax(0,1fr);gap:24px;margin-top:20px}.item-photo{display:block;width:100%;max-height:300px;object-fit:contain;border-radius:6px}.detail-prices{display:flex;gap:24px;flex-wrap:wrap;border-block:1px solid var(--line);padding:14px 0}.detail-prices small,.detail-prices strong{display:block}.detail-prices small{color:var(--muted);margin-bottom:6px}.item-detail .actions{flex-wrap:wrap;justify-content:flex-start}.personal-note{white-space:pre-wrap;overflow-wrap:anywhere}.own-photo{width:110px;height:140px;object-fit:cover;border-radius:8px}.youtube-channel{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;padding:10px 0 28px;border-bottom:1px solid var(--line);margin-bottom:25px}.youtube-channel h1{font-size:30px;margin-top:12px}.youtube-channel .actions{flex-wrap:wrap;flex-shrink:0;margin-top:0}.youtube-channel .primary{display:inline-block;text-decoration:none}.post-feed{max-width:900px;margin:0 auto}.publication{background:var(--panel);border:1px solid var(--line);border-radius:14px;padding:24px;margin-bottom:22px;min-width:0}.publication h2{font-size:24px;overflow-wrap:anywhere}.publication-photo{display:block;max-width:100%;max-height:500px;margin:16px auto;border-radius:9px;object-fit:contain}.video-link{display:flex;flex-direction:column;max-width:580px;margin:18px 0;color:var(--accent);text-decoration:none;border:1px solid var(--line);border-radius:9px;overflow:hidden;background:var(--bg)}.video-link img{width:100%;max-height:320px;object-fit:cover}.video-link>span{padding:14px}.post-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}.post-actions [aria-pressed=true]{color:var(--accent);border-color:var(--accent)}.post-thread{border-top:1px solid var(--line);margin-top:22px;padding-top:15px}.post-comment{border-bottom:1px solid var(--line);padding:15px 0}.post-thread form{display:grid;gap:12px;margin-top:20px}.post-thread form .primary{justify-self:end}.post-comment .message-actions{flex-wrap:wrap}.post-comment .personal-note{margin:10px 0}#postEditor{display:grid;gap:16px;margin-top:20px}.fields input,.fields select,.fields textarea,dialog input,dialog textarea{font-size:16px;max-width:100%}.actions{flex-wrap:wrap}input,select,textarea{max-width:100%}textarea{resize:vertical}button{touch-action:manipulation}.message-head{gap:10px;flex-wrap:wrap}.message-head time{font-size:12px}body{overflow-wrap:break-word}.busy-overlay{color:var(--muted)}.object-peek .condition-stars{justify-content:center}.photo-grid{min-width:0}.footerlinks{flex-wrap:wrap}
@media(max-width:1000px){header{grid-template-columns:minmax(180px,1fr) auto;gap:12px}.topnav{grid-row:2;grid-column:1/-1;justify-content:center;padding:6px 0 16px}.head-actions{grid-row:1;grid-column:2}.brand-image{width:320px;height:85px}.collection-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.youtube-channel{flex-wrap:wrap}}
@media(max-width:600px){.wrap{padding:0 14px}.brand-image{width:260px;height:70px}.brand{max-width:260px}.head-actions #designBtn{font-size:11px;padding:8px}.shelf-toolbar{grid-template-columns:minmax(0,1fr) auto}.shelf-toolbar .shelf-search{grid-column:1/-1}.shelf-toolbar .primary{grid-column:1;grid-row:2;padding:13px}.shelf-toolbar #toggleFilters{grid-column:2;grid-row:2}.shelf-toolbar input{font-size:16px;padding:13px}.stat-item span{font-size:12px}.stat-item b{font-size:27px}.collection-stats{padding:14px 5px}.stat-item svg{width:25px;height:25px}.shelf-track{padding-left:10px;padding-right:10px}.shelf-heading h2{font-size:16px}.shelf-heading small{font-size:11px;margin-left:6px}.collection-switch .tabs{width:auto}.topnav button{font-size:14px;min-height:44px}.topnav{gap:20px}.item-detail{grid-template-columns:minmax(0,1fr);gap:14px}.item-detail>div:first-child{max-width:190px;margin:auto}.collection-filters{padding:12px;gap:12px}.collection-filters label{font-size:12px}.publication{padding:16px}.publication h2{font-size:21px}.youtube-channel h1{font-size:26px}dialog{padding:18px;max-height:90dvh}.fields{grid-template-columns:minmax(0,1fr)}.fields .wide{grid-column:auto}.modalhead h2{font-size:21px}.head-actions{flex-direction:column;gap:6px}.brandline{max-width:100%}.brand-image{max-width:100%}.topnav{overflow-x:auto;max-width:100%}.publication .message-head{font-size:12px}.book-rating .rating-star{font-size:14px}}
@media(max-width:370px){.collection-filters{grid-template-columns:minmax(0,1fr)}.brand-image{width:215px;height:60px}.brand{max-width:215px}.topnav{gap:12px}.topnav button{padding:10px 5px}.shelf-toolbar .primary{font-size:14px}.shelf-toolbar .ghost{padding:10px}.stat-item span{font-size:11px}}
@media(prefers-reduced-motion:reduce){.shelf-case,.book-face{transition:none}.shelf-track{scroll-behavior:auto}}

.photo-first{margin-top:22px;padding-bottom:18px;border-bottom:1px solid var(--line)}.photo-first>.primary{width:100%;min-height:48px;font-size:17px}.photo-first-preview{display:flex;gap:15px;align-items:center;margin-top:12px}.photo-first-preview img{width:78px;height:104px;object-fit:contain;flex-shrink:0;border-radius:6px}.photo-first-preview p{margin:0;line-height:1.6}.photo-first [hidden]{display:none!important}.photo-first>.ghost{margin-top:12px}

/* Visible shelf totals and a wrapping collection subnavigation. */
.shelf-heading h2{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.shelf-heading .shelf-count{display:inline-flex;padding:4px 10px;border:1px solid var(--line);border-radius:20px;background:var(--panel);color:var(--text);font-size:13px;font-weight:600;white-space:nowrap}.shelf-heading small{margin-left:0}.collection-switch .tabs{display:flex;flex-wrap:wrap;gap:4px}.collection-switch .tabs button{white-space:nowrap}

.profile-avatar{display:block;width:96px;height:96px;border-radius:50%;object-fit:cover;flex-shrink:0;border:2px solid var(--accent)}.avatar-editor{display:flex;align-items:flex-start;gap:18px}.avatar-editor>div{min-width:0;flex:1}.avatar-editor h3{margin:0 0 10px}.avatar-editor .actions{flex-wrap:wrap}.avatar-editor button{min-height:44px}.avatar-paste-zone{border:1px dashed var(--line);border-radius:10px;min-height:54px;padding:12px;margin-top:10px;color:var(--muted);font-size:13px;overflow-wrap:anywhere}.avatar-paste-zone:focus{outline:2px solid var(--accent)}#accountBtn.has-avatar{padding:3px;min-width:48px}.account-avatar{display:block;width:40px;height:40px;max-width:none;border-radius:50%;object-fit:cover}.public-avatar{display:inline-block;width:56px;height:56px;vertical-align:middle;margin-right:12px}@media(max-width:480px){.avatar-editor{flex-direction:column}.avatar-editor>div{width:100%}}

.ownership-spine{position:absolute;top:-18px;left:50%;transform:translateX(-50%);color:#309bff;font-size:15px;font-weight:800;line-height:16px;z-index:6;pointer-events:none}.ownership-circle{display:inline-flex;align-items:center;justify-content:center;width:23px;height:23px;border-radius:50%;background:#168cf1;color:white;font-weight:800;font-size:16px;flex-shrink:0}.ownership-cover{position:absolute;right:7px;top:38px;z-index:5}.ownership-label{display:flex;align-items:center;gap:9px;color:#75baff;margin-top:20px;font-size:14px}.shelf-case.is-open .ownership-spine{opacity:0}

.dm-layout{display:grid;grid-template-columns:minmax(220px,1fr) minmax(0,2fr);gap:18px}.dm-inbox{min-width:0}.dm-thread{display:block;width:100%;text-align:left;border:0;border-bottom:1px solid var(--line);padding:14px;background:transparent;color:var(--text)}.dm-thread.active{background:var(--bg)}.dm-thread strong,.dm-thread span{display:block;overflow-wrap:anywhere}.dm-thread>span{font-size:12px;color:var(--muted);margin-top:6px}.dm-conversation{min-width:0}.dm-messages{max-height:55vh;overflow-y:auto;padding:10px 0}.dm-message{margin:10px 20px 10px 0;padding:12px;border:1px solid var(--line);border-radius:12px}.dm-message.mine{margin:10px 0 10px 20px;background:var(--bg)}.dm-message small{color:var(--muted);font-size:11px}.dm-message p{margin:9px 0}#directForm textarea{display:block;width:100%;box-sizing:border-box}@media(max-width:650px){.dm-layout{grid-template-columns:minmax(0,1fr)}.dm-inbox{max-height:230px;overflow-y:auto}.dm-message{margin-right:8px}.dm-message.mine{margin-left:8px}}

.member-card .collection-stats{width:100%;box-sizing:border-box;margin:16px 0 12px;gap:4px;padding:14px 3px}.member-card .stat-item{min-width:0}.member-card .stat-item b{font-size:26px}.member-card .stat-item span{font-size:12px}.member-card .stat-item svg{width:25px;height:25px}

/* Ranked collector directory: avatar/name remain together at every width. */
.members.members-list{display:flex;flex-direction:column;gap:12px}.members-toolbar{display:flex;justify-content:space-between;flex-wrap:wrap;gap:12px;margin:22px 0 14px}.member-row{display:grid;grid-template-columns:30px minmax(180px,1.25fr) minmax(210px,1fr) 66px minmax(160px,auto);align-items:center;gap:20px;padding:20px;border-radius:18px}.member-position{font-size:24px;font-weight:700;color:var(--muted)}.member-first .member-position{color:var(--accent)}.member-identity{display:flex;align-items:center;gap:16px;min-width:0}.member-identity .profile-avatar{width:64px;height:64px;flex:0 0 64px}.member-identity>div{min-width:0}.member-identity h3{margin:0 0 5px;font-size:20px;overflow-wrap:anywhere}.member-row .collection-stats{border:0;border-radius:0;background:none;box-shadow:none;margin:0;padding:0;gap:8px;min-width:0}.member-row .stat-item{gap:9px}.member-row .stat-item b{font-size:26px}.member-row .stat-item svg{width:25px;height:25px}.member-row .stat-item+.stat-item{border-left:0}.member-total{border-left:1px solid var(--line);padding-left:20px}.member-total span,.member-total b{display:block}.member-total b{font-size:29px;margin-top:5px}.member-actions{display:flex;gap:8px;flex-direction:column}.member-actions button{margin-top:0;min-height:44px;padding:10px 14px;white-space:nowrap}.member-matches{grid-column:2/-1;display:flex;flex-wrap:wrap;gap:10px;color:var(--muted);font-size:13px}.member-ranking-note{margin:16px 0}
@media(max-width:1000px){.member-row{grid-template-columns:26px minmax(150px,1fr) minmax(190px,1fr) 64px;gap:14px}.member-actions{grid-column:2/-1;flex-direction:row;flex-wrap:wrap;justify-content:flex-end}.member-matches{grid-column:2/-1}}
@media(max-width:600px){.member-row{grid-template-columns:22px minmax(0,1fr) 58px;padding:16px;gap:14px 10px}.member-position{font-size:20px}.member-identity{gap:10px}.member-identity .profile-avatar{width:50px;height:50px;flex-basis:50px}.member-identity h3{font-size:17px}.member-identity .small{font-size:11px}.member-total{grid-column:3;grid-row:1;padding-left:10px}.member-total b{font-size:24px}.member-row .collection-stats{grid-column:2/-1;grid-row:2;padding-top:4px}.member-row .stat-item b{font-size:23px}.member-row .stat-item svg{width:22px;height:22px}.member-actions{grid-column:2/-1;justify-content:flex-start}.member-actions button{font-size:12px;padding:10px}.members-toolbar .small{font-size:12px}}

/* Keep the whole title within the printable area, including on iPhone. */
.book-spine>.spine-title{position:absolute;top:35px;bottom:20px;left:0;width:100%;height:calc(100% - 55px);overflow:hidden;display:block;fill:currentColor;pointer-events:none}
.spine-title text{font:600 12px Arial,sans-serif}

/* Shared category symbols for the shelf and collector directory. */
.collection-stats .stat-disc svg,.collection-stats .stat-disc b{color:#ffce32}
.collection-stats .stat-console svg,.collection-stats .stat-console b{color:#fff}
.collection-stats .stat-cartridge svg,.collection-stats .stat-cartridge b{color:#b984ff}

.post-video{margin:20px 0;min-width:0}.post-video-sources{display:flex;gap:8px;margin-bottom:12px;flex-wrap:wrap}.post-video-sources [aria-pressed=true]{border-color:var(--accent);color:var(--accent)}.post-video-frame{aspect-ratio:16/9;min-height:200px;background:#080b14;border-radius:9px;overflow:hidden}.post-video-frame iframe{display:block;width:100%;height:100%;min-height:200px;border:0}.post-video .small{overflow-wrap:anywhere}

.collection-stats{grid-template-columns:repeat(4,minmax(0,1fr))}.collection-stats .stat-artbook svg,.collection-stats .stat-artbook b{color:#65d6c5}.shelf-heading h2>.icon-artbook{width:24px;height:24px;vertical-align:middle;margin-right:8px;color:#65d6c5}.artbook-case .book-spine{border-color:#65d6c5}.artbook-case .book-spine b{background:#173d3a;color:#9cf3e7}.member-row{grid-template-columns:30px minmax(160px,1.25fr) minmax(250px,1fr) 66px minmax(160px,auto)}
@media(max-width:1000px){.member-row{grid-template-columns:26px minmax(130px,1fr) minmax(235px,1fr) 64px}}
@media(max-width:600px){.member-row{grid-template-columns:22px minmax(0,1fr) 58px}.collection-stats:not(.member-row .collection-stats){grid-template-columns:repeat(2,minmax(0,1fr));row-gap:18px}.collection-stats .stat-item:nth-child(3){border-left:0}.member-row .collection-stats{grid-template-columns:repeat(4,minmax(0,1fr))}}

.private-item-marker{position:absolute;top:-17px;right:0;font-size:16px;line-height:16px;color:var(--muted);z-index:7;pointer-events:none}.item-visibility-note{color:var(--muted);font-size:14px}

.online-presence{display:flex;justify-content:flex-end;margin:14px 0 0;min-width:0}.online-badge{display:inline-flex;align-items:center;gap:8px;padding:8px 12px;border:1px solid var(--line);border-radius:999px;background:var(--panel);color:var(--muted);font-size:13px;line-height:1.3;white-space:nowrap}.online-badge b{color:var(--text);font-variant-numeric:tabular-nums}.online-dot{width:7px;height:7px;flex:0 0 7px;border-radius:50%;background:var(--muted)}.online-badge.is-live .online-dot{background:#65d6a5}@media(max-width:600px){.online-presence{margin-top:10px}.online-badge{font-size:12px;padding:7px 10px}}
