/* MyCollection 1.9 — quiet surfaces, readable metadata and card-first hierarchy. */
:root{--mc-ink:#202226;--mc-muted:#62666E;--mc-line:#E2E4E8;--mc-paper:#F2F3F5;--mc-accent:#34373D}
body{background:var(--mc-paper);color:var(--mc-ink);-webkit-tap-highlight-color:transparent}.app{max-width:720px}button,input,select,textarea{font-family:inherit}button{touch-action:manipulation}button:active{opacity:.76}button:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid #34373D;outline-offset:3px}.collection-page-active .app{padding:calc(24px + env(safe-area-inset-top)) 18px 112px}.collectionHeader{margin:0 0 23px}.collectionEyebrow{font-size:10px;letter-spacing:.2em;font-weight:750;color:#62666E}.collectionHeader h1{font-size:30px;letter-spacing:-.035em;font-weight:750;margin-top:7px}.collectionHeader p{font-size:13px;color:var(--mc-muted);margin-top:7px}.collectionAdd{height:46px;width:46px;border-radius:16px;background:var(--mc-ink)}.collectionSearch{background:#F2F3F5;border:0;height:50px;border-radius:15px;padding:0 15px}.collectionSearch input{font-size:15px;min-width:0;color:var(--mc-ink)}.collectionSearch input::placeholder{color:#62666E}.collectionToolbar{gap:8px;margin:14px 0 20px}.collectionToolbar button{height:44px;font-size:12px;border-color:#E2E4E8;border-radius:12px;background:transparent;color:#202226}.collectionGrid{gap:14px}.collectionCardV3{border:1px solid #E2E4E8;border-radius:18px;box-shadow:none;background:#fff;contain-intrinsic-size:auto 360px}.collectionImageV3{aspect-ratio:4/5;background:#F2F3F5;padding:14px;display:grid;place-items:center}.collectionImageV3 img{width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 5px 6px #2022261a)}.collectionImageV3 .cardState{top:9px;left:9px;backdrop-filter:none;font-size:10px;padding:5px 7px;border-radius:6px;background:#fffffff0;color:#202226}.collectionBodyV3{padding:14px 12px}.collectionBodyV3>b{font-size:16px;line-height:1.35;font-weight:700}.collectionBodyV3>p{font-size:12px;line-height:1.5;color:#62666E;margin:6px 0;min-height:18px}.collectionBodyV3>small{font-size:11px;color:#62666E;line-height:1.5}.collectionPriceV3{border-top:1px solid #E2E4E8;margin-top:12px;padding-top:11px;display:flex;flex-direction:column;align-items:flex-start;gap:5px}.collectionPriceV3 strong{font-size:18px;letter-spacing:-.025em}.collectionPriceV3 span{font-size:11px;font-weight:500;text-align:left}.good{color:#317660}.bad{color:#b54843}.collectionListV3{padding:15px 10px;border:1px solid #E2E4E8;border-radius:14px;margin-bottom:9px;grid-template-columns:64px minmax(0,1fr) auto}.listImageV3{width:60px;height:80px;padding:5px;background:#F2F3F5}.listImageV3 img{object-fit:contain}.listMainV3>b,.listPriceV3>b{font-size:15px}.listMainV3>small,.listPriceV3>small{font-size:12px;line-height:1.5}.collectionEmptyV3{font-size:15px;color:var(--mc-muted);padding:70px 20px;line-height:1.7}#collectionLoadMore{min-height:48px;background:#F2F3F5;border:0;color:var(--mc-accent);font-size:13px;margin-top:8px}.nav{left:0;right:0;bottom:0;width:100%;max-width:none;transform:none;border-radius:0;border:0;border-top:1px solid #E2E4E8;background:#fffffff5;box-shadow:none;padding:8px 12px calc(8px + env(safe-area-inset-bottom));backdrop-filter:none}.nav button{min-height:48px;font-size:11px;color:#62666E}.nav button.on{color:var(--mc-accent)}.nav .navIcon svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}.nav button.add{background:var(--mc-ink);width:48px;height:48px;box-shadow:none}.navIcon{font-size:23px}.collectionControlSheet{padding:16px 20px calc(24px + env(safe-area-inset-bottom));max-height:85dvh;overflow:auto}.controlSheetHead button{height:44px;width:44px}.filterFormV3 label{font-size:13px}.filterFormV3 input,.filterFormV3 select{font-size:16px;height:48px}.filterActionsV3 button{height:48px;font-size:14px}.sortOptionsV3 button{font-size:15px;height:58px}
/* Detail is a complete screen with its own stable scroll surface. */
.cardDetailOverlay{z-index:210;background:#34373D40}.cardDetailSheet{width:100%;max-width:720px;height:100%;height:100dvh;border-radius:0;background:var(--mc-paper);padding:env(safe-area-inset-top) 20px calc(28px + env(safe-area-inset-bottom));box-shadow:none;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}.cardDetailTop{height:60px;background:var(--mc-paper);backdrop-filter:none;grid-template-columns:48px 1fr 48px}.cardDetailTop>b{font-size:16px}.cardDetailTop button{height:44px;width:44px;border-radius:50%;font-size:30px}.cardDetailTop button:last-child{font-size:15px;letter-spacing:1px}.cardDetailHero{display:flex;flex-direction:column;gap:0;border:0;background:transparent;padding:0;border-radius:0}.cardDetailImage{width:100%;height:340px;max-height:43dvh;aspect-ratio:auto;padding:25px;background:#F2F3F5;border-radius:22px;color:#62666E;font-size:14px}.cardDetailImage img{width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 8px 12px #20222625)}.cardDetailIdentity{align-self:stretch;padding:22px 2px 10px}.cardDetailIdentity .cardState{font-size:11px;background:#F2F3F5;color:#202226;padding:5px 9px}.cardDetailIdentity h1{font-size:28px;line-height:1.18;margin:12px 0 8px;font-weight:730}.cardDetailIdentity p{font-size:14px;color:#62666E;line-height:1.5}.cardDetailIdentity small{font-size:12px;color:#62666E;margin-top:8px}.cardPricePanel{border:0;border-radius:18px;padding:20px;background:#fff;margin-top:12px}.cardPricePanel>span{font-size:12px;color:#62666E}.cardPricePanel>strong{font-size:34px;letter-spacing:-.04em}.cardPriceStats{gap:8px}.cardPriceStats small{font-size:11px;line-height:1.5}.cardPriceStats b{font-size:14px;overflow-wrap:anywhere}.cardPriceStats>div+div{padding-left:8px}.cardDetailActions{gap:8px;margin:14px 0}.cardDetailActions button{font-size:12px;height:58px;background:transparent;border:1px solid #E2E4E8;border-radius:13px;color:#202226}.cardDetailActions button:first-child{background:var(--mc-accent);color:white;border-color:var(--mc-accent)}.cardDetailActions button:first-child span{color:white}.cardDetailSection{border:0;padding:20px;border-radius:18px;margin-top:14px}.cardDetailSectionHead h2{font-size:16px}.cardDetailSectionHead span,.cardChartDates{font-size:11px}.cardChartEmpty{font-size:13px;line-height:1.7;color:#62666E}.cardInfoRows span{font-size:12px;color:#62666E}.cardInfoRows b{font-size:14px;line-height:1.6}.cardInfoRows>div{padding:14px 0}.imageRetry{position:absolute;inset:0;display:grid;place-items:center;text-align:center;padding:20px;font-size:12px;color:#62666E;background:#F2F3F5;cursor:pointer}.cardDetailImage,.listImageV3{position:relative}
#editorBg{z-index:220;padding:0;align-items:flex-end}#editorBg .sheet{max-height:96dvh;height:96dvh;width:100%;max-width:720px;background:var(--mc-paper);border-radius:24px 24px 0 0;padding:0 20px calc(16px + env(safe-area-inset-bottom));overflow:auto;overscroll-behavior:contain}#editorBg .sheetTop{position:sticky;top:0;z-index:3;background:var(--mc-paper);height:66px;margin:0;padding:10px 0}#editorBg .sheetTop b{font-size:18px}#editorBg .sheetTop .x{width:44px;height:44px;font-size:24px}#editorBg .upload{padding:18px;background:#F2F3F5;border-radius:18px;margin:8px 0 22px;gap:12px;flex-wrap:wrap}#editorBg .thumb{width:76px;height:100px;background:#EAECF0;border:0}#editorBg .thumb img{object-fit:contain}#editorBg .mini{font-size:12px}#editorBg .f label{font-size:13px;color:#62666E;line-height:1.7}#editorBg .f input,#editorBg .f select,#editorBg textarea{font-size:16px;min-height:48px;border-radius:12px;background:#fff;border-color:#E2E4E8;padding:10px 12px}#editorBg input[type=checkbox]{min-height:0}#editorBg .form{gap:14px}#editorBg .editorSection{grid-column:1/-1;border-top:1px solid #E2E4E8;padding-top:6px;margin-top:10px}#editorBg .editorSection summary{font-size:16px;font-weight:650;padding:16px 0;cursor:pointer}#editorBg .editorSection .block{border:0;padding:0;margin:0}#editorBg .details{font-size:14px}#editorBg .actions{position:sticky;bottom:calc(-16px - env(safe-area-inset-bottom));z-index:3;background:var(--mc-paper);padding:14px 0 calc(16px + env(safe-area-inset-bottom));border-top:1px solid #E2E4E8;margin-top:24px}#editorBg .actions button{min-height:48px;min-width:68px;font-size:14px;border-radius:13px}#editorBg .actions button:last-child{background:var(--mc-accent);min-width:90px}#deleteBtn{color:#ad4540}.toast{font-size:14px;padding:13px 18px;bottom:calc(90px + env(safe-area-inset-bottom));border-radius:13px}.menuRow{min-height:56px}.menuRow>span:not(.menuIcon){font-size:15px}
@media(prefers-reduced-motion:no-preference){.cardDetailOverlay.open .cardDetailSheet{animation:detailEnter .2s ease-out}@keyframes detailEnter{from{transform:translateX(22px);opacity:.6}to{transform:translateX(0);opacity:1}}}
@media(min-width:650px){.collectionGrid{grid-template-columns:repeat(3,minmax(0,1fr))}.cardDetailHero{display:grid;grid-template-columns:1fr 1fr;gap:24px}.cardDetailIdentity{align-self:center}.cardDetailImage{max-height:none}.nav{padding-left:calc((100% - 620px)/2);padding-right:calc((100% - 620px)/2)}}
/* Supersede the legacy dock's important rules in one place. */
body .nav{left:0!important;right:0!important;transform:none!important;width:100%!important;max-width:none!important;bottom:0!important;height:calc(70px + env(safe-area-inset-bottom))!important;padding:5px 12px calc(5px + env(safe-area-inset-bottom))!important;border-radius:0!important;border:0!important;border-top:1px solid #E2E4E8!important;box-shadow:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;background:#fff!important}
body .nav>button.on{color:#202226!important}body .nav>button>span:last-of-type{font-size:11px!important}body .nav .add span{font-size:27px!important}body .nav .add{background:#34373D!important}body .nav button:focus-visible{outline:2px solid #34373D!important;outline-offset:2px}
#editorBg .sheet>.form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}#editorBg .f{min-width:0}#editorBg .f.full{grid-column:1/-1}#editorBg .upload .mini{color:#62666E}#editorBg .editorSection>.block>.form{grid-template-columns:repeat(2,minmax(0,1fr))}

.profileHomeLink{width:100%;border:0;background:transparent;text-align:left;padding:0;font:inherit;cursor:pointer;color:inherit}.profileHomeLink .profileIdentity>span{display:block}.profileHomeLink:active{opacity:.7}.profileHomeLink:focus-visible{outline:2px solid #34373D;outline-offset:5px;border-radius:12px}
