@font-face{font-family:Manrope;src:url("assets/manrope.ttf") format("truetype");font-weight:200 800;font-display:swap}
@font-face{font-family:Bricolage;src:url("assets/bricolage-grotesque.ttf") format("truetype");font-weight:200 800;font-display:swap}
:root{--blue:#254ce8;--blue-dark:#1737b8;--red:#ec4c60;--ink:#172239;--muted:#778094;--line:#e8ebf2;--surface:#f7f8fc;--white:#fff;--shadow:0 18px 50px #17223909}
*{box-sizing:border-box}body{margin:0;background:var(--surface);font-family:Manrope,Arial,sans-serif;color:var(--ink);font-size:14px;line-height:1.6}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.45}a{color:inherit;text-decoration:none}button{color:inherit}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #90a6ff;outline-offset:4px}h1,h2,h3,h4,p{margin-top:0}h1,h2,h3,h4{font-family:Bricolage,Manrope,sans-serif;line-height:1.12;letter-spacing:-.035em}h1{font-size:38px}h2{font-size:27px}h3{font-size:20px}p{color:var(--muted)}[hidden]{display:none!important}.skip-link{position:fixed;top:-70px;left:16px;z-index:1000;background:var(--blue);color:white;padding:12px 20px;border-radius:8px}.skip-link:focus{top:16px}.button{display:inline-flex;align-items:center;justify-content:center;gap:14px;border:1px solid transparent;border-radius:12px;min-height:48px;padding:12px 21px;font-weight:750;transition:transform .18s,background .18s,box-shadow .18s}.button:hover:not(:disabled){transform:translateY(-2px)}.button.primary{background:var(--blue);color:white;box-shadow:0 7px 15px #254ce820}.button.primary:hover{background:var(--blue-dark)}.button.secondary{background:white;color:var(--ink);border-color:var(--line)}.button.soft{background:#eef2ff;color:var(--blue)}.button.red{background:#fff0f2;color:#cf344b}.button.small{min-height:40px;padding:8px 15px;font-size:12px;border-radius:9px}.text-link{background:none;border:0;padding:0;font-size:12px;color:var(--blue);font-weight:750}.eyebrow{font-size:10px;letter-spacing:.16em;font-weight:800;text-transform:uppercase;color:var(--blue)}.pill{display:inline-flex;gap:6px;align-items:center;border:1px solid var(--line);border-radius:100px;background:white;font-size:11px;font-weight:750;padding:5px 11px}.icon{display:inline-block;width:21px;height:21px;vertical-align:middle;stroke:currentColor;stroke-width:1.7;fill:none;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.coin{display:inline-flex;align-items:center;justify-content:center;width:20px;height:20px;border:1.5px solid currentColor;border-radius:50%;font-size:11px;font-weight:800;line-height:1}.brand-symbol{display:inline-flex;align-items:center;justify-content:center;width:36px;height:40px;border-radius:9px 9px 9px 2px;background:var(--blue);color:white;font:750 29px Bricolage;position:relative;box-shadow:0 4px 9px #254ce81a}.brand-symbol span{width:5px;height:15px;background:var(--red);position:absolute;right:-3px;bottom:0;border-radius:3px 0 3px 0}.brand-stop{color:var(--red)}.tiny-flag{display:inline-flex;width:26px;height:17px;border-radius:3px;overflow:hidden;box-shadow:0 0 0 1px #1722390a}.tiny-flag i{width:33.333%}.tiny-flag i:nth-child(1){background:var(--blue)}.tiny-flag i:nth-child(2){background:white}.tiny-flag i:nth-child(3){background:var(--red)}
.login-screen{min-height:100svh;background:#fbfcff;display:flex;align-items:center;justify-content:center;position:relative;overflow:hidden;padding:108px 20px 95px;isolation:isolate}.login-screen:before{content:"";position:absolute;inset:0;z-index:-3;background:radial-gradient(ellipse at 9% 78%,#dce7ff90 0,transparent 45%),radial-gradient(ellipse at 94% 20%,#ffe9e870 0,transparent 45%)}.republic-art{position:absolute;inset:0;z-index:-2;pointer-events:none;overflow:hidden}.republic-art>img{position:absolute;width:100%;height:100%;object-fit:cover;opacity:.76;animation:scene-breathe 18s ease-in-out infinite alternate}.login-wordmark{position:absolute;top:34px;left:46px;display:flex;gap:12px;align-items:center;font:750 25px Bricolage;letter-spacing:-.05em}.edition-year{font:800 9px Manrope;letter-spacing:.12em;background:#edf1ff;color:var(--blue);padding:3px 7px;border-radius:4px;margin-left:1px}.motion-toggle{position:absolute;top:44px;right:42px;border:0;background:none;display:flex;align-items:center;gap:5px;font-size:10px;color:#7b8599;min-height:30px}.toggle-dot{margin-left:7px;width:24px;height:14px;border-radius:20px;background:var(--blue);position:relative}.toggle-dot:after{content:"";width:10px;height:10px;background:white;border-radius:50%;position:absolute;right:2px;top:2px}.login-card{width:438px;max-width:100%;padding:39px 42px 30px;border:1px solid #e2e7f1;background:#ffffffed;backdrop-filter:blur(18px);border-radius:22px;box-shadow:0 30px 90px #2032600d,0 2px 6px #20326004;position:relative;z-index:2}.card-tricolor{display:flex;position:absolute;height:3px;top:-1px;left:calc(50% - 28px);width:56px;border-radius:0 0 3px 3px;overflow:hidden}.card-tricolor b{width:33.333%}.card-tricolor b:first-child{background:var(--blue)}.card-tricolor b:nth-child(2){background:#eee}.card-tricolor b:last-child{background:var(--red)}.edition-label{font-size:8px;letter-spacing:.18em;font-weight:800;color:#8992a4;display:flex;justify-content:center;align-items:center;gap:8px}.edition-label>span{display:block;width:5px;height:5px;background:var(--red);border-radius:50%}.login-card h1{text-align:center;font-size:49px;margin:20px 0 5px;letter-spacing:-.07em;font-weight:800}.login-card h1>span{color:var(--blue)}.login-subtitle{text-align:center;color:#8790a1;font-size:12px;margin-bottom:32px}.login-card label{display:block;font-size:11px;font-weight:750;margin:0 0 8px}.input-wrap{position:relative;display:flex;align-items:center}.input-wrap input{width:100%;min-width:0;height:48px;background:#fbfcfe;border:1px solid #e1e5ef;border-radius:9px;color:var(--ink);padding:0 40px;font-size:11px;outline-offset:2px}.input-wrap input::placeholder{color:#a3aabc}.field-icon{position:absolute;left:15px;font-size:17px;color:#98a2b8;pointer-events:none}.label-row{display:flex;align-items:center;justify-content:space-between;margin-top:20px}.label-row .text-link{font-size:9px;margin-bottom:8px}.eye-button{position:absolute;right:7px;width:34px;height:34px;border:0;background:transparent;color:#9ca6bc}.login-submit{width:100%;margin-top:26px;justify-content:space-between;font-size:12px}.login-divider{display:flex;align-items:center;gap:10px;margin:23px 0 17px;color:#a7aebd;font-size:9px;white-space:nowrap}.login-divider:before,.login-divider:after{content:"";height:1px;flex:1;background:#e9edf4}.demo-enter{width:100%;font-size:11px;justify-content:space-between}.demo-login-note{text-align:center;font-size:9px;line-height:1.6;color:#9ba3b4;margin:13px 0 21px}.signup-line{margin:0;border-top:1px solid #edf0f6;padding-top:19px;font-size:9px;text-align:center;color:#9ba3b4}.signup-line .text-link{font-size:9px;margin-left:3px}.login-footer{position:absolute;left:46px;right:46px;bottom:26px;display:flex;justify-content:space-between;gap:15px;color:#919aab;font-size:9px}.login-footer button{padding:0;background:none;border:0;font-size:9px;color:#7a869d}.login-footer i{font-style:normal;margin:0 8px;color:#b5bdcc}.orbit{position:absolute;border:1px solid #547eff13;width:780px;height:780px;border-radius:50%;left:-410px;bottom:-460px}.orbit-two{width:830px;height:830px;left:-435px;bottom:-485px}.spark{position:absolute;color:var(--blue);font-style:normal;animation:float-spark 9s ease-in-out infinite}.spark-one{left:20%;top:22%;font-size:35px;opacity:.2}.spark-two{right:15%;bottom:20%;font-size:23px;opacity:.15;animation-delay:-3s}.spark-three{right:27%;top:16%;font-size:38px;opacity:.2;animation-delay:-6s}.tricolor-ribbon{position:absolute;right:-80px;top:90px;display:flex;width:220px;height:380px;transform:rotate(-22deg);opacity:.045;animation:ribbon 15s ease-in-out infinite alternate}.tricolor-ribbon b{width:33.33%;background:var(--blue)}.tricolor-ribbon b:nth-child(2){background:white}.tricolor-ribbon b:nth-child(3){background:var(--red)}@keyframes float-spark{50%{transform:translateY(-13px) rotate(12deg)}}@keyframes scene-breathe{to{transform:translateY(-8px) scale(1.012)}}@keyframes ribbon{to{transform:rotate(-14deg) translateY(30px)}}.motion-reduced *, .motion-reduced *:before,.motion-reduced *:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}.motion-reduced .toggle-dot{background:#b1b9cc}.motion-reduced .toggle-dot:after{left:2px;right:auto}
.app-shell{min-height:100vh}.sidebar{position:fixed;left:0;top:0;bottom:0;width:218px;padding:32px 20px 22px;background:white;border-right:1px solid var(--line);z-index:20;display:flex;flex-direction:column}.brand{display:flex;gap:10px;align-items:center;font:750 25px Bricolage;letter-spacing:-.06em;padding:0 8px}.brand .brand-symbol{width:30px;height:34px;font-size:25px}.brand-stop{margin-left:-9px}.sidebar-caption{font-size:8px;letter-spacing:.17em;color:#a6aebe;font-weight:750;margin:46px 15px 17px}.nav-link{display:flex;gap:13px;align-items:center;padding:13px 15px;border-radius:10px;color:#8490a4;font-weight:650;font-size:12px;margin:4px 0;position:relative}.nav-link:hover{background:#f6f8fd;color:#354567}.nav-link.active{color:var(--blue);background:#eef2ff;font-weight:800}.nav-link.active:before{content:"";position:absolute;left:-20px;height:22px;width:3px;background:var(--blue);border-radius:0 4px 4px 0}.sidebar-bottom{margin-top:auto;padding-top:32px}.edition-tile{background:linear-gradient(135deg,#f6f8ff,#fff7f8);border:1px solid #edf0f7;border-radius:12px;padding:18px 16px}.edition-tile strong{display:block;font-family:Bricolage;margin-top:12px;font-size:15px}.edition-tile p{font-size:10px;line-height:1.7;margin:6px 0 0;color:#98a1b2}.sidebar-help{display:flex;gap:10px;align-items:center;font-size:10px;color:#8d98aa;background:none;border:0;margin-top:19px;padding:5px 12px}.workspace{margin-left:218px}.topbar{height:85px;border-bottom:1px solid var(--line);background:#ffffffd9;backdrop-filter:blur(10px);padding:0 42px;display:flex;align-items:center;justify-content:space-between;gap:18px;position:sticky;top:0;z-index:15}.breadcrumbs{font-size:10px;color:#99a2b2;display:flex;align-items:center;gap:14px}.breadcrumbs i{font-style:normal;color:#c9ceda}.breadcrumbs strong{color:#455269;font-weight:650}.topbar-actions{display:flex;gap:17px;align-items:center}.demo-badge{font-size:9px;color:#9aa3b4;display:flex;align-items:center;gap:5px}.demo-badge i{background:#eabf67;width:5px;height:5px;border-radius:50%}.wallet-button{display:flex;gap:9px;align-items:center;padding:8px 11px;border:1px solid #e5eafb;border-radius:9px;background:#fafbff;color:var(--blue);font-size:12px;font-weight:800;min-height:38px}.wallet-button .plus{display:flex;align-items:center;justify-content:center;width:18px;height:18px;font-size:14px;border-radius:5px;background:#e9eeff;margin-left:5px}.avatar-button{border:1px solid #dbe4ff;background:#eaf0ff;border-radius:50%;color:var(--blue);width:37px;height:37px;font-weight:800;font-family:Bricolage}main{max-width:1540px;margin:0 auto;padding:36px 42px 50px;min-height:calc(100vh - 150px);outline:none}.app-footer{margin:0 42px;padding:21px 0;display:flex;justify-content:space-between;gap:20px;border-top:1px solid var(--line);font-size:8px;color:#a0a8b7}.app-footer button{border:0;background:none;padding:0;color:inherit;font-size:8px}.page-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:24px;margin-bottom:27px}.page-heading h1{margin:8px 0 10px;font-size:34px}.page-heading p{margin-bottom:0;font-size:11px}.page-heading .eyebrow{font-size:8px}.hero{background:linear-gradient(110deg,#edf2ff 0%,#f0f3fd 52%,#fcf2f2 100%);border:1px solid #e5eafa;border-radius:19px;min-height:330px;display:grid;grid-template-columns:1.15fr 1fr;overflow:hidden;position:relative}.hero-copy{padding:35px 38px;position:relative;z-index:2}.hero .eyebrow{font-size:8px;display:flex;align-items:center;gap:9px}.hero .hero-title{font-size:43px;line-height:1.04;letter-spacing:-.06em;margin:20px 0 15px}.hero .hero-title em{color:var(--blue);font-style:normal}.hero p{font-size:11px;max-width:300px;color:#8a96ad;line-height:1.8}.hero-cta{display:flex;align-items:center;gap:14px;margin-top:21px}.hero-cta .button{font-size:10px;min-height:42px;border-radius:9px;padding:10px 17px}.hero-cta .text-link{font-size:9px}.hero-art{position:relative;display:flex;align-items:center;justify-content:center;min-height:300px}.hero-art:before{content:"";width:250px;height:250px;border-radius:50%;position:absolute;border:1px solid #254ce80d;box-shadow:0 0 0 30px #254ce804,0 0 0 60px #254ce803}.hero-float-label{position:absolute;right:21px;top:23px;font-size:8px;padding:6px 10px;border-radius:20px;background:#ffffffab;border:1px solid #fff;color:#8190aa;font-weight:700}.hero-free{position:absolute;bottom:23px;left:22px;background:white;border-radius:9px;box-shadow:0 5px 20px #17223909;padding:10px 15px;font-size:9px;color:#7787a7;display:flex;gap:8px;align-items:center}.hero-free b{color:var(--ink)}.pack-art{position:relative;isolation:isolate;width:158px;height:223px;border-radius:6px 6px 8px 8px;background:linear-gradient(130deg,#122b8d,#3266f0 48%,#1c3fce);box-shadow:11px 18px 25px #284ba930,1px 0 0 #8cabff inset,-4px 0 1px #0a2387 inset;transform:rotate(9deg);color:white;display:flex;flex-direction:column;align-items:center;overflow:hidden;flex-shrink:0}.pack-art:before,.pack-art:after{content:"";position:absolute;left:0;right:0;height:12px;background:repeating-linear-gradient(90deg,#ffffff30 0 1px,#102d9a10 1px 4px);border-top:1px solid #ffffff30;z-index:3}.pack-art:before{top:0}.pack-art:after{bottom:0;transform:rotate(180deg)}.pack-art .pack-lines{position:absolute;inset:36px -100px -20px 45px;background:repeating-radial-gradient(ellipse at center,transparent 0 13px,#ffffff13 14px 15px);transform:rotate(23deg)}.pack-art .pack-ribbon{position:absolute;width:65px;height:280px;right:9px;top:-35px;background:linear-gradient(90deg,transparent,#c6d8ff25,#ffffff15,transparent);transform:rotate(-32deg)}.pack-art .pack-name{font:800 20px Bricolage;letter-spacing:-.04em;margin-top:25px;position:relative}.pack-art .pack-series{font-size:6px;letter-spacing:.25em;margin-top:3px;opacity:.65}.pack-art .pack-seal{font:650 65px Bricolage;line-height:1;width:92px;height:92px;border:1px solid #ffffff45;border-radius:50%;display:flex;align-items:center;justify-content:center;margin-top:16px;background:linear-gradient(130deg,#ffffff20,transparent);box-shadow:0 0 0 7px #ffffff05;position:relative}.pack-art .pack-bottom{font-size:7px;letter-spacing:.17em;margin-top:auto;padding-bottom:20px;color:#dbe5ff}.pack-art .pack-year{font:700 11px Bricolage;margin-top:10px;position:relative}.pack-art.red{background:linear-gradient(130deg,#9d1c42,#e45970 55%,#b43255);box-shadow:11px 18px 25px #ae294b20}.pack-art.gold{background:linear-gradient(130deg,#9c781e,#e5bd62 55%,#bb9347);box-shadow:11px 18px 25px #9a752320}.pack-art.navy{background:linear-gradient(130deg,#142b50,#456a96 55%,#203b60)}.pack-art.small{width:111px;height:157px;transform:rotate(-7deg)}.pack-art.small .pack-name{font-size:16px;margin-top:19px}.pack-art.small .pack-series{font-size:5px}.pack-art.small .pack-seal{width:60px;height:60px;font-size:33px;margin-top:12px}.pack-art.small .pack-bottom{font-size:5px;padding-bottom:15px}.pack-art.small .pack-year{margin-top:7px;font-size:8px}.stat-row{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin:21px 0 32px}.stat-card{background:white;border:1px solid var(--line);padding:18px 20px;border-radius:12px;display:flex;gap:14px;align-items:center}.stat-icon{width:39px;height:39px;display:flex;align-items:center;justify-content:center;border-radius:11px;background:#f0f4ff;color:#6d8aeb}.stat-card:nth-child(2) .stat-icon{background:#fff2f3;color:#e57d8b}.stat-card:nth-child(3) .stat-icon{background:#fff8e9;color:#cfb16c}.stat-card strong{display:block;font:750 23px Bricolage;letter-spacing:-.04em}.stat-card p{font-size:9px;margin:1px 0 0;color:#9aa4b6}.section-row{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:29px 0 18px}.section-row h2{font-size:21px;margin:0}.section-row p{font-size:10px;margin:5px 0 0}.section-row .text-link{font-size:10px}.home-lower{display:grid;grid-template-columns:1.6fr 1fr;gap:25px}.panel{background:white;border:1px solid var(--line);border-radius:15px;padding:22px}.panel h3{font-size:18px;margin-bottom:7px}.panel-subtitle{font-size:10px;margin-bottom:17px;line-height:1.8}.mission-progress{height:5px;display:flex;gap:5px;margin:13px 0 17px}.mission-progress span{flex:1;background:#edf0f7;border-radius:4px}.mission-progress span.done{background:var(--blue)}.mission-task{display:flex;align-items:center;gap:9px;font-size:10px;padding:9px 0;border-bottom:1px solid #f1f3f8;color:#8b96aa}.mission-task:last-child{border:0}.mission-check{width:15px;height:15px;border-radius:5px;border:1px solid #dfe5f0;display:flex;align-items:center;justify-content:center;font-size:9px;flex-shrink:0}.mission-task.done{color:#4a638d}.mission-task.done .mission-check{background:#eef3ff;border-color:#e0e9ff;color:var(--blue)}.mission-task button{margin-left:auto;border:0;background:transparent;color:var(--blue);font-size:13px;padding:1px 4px}.mission-reward{display:flex;align-items:center;justify-content:space-between;background:#f8faff;border:1px dashed #dce4fa;border-radius:9px;padding:10px 12px;margin-top:16px;font-size:9px;color:#8495b3}.mission-reward strong{color:var(--blue)}.mission-reward .button{min-height:31px;font-size:9px;padding:5px 10px}
.cards-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.cards-grid.compact{gap:14px}.collectible{min-width:0}.card-face{width:100%;border:0;padding:5px;display:block;border-radius:15px;background:linear-gradient(140deg,#aebff1,#e8edff 27%,#8ca4e2 58%,#eedeea);box-shadow:0 8px 16px #1722390a,0 0 0 1px #fff inset;text-align:left;position:relative;transition:transform .25s,box-shadow .25s;overflow:hidden;isolation:isolate}.card-face:hover{transform:translateY(-5px) rotate(-1deg);box-shadow:0 15px 25px #263b6717}.card-face .portrait{height:290px;position:relative;border-radius:10px;overflow:hidden;background:#d4ddeb}.card-face img{width:100%;height:100%;object-fit:cover;display:block}.card-shade{position:absolute;inset:0;background:linear-gradient(180deg,#10223c0a 10%,transparent 25%,#13223820 50%,#0b183bea 100%)}.foil{position:absolute;inset:0;pointer-events:none;background:linear-gradient(125deg,transparent 28%,#e7fcff35 41%,#ffe9ff38 49%,transparent 62%);mix-blend-mode:screen;mask-image:linear-gradient(transparent 42%,#000 79%);opacity:.7}.card-top{position:absolute;left:14px;right:14px;top:14px;display:flex;align-items:center;justify-content:space-between;gap:5px}.rarity-tag{font-size:6px;letter-spacing:.12em;text-transform:uppercase;font-weight:800;padding:4px 7px;background:#ffffff26;backdrop-filter:blur(8px);border:1px solid #ffffff30;border-radius:5px;color:white}.card-monogram{font:600 14px Bricolage;color:#ffffffcc;border:1px solid #ffffff70;width:23px;height:25px;border-radius:5px;display:flex;align-items:center;justify-content:center}.card-text{position:absolute;left:16px;right:16px;bottom:16px;color:white}.card-party{font-size:6px;text-transform:uppercase;letter-spacing:.13em;color:#ced9ee;margin:0 0 8px}.card-text h3{font-size:25px;line-height:1.05;color:white;margin:0 0 13px;letter-spacing:-.04em}.card-bottom{display:flex;align-items:center;justify-content:space-between;border-top:1px solid #ffffff38;padding-top:8px;font-size:7px;color:#ced9ee}.card-face.epic{background:linear-gradient(135deg,#b9a2e8,#ecdfff,#9e9be9 60%,#efaec4)}.card-face.legendary{background:linear-gradient(135deg,#bda061,#fff3c4,#c2a566 50%,#f3dfb3);box-shadow:0 8px 22px #a9823318}.card-face.uncommon{background:linear-gradient(135deg,#a0c7c7,#dcf0f0,#80a7ab)}.card-face.common{background:linear-gradient(135deg,#aeb5c1,#eff1f5,#a8b1bf)}.card-footer{display:flex;align-items:center;justify-content:space-between;margin-top:10px;gap:5px;font-size:8px;color:#98a2b4}.card-footer button{background:none;border:0;padding:2px;color:#97a3b9;min-width:26px;min-height:28px}.card-footer .favorite.active{color:var(--red)}.copy-badge{font-size:8px;font-weight:750;background:white;border:1px solid #e7ebf5;border-radius:5px;padding:3px 7px;color:#8693ad}.compact .card-face .portrait{height:220px}.compact .card-text h3{font-size:21px}.compact .card-text{left:12px;right:12px;bottom:12px}.compact .card-top{left:11px;right:11px;top:11px}.compact .card-bottom{font-size:6px}.locked-card{padding:5px;border-radius:15px;background:#e4e8f0;position:relative;overflow:hidden}.locked-face{height:290px;background:linear-gradient(150deg,#f5f7fa,#edf0f5);border-radius:10px;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#bdc7d8;border:1px solid #e0e5ee}.locked-face .icon{width:38px;height:38px;stroke-width:1}.locked-face span{font-size:9px;margin-top:18px;color:#a7b1c3}.locked-face small{font-size:7px;margin-top:4px;color:#bcc4d2}.locked-pattern{position:absolute;inset:0;opacity:.2;background:repeating-linear-gradient(45deg,transparent 0 28px,#cdd5e22b 28px 29px)}.editorial-note{display:flex;align-items:flex-start;gap:10px;margin-top:26px;padding:14px 17px;border:1px solid #e8ecf5;border-radius:10px;color:#95a0b4;font-size:9px;background:#ffffff9e}.editorial-note .icon{width:16px;height:16px;flex-shrink:0}.editorial-note p{margin:0;font-size:9px;color:inherit}.toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:24px 0 22px;flex-wrap:wrap}.search-box{position:relative;min-width:220px;flex:1;max-width:330px}.search-box input{padding:11px 13px 11px 38px;background:white;border:1px solid var(--line);border-radius:9px;width:100%;font-size:10px;color:var(--ink)}.search-box .icon{position:absolute;left:12px;top:12px;width:15px;height:15px;color:#a6afbf}.filter-select{min-height:40px;background:white;border:1px solid var(--line);border-radius:9px;padding:8px 30px 8px 12px;font-size:10px;color:#8190a6}.filter-pills{display:flex;flex-wrap:wrap;gap:7px}.filter-pill{border:1px solid var(--line);border-radius:8px;background:white;padding:8px 12px;font-size:9px;color:#8c98ad;display:flex;align-items:center;gap:7px}.filter-pill.active{color:var(--blue);background:#eef2ff;border-color:#d8e0ff;font-weight:800}.party-dot{width:6px;height:6px;border-radius:50%;background:var(--party-color);display:inline-block}.collection-meta{display:flex;gap:15px;color:#99a3b5;font-size:9px;margin:16px 0 0}.collection-meta strong{color:#55657f}.segment{display:inline-flex;gap:4px;padding:4px;background:#eaeef6;border-radius:9px}.segment button{background:none;border:0;border-radius:7px;font-size:9px;padding:7px 12px;color:#8592a9}.segment button.active{background:white;box-shadow:0 2px 5px #192b5208;color:#3f5275;font-weight:750}.empty-state{text-align:center;padding:55px 20px;background:white;border:1px dashed #dce3ef;border-radius:14px;grid-column:1/-1}.empty-state .icon{width:35px;height:35px;color:#b2bfd4}.empty-state h3{font-size:20px;margin:18px 0 8px}.empty-state p{font-size:11px}.market-intro{padding:24px 28px;background:linear-gradient(110deg,#eef3ff,#f6f7fc);border:1px solid #e2e8f7;border-radius:14px;display:flex;align-items:center;gap:20px;justify-content:space-between;margin-bottom:24px}.market-intro h3{font-size:22px;margin:0 0 7px}.market-intro p{font-size:10px;margin:0;max-width:450px}.market-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.listing{background:white;border:1px solid var(--line);padding:14px;border-radius:15px;min-width:0}.listing .card-face{max-width:100%}.listing .portrait{height:235px}.listing .card-text h3{font-size:23px}.listing-meta{display:flex;justify-content:space-between;align-items:center;margin:14px 0;font-size:9px;color:#9aa5b6}.seller{display:flex;align-items:center;gap:6px}.mini-avatar{width:22px;height:22px;border-radius:50%;background:#f0f3fb;display:inline-flex;align-items:center;justify-content:center;font-size:8px;color:#8b9fbe}.listing-bottom{display:flex;align-items:center;justify-content:space-between;gap:10px}.price{font-family:Bricolage;font-size:20px;letter-spacing:-.04em;font-weight:750;color:var(--ink);display:inline-flex;align-items:center;gap:7px}.price .coin{color:#8b9bcc;width:16px;height:16px;font-size:9px}.listing-bottom .button{min-height:36px;font-size:9px;padding:8px 13px}.shop-hero{display:grid;grid-template-columns:1fr 1fr;background:#edf2ff;border:1px solid #e0e7fc;border-radius:17px;min-height:280px;overflow:hidden;margin-bottom:30px}.shop-hero-copy{padding:31px 32px}.shop-hero h2{font-size:36px;max-width:350px;line-height:1.07;margin:13px 0 12px}.shop-hero p{font-size:10px;max-width:340px}.shop-hero .hero-art{min-height:280px}.shop-pack-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:17px}.shop-pack{background:white;border:1px solid var(--line);border-radius:14px;overflow:hidden}.shop-pack-visual{height:200px;display:flex;align-items:center;justify-content:center;background:radial-gradient(ellipse at center,#eef3ff,white 74%)}.shop-pack:nth-child(2) .shop-pack-visual{background:radial-gradient(ellipse at center,#eaf0f7,white 74%)}.shop-pack:nth-child(3) .shop-pack-visual{background:radial-gradient(ellipse at center,#fff0f4,white 74%)}.shop-pack:nth-child(4) .shop-pack-visual{background:radial-gradient(ellipse at center,#fff7e6,white 74%)}.shop-pack-body{padding:16px;border-top:1px solid #f1f4f9}.shop-pack h3{font-size:14px;margin:0 0 6px;min-height:30px}.shop-pack p{font-size:8px;margin:0 0 14px}.shop-pack .listing-bottom{gap:4px}.shop-pack .price{font-size:17px}.shop-pack .button{font-size:8px;padding:7px 10px;min-height:33px}.probability-link{display:block;margin:16px auto 0;background:none;border:0;color:#92a2bf;font-size:9px;text-decoration:underline;text-underline-offset:3px}.profile-layout{display:grid;grid-template-columns:1fr 1.5fr;gap:24px}.profile-card{text-align:center;padding:30px}.big-avatar{width:84px;height:84px;border-radius:50%;margin:0 auto 16px;display:flex;align-items:center;justify-content:center;background:linear-gradient(145deg,#e1e9ff,#f1f5ff);border:4px solid white;box-shadow:0 0 0 1px #e4eafb;color:var(--blue);font:750 37px Bricolage}.profile-card h2{font-size:27px;margin:10px 0 6px}.profile-card p{font-size:10px}.profile-stats{display:flex;justify-content:space-around;border-top:1px solid var(--line);padding-top:22px;margin-top:25px}.profile-stats strong{display:block;font:750 23px Bricolage}.profile-stats span{font-size:8px;color:#9aa5b9}.profile-form label,.sale-form label{display:block;font-size:10px;font-weight:750;margin:16px 0 7px}.form-input{width:100%;border:1px solid var(--line);background:#fafbfe;border-radius:9px;min-height:43px;padding:11px 13px;font-size:11px;color:var(--ink)}textarea.form-input{resize:vertical;min-height:82px}.check-row{display:flex;align-items:flex-start;gap:10px;margin:19px 0;font-size:10px;color:#6e7f9d}.check-row input{accent-color:var(--blue);width:16px;height:16px;margin:2px 0 0;flex-shrink:0}.check-row small{display:block;color:#a0a9bb;font-size:8px;margin-top:3px}.trophy-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.trophy{background:white;border:1px solid var(--line);border-radius:12px;padding:20px 9px;text-align:center;opacity:.45}.trophy.unlocked{opacity:1}.trophy .icon{width:28px;height:28px;color:#cdb275;stroke-width:1.3;margin-bottom:13px}.trophy strong{display:block;font:700 13px Bricolage;margin-bottom:6px}.trophy small{font-size:8px;color:#a1aabe}.privacy-note{font-size:8px;line-height:1.9;color:#a3abbb;margin-top:15px}.logout-button{background:none;border:0;color:#a0aabd;font-size:10px;padding:11px 0;margin-top:15px;display:flex;gap:7px;align-items:center}
dialog{width:620px;max-width:calc(100% - 32px);border:1px solid #e1e6f1;border-radius:20px;background:white;padding:34px;color:var(--ink);box-shadow:0 30px 100px #0d19432b;max-height:88svh;overflow:auto}dialog::backdrop{background:#0a173459;backdrop-filter:blur(5px)}.dialog-close{position:absolute;right:16px;top:14px;border:1px solid #e8ecf4;border-radius:50%;background:#f9fafe;font-size:23px;line-height:1;width:33px;height:33px;color:#8f9cb2;z-index:5}.dialog-heading{padding-right:25px}.dialog-heading h2{font-size:31px;margin:10px 0 10px}.dialog-heading p{font-size:11px;line-height:1.8}.dialog-actions{display:flex;gap:10px;justify-content:flex-end;margin-top:24px;flex-wrap:wrap}.dialog-actions .button{font-size:11px}.dialog-note{font-size:9px;color:#9ca7bc;margin:15px 0 0;line-height:1.8}.wallet-summary{background:linear-gradient(120deg,#254ce8,#4f75f3);color:white;border-radius:14px;padding:24px 26px;margin:22px 0}.wallet-summary>span{font-size:9px;opacity:.65}.wallet-summary strong{display:flex;gap:11px;align-items:center;font:750 43px Bricolage;margin:6px 0}.wallet-summary .coin{width:26px;height:26px;font-size:16px}.wallet-summary p{color:#d1ddff;font-size:8px;margin:0}.topup-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:18px 0}.topup-offer{border:1px solid #e3e9f6;background:white;border-radius:11px;padding:18px 12px;text-align:center;position:relative}.topup-offer:hover{border-color:#b3c4fb;background:#fafbff}.topup-offer>span{display:block;font-size:8px;color:#9ca8bc}.topup-offer strong{font:750 25px Bricolage;display:block;margin:12px 0 0;color:var(--blue)}.topup-offer small{font-size:8px;color:#a0aabc}.topup-offer .euro-price{display:block;margin-top:14px;font-size:12px;font-weight:750;color:#566986}.topup-offer em{display:block;font-size:7px;margin-top:8px;color:#a4afc3;font-style:normal}.ledger{width:100%;border-collapse:collapse;font-size:9px}.ledger td,.ledger th{padding:12px 0;text-align:left;border-bottom:1px solid #f0f3f8}.ledger th{font-size:8px;letter-spacing:.06em;color:#a5afc0;font-weight:650}.ledger td:last-child{text-align:right;font-weight:750;white-space:nowrap}.positive{color:#3e927f}.negative{color:#8a96ad}.ledger small{display:block;font-size:7px;color:#aab2c2;margin-top:3px}.purchase-preview{display:grid;grid-template-columns:190px 1fr;gap:25px;margin:22px 0;align-items:center}.purchase-preview .portrait{height:240px}.purchase-preview .card-text h3{font-size:24px}.purchase-details h3{font-size:22px;margin-bottom:10px}.purchase-details p{font-size:10px}.purchase-details .price{font-size:28px}.balance-after{font-size:9px;margin-top:20px;padding-top:16px;border-top:1px solid var(--line);color:#93a0b8}.balance-after strong{color:#546a99}.odds-table{width:100%;border-collapse:collapse;margin:22px 0;font-size:10px}.odds-table th{font-size:8px;text-align:left;color:#a4aec0;font-weight:650;padding:9px 5px;border-bottom:1px solid var(--line)}.odds-table td{padding:11px 5px;border-bottom:1px solid #f0f3f8}.odds-table td:nth-child(2),.odds-table td:nth-child(3){text-align:right;color:#617492;font-weight:650}.rarity-dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:var(--rarity-color);margin-right:7px}.pack-picker{display:flex;gap:16px;overflow-x:auto;padding:20px 5px}.pack-choice{min-width:120px;flex:1;border:1px solid var(--line);background:#f8faff;border-radius:12px;padding:20px 8px;text-align:center}.pack-choice .pack-art{margin:0 auto}.pack-choice strong{font:750 13px Bricolage;display:block;margin:20px 0 5px}.pack-choice small{font-size:8px;color:#97a4bb}.pack-choice .button{margin-top:14px;font-size:9px;min-height:36px}.opening-dialog{width:850px;text-align:center}.opening-dialog .dialog-heading{padding:0}.opening-dialog .dialog-heading h2{font-size:35px}.reveal-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin:26px 0}.reveal-grid .card-face{cursor:pointer;border-radius:11px;padding:4px}.reveal-grid .portrait{height:205px;border-radius:7px}.reveal-grid .card-top{top:8px;left:8px;right:8px}.reveal-grid .rarity-tag{font-size:4px;padding:3px 4px}.reveal-grid .card-monogram{font-size:10px;width:17px;height:20px}.reveal-grid .card-text{left:9px;right:9px;bottom:12px}.reveal-grid .card-text h3{font-size:19px}.reveal-grid .card-party{font-size:4px}.reveal-grid .card-bottom{font-size:5px}.card-back{height:213px;display:flex;align-items:center;justify-content:center;background:linear-gradient(145deg,#2343b4,#3b68ed);border:4px solid #bfd0ff;border-radius:11px;position:relative;overflow:hidden;color:#dbe6ff;cursor:pointer;width:100%;transition:transform .3s}.card-back:before{content:"";position:absolute;inset:12px;border:1px solid #ffffff30;border-radius:6px}.card-back:after{content:"";width:140px;height:140px;border:1px solid #ffffff18;border-radius:50%;position:absolute;box-shadow:0 0 0 20px #ffffff06}.card-back strong{font:700 45px Bricolage;z-index:2}.card-back span{position:absolute;bottom:25px;font-size:7px;letter-spacing:.13em}.reveal-slot{animation:reveal-in .5s both}.reveal-slot:nth-child(2){animation-delay:.07s}.reveal-slot:nth-child(3){animation-delay:.14s}.reveal-slot:nth-child(4){animation-delay:.21s}.reveal-slot:nth-child(5){animation-delay:.28s}.reveal-slot.highlight{filter:drop-shadow(0 0 10px #d3a84e55)}@keyframes reveal-in{from{opacity:0;transform:translateY(15px) rotateY(25deg)}to{opacity:1;transform:none}}.opening-bonus{display:flex;justify-content:center;gap:12px;margin:20px 0}.opening-bonus span{font-size:9px;border:1px solid #e4eafd;border-radius:20px;padding:7px 13px;background:#f7f9ff;color:#7490c1}.detail-layout{display:grid;grid-template-columns:220px 1fr;gap:28px;margin:20px 0}.detail-layout .portrait{height:310px}.detail-layout .card-text h3{font-size:28px}.detail-layout h2{font-size:29px}.detail-layout .party-label{font-size:9px;color:#8c9db9;display:flex;align-items:center;gap:7px;margin-bottom:15px}.skills{margin-top:20px}.skill{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #f0f3f8;padding:8px 0;font-size:9px;color:#93a0b7}.skill strong{color:#bec7d5;font-weight:650}.grade-note{font-size:8px;margin-top:12px;line-height:1.8;color:#a2acbd}.detail-controls{display:flex;flex-wrap:wrap;gap:8px;margin-top:22px}.credit-block{border-top:1px solid var(--line);margin-top:22px;padding-top:19px;font-size:9px;color:#94a0b7;line-height:1.8}.credit-block a{color:var(--blue);text-decoration:underline;text-underline-offset:2px}.credit-block p{font-size:9px;margin-bottom:8px}.sell-select{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;max-height:240px;overflow:auto;margin:15px 0}.sell-option{border:1px solid #e4e9f3;border-radius:9px;background:#f9fbff;padding:12px;font-size:9px;color:#7e8fae;text-align:left}.sell-option strong{display:block;font-family:Bricolage;font-size:12px;color:#465d84;margin-bottom:5px}.sell-option.active{border-color:#9db4ff;background:#eff4ff}.sale-warning{font-size:9px;color:#b28c4b;background:#fff9ed;padding:11px 14px;border-radius:8px;margin-top:14px}.toast{position:fixed;bottom:27px;left:calc(50% + 109px);transform:translate(-50%,20px);background:#172a4b;color:#f5f8ff;border:1px solid #ffffff25;border-radius:12px;padding:13px 20px;font-size:11px;max-width:calc(100% - 35px);z-index:300;box-shadow:0 10px 35px #17223926;opacity:0;pointer-events:none;transition:opacity .2s,transform .2s}.toast.visible{opacity:1;transform:translate(-50%,0)}.credits-list h3{margin-top:22px;font-size:18px}.credits-list p{font-size:10px}.odds-summary{background:#f5f8ff;border:1px solid #e9eefb;padding:13px 15px;border-radius:10px;font-size:9px;color:#8091b3;line-height:1.9}.profile-hint{font-size:9px;color:#a6afc0;margin-top:9px}
@media(min-width:1500px){main{padding-left:55px;padding-right:55px}.card-face .portrait{height:330px}.market-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.listing .portrait{height:270px}.cards-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.cards-grid.compact{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:1150px){.sidebar{width:190px;padding-left:14px;padding-right:14px}.workspace{margin-left:190px}.brand{font-size:23px;gap:8px}.topbar{padding:0 28px}main{padding:30px 28px}.app-footer{margin:0 28px}.home-lower{grid-template-columns:1fr}.hero .hero-title{font-size:39px}.hero-copy{padding:30px}.compact .card-face .portrait{height:260px}.shop-pack-grid{grid-template-columns:repeat(2,1fr)}.market-grid{gap:14px}.listing{padding:10px}.listing .portrait{height:210px}.listing .card-text h3{font-size:21px}.card-face .portrait{height:260px}.locked-face{height:260px}.toast{left:calc(50% + 95px)}}
@media(max-width:850px){.sidebar{width:76px;padding:27px 10px}.brand{padding:0;justify-content:center;font-size:0;gap:0}.brand .brand-symbol{font-size:25px}.brand-stop,.sidebar-caption,.nav-label,.sidebar-bottom{display:none}.sidebar nav{margin-top:40px}.nav-link{justify-content:center;padding:15px 10px;margin:8px 0}.nav-link.active:before{left:-10px}.workspace{margin-left:76px}.hero{grid-template-columns:1.15fr 1fr}.hero-copy{padding:27px}.hero .hero-title{font-size:34px}.hero-art .pack-art{width:136px;height:201px}.hero-free{left:0;bottom:19px;font-size:8px}.stat-card{padding:14px;gap:10px}.stat-card strong{font-size:21px}.stat-icon{width:32px;height:32px}.topbar{height:74px}.cards-grid{gap:15px}.card-face .portrait{height:235px}.card-text h3{font-size:23px}.locked-face{height:235px}.market-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.listing .portrait{height:260px}.profile-layout{grid-template-columns:1fr 1.3fr;gap:16px}.profile-card{padding:24px 15px}.demo-badge{display:none}.toast{left:calc(50% + 38px)}.login-wordmark{left:30px}.login-footer{left:30px;right:30px}.republic-art>img{width:135%;max-width:none;left:-18%}}
@media(max-width:600px){body{font-size:13px}.login-screen{padding:110px 20px 115px;align-items:center}.login-card{padding:32px 28px 27px;max-width:400px;border-radius:18px}.login-card h1{font-size:45px}.login-wordmark{top:27px;left:23px;font-size:22px}.login-wordmark .brand-symbol{width:31px;height:34px;font-size:25px}.motion-toggle{top:28px;right:20px;font-size:8px;max-width:110px;flex-wrap:wrap;justify-content:flex-end}.login-footer{left:20px;right:20px;bottom:23px;flex-direction:column;align-items:center;font-size:8px;gap:8px;text-align:center}.login-footer button{font-size:8px}.republic-art>img{width:200%;left:-50%;opacity:.32}.spark-one{left:8%;top:19%;font-size:22px}.spark-three{right:7%;top:23%;font-size:20px}.sidebar{top:auto;bottom:0;width:100%;height:72px;display:block;border-right:0;border-top:1px solid var(--line);padding:5px 8px calc(5px + env(safe-area-inset-bottom));background:#fffffff2;backdrop-filter:blur(10px)}.sidebar>.brand{display:none}.sidebar nav{margin:0;display:flex;align-items:center;justify-content:space-around;height:100%}.nav-link{flex-direction:column;gap:4px;padding:6px 7px;margin:0;border-radius:8px;flex:1;font-size:7px;line-height:1.2}.nav-label{display:block}.nav-link .icon{width:19px;height:19px}.nav-link.active:before{display:none}.workspace{margin-left:0;padding-bottom:72px}.topbar{height:66px;padding:0 19px;position:sticky}.breadcrumbs{font-size:8px;gap:9px}.topbar-actions{gap:9px}.wallet-button{padding:7px 9px;gap:6px;font-size:10px;min-height:34px}.wallet-button .coin{width:15px;height:15px;font-size:9px}.wallet-button .plus{margin:0;width:15px;height:15px;font-size:12px}.avatar-button{width:32px;height:32px;font-size:13px}main{padding:24px 18px 35px}.page-heading{margin-bottom:22px;gap:10px;align-items:flex-start}.page-heading h1{font-size:29px}.page-heading p{font-size:10px;max-width:260px}.page-heading .button{font-size:9px;padding:8px 11px;min-height:37px}.hero{grid-template-columns:1fr;min-height:0}.hero-copy{padding:27px 25px 15px}.hero .hero-title{font-size:39px;max-width:280px;margin-top:17px}.hero p{max-width:260px;font-size:10px}.hero-cta{gap:12px}.hero-art{min-height:220px;margin-top:4px}.hero-art .pack-art{width:118px;height:171px;transform:rotate(10deg)}.hero-art .pack-name{font-size:18px;margin-top:21px}.hero-art .pack-series{font-size:5px}.hero-art .pack-seal{width:69px;height:69px;font-size:45px;margin-top:11px}.hero-art .pack-year{font-size:9px;margin-top:8px}.hero-art .pack-bottom{font-size:5px;padding-bottom:16px}.hero-art:before{width:200px;height:200px}.hero-free{bottom:22px;left:22px;font-size:8px;padding:8px 10px}.hero-float-label{right:20px;top:18px;font-size:7px}.stat-row{gap:8px;margin:15px 0 24px}.stat-card{padding:12px 9px;display:block;text-align:center}.stat-icon{display:none}.stat-card strong{font-size:22px}.stat-card p{font-size:7px;margin-top:4px}.home-lower{gap:12px}.section-row{margin:25px 0 15px}.section-row h2{font-size:20px}.section-row p{font-size:9px}.section-row .text-link{font-size:8px}.cards-grid,.cards-grid.compact{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 10px}.compact .collectible:last-child{display:none}.card-face{padding:4px;border-radius:12px}.card-face .portrait,.compact .card-face .portrait{height:235px;border-radius:8px}.card-top{left:10px;right:10px;top:10px}.card-text,.compact .card-text{left:11px;right:11px;bottom:12px}.card-text h3,.compact .card-text h3{font-size:22px;margin-bottom:10px}.card-party{font-size:5px}.card-bottom{font-size:6px}.card-top .rarity-tag{font-size:5px;padding:3px 5px}.card-monogram{width:20px;height:23px;font-size:12px}.card-footer{font-size:7px;margin-top:6px}.locked-face{height:235px}.locked-face span{font-size:8px}.panel{padding:19px}.editorial-note{padding:12px;font-size:8px;gap:8px}.editorial-note p{font-size:8px}.toolbar{gap:10px;margin:20px 0}.search-box{max-width:none;width:100%;flex:1 0 100%}.filter-select{flex:1;font-size:9px;padding-left:9px;max-width:100%}.filter-pills{gap:5px}.filter-pill{font-size:8px;padding:7px 9px}.segment{max-width:100%}.segment button{font-size:8px;padding:7px 10px}.collection-meta{font-size:8px;gap:12px}.market-intro{padding:19px;display:block}.market-intro h3{font-size:22px}.market-intro p{font-size:9px}.market-intro .button{margin-top:15px;font-size:9px;min-height:37px}.market-grid{gap:12px 9px}.listing{padding:8px;border-radius:12px}.listing .portrait{height:215px}.listing .card-text h3{font-size:20px}.listing-meta{font-size:7px;margin:10px 0}.mini-avatar{width:17px;height:17px;font-size:6px}.listing-bottom{flex-wrap:wrap;gap:7px}.listing-bottom .price{font-size:19px}.listing-bottom .button{width:100%;font-size:8px;min-height:32px;padding:6px}.price .coin{width:14px;height:14px;font-size:8px}.shop-hero{grid-template-columns:1fr}.shop-hero-copy{padding:25px}.shop-hero h2{font-size:34px}.shop-hero .hero-art{min-height:200px;margin-top:-10px}.shop-pack-grid{gap:12px 10px}.shop-pack-visual{height:180px}.shop-pack-body{padding:12px}.shop-pack h3{font-size:13px;min-height:28px}.shop-pack p{font-size:7px;margin-bottom:10px}.shop-pack .listing-bottom{flex-wrap:nowrap}.shop-pack .listing-bottom .button{width:auto;min-height:32px;font-size:7px;padding:6px 8px}.shop-pack .price{font-size:16px;gap:4px}.profile-layout{grid-template-columns:1fr;gap:15px}.profile-stats{margin-top:19px;padding-top:18px}.profile-card{padding:25px}.trophy-grid{gap:8px}.trophy{padding:15px 7px}.trophy strong{font-size:11px}.trophy small{font-size:7px}.app-footer{margin:0 18px;padding:19px 0;flex-direction:column;gap:5px;font-size:7px}.app-footer button{font-size:7px}.toast{left:50%;bottom:88px;font-size:10px;padding:12px 16px}.login-screen~.toast{left:50%}dialog{padding:28px 21px;border-radius:17px;max-width:calc(100% - 24px);max-height:89svh}.dialog-heading h2{font-size:27px}.dialog-heading p{font-size:10px}.purchase-preview{grid-template-columns:135px 1fr;gap:15px;margin:20px 0}.purchase-preview .portrait{height:200px}.purchase-preview .card-text h3{font-size:20px}.purchase-details h3{font-size:21px}.purchase-details p{font-size:9px}.purchase-details .price{font-size:24px}.topup-grid{gap:7px}.topup-offer{padding:15px 6px}.topup-offer strong{font-size:22px}.topup-offer>span{font-size:7px}.topup-offer .euro-price{font-size:11px}.topup-offer em{font-size:6px}.wallet-summary{padding:22px}.wallet-summary strong{font-size:39px}.ledger{font-size:8px}.ledger th{font-size:7px}.detail-layout{grid-template-columns:140px 1fr;gap:16px}.detail-layout .portrait{height:210px}.detail-layout .card-text h3{font-size:21px}.detail-layout h2{font-size:23px}.detail-layout .party-label{font-size:7px}.skills{margin-top:13px}.skill{font-size:7px;padding:6px 0}.grade-note{font-size:7px;line-height:1.7}.detail-controls .button{font-size:8px;min-height:34px;padding:8px}.reveal-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;max-width:340px;margin:22px auto}.reveal-slot:last-child{grid-column:1/-1;width:calc(50% - 6px);margin:auto}.reveal-grid .portrait{height:215px}.reveal-grid .card-text h3{font-size:21px}.card-back{height:223px}.opening-dialog .dialog-heading h2{font-size:28px}.opening-bonus{gap:8px}.opening-bonus span{font-size:8px;padding:6px 10px}.sell-select{grid-template-columns:repeat(2,1fr)}}
@media(max-width:360px){.login-card{padding-left:22px;padding-right:22px}.login-wordmark{left:20px}.motion-toggle{max-width:85px}.card-face .portrait,.compact .card-face .portrait,.locked-face{height:205px}.card-text h3,.compact .card-text h3{font-size:19px}.listing .portrait{height:185px}.listing .card-text h3{font-size:18px}.breadcrumbs{gap:7px}.topbar{padding:0 14px}.topbar-actions{gap:7px}.shop-pack .listing-bottom{flex-wrap:wrap}.shop-pack .listing-bottom .button{width:100%}.detail-layout{grid-template-columns:115px 1fr;gap:13px}.detail-layout .portrait{height:195px}.detail-layout h2{font-size:20px}.detail-layout .card-text h3{font-size:19px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* Interactive targets and editorial readability. */
.card-footer{flex-wrap:wrap}.card-footer>span:last-child{display:inline-flex;margin-left:auto}.card-footer button{min-width:44px;min-height:44px}.card-footer .icon{width:16px;height:16px}.dialog-close{width:44px;height:44px}.dialog-heading{padding-right:35px}.card-text h3{font-weight:700}.reveal-slot.highlight{position:relative;animation:reveal-in .6s both,rare-shimmer 1.5s ease-in-out 2}.reveal-slot.highlight .card-face{box-shadow:0 0 0 1px #e3c979,0 0 22px #d3a84e40}@keyframes rare-shimmer{50%{filter:drop-shadow(0 0 17px #dfbc6466);transform:translateY(-4px)}}
@media(max-width:600px){.card-footer{font-size:8px}.card-footer button{min-width:44px;min-height:44px}.listing-bottom .button{font-size:10px;min-height:39px}.filter-pill{font-size:10px;min-height:36px}.mission-task{font-size:11px;min-height:41px}.mission-task button{min-width:36px;min-height:36px}.panel-subtitle{font-size:11px}.hero p{font-size:11px}.page-heading p{font-size:11px}.app-footer,.app-footer button{font-size:9px}.topup-offer em{font-size:8px}.profile-form label,.sale-form label{font-size:12px}.dialog-note{font-size:10px}.editorial-note p{font-size:10px}}

.profile-resources{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:23px;padding-top:20px;border-top:1px solid var(--line)}.profile-resources>div{padding:12px;background:#f5f8ff;border-radius:10px}.profile-resources strong{display:block;font:750 24px Bricolage;color:var(--blue)}.profile-resources span{font-size:9px;color:#7d8da9}.profile-card .profile-hint{font-size:8px;line-height:1.8;margin:12px 0 0}

/* Physical opening gesture. The wrapper stays unopened until the tear completes. */
.discover-enter{width:100%;font-size:11px;justify-content:space-between;margin-bottom:22px}.tear-dialog{width:640px;text-align:center;overflow-x:hidden;overflow-y:auto}.tear-dialog .dialog-heading{padding:0 20px}.tear-stage{height:375px;position:relative;display:grid;place-items:center;margin:18px 0 0;isolation:isolate}.tear-halo{position:absolute;inset:10px;background:radial-gradient(ellipse,#dce6ff 0,transparent 65%);z-index:-1}.tear-wrapper{width:205px;height:306px;position:relative;filter:drop-shadow(0 22px 20px #254ce826);transform:rotate(-5deg);transition:transform .6s}.tear-wrapper .pack-art{width:205px;height:306px;margin:0;transform:none;border-top:0;clip-path:polygon(0 0,100% 0,100% 100%,0 100%)}.tear-cap{position:absolute;top:-12px;left:-1px;right:-1px;height:49px;background:repeating-linear-gradient(90deg,#3151c5 0,#3151c5 3px,#4568e4 3px,#4568e4 6px);border:1px solid #6b83e6;border-radius:5px 5px 0 0;transform-origin:0 95%;transform:translateY(calc(var(--tear)*-12px)) rotate(calc(var(--tear)*-14deg));clip-path:polygon(0 0,100% 0,100% 90%,97% 100%,94% 90%,91% 100%,88% 90%,85% 100%,82% 90%,79% 100%,76% 90%,73% 100%,70% 90%,67% 100%,64% 90%,61% 100%,58% 90%,55% 100%,52% 90%,49% 100%,46% 90%,43% 100%,40% 90%,37% 100%,34% 90%,31% 100%,28% 90%,25% 100%,22% 90%,19% 100%,16% 90%,13% 100%,10% 90%,7% 100%,4% 90%,0 100%);z-index:3}.tear-cap span{display:block;font-size:7px;color:#e3eaff;letter-spacing:.18em;padding:13px 0}.tear-line{position:absolute;top:25px;left:0;width:calc(var(--tear)*100%);height:3px;background:#fff;box-shadow:0 0 15px 4px #bdcdff;z-index:4}.tear-track{position:absolute;top:5px;left:-22px;width:249px;height:44px;z-index:5;border-top:1px dashed #ffffff50}.tear-handle{position:absolute;top:-5px;left:calc(var(--tear)*(100% - 44px));width:44px;height:44px;display:grid;place-items:center;border:2px solid #fff;border-radius:50%;color:var(--blue);background:white;box-shadow:0 4px 18px #1e3ea052;cursor:grab;touch-action:none;user-select:none}.tear-handle.grabbing{cursor:grabbing;scale:1.08}.tear-instruction{font-size:12px;color:var(--blue);font-weight:700;margin:0}.tear-stage.is-torn .tear-cap{transition:transform .55s,opacity .55s;transform:translate(120px,-140px) rotate(50deg);opacity:0}.tear-stage.is-torn .tear-wrapper{transform:rotate(0) scale(1.07);filter:drop-shadow(0 0 38px #718fff80)}.tear-stage.is-torn .tear-track{opacity:0}.tear-confetti{position:absolute;width:8px;height:8px;border-radius:50%;top:38%;left:50%;opacity:0;box-shadow:-120px -40px #254ce8,120px -70px #ec4c60,85px 110px #254ce8,-105px 90px #ec4c60,-60px -120px #e5c269,50px -110px #ec4c60}.tear-stage.is-torn .tear-confetti{animation:tear-burst .65s both}@keyframes tear-burst{0%{transform:scale(.3);opacity:0}50%{opacity:1}100%{transform:scale(1.6) rotate(25deg);opacity:0}}
@media(max-width:600px){.sidebar nav{justify-content:flex-start;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:none}.sidebar nav::-webkit-scrollbar{display:none}.nav-link{flex:1 0 61px;min-width:61px;font-size:8px}.tear-stage{height:330px}.tear-dialog .dialog-heading h2{font-size:27px}.tear-wrapper{scale:.88}.tear-instruction{font-size:11px}}

/* Transfer market and social collection. */
.listing-type{font-size:8px;letter-spacing:.12em;font-weight:800;color:#54708e;margin:2px 0 12px;display:flex;align-items:center;gap:6px}.listing-type:before{content:'';width:6px;height:6px;border-radius:50%;background:#91a4c4}.listing-type.auction{color:var(--blue)}.listing-type.auction:before{background:var(--red)}.sale-clock{display:flex;align-items:center;gap:6px;font-size:10px;color:#8390a9;margin:10px 0}.status-dot{width:5px;height:5px;background:#57a695;border-radius:50%;flex-shrink:0}.status-dot.ended{background:#aeb7c8}.bid-count{margin-left:auto;color:var(--blue)}.price-caption{font-size:7px;letter-spacing:.08em;color:#8e9ab0;display:block;margin-bottom:5px}.sales-tabs{display:flex;gap:22px;border-bottom:1px solid var(--line);margin-bottom:23px}.sales-tabs button{background:none;border:0;border-bottom:2px solid transparent;padding:12px 0;font-size:12px;color:#8e9ab0}.sales-tabs button.active{border-bottom-color:var(--blue);color:var(--blue);font-weight:800}.sales-tabs b,.segment b{font-size:9px;margin-left:6px;background:#eef2ff;border-radius:20px;padding:2px 6px}.sale-fields{display:grid;grid-template-columns:1fr 1fr;gap:15px;margin-bottom:18px}.sale-form label,#bid-form>label{display:block;font-size:11px;font-weight:700;margin:14px 0 8px}.sale-form select{width:100%}.friends-hero{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:40px;background:linear-gradient(110deg,#edf2ff,#fff8f8);padding:35px;border:1px solid #e4eafa;border-radius:18px}.friends-hero h2{font-size:31px;margin:15px 0 12px}.friends-hero p{font-size:11px;margin:0}.friends-hero label{display:block;font-size:10px;color:#7384a4;margin-bottom:10px;font-weight:700}.friend-search{display:flex;gap:8px}.friend-search input{min-width:0}.friend-search .button{padding:10px 14px;font-size:11px;flex-shrink:0}.friends-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.friend-card{border:1px solid var(--line);border-radius:14px;background:white;padding:20px;display:flex;align-items:center;gap:14px;flex-wrap:wrap}.friend-avatar{width:46px;height:46px;display:grid;place-items:center;background:linear-gradient(140deg,#e7edff,#fff1f4);color:var(--blue);font:750 23px Bricolage;border:1px solid #e1e7fb;border-radius:14px}.friend-info{flex:1}.friend-info h3{margin:0 0 4px;font-size:20px}.friend-info>span{font-size:10px;color:#8b98af}.friend-actions{display:flex;gap:8px;width:100%;margin-top:5px}.friend-actions .button{font-size:10px}.social-empty{text-align:center;padding:45px 24px}.social-empty>.icon{width:38px;height:38px;color:#8ca3ec;margin-bottom:15px}.social-empty h3{font-size:24px;margin-bottom:10px}.social-empty p{font-size:12px;max-width:400px;margin:auto}.count-bubble{font:750 12px Manrope;vertical-align:middle;border-radius:50px;padding:5px 9px;background:#eaf0ff;color:var(--blue);margin-left:8px}.elysee-banner{display:flex;justify-content:space-between;align-items:center;padding:35px 40px;background:white;border:1px solid var(--line);border-radius:18px;position:relative;overflow:hidden}.elysee-banner:after{content:'';position:absolute;right:-50px;bottom:-80px;width:300px;height:300px;border:1px solid #e5eafa;border-radius:50%;box-shadow:0 0 0 30px #f3f5fc,0 0 0 60px #fafbff;pointer-events:none}.elysee-banner h2{font-size:36px;margin:16px 0 12px}.elysee-banner p{font-size:12px;margin:0}.elysee-emblem{position:relative;z-index:1;display:flex;flex-direction:column;align-items:center;gap:14px;color:var(--blue)}.elysee-emblem>.icon{width:105px;height:105px;stroke-width:.7}.elysee-emblem>span{font-size:9px;font-weight:800;letter-spacing:.1em}.elysee-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin-top:27px}.cabinet-slot{background:white;border:1px solid var(--line);border-radius:16px;overflow:hidden;padding:18px;position:relative}.cabinet-slot.presidential{border-color:#c5d2fd;box-shadow:0 8px 24px #254ce809}.cabinet-slot.presidential:before{content:'';position:absolute;height:3px;top:0;left:0;right:0;background:linear-gradient(90deg,var(--blue) 33.3%,white 33.3%,white 66.6%,var(--red) 66.6%)}.cabinet-label{display:flex;align-items:center;gap:8px;min-height:41px;margin-bottom:16px}.cabinet-label>span:first-child{font-size:9px;font-weight:800;color:#a0afce}.cabinet-label h2{font-size:18px;margin:0;flex:1}.cabinet-label .tiny-flag{width:21px;height:14px}.cabinet-empty{width:100%;height:275px;display:flex;align-items:center;justify-content:center;flex-direction:column;border:1px dashed #ccd7f2;border-radius:11px;background:linear-gradient(155deg,#f6f8ff,#fff9fa);gap:10px}.cabinet-empty>span{display:grid;place-items:center;width:45px;height:45px;background:white;box-shadow:0 5px 15px #254ce809;color:var(--blue);border-radius:50%;border:1px solid #e7ecfa;margin-bottom:5px}.cabinet-empty strong{font:700 15px Bricolage;color:#4e638c}.cabinet-empty small{font-size:10px;color:#99a6bf}.cabinet-empty:hover{border-color:var(--blue);background:#f0f4ff}.cabinet-portrait{max-width:230px;margin:auto}.cabinet-portrait .portrait{height:230px}.cabinet-portrait .card-text h3{font-size:27px}.cabinet-actions{display:flex;gap:8px;margin-top:12px;justify-content:center}.cabinet-actions .button{font-size:10px;min-height:34px}.cabinet-picker{display:grid;gap:9px;margin-top:22px;max-height:55svh;overflow:auto}.cabinet-pick{border:1px solid var(--line);background:#fbfcff;border-radius:12px;display:flex;align-items:center;gap:13px;text-align:left;padding:10px 13px}.cabinet-pick:hover{border-color:#b1c2ff;background:#f2f5ff}.cabinet-pick img{width:48px;height:58px;object-fit:cover;object-position:50% 20%;border-radius:7px}.cabinet-pick>span{flex:1}.cabinet-pick strong{display:block;font:750 18px Bricolage;margin-bottom:5px}.cabinet-pick small{font-size:10px;color:#8a99b3}.cabinet-pick>.icon{color:var(--blue)}
@media(max-width:1150px){.elysee-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.friends-hero{gap:20px;padding:28px}.friends-hero h2{font-size:28px}.friend-search{flex-wrap:wrap}.friend-search .button{width:100%}.friend-search input{width:100%}}
@media(max-width:600px){.friends-hero{grid-template-columns:1fr;gap:25px;padding:24px}.friends-hero h2{font-size:29px}.friend-search{flex-wrap:nowrap}.friend-search .button{width:auto}.friends-grid{grid-template-columns:1fr}.friend-card{padding:18px}.friend-info>span{font-size:11px}.friend-actions .button{min-height:40px}.elysee-banner{padding:25px;gap:12px}.elysee-banner h2{font-size:28px}.elysee-banner p{font-size:10px;max-width:180px}.elysee-emblem>.icon{width:60px;height:60px}.elysee-emblem>span{font-size:6px;max-width:65px;text-align:center}.elysee-grid{gap:12px;margin-top:18px}.cabinet-slot{padding:11px;border-radius:12px}.cabinet-label{gap:4px;min-height:38px;margin-bottom:10px}.cabinet-label h2{font-size:15px}.cabinet-label>span:first-child{font-size:7px}.cabinet-label .tiny-flag{display:none}.cabinet-empty{height:220px;padding:10px;gap:7px}.cabinet-empty strong{font-size:13px}.cabinet-empty small{font-size:8px}.cabinet-portrait .portrait{height:190px}.cabinet-portrait .card-text h3{font-size:19px}.cabinet-actions{flex-wrap:wrap;gap:5px}.cabinet-actions .button{font-size:9px;padding:7px;flex:1}.cabinet-pick strong{font-size:17px}.sale-clock{font-size:9px;flex-wrap:wrap}.price-caption{font-size:6px}.sale-fields{gap:10px}.sale-fields .form-input{padding:10px;font-size:11px}.sales-tabs button{font-size:11px}.market-intro .segment{margin-top:20px}}
.elysee-banner>div:first-child{position:relative;z-index:1}.elysee-emblem{flex-shrink:0}
@media(max-width:600px){.elysee-banner:after{width:170px;height:170px;right:-90px;bottom:-70px}.elysee-banner>div:first-child{min-width:0;flex:1}.elysee-emblem{width:62px}.elysee-banner h2{font-size:27px}}

/* Party identity stays on the card face; rarity stays on the outer frame. */
.card-face .portrait{border:3px solid var(--party-color,#5c677a);background:var(--party-color,#5c677a)}
.card-face .card-shade{background:linear-gradient(180deg,transparent 28%,color-mix(in srgb,var(--party-color,#5c677a) 45%,transparent) 48%,var(--party-color,#5c677a) 78%)}
.card-face .card-text,.card-face .card-text h3,.card-face .card-party,.card-face .card-bottom{color:var(--party-ink,#fff)}
.card-face .card-party{font-weight:800;opacity:1}.card-face .card-bottom{border-color:currentColor;opacity:.9}.source-reference{overflow-wrap:anywhere}
/* Pack labels keep their own line and clear space above the action. */
.pack-choice{display:flex;flex-direction:column;align-items:center;gap:0}.pack-choice strong{line-height:1.4;margin:20px 0 8px;min-height:20px}.pack-choice small{display:block;line-height:1.6;letter-spacing:.05em;max-width:100%;min-height:27px;padding:0 5px;text-align:center}.pack-choice .button{margin-top:18px;flex-shrink:0}.pack-choice .pack-art{flex-shrink:0}.pack-picker{align-items:stretch}.pack-choice .button{margin-top:auto}.pack-choice small{margin-bottom:18px}.shop-pack-body h3{line-height:1.3}.shop-pack-body p{line-height:1.7}

.exchange-resource img{display:block;width:90px;max-width:100%;height:auto;margin:0 auto 10px;filter:drop-shadow(0 7px 8px #243d8e20)}
/* Shared national card layout: same proportions, portraits and scores as the atelier. */
.card-face.presidex-holo{display:grid;grid-template-rows:auto minmax(0,1fr);width:100%;aspect-ratio:5/7;padding:0;border:5px solid var(--party-color);border-radius:5%/3.5%;overflow:hidden;background:var(--party-color);text-align:left;color:var(--party-ink);min-width:0;}
.card-face.presidex-holo>.portrait{width:100%;height:auto!important;min-height:0;aspect-ratio:10/7;border:0;border-radius:0;background:linear-gradient(135deg,#ffffff50,transparent);}
.card-face .portrait>img{width:100%;height:100%;position:absolute;inset:0;object-fit:cover;border-radius:0;}
.card-face .card-shade{background:linear-gradient(0deg,var(--party-color),transparent);inset:auto 0 0;height:24px;}
.card-face .card-info{display:flex;flex-direction:column;gap:5px;padding:9px 11px 8px;min-width:0;min-height:0;background:var(--party-color);color:var(--party-ink);}
.card-face .card-info h3{font:800 clamp(13px,1.4vw,20px)/1.08 Bricolage,system-ui;margin:0;color:inherit;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;letter-spacing:-.3px;}
.card-face .card-role{font:500 10px/1.2 Manrope,system-ui;margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;opacity:.95;}
.card-face .card-party-logo{margin:0;height:21px;max-width:130px;padding:3px 7px;}
.card-face .card-party-logo img{height:15px;width:100px;object-fit:contain;}
.card-face .card-party-name{font-size:9px;line-height:18px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-weight:700;}
.card-face .card-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:3px 12px;padding:7px 8px;border-radius:7px;background:#fffffff2;color:#334155;font:500 9px/1.2 Manrope,system-ui;margin-top:auto;}
.card-face .card-stats>span{display:flex;align-items:baseline;justify-content:space-between;gap:4px;min-width:0;}
.card-face .card-stats>span>span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.card-face .card-stats b{font-weight:800;white-space:nowrap;font-variant-numeric:tabular-nums;}
.card-face .card-edition{display:flex;justify-content:space-between;gap:6px;font:500 7px/1.2 Manrope,system-ui;opacity:.88;}
.card-face .card-edition>span:first-child{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.card-face .card-edition>span:last-child{white-space:nowrap;font-variant-numeric:tabular-nums;}
.card-face .portrait-placeholder{display:grid;place-items:center;position:absolute;inset:0;font:800 55px Bricolage;opacity:.55;}
.movement-filter{display:flex;align-items:center;gap:14px;color:#62718d;font-size:12px;margin:18px 0;}
.movement-filter select{font:inherit;color:#183050;border:1px solid #dbe3f0;background:white;border-radius:10px;padding:12px 15px;min-width:0;max-width:100%;}
.collection-pagination{grid-column:1/-1;display:flex;justify-content:center;align-items:center;gap:15px;margin:22px 0;font-size:11px;color:#62718d;}
.collection-pagination button{font:inherit;background:white;color:#254ce8;border:1px solid #dbe3f0;border-radius:10px;min-height:44px;padding:9px 14px;cursor:pointer;}
.collection-pagination button:disabled{opacity:.4;cursor:default;}.person-facts{margin:20px 0;font-size:12px}.person-facts dt{font-weight:750;margin-top:16px}.person-facts dd{margin:5px 0;color:#62718d;line-height:1.7;}
.reveal-grid .card-face{padding:0;border-radius:5%/3.5%;border-width:3px;}.reveal-grid .card-info{padding:6px;gap:3px}.reveal-grid .card-info h3{font-size:12px}.reveal-grid .card-role{font-size:7px}.reveal-grid .card-stats{font-size:6px;padding:4px;gap:2px 4px}.reveal-grid .card-party-logo{height:15px;padding:2px 4px}.reveal-grid .card-party-logo img{width:65px;height:11px}.reveal-grid .card-edition{font-size:5px}
@media(max-width:600px){.movement-filter{display:block}.movement-filter select{display:block;width:100%;margin-top:6px}.card-face.presidex-holo{border-width:3px}.card-face .card-info{padding:6px;gap:3px}.card-face .card-info h3{font-size:12px;line-height:1.05}.card-face .card-role{font-size:7px}.card-face .card-party-logo{height:15px;padding:2px 5px}.card-face .card-party-logo img{height:11px;width:75px}.card-face .card-party-name{font-size:7px;line-height:14px}.card-face .card-stats{font-size:7px;padding:5px;gap:2px 6px}.card-face .card-edition{font-size:5px}.card-face .card-top{top:7px;left:7px;right:7px}.card-face .rarity-tag{font-size:6px;padding:3px 5px}.collection-pagination{gap:8px;flex-wrap:wrap}.reveal-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.reveal-grid .card-info h3{font-size:13px}.reveal-grid .card-stats{font-size:8px}.reveal-grid .card-edition{font-size:6px}}
.pack-art{background:transparent!important;border:0!important;box-shadow:none;overflow:visible;border-radius:0;}
.pack-art:before,.pack-art:after{display:none}.pack-art-image{display:block;width:100%;height:100%;object-fit:contain;filter:drop-shadow(8px 15px 16px #1f3f8428);}
.pack-engine-dialog{width:760px;padding:25px;}.pack-engine-dialog .dialog-heading h2{font-size:30px;}.pack-canvas-shell{position:relative;height:min(51vh,430px);min-height:300px;margin:12px auto 0;}.pack-canvas-stage{position:absolute;inset:0;overflow:hidden;}.pack-canvas-stage canvas{max-width:100%;}.pack-scene-loading{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:15px;color:#62718d;font-size:12px;pointer-events:none;background:radial-gradient(ellipse,#dfe8ff44,transparent 70%);}.pack-scene-loading .pack-art{width:150px;height:210px;transform:rotate(-5deg);}.pack-scene-controls{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:15px;}.pack-scene-controls button{min-height:44px;}.pack-engine-dialog .tear-instruction{margin:6px 0 15px;min-height:20px;}.bonus-exchange{display:inline-flex;align-items:center;gap:8px;}.bonus-exchange img{width:30px;height:42px;object-fit:contain;filter:drop-shadow(0 3px 4px #233f7e20);}.opening-bonus{align-items:center;}
@media(max-width:600px){.pack-engine-dialog{padding:20px 14px;}.pack-engine-dialog .dialog-heading{padding:0 12px}.pack-engine-dialog .dialog-heading h2{font-size:25px}.pack-canvas-shell{height:45vh;min-height:250px;}.pack-scene-controls{gap:5px}.pack-scene-controls .button{font-size:12px;padding:11px 14px}.pack-engine-dialog .tear-instruction{font-size:11px;}}
@media(max-width:360px){.cards-grid,.cards-grid.compact,.market-grid,.reveal-grid{grid-template-columns:minmax(0,1fr);max-width:270px;margin-inline:auto}.card-face .card-info h3{font-size:18px}.card-face .card-role{font-size:9px}.card-face .card-stats{font-size:9px;padding:8px;gap:4px 10px}.card-face .card-edition{font-size:7px}.card-face .card-info{padding:9px;gap:5px}.card-face .card-party-logo{height:22px}.card-face .card-party-logo img{height:16px;width:100px}}
/* Scale the content with the card, including thumbnails; never shrink names to zero. */
.card-face.presidex-holo{container-type:inline-size;}
.card-face.presidex-holo .card-info{gap:3px;padding:7px 8px 6px;}
.card-face.presidex-holo .card-info>*{flex-shrink:0;}
.card-face.presidex-holo .card-info h3{font-size:clamp(12px,6.2cqw,22px);line-height:1.05;}
.card-face.presidex-holo .card-role{font-size:clamp(7px,3.3cqw,10px);line-height:1.1;}
.card-face.presidex-holo .card-party-logo{margin:0;padding:2px 5px;height:clamp(14px,7cqw,22px);max-width:120px;}
.card-face.presidex-holo .card-party-logo img{width:95px;height:100%;max-height:100%;object-fit:contain;}
.card-face.presidex-holo .card-stats{font-size:clamp(6px,3.5cqw,10px);line-height:1.1;padding:5px 6px;gap:2px 8px;}
.card-face.presidex-holo .card-edition{font-size:clamp(5px,2.4cqw,8px);line-height:1.1;}
.reveal-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;}
@media(max-width:600px){.reveal-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}}
@media(max-width:360px){.reveal-grid{grid-template-columns:1fr}}
/* Auth shares the established white, blue and red interface. */
.social-auth{display:grid;gap:10px;margin:18px 0 12px}.social-auth .button{width:100%;justify-content:center;gap:12px;background:#fff;color:#182344;border:1px solid #dbe1ec;min-height:48px}.social-auth .button:hover{background:#f6f8fe}.social-auth svg{width:20px;height:20px;flex-shrink:0}.social-auth .button:disabled{opacity:.55;cursor:not-allowed}.auth-notice{font-size:11px;line-height:1.6;color:#68758b;margin:8px 0;text-align:center}.auth-status{font-size:12px;line-height:1.6;color:#33466c;min-height:20px;margin:10px 0}.auth-error{color:#bb2135}.account-badge{display:inline-flex;align-items:center;gap:6px;font-size:11px;color:#2453cb;margin-top:6px}.login-card{margin-block:30px}.auth-form label{display:block;margin:14px 0 8px;font-size:13px;font-weight:700}.auth-form input{width:100%}.auth-form .button{margin-top:18px;width:100%}
.login-screen{padding:88px 20px 28px}.login-card{margin-block:0;padding:26px 36px 24px}.login-card h1{font-size:43px;margin:13px 0 5px}.login-subtitle{margin-bottom:22px}.label-row{margin-top:16px}.login-submit{margin-top:19px}.social-auth{margin-top:14px;gap:8px}.social-auth .button{min-height:44px}.auth-status:empty{display:none}.login-divider{margin:15px 0 13px}.signup-line{margin-top:16px;padding-top:14px}.auth-notice{font-size:10px}
@media(max-width:600px){.login-screen{padding:84px 16px 24px}.login-card{padding:24px}.login-card h1{font-size:40px}}
/* QA: collection slots and revealed cards share the same outer proportions. */
.locked-card{width:100%;aspect-ratio:5/7;height:auto;display:flex;min-width:0;overflow:hidden;}
.locked-card .locked-face{height:auto;min-height:0;flex:1;width:100%;padding:18px 12px;}
.reveal-grid .reveal-slot:last-child{grid-column:auto;width:auto;margin:0;}
.reveal-grid .card-back{height:auto;width:100%;aspect-ratio:5/7;}
.cabinet-pick .cabinet-thumb{position:relative;display:grid;place-items:center;flex:0 0 44px;width:44px;height:58px;overflow:hidden;border-radius:7px;background:#edf1fc;color:#455a9b;font-weight:800;}
.cabinet-pick .cabinet-thumb>span{position:absolute;inset:0;display:grid;place-items:center;}
.cabinet-pick .cabinet-thumb img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;margin:0;}
/* QA: compact cards reserve enough space for a two-line name and the scores. */
@container (max-width:180px){
 
 .card-face.presidex-holo .card-info{gap:2px;padding:5px 6px;}
 .card-face.presidex-holo .card-stats{padding:4px;gap:2px 6px;}
}
@media(max-width:600px){
 .detail-layout{grid-template-columns:minmax(0,1fr);gap:24px;}
 .detail-layout>div:first-child{width:100%;max-width:290px;justify-self:center;}
 .detail-layout h2{overflow-wrap:anywhere;}
 .detail-layout .card-face .card-info h3{font-size:clamp(16px,6.2cqw,22px);}
 .detail-layout .card-face .card-stats{font-size:clamp(9px,3.5cqw,10px);}
 .cabinet-picker{grid-template-columns:minmax(0,1fr);}
 .cabinet-pick>span:last-child{min-width:0;}
 .cabinet-pick strong,.cabinet-pick small{overflow-wrap:anywhere;}
}
/* Useful secondary copy remains legible on the white/very light surfaces. */
:root{--muted:#62718a;}
.nav-link:not(.active){color:#62718a;}
.dialog-note,.privacy-note,.login-subtitle,.auth-notice,.signup-line,.login-divider,
.edition-label,.collection-meta,.listing-meta,.section-row p,.panel-subtitle,
.page-heading p,.breadcrumbs,.sidebar-caption,.card-footer{color:#62718a;}
.input-wrap input::placeholder,.form-input::placeholder{color:#66758a;opacity:1;}
.card-face.presidex-holo .card-role{color:inherit;opacity:1;}
@media(max-width:600px){
 .purchase-preview{grid-template-columns:minmax(0,1fr);gap:20px;}
 .purchase-preview>div:first-child{width:100%;max-width:290px;justify-self:center;}
 .purchase-details h3{overflow-wrap:anywhere;}
}
/* Daily history quiz and auction/buy-now pairing. */
.quiz-callout{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:20px 24px;border:1px solid #e2e7f0;border-radius:18px;margin-bottom:24px;background:linear-gradient(110deg,#f1f5ff,#fff 70%,#fff5f4)}
.quiz-callout>div{display:flex;align-items:center;gap:14px}.quiz-callout strong,.quiz-callout small{display:block}.quiz-callout small{margin-top:5px;color:#62718a}
.quiz-panel{max-width:850px;margin:0 auto}.quiz-meta{display:flex;flex-wrap:wrap;gap:14px;align-items:center;justify-content:space-between;color:#62718a;font-size:13px}.quiz-panel progress{width:100%;height:8px;accent-color:#3159e6;margin:24px 0}.quiz-panel h2{font-size:clamp(22px,3vw,32px);line-height:1.3;margin:0 0 28px}.quiz-panel fieldset{border:0;margin:0;padding:0;display:grid;gap:12px}
.quiz-option{display:flex;align-items:center;gap:14px;padding:17px;border:1px solid #dbe1ed;border-radius:12px;cursor:pointer;line-height:1.5}.quiz-option:has(:checked){border-color:#3159e6;background:#f0f4ff}.quiz-option:has(:focus-visible){outline:3px solid #3159e6;outline-offset:3px}.quiz-option input{accent-color:#3159e6;flex-shrink:0}.quiz-letter{font-weight:800;color:#3159e6}.quiz-result{text-align:center;margin-bottom:24px}.quiz-result h2{font-size:64px;margin:15px 0}.quiz-result .stat-icon{display:inline-flex}.quiz-corrections{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.quiz-correction h3{margin:18px 0;font-size:20px;line-height:1.4}.quiz-correction p{line-height:1.6}.quiz-correction small{color:#62718a;display:block}.quiz-correction.correct{border-top:4px solid #23865c}.quiz-correction.incorrect{border-top:4px solid #cd4760}.buy-now-panel{padding:16px;background:#f3f6fc;border-radius:12px;display:grid;gap:12px}.buy-now-panel small{line-height:1.5;color:#62718a}.buy-now-panel strong{display:flex;gap:5px;align-items:center}.buy-now-caption{display:block;margin-top:8px;font-size:11px;color:#62718a;line-height:1.4}.pack-canvas-stage[data-rarity]{background:radial-gradient(ellipse at center,color-mix(in srgb,var(--reveal-color) 20%,transparent),transparent 68%)}
@media(max-width:600px){.quiz-callout{align-items:flex-start;flex-direction:column}.quiz-callout>.button{width:100%}.quiz-corrections{grid-template-columns:1fr}.quiz-option{padding:14px;gap:10px}.quiz-panel{padding:20px}.quiz-meta{gap:8px}.quiz-panel h2{font-size:24px}}
.tear-stage[data-rarity] .tear-halo{background:radial-gradient(ellipse,color-mix(in srgb,var(--reveal-color) 38%,transparent),transparent 70%)}
.purchase-details>small{display:block;margin-bottom:8px;line-height:1.5}.purchase-details>.price{display:flex;align-items:center;margin:8px 0 16px}
.sale-form label.check-row{display:flex;align-items:flex-start;gap:10px;line-height:1.5}.sale-form label.check-row input{flex-shrink:0;margin:3px 0 0}.quiz-legend{margin-bottom:12px;font-size:13px;color:#62718a}

/* Party identity is centred in the space between the role and the scores. */
.card-face.presidex-holo .card-party-slot{display:flex;flex:1 1 auto;min-height:clamp(30px,16cqw,52px);align-items:center;justify-content:center;width:100%;padding:3px 0;}
.card-face.presidex-holo .card-party-slot .card-party-logo{display:flex;align-items:center;justify-content:center;align-self:center;margin:0;width:88%;max-width:185px;height:clamp(26px,15cqw,44px);padding:4px 6px;box-sizing:border-box;}
.card-face.presidex-holo .card-party-slot .card-party-logo img,.card-face.presidex-holo .card-party-slot .card-party-logo svg{display:block;max-width:100%;width:100%;height:100%;max-height:100%;object-fit:contain;}
.card-face.presidex-holo .card-party-slot .card-party-name{text-align:center;line-height:1.2;max-width:95%;}

/* First-visit guide and repeatable seven-day login calendar. */
.guide-panel{display:flex;gap:22px;padding:24px;border:1px solid #d8e2fb;border-radius:20px;background:linear-gradient(115deg,#edf3ff,#fff 85%);margin-bottom:28px;min-width:0}.guide-symbol{width:52px;height:52px;display:grid;place-items:center;border-radius:16px;background:#fff;color:#3159e6;flex-shrink:0}.guide-symbol .icon{width:28px;height:28px}.guide-copy{min-width:0;flex:1}.guide-copy h2{font-size:23px;margin:10px 0}.guide-copy p{color:#596b86;line-height:1.7;margin:0;max-width:950px}.guide-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:18px}.guide-progress{display:flex;gap:5px;max-width:260px;margin-top:18px}.guide-progress span{height:4px;flex:1;border-radius:4px;background:#dbe3f2}.guide-progress .done{background:#3159e6}.guide-access{margin-top:28px}.guide-access h2{font-size:21px}.guide-access p{color:#62718a;line-height:1.6}.guide-access .button{margin:5px 10px 0 0}.login-calendar{margin:0 0 30px;scroll-margin-top:100px}.calendar-heading{display:flex;justify-content:space-between;gap:20px;align-items:flex-start}.calendar-heading h2{font-size:24px;margin:10px 0}.calendar-heading p{color:#62718a;line-height:1.6;margin:0;max-width:700px}.calendar-cycle{font-size:12px;padding:10px 14px;border-radius:30px;background:#eef2ff;color:#3159e6;white-space:nowrap}.calendar-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:12px;list-style:none;padding:0;margin:24px 0}.calendar-day{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;text-align:center;gap:12px;border:1px solid #dfe5ef;border-radius:14px;background:#f8faff;padding:16px 9px;min-width:0}.calendar-day-number{font-weight:750;font-size:12px;color:#62718a}.calendar-icon{width:42px;height:42px;border-radius:13px;background:white;display:grid;place-items:center;color:#60718d}.calendar-icon .icon{width:23px;height:23px}.calendar-day strong{font-size:12px;line-height:1.5;overflow-wrap:anywhere}.calendar-day small{font-size:10px;line-height:1.4;margin-top:auto;color:#7a879d}.calendar-day.available{border:2px solid #3159e6;background:#eff4ff;padding:15px 8px}.calendar-day.available .calendar-icon{background:#3159e6;color:white}.calendar-day.available small{color:#3159e6;font-weight:750}.calendar-day.collected{background:#f0f8f4;border-color:#b9d9cb}.calendar-day.collected small{color:#267653}.calendar-day.special{border-color:#d9b66c;background:linear-gradient(145deg,#fffaea,#fff3d6)}.calendar-day.special .calendar-icon{color:#9a6f24}.calendar-footer{display:flex;gap:24px;align-items:center;justify-content:space-between}.calendar-footer p{font-size:13px;line-height:1.6;margin:0 0 8px}.calendar-footer small{font-size:11px;line-height:1.6;color:#62718a;display:block;max-width:800px}.calendar-footer .button{flex-shrink:0}.app-footer>span:last-child{display:flex;flex-wrap:wrap;gap:6px;justify-content:flex-end}
@media(max-width:1100px){.calendar-days{grid-template-columns:repeat(4,minmax(0,1fr))}.calendar-footer{align-items:flex-start;flex-direction:column}}
@media(max-width:600px){.guide-panel{padding:18px;gap:14px}.guide-symbol{width:36px;height:36px;border-radius:11px}.guide-symbol .icon{width:21px;height:21px}.guide-copy h2{font-size:20px}.guide-copy p{font-size:12px}.guide-actions{gap:10px}.guide-actions .button{max-width:100%;white-space:normal}.calendar-heading{flex-direction:column;gap:12px}.calendar-heading h2{font-size:22px}.calendar-heading p{font-size:12px}.calendar-days{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.calendar-day.special{grid-column:1/-1}.calendar-footer .button{width:100%}.calendar-footer{gap:16px}.app-footer>span:last-child{justify-content:flex-start}}

/* Portrait spaces; the common card dimensions are applied below. */
.card-face.presidex-holo{height:auto;aspect-ratio:auto;grid-template-rows:auto auto;}
.card-face.presidex-holo>.portrait{aspect-ratio:var(--photo-ratio,1.2);overflow:hidden;}
.card-face.presidex-holo .card-info{aspect-ratio:10/7;min-height:140px;box-sizing:border-box;}
.locked-card{display:block;aspect-ratio:auto;height:auto;position:relative;}
.card-photo-space{display:block;aspect-ratio:var(--photo-ratio,1.2);width:100%;}
.card-body-space{display:block;aspect-ratio:10/7;min-height:140px;width:100%;}
.locked-card .locked-face{position:absolute;inset:0;width:100%;height:100%;}
.reveal-grid .card-back{display:block;aspect-ratio:auto;height:auto;padding:0;border-width:5px;}
.card-back-space{display:block;width:100%;}.card-back>strong{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);}

.card-face.presidex-holo{grid-template-columns:minmax(0,1fr);}
.card-face.presidex-holo .card-info{width:100%;}

.balance-after.insufficient{color:#a72d45;}
.card-photo.portrait-failed{visibility:hidden;}
.portrait-recovery-notice{position:absolute;inset:0;z-index:3;display:grid;place-content:center;padding:10px;background:linear-gradient(145deg,#edf2fc,#f9fbff);color:#425574;text-align:center;font-size:clamp(9px,3.5cqi,14px);line-height:1.45;}
.portrait-recovery-panel{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:0 0 18px;padding:14px 16px;border:1px solid #d8e2f7;border-radius:12px;background:#f1f5ff;color:#425574;font-size:12px;line-height:1.6;}
.portrait-recovery-panel .button{flex-shrink:0;}
@media(max-width:600px){.portrait-recovery-panel{align-items:flex-start;flex-direction:column;gap:10px;}.portrait-recovery-panel .button{width:100%;}}
.portrait-failed~.card-top{z-index:4;}
.portrait-failed~.card-top .rarity-tag,.portrait-failed~.card-top .finish-tag{background:#425574;color:white;}

/* Mobile navigation: a menu above, collection and account below. */
.mobile-menu-toggle{display:none;}
dialog.mobile-menu-drawer{position:fixed;inset:0;margin:0;width:100%;max-width:100%;height:100svh;max-height:100svh;border:0;border-radius:0;padding:0;background:transparent;box-shadow:none;overflow:hidden;}
.mobile-menu-drawer>#modal-content{height:100%;}
.mobile-menu-surface{width:min(320px,calc(100% - 24px));height:100%;overflow-y:auto;background:white;border-radius:0 20px 20px 0;padding:calc(32px + env(safe-area-inset-top)) 20px calc(24px + env(safe-area-inset-bottom));}
.mobile-menu-drawer>.dialog-close{left:min(264px,calc(100% - 80px));right:auto;top:calc(14px + env(safe-area-inset-top));z-index:1;}
.mobile-menu-drawer .dialog-heading{padding:0 40px 0 4px;margin-bottom:28px;}
.mobile-menu-drawer .nav-link{flex-direction:row;justify-content:flex-start;gap:14px;padding:15px 14px;margin:8px 0;font-size:14px;min-height:52px;}
.mobile-menu-drawer .nav-label{display:block;}
.mobile-menu-drawer .nav-link.active:before{display:none;}
@media(max-width:600px){
 .topbar{height:calc(68px + env(safe-area-inset-top));padding:calc(5px + env(safe-area-inset-top)) 12px 5px;gap:8px;}
 .mobile-menu-toggle{display:grid;place-items:center;flex-shrink:0;width:44px;height:44px;padding:10px;background:white;border:1px solid var(--line);border-radius:10px;color:var(--blue);}
 .mobile-menu-toggle .icon{width:22px;height:22px;}
 .topbar>.breadcrumbs{min-width:0;flex:1;}
 .topbar>.breadcrumbs>span,.topbar>.breadcrumbs>i{display:none;}
 .topbar>.breadcrumbs>strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
 .topbar-actions{flex-shrink:0;}
 .sidebar .nav-link{flex:none;min-width:0;min-height:48px;height:100%;padding:5px 3px;font-size:9px;white-space:nowrap;}
 .sidebar .nav-label{text-align:center;}
 .sidebar{height:calc(68px + env(safe-area-inset-bottom));padding:6px 8px calc(6px + env(safe-area-inset-bottom));}
 .sidebar nav{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:1fr;gap:4px;overflow:visible;}
 .sidebar [data-mobile-position=top]{display:none;}
 .workspace{padding-bottom:calc(68px + env(safe-area-inset-bottom));}
 .toast{bottom:calc(84px + env(safe-area-inset-bottom));}
}

.shop-unavailable{min-height:340px;background:#edf0f4;border:1px solid #e0e5ec;border-radius:20px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:36px 24px}.shop-unavailable-icon{color:#244eab}.shop-unavailable-icon svg{width:38px;height:38px}.shop-unavailable h2{color:#192747;margin:20px 0 6px}.shop-unavailable p{color:#2455b1;font-weight:700;font-size:16px;margin:8px 0}.shop-unavailable small{color:#6d788a;margin-top:12px}
.confirmation-help{display:flex;align-items:center;justify-content:center;min-height:44px;width:100%;font-size:11px;text-align:center;line-height:1.5;}

/* Short viewports must keep every destination reachable, including in landscape. */
@media(min-width:601px) and (max-height:650px){
 .sidebar{padding-top:14px;padding-bottom:14px;}
 .sidebar>.brand{flex-shrink:0;}
 .sidebar-caption,.sidebar-bottom{display:none;}
 .sidebar nav{flex:1;min-height:0;margin-top:18px;overflow-y:auto;overscroll-behavior-y:contain;}
 .sidebar .nav-link{min-height:44px;padding-block:11px;margin-block:4px;}
}
/* A 16px field avoids focus zoom on iPhone without disabling user zoom. */
@media(max-width:850px), (pointer:coarse){
 .login-screen input,.workspace input:not([type=checkbox]):not([type=radio]):not([type=range]),
 .workspace select,.workspace textarea,dialog input:not([type=checkbox]):not([type=radio]):not([type=range]),dialog select,dialog textarea{font-size:16px;}
 .eye-button{width:44px;height:44px;right:2px;}
 .input-wrap input[type=password],.input-wrap input[name=password]{padding-right:50px;}
 .label-row .text-link{min-height:44px;display:inline-flex;align-items:center;margin-bottom:0;}
}

/* Profile submission has its own row below every field. */
.profile-form-actions{display:flex;flex-wrap:wrap;align-items:center;gap:14px;margin-top:24px;}
.profile-form-actions>.auth-status{flex-basis:100%;margin:0;}
.profile-form-actions>.auth-status:empty{display:none;}
.profile-form-actions>.button{min-height:48px;}
.shop-balance{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:24px;}
.shop-balance strong{display:flex;align-items:center;gap:10px;margin-top:7px;font:750 28px Bricolage;}
.shop-balance p{max-width:330px;margin:0;}
.shop-pack{display:flex;flex-direction:column;}
.shop-pack-body{display:flex;flex:1;flex-direction:column;gap:10px;}
.shop-pack-body h3{font-size:17px;overflow-wrap:anywhere;min-height:0;margin:0;}
.shop-pack-body p{font-size:12px;margin:0 0 10px;}
.shop-pack-actions{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;margin-top:auto;}
.shop-pack-actions .price{display:flex;align-items:center;flex-wrap:wrap;gap:6px;font-weight:800;}
.shop-pack-actions .price small{font-size:11px;}
.shop-pack-actions .button{font-size:12px;min-height:44px;padding:10px 14px;width:100%;}
@media(max-width:600px){
 .profile-form-actions>.button{width:100%;}
 .shop-balance{align-items:flex-start;flex-direction:column;gap:12px;}
 .shop-pack-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;}
 .shop-pack-body{padding:14px 12px;}
 .shop-pack-body h3{font-size:16px;}
 .shop-pack-visual{height:190px;}
 .shop-pack-actions .button{font-size:11px;padding:10px 6px;}
}
@media(max-width:360px){.shop-pack-grid{grid-template-columns:minmax(0,1fr);}}

/* Every card uses the same window and body, including locked and unrevealed cards. */
:root{--card-border:5px;}
.card-face.presidex-holo{border-width:var(--card-border);align-content:start;}
.card-face.presidex-holo>.portrait{aspect-ratio:1.2;}
.card-face.presidex-holo .card-info{height:max(140px,70cqw);min-height:0;aspect-ratio:auto;}
.locked-card,.reveal-grid .card-back{container-type:inline-size;padding:0;border:var(--card-border) solid #e4e8f0;}
.card-photo-space{aspect-ratio:1.2;}
.card-body-space{height:max(140px,70cqw);min-height:0;aspect-ratio:auto;}
.card-face .portrait>.portrait-backdrop{position:absolute;inset:-8%;width:116%;height:116%;object-fit:cover;filter:blur(10px);opacity:.8;pointer-events:none;}
@media(max-width:600px){:root{--card-border:3px;}}
.boot-screen{min-height:100svh;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:18px;background:#fbfcff;padding:32px;text-align:center;}
.boot-screen>.brand-symbol{width:48px;height:54px;font-size:39px;}
.boot-screen>strong{font:800 35px Bricolage,Manrope,sans-serif;letter-spacing:-.05em;}
.boot-screen p{margin:0;color:#62718a;font-size:14px;}

.portrait:has(>.portrait-failed)>.portrait-backdrop{display:none;}
.boot-screen .brand-stop{margin-left:0;}
