@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:ital,wght@0,700;1,700&display=swap');

:root { --ink:#4e3d49; --muted:#88727f; --berry:#a8547d; --berry-dark:#83415f; --rose:#e896ad; --blush:#f9e8ed; --paper:#fffcf7; --cream:#f8f1e6; --line:#eadde1; --shadow:0 14px 40px rgba(101,62,86,.1); }
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; font-family: 'DM Sans', sans-serif; color: var(--ink); background: radial-gradient(circle at 86% 6%, rgba(241,200,211,.42), transparent 24rem), radial-gradient(circle at 30% 90%, rgba(235,218,188,.38), transparent 25rem), #fbf8f3; }
body::before { content:''; position:fixed; inset:0; pointer-events:none; opacity:.18; background-image:radial-gradient(#a86b8c .65px, transparent .65px); background-size:17px 17px; }
a { color: var(--berry); }
h1, h2, h3, p { margin-top: 0; }
h1:focus { outline: none; }
h1, h2 { font-family:'Playfair Display', Georgia, serif; }
h1 { color:#56394b; font-size:clamp(2rem,4vw,3.3rem); line-height:1.08; }
h2 { color:#5d4052; }
button, input, select { font:inherit; }
button { cursor:pointer; }
button:disabled { cursor:not-allowed; opacity:.55; }
.eyebrow { display:block; margin-bottom:.45rem; color:#b45b84; font-size:.72rem; font-weight:800; text-transform:uppercase; letter-spacing:.16em; }

.hero-card { min-height:330px; display:grid; grid-template-columns:minmax(0,1.1fr) minmax(280px,.9fr); align-items:center; overflow:hidden; position:relative; padding:clamp(2rem,5vw,4.5rem); border:1px solid rgba(169,100,133,.12); border-radius:32px; background:linear-gradient(120deg,#fffaf2 0%,#fae8ee 55%,#edcedb 100%); box-shadow:var(--shadow); }
.hero-card::before { content:''; position:absolute; width:320px; height:320px; border:1px dashed rgba(164,82,121,.18); border-radius:50%; right:-70px; top:-100px; }
.hero-card h1 { margin-bottom:1rem; }
.hero-card h1 em { color:#a14f77; }
.hero-card p { max-width:600px; color:#765f6c; font-size:1.04rem; line-height:1.7; }
.btn-primary-soft { display:inline-flex; align-items:center; justify-content:center; gap:.75rem; padding:.8rem 1.15rem; border:0; border-radius:14px; background:linear-gradient(135deg,#ae5a83,#8f456c); box-shadow:0 8px 20px rgba(151,73,112,.22); color:white; font-weight:700; text-decoration:none; transition:.18s ease; }
.btn-primary-soft:hover { color:white; transform:translateY(-2px); box-shadow:0 11px 24px rgba(151,73,112,.28); }
.hero-illustration { position:relative; min-height:240px; }
.paper { position:absolute; display:grid; place-items:center; width:160px; height:190px; border:8px solid white; border-radius:9px; box-shadow:0 18px 38px rgba(100,57,80,.18); font-size:3.8rem; }
.paper-one { left:42%; top:10%; background:#f4c8d7; color:white; transform:rotate(9deg); }
.paper-two { left:7%; top:2%; background:#e6d6ee; color:#a777aa; transform:rotate(-10deg); }
.paper-three { left:25%; top:28%; background:#f8e5ab; color:#d59f4d; transform:rotate(-2deg); }
.sparkle { position:absolute; color:#c2779c; font-size:1.6rem; }.s1{left:3%;top:4%}.s2{right:6%;top:22%}.s3{right:14%;bottom:2%;font-size:3rem}
.section-heading { display:flex; justify-content:space-between; align-items:end; margin:2.6rem 0 1.1rem; }.section-heading h2{margin:0;font-size:1.8rem}.section-heading a{text-decoration:none;font-weight:700;font-size:.88rem}
.stats-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:1rem; }
.stat-card { display:flex; align-items:center; gap:1rem; padding:1.25rem; border:1px solid rgba(103,64,86,.08); border-radius:19px; background:white; box-shadow:0 8px 24px rgba(100,62,84,.06); }
.stat-card.rose{background:#fff5f7}.stat-card.lilac{background:#faf6ff}.stat-card.mint{background:#f4fbf8}.stat-card.cream{background:#fffaf0}
.stat-icon { display:grid; place-items:center; width:46px; height:46px; flex:0 0 46px; border-radius:15px; background:white; color:#b65a83; box-shadow:0 5px 15px rgba(90,50,73,.08); font-size:1.25rem; }
.stat-card strong { display:block; color:#5e4052; font:700 1.75rem 'Playfair Display',serif; }.stat-card div span{display:block;color:var(--muted);font-size:.78rem}
.welcome-note { max-width:850px; display:flex; align-items:center; gap:1.2rem; position:relative; margin:2.5rem auto 0; padding:1.4rem 1.8rem; border:1px solid #ead9cd; border-radius:8px 20px 8px 18px; background:#fffaf0; box-shadow:0 9px 22px rgba(102,73,48,.08); transform:rotate(-.3deg); }.welcome-note h3{margin-bottom:.25rem;font:700 1.05rem 'Playfair Display',serif}.welcome-note p{margin:0;color:#806d74;font-size:.88rem;line-height:1.55}.note-icon{font-size:2rem;color:#c16d90}.note-pin{position:absolute;width:12px;height:12px;border-radius:50%;background:#c37191;top:-6px;left:50%;box-shadow:1px 3px 5px #aaa}

.page-intro { display:flex; justify-content:space-between; align-items:end; gap:2rem; margin-bottom:1.7rem; }.page-intro.compact{margin-bottom:1.4rem}.page-intro h1{margin-bottom:.45rem}.page-intro p{max-width:720px;margin:0;color:var(--muted);line-height:1.6}.btn-quiet{padding:.7rem 1rem;border:1px solid #dccbd3;border-radius:12px;background:rgba(255,255,255,.75);color:#8a4c6b;font-weight:700;white-space:nowrap}.btn-quiet:hover{background:white;border-color:#c68eaa}
.notice { margin:-.7rem 0 1.3rem; padding:.8rem 1rem; border-radius:12px; background:#eef8f2; color:#3d7658; font-size:.86rem; }.notice.error{background:#fff0f0;color:#a34e56}
.filter-bar { display:grid; grid-template-columns:minmax(280px,1fr) repeat(3,minmax(130px,.25fr)); gap:.7rem; padding:.9rem; border:1px solid var(--line); border-radius:18px; background:rgba(255,255,255,.82); box-shadow:0 8px 25px rgba(91,55,75,.05); }
.filter-bar input,.filter-bar select { width:100%; height:42px; border:1px solid #e4d9dd; border-radius:11px; background:#fffdfb; color:var(--ink); outline:none; }.filter-bar select{padding:0 .7rem}.filter-bar input:focus,.filter-bar select:focus{border-color:#c887a7;box-shadow:0 0 0 3px rgba(200,135,167,.13)}
.search-field{position:relative}.search-field span{position:absolute;left:.9rem;top:.48rem;color:#ab7c93;font-size:1.35rem}.search-field input{padding:0 .8rem 0 2.55rem}
.result-row{margin:1.2rem .25rem;color:#8a7681;font-size:.82rem}.result-row strong{color:#6d485c}.result-row span{margin:0 .35rem;color:#c9b4be}
.product-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(190px,1fr)); gap:1rem; }
.product-card { min-width:0; overflow:hidden; border:1px solid rgba(120,76,99,.11); border-radius:19px; background:#fff; box-shadow:0 8px 23px rgba(81,47,67,.07); transition:.2s ease; }.product-card:hover{transform:translateY(-3px);box-shadow:0 14px 30px rgba(81,47,67,.12)}
.product-image-wrap { position:relative; height:230px; background:linear-gradient(145deg,#fffdf8,#f8f1ec); overflow:hidden; }.product-image-button{display:block;width:100%;padding:0;border:0;text-align:initial}.product-image-wrap::after{content:'';position:absolute;inset:8px;border:1px solid rgba(176,110,140,.08);border-radius:12px;pointer-events:none}.product-image-wrap img{width:100%;height:100%;object-fit:contain;padding:.85rem;mix-blend-mode:multiply;transition:transform .22s ease}.product-image-button:hover img{transform:scale(1.035)}.format-badge{position:absolute;top:.8rem;left:.8rem;padding:.25rem .5rem;border-radius:8px;background:rgba(255,255,255,.9);box-shadow:0 3px 10px rgba(72,40,58,.1);color:#985071;font-size:.7rem;font-weight:800}.zoom-badge{position:absolute;right:.8rem;bottom:.8rem;display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:rgba(119,70,95,.9);box-shadow:0 5px 14px rgba(68,37,55,.22);color:white;font-size:1.15rem;opacity:0;transform:translateY(5px);transition:.18s ease}.product-image-button:hover .zoom-badge,.product-image-button:focus-visible .zoom-badge{opacity:1;transform:none}
.product-info{padding:.9rem}.product-meta{display:flex;gap:.35rem;color:#a18b96;font-size:.7rem;text-transform:uppercase;letter-spacing:.05em}.product-info h3{overflow:hidden;margin:.25rem 0 .75rem;color:#5c4150;font-size:.94rem;text-overflow:ellipsis;white-space:nowrap}.product-actions{display:grid;grid-template-columns:repeat(3,1fr);gap:.35rem;padding-top:.7rem;border-top:1px solid #f0e7ea}.state-button{display:flex;flex-direction:column;align-items:center;gap:.15rem;padding:.35rem .1rem;border:0;border-radius:9px;background:transparent;color:#a08c96;font-size:.62rem;font-weight:700}.state-button span{font-size:1rem}.state-button:hover{background:#fbf4f6;color:#9d5374}.state-button.owned.active{background:#edf8f1;color:#438463}.state-button.wanted.active{background:#fff0f4;color:#c34e79}.state-button.trade.active{background:#f0f0fb;color:#675ba5}
.pagination-bar{display:flex;justify-content:center;align-items:center;gap:1rem;margin-top:2rem}.pagination-bar button{padding:.6rem .9rem;border:1px solid #dfcdd6;border-radius:10px;background:white;color:#88506b}.pagination-bar span{color:#9a8390;font-size:.84rem}
.loading-state{text-align:center;padding:5rem 1rem;color:#927989}.loading-state>span{display:block;width:38px;height:38px;margin:0 auto 1rem;border:3px solid #efd9e3;border-top-color:#ad5b82;border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}
.album-tabs{display:flex;gap:.45rem;margin-bottom:1.5rem;padding:.35rem;border:1px solid var(--line);border-radius:15px;background:rgba(255,255,255,.7);width:max-content;max-width:100%}.album-tabs button{padding:.65rem .85rem;border:0;border-radius:11px;background:transparent;color:#8b7581;font-weight:700}.album-tabs button.active{background:white;color:#994f73;box-shadow:0 5px 15px rgba(89,52,72,.08)}.album-tabs button span{margin-left:.35rem;padding:.1rem .4rem;border-radius:8px;background:#f5e8ee;font-size:.7rem}
.empty-album{max-width:600px;margin:3rem auto;padding:3rem;text-align:center;border:1px dashed #d8becb;border-radius:24px;background:rgba(255,255,255,.62)}.empty-album>span{display:block;margin-bottom:.7rem;color:#c27799;font-size:2.4rem}.empty-album h2{margin-bottom:.5rem}.empty-album p{color:var(--muted);margin-bottom:1.3rem}

.share-panel{display:grid;grid-template-columns:1fr auto;gap:1rem;align-items:center;margin-bottom:1.5rem;padding:1.2rem 1.4rem;border:1px solid #e3d3da;border-radius:20px;background:linear-gradient(120deg,#fff,#fbf1f5);box-shadow:0 9px 24px rgba(84,50,69,.06)}.share-panel>div:first-child{display:flex;align-items:center;gap:1rem}.share-panel h2{margin:0 0 .25rem;font-size:1.2rem}.share-panel p{margin:0;color:var(--muted);font-size:.84rem}.share-icon{display:grid;place-items:center;width:44px;height:44px;border-radius:14px;background:#f4dfe8;color:#a9577d;font-size:1.25rem}.share-url{grid-column:1/-1;display:flex;align-items:center;gap:.7rem}.share-url input{flex:1;padding:.7rem .8rem;border:1px solid #dfcdd6;border-radius:10px;background:white;color:#745567}.share-url span{color:#4c8a68;font-size:.8rem;font-weight:700}
.trade-list{display:grid;gap:.65rem}.trade-row{display:grid;grid-template-columns:78px 1fr auto;align-items:center;gap:1rem;padding:.65rem 1rem .65rem .65rem;border:1px solid #eadfe3;border-radius:16px;background:white}.trade-row img{width:78px;height:78px;object-fit:contain;border-radius:11px;background:#faf6f1}.trade-row span{color:#a18a95;font-size:.68rem}.trade-row h3{margin:.25rem 0;font-size:.98rem}.quantity-picker{display:flex;align-items:center;gap:.65rem}.quantity-picker button{display:grid;place-items:center;width:32px;height:32px;border:1px solid #e1cfd8;border-radius:10px;background:#fff9fb;color:#995475}.quantity-picker strong{min-width:20px;text-align:center}
.shared-page{max-width:1200px;margin:0 auto}.shared-header{display:flex;align-items:center;gap:1.2rem;margin-bottom:2rem;padding:1.4rem 0;border-bottom:1px solid var(--line)}.shared-header h1{margin:0;font-size:2.5rem}.shared-header p{margin:.25rem 0 0;color:var(--muted)}.brand-mark-public{display:grid;place-items:center;width:65px;height:65px;border-radius:50% 44% 50% 45%;background:#ad5a82;color:white;font:700 2.2rem Georgia;transform:rotate(-6deg)}.shared-product{position:relative}.available-badge{position:absolute;right:.7rem;top:.7rem;padding:.35rem .6rem;border-radius:10px;background:#7d5682;color:white;font-size:.68rem;font-weight:800;box-shadow:0 4px 10px rgba(66,38,67,.2)}
.lightbox-backdrop{position:fixed;inset:0;z-index:1000;display:grid;place-items:center;padding:1rem;background:rgba(47,31,43,.72);backdrop-filter:blur(7px);animation:fade-in .16s ease}.lightbox{width:min(760px,100%);max-height:94vh;overflow:hidden;border:1px solid rgba(255,255,255,.5);border-radius:24px;background:#fffaf6;box-shadow:0 30px 80px rgba(32,18,28,.35);animation:pop-in .2s ease}.lightbox header{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1rem 1.2rem;border-bottom:1px solid #eadde2}.lightbox header .eyebrow{margin-bottom:.15rem}.lightbox h2{margin:0;font-size:1.35rem}.lightbox-close{display:grid;place-items:center;width:40px;height:40px;flex:0 0 40px;border:0;border-radius:50%;background:#f5e7ed;color:#8d4c6b;font-size:1.65rem;line-height:1}.lightbox-close:hover{background:#ecd5df}.lightbox-image{display:grid;place-items:center;min-height:260px;max-height:calc(94vh - 80px);padding:1.25rem;background:linear-gradient(145deg,#fff,#f8f0ea)}.lightbox-image img{display:block;max-width:100%;max-height:calc(94vh - 125px);object-fit:contain;border-radius:12px;box-shadow:0 12px 35px rgba(74,44,61,.14)}@keyframes fade-in{from{opacity:0}}@keyframes pop-in{from{opacity:0;transform:scale(.96) translateY(8px)}}

.account-page, form { position:relative; }.form-control{border-color:#e4d7dd}.form-control:focus{border-color:#c37f9f;box-shadow:0 0 0 .2rem rgba(195,127,159,.14)}.btn-primary{background:#9d4f76;border-color:#9d4f76}.btn-primary:hover{background:#80405f;border-color:#80405f}.validation-message,.text-danger{color:#b43e5f!important}
.account-heading{margin-bottom:1.6rem}.account-heading h1{margin-bottom:.45rem}.account-heading p{color:var(--muted)}.account-side-note{margin-top:2.5rem;padding:1.5rem;border:1px solid #ecdde3;border-radius:22px;background:linear-gradient(145deg,#fffaf3,#f8e7ee);text-align:center}.account-side-note>span{display:block;color:#bd668b;font-size:2.1rem}.account-side-note h3{margin:.5rem 0;font:700 1.2rem 'Playfair Display',serif}.account-side-note p{margin:0;color:var(--muted);font-size:.86rem;line-height:1.6}
.valid.modified:not([type=checkbox]){outline:1px solid #52a277}.invalid{outline:1px solid #b43e5f}.blazor-error-boundary{padding:1rem;background:#a94457;color:white}

@media(max-width:1100px){.stats-grid{grid-template-columns:repeat(2,1fr)}.filter-bar{grid-template-columns:1fr 1fr}.search-field{grid-column:1/-1}.hero-card{grid-template-columns:1fr .7fr}.paper{width:125px;height:155px}}
@media(max-width:720px){.hero-card{display:block;padding:2rem}.hero-illustration{display:none}.stats-grid{grid-template-columns:1fr}.section-heading,.page-intro{align-items:flex-start;flex-direction:column}.filter-bar{grid-template-columns:1fr}.search-field{grid-column:auto}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:.65rem}.product-image-wrap{height:190px}.product-actions{grid-template-columns:1fr}.state-button{flex-direction:row;justify-content:center}.share-panel{grid-template-columns:1fr}.share-panel .btn-primary-soft{width:100%}.share-url{display:block}.share-url span{display:block;margin-top:.5rem}.trade-row{grid-template-columns:62px 1fr}.trade-row img{width:62px;height:62px}.quantity-picker{grid-column:2}.shared-header h1{font-size:2rem}}
@media(max-width:430px){.product-grid{grid-template-columns:1fr}.product-image-wrap{height:260px}.album-tabs{width:100%;overflow:auto}.album-tabs button{white-space:nowrap}.empty-album{padding:2rem 1rem}}
