/* CardCairn · Obsidienne + Atlas + Nexus, global redesign, 2026-10-22.
   Visual only: does not change business logic, data or scanner. */
:root{--cc-gold:#f6c451;--cc-navy:#091d2e;--cc-ink:#142d44;--cc-cream:#f5f7fb}
body.cc-atlas-theme{background:#f5f7fb;color:#142d44}
body.cc-atlas-theme:before,body.cc-atlas-theme:after{display:none}
.cc-atlas-theme .shell{width:min(1440px,calc(100% - 44px))}
.cc-atlas-theme main{--bg:#f5f7fb;--panel:#fff;--panel2:#f7faff;--panel3:#eaf2f8;--line:#dce5ef;--text:#172e43;--muted:#65788e;--muted2:#8494a5;--accent:#cc902c;--accent2:#198d79;--green:#158a6a;--blue:#2d7ba9;--orange:#ad7b24;background:linear-gradient(#eff4fa,#f8fafd 340px);color:var(--text);min-height:68vh;padding-bottom:46px}
.cc-atlas-theme main h1,.cc-atlas-theme main h2,.cc-atlas-theme main h3{letter-spacing:-.025em}
.cc-atlas-theme a,.cc-atlas-theme button{touch-action:manipulation}
.cc-atlas-theme :focus-visible{outline:3px solid #e6a534!important;outline-offset:3px}
.cc-atlas-theme .sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
/* Header: consistent on every front-office page */
.cc-atlas-theme .cc-universal-header{position:sticky;top:0;z-index:90;background:linear-gradient(105deg,#071421,#0d2b40)!important;border-bottom:1px solid #3e4755;box-shadow:0 10px 28px #03132133}
.cc-atlas-theme .cc-universal-header:after{opacity:1;background:linear-gradient(90deg,transparent,#dca643,transparent);height:1px;box-shadow:none}
.cc-atlas-theme .cc-header-row{min-height:78px;display:flex;align-items:center;gap:14px}
.cc-atlas-theme .cc-brand{display:flex;align-items:center;gap:9px;flex:none;color:#fff}
.cc-atlas-theme .cc-brand .brand-symbol{width:42px;height:42px;border:1px solid #a78343!important;background:#1d3545!important;border-radius:10px;box-shadow:none!important}
.cc-atlas-theme .cc-brand .brand-symbol i{background:linear-gradient(140deg,#ffdc8b,#c48c28)!important}
.cc-atlas-theme .cc-brand-copy{display:grid;gap:3px;line-height:1.1}
.cc-atlas-theme .cc-brand .brand-word{color:white;font-size:20px;letter-spacing:-.6px;text-shadow:none}
.cc-atlas-theme .cc-brand .brand-word b{color:white!important;text-shadow:none}
.cc-atlas-theme .cc-brand-copy small{font-size:8px;color:#e8cb8b;letter-spacing:.1em;text-transform:uppercase;font-weight:750}
.cc-atlas-theme .cc-nav-links{display:flex;align-items:center;gap:2px;flex:1;min-width:0}
.cc-atlas-theme .cc-nav-links>a,.cc-atlas-theme .cc-nav-links .nav-cluster>summary{font-size:12px!important;font-weight:720;color:#e4ecf5!important;border:1px solid transparent!important;padding:10px 8px!important;border-radius:9px;white-space:nowrap}
.cc-atlas-theme .cc-nav-links>a.active,.cc-atlas-theme .cc-nav-links>a:hover,.cc-atlas-theme .cc-nav-links .nav-cluster>summary:hover{color:#ffe2a0!important;background:#2b3c46!important;border-color:#594c33!important}
.cc-atlas-theme .cc-nav-links>a.active:after{background:var(--cc-gold);bottom:2px;height:2px;box-shadow:none}
.cc-atlas-theme .cc-header-search{display:flex;align-items:center;flex:0 1 210px;min-width:125px;height:39px;border:1px solid #3b566b;border-radius:9px;overflow:hidden;background:#152d42}
.cc-atlas-theme .cc-header-search input{min-width:0;width:100%;background:transparent!important;border:0!important;outline:0!important;box-shadow:none!important;color:white!important;padding:0 11px;font-size:12px}
.cc-atlas-theme .cc-header-search input::placeholder{color:#b8c6d2}
.cc-atlas-theme .cc-header-search button{border:0;background:var(--cc-gold);width:43px;align-self:stretch;color:#102636;font-size:26px;cursor:pointer}
.cc-atlas-theme .cc-header-actions{flex:none;display:flex;gap:9px;align-items:center}
.cc-atlas-theme .cc-gold-action{display:inline-grid;place-items:center;padding:10px 12px;background:linear-gradient(145deg,#ffe09b,#edb646);border-radius:9px;color:#142b3f!important;font-weight:800;font-size:12px;white-space:nowrap}
.cc-atlas-theme .cc-login-link{color:#e9f2fa;font-size:12px;font-weight:750}
.cc-atlas-theme .cc-header-actions .notification-bell{background:#12344a;border-color:#3a556a;color:#ffce6d;box-shadow:none;width:36px;height:36px}
.cc-atlas-theme .cc-header-actions .user-menu>summary,.cc-atlas-theme .cc-header-actions .user-chip{background:#16384e;color:#fff;border-color:#3d5568}
.cc-atlas-theme .cc-universal-header .nav-popover{background:#102b3e!important;color:#fff;border:1px solid #3a5164!important;box-shadow:0 17px 42px #06131b77!important}
.cc-atlas-theme .cc-universal-header .nav-popover a{color:#e5eff8}
.cc-atlas-theme .cc-universal-header .nav-popover a:hover{color:#ffe09a;background:#204154!important}
.cc-atlas-theme .cc-universal-header .nav-popover-label{color:#f0be5c}
/* True responsive hamburger, exposes every feature without relying on desktop hover */
.cc-mobile-menu{display:none;position:relative;margin-left:auto}
.cc-mobile-menu>summary{list-style:none;cursor:pointer;display:flex;flex-direction:column;justify-content:space-between;width:41px;height:40px;padding:11px;border:1px solid #385369;background:#17374b;border-radius:10px}
.cc-mobile-menu>summary::-webkit-details-marker{display:none}
.cc-mobile-menu>summary span{display:block;width:18px;height:2px;border-radius:2px;background:#ffdc8e}
.cc-mobile-menu>nav{position:absolute;right:0;top:calc(100% + 10px);width:min(325px,calc(100vw - 24px));max-height:min(78vh,650px);overflow:auto;display:grid;gap:2px;padding:11px;background:#0d293e;border:1px solid #39556b;border-radius:14px;box-shadow:0 25px 70px #04121b99;color:white}
.cc-mobile-menu>nav>a{padding:10px 13px;border-bottom:1px solid #2b455a;border-radius:7px;color:#e5eef6}
.cc-mobile-menu>nav>a:hover{background:#1e4258;color:#ffdb84}
.cc-mobile-menu form{display:flex;overflow:hidden;border-radius:8px;margin-bottom:7px}
.cc-mobile-menu form input{min-width:0;flex:1;padding:9px;border:0;background:#1e455b;color:#fff}
.cc-mobile-menu form button{border:0;width:40px;font-size:22px;background:var(--cc-gold);color:#172b38}
/* Atlas reading surfaces used by all core views */
.cc-atlas-theme main .page-head{padding:35px 0 28px;background:linear-gradient(135deg,#e8f0f9,#f8fafd 78%);border-bottom:1px solid #dce5ef}
.cc-atlas-theme main .page-head h1{color:#122c45;font-size:clamp(30px,3vw,47px)}
.cc-atlas-theme main .page-head p{color:#66798e}
.cc-atlas-theme main .eyebrow{color:#a67623;font-weight:850;letter-spacing:.1em}
.cc-atlas-theme main :is(.panel,.stat,.table-card,.tcg-card,.set-card,.guide-card,.market-card,.cc-kpi,.cc-dashboard-panel,.cc-dashboard-section,.cc-chart-card,.community-event,.cc-goal-link){background:#fff;color:#19344c;border:1px solid #e0e7f0;border-radius:15px;box-shadow:0 8px 24px #1839540c}
.cc-atlas-theme main :is(.panel,.stat,.table-card,.tcg-card,.set-card,.guide-card,.cc-kpi,.cc-dashboard-panel,.cc-chart-card) :is(h2,h3,.stat-value,.price){color:#172f47}
.cc-atlas-theme main :is(.panel,.stat,.table-card,.tcg-card,.set-card,.guide-card,.cc-kpi,.cc-dashboard-panel,.cc-chart-card) :is(.meta,small,.stat-label,.stat-sub){color:#647a8f}
.cc-atlas-theme main :is(input,select,textarea){color:#1a334c;background:#fff;border:1px solid #d1deea;border-radius:9px;max-width:100%}
.cc-atlas-theme main :is(input,textarea)::placeholder{color:#8795a8}
.cc-atlas-theme main .btn-primary{background:linear-gradient(135deg,#ffdc90,#f0b946)!important;color:#142b40!important;border:1px solid #e6b553!important;box-shadow:0 5px 13px #ab842b22!important;border-radius:9px!important;font-weight:800}
.cc-atlas-theme main :is(.btn-secondary,.btn-ghost){background:#fff!important;color:#244158!important;border:1px solid #d7e0ea!important;border-radius:9px!important;box-shadow:none!important}
.cc-atlas-theme main .chip{background:#fff;color:#2b475e;border:1px solid #d7e2ed;border-radius:9px}
.cc-atlas-theme main .chip.active,.cc-atlas-theme main .chip[aria-current=page]{background:#133249;color:#fff;border-color:#133249}
.cc-atlas-theme main .notice{background:#f2f8fd;border:1px solid #cbddea;color:#37506a}
.cc-atlas-theme main .notice.error{background:#fff0f0;color:#a33949;border-color:#efc3c9}
.cc-atlas-theme main .notice.warning{background:#fff9e9;color:#825d16;border-color:#ecdba7}
.cc-atlas-theme main .notice.success{background:#eef9f4;color:#15705b;border-color:#b9e5d9}
.cc-atlas-theme main :is(.empty,.loading){color:#697f91;background:#fff;border-color:#dce6ee}
.cc-atlas-theme main .seo-breadcrumb{color:#697b8d}
.cc-atlas-theme main .seo-breadcrumb b{color:#193c54}
.cc-atlas-theme main .positive{color:#148b67!important}
.cc-atlas-theme main .negative{color:#c14a54!important}
.cc-atlas-theme main .ad-slot{background:#f3f7fb;border-color:#dce6ef;color:#62778e}
.cc-atlas-theme main :is(.tcg-card,.set-card,.guide-card){transition:transform .18s ease,box-shadow .18s ease}
.cc-atlas-theme main :is(.tcg-card,.set-card,.guide-card):hover{transform:translateY(-3px);border-color:#deb96c;box-shadow:0 13px 30px #1c486c25}
.cc-atlas-theme main .tcg-card .card-img{background:linear-gradient(135deg,#eaf2fa,#fff);border-radius:11px;overflow:hidden}
.cc-atlas-theme main .tcg-card .card-img img{object-fit:contain}
/* Obsidienne landing: dark cinematic canvas + prominent real catalogue search */
.cc-atlas-theme main .cc-home-hero{color:#fff;padding:65px 0 45px;min-height:505px;background:radial-gradient(ellipse at 76% 22%,#bd8b465e,transparent 28%),radial-gradient(ellipse at 75% 80%,#28547773,transparent 43%),linear-gradient(115deg,#061929,#123c52 65%,#0a2134);overflow:hidden}
.cc-atlas-theme main .cc-home-hero:before{background:linear-gradient(147deg,transparent 45%,#33587522 46%,transparent 49%);width:100%;height:100%;inset:0;border-radius:0;opacity:1}
.cc-atlas-theme .cc-home-hero .shell{position:relative;z-index:1}
.cc-atlas-theme .cc-home-hero :is(h1,h2,h3){color:#fff}
.cc-atlas-theme .cc-home-hero h1{font-size:clamp(42px,4.4vw,70px);line-height:1.05;letter-spacing:-.05em}
.cc-atlas-theme .cc-home-hero h1 .soft{color:#ffcf75}
.cc-atlas-theme .cc-home-hero .eyebrow{color:#f7d394}
.cc-atlas-theme .cc-home-hero .cc-home-copy>p{color:#d2e1ee;max-width:590px}
.cc-atlas-theme .cc-home-big-search{display:flex;width:min(570px,100%);height:54px;overflow:hidden;margin:24px 0 15px;background:#fff;border:2px solid #f5c65d;border-radius:10px;box-shadow:0 16px 32px #06111d55}
.cc-atlas-theme .cc-home-big-search input{flex:1;min-width:0;border:0!important;background:#fff!important;padding:0 16px;color:#1e374d!important;box-shadow:none!important;outline:0!important}
.cc-atlas-theme .cc-home-big-search button{width:59px;flex:none;background:#f6c451;color:#122e41;border:0;font-size:30px;cursor:pointer}
.cc-atlas-theme .cc-home-game-links{width:min(570px,100%);display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin-bottom:22px}
.cc-atlas-theme .cc-home-game-links a{display:grid;gap:2px;padding:12px 14px;border:1px solid #355771;background:#0c293eee;border-radius:10px;color:#fff}
.cc-atlas-theme .cc-home-game-links a:hover{background:#1b415a;color:#ffda90}
.cc-atlas-theme .cc-home-game-links strong{font-size:13px}
.cc-atlas-theme .cc-home-game-links small{font-size:10px;color:#b2c9d8}
.cc-atlas-theme .cc-home-hero .btn-ghost{color:#fff!important;background:transparent!important;border-color:#7c91a0!important}
.cc-atlas-theme .cc-home-hero .cc-app-card{background:linear-gradient(135deg,#163b53,#0b2135)!important;border-color:#547285!important;color:#fff}
.cc-atlas-theme .cc-home-hero .cc-app-card :is(b,small){color:inherit}
.cc-atlas-theme .cc-home-hero .cc-scan-float{background:#143348!important;border-color:#547285!important;color:#fff}
.cc-atlas-theme .cc-home-trust{background:#0a1f2e;border-bottom:3px solid #daaa4a;color:#fff}
.cc-atlas-theme .cc-home-trust :is(b,small){color:#e5edf5}
.cc-atlas-theme .cc-home-trust .cc-trust-icon{color:#f1c66d}
.cc-atlas-theme .cc-bento-section,.cc-atlas-theme .cc-final-cta{background:#f5f8fc}
.cc-atlas-theme .cc-bento-section :is(h2,h3,p){color:#1b344a}
.cc-atlas-theme .cc-final-card{background:linear-gradient(140deg,#0e293d,#19435b);color:#fff;border-color:#355a70}
.cc-atlas-theme .cc-final-card :is(h2,p){color:#fff}
/* Nexus collection cockpit */
.cc-atlas-theme main .cc-dashboard{padding-top:32px;background:transparent;color:#20364d}
.cc-atlas-theme .cc-dashboard .cc-dashboard-head h1{color:#132d45}
.cc-atlas-theme .cc-dashboard .cc-dashboard-head p{color:#61788c}
.cc-atlas-theme .cc-dashboard .cc-command-strip>span{background:#fff;border:1px solid #dee7ef;border-radius:12px;box-shadow:0 7px 20px #162c420a;color:#1b354d}
.cc-atlas-theme .cc-dashboard .cc-command-strip :is(b,small){color:#1b354d}
.cc-atlas-theme .cc-dashboard .cc-value-card-v2{background:linear-gradient(135deg,#102c43,#1a4159)!important;color:white;border-color:#37546c!important}
.cc-atlas-theme .cc-dashboard .cc-value-card-v2 :is(div,b,small,span){color:#f1f6fc}
.cc-atlas-theme .cc-dashboard .cc-value-card-v2 .cc-value-number{color:#ffda90!important}
.cc-atlas-theme .cc-dashboard .cc-chart-card :is(h2,b){color:#1a3549}
.cc-atlas-theme .cc-dashboard .cc-action-tile{background:#f2f7fb;border:1px solid #e0e9f0;color:#234257}
.cc-atlas-theme .cc-dashboard .cc-dashboard-panel p{color:#667d8e}
/* Atlas catalogue, extensions and card details */
.cc-atlas-theme main .cc-catalogue-hero,.cc-atlas-theme main .cc-market-hero{background:linear-gradient(130deg,#e9f2fa,#f8fbfd)!important;color:#18354c;border-bottom:1px solid #dfe8f1}
.cc-atlas-theme main .cc-catalogue-copy h1,.cc-atlas-theme main .cc-market-copy h1{color:#163049}
.cc-atlas-theme main .cc-catalogue-copy>p,.cc-atlas-theme main .cc-market-copy>p{color:#62788d}
.cc-atlas-theme main :is(.cc-search-panel,.cc-market-overview,.cc-market-search-panel){background:#fff!important;border:1px solid #dce5ef;box-shadow:0 8px 25px #14365212;border-radius:16px;color:#1c3850}
.cc-atlas-theme main .cc-results-head h2{color:#1b344a}
.cc-atlas-theme main .cc-catalogue-results{padding-top:25px}
.cc-atlas-theme main .set-card .set-cover{background:linear-gradient(135deg,#e7f0f9,#f5faff)}
.cc-atlas-theme main .set-hero{background:linear-gradient(120deg,#112f46,#1c4b61);color:#fff}
.cc-atlas-theme main .set-hero :is(h1,small,p,.meta,.card-game){color:#fff}
.cc-atlas-theme main .set-progress-card{background:#fff;border:1px solid #dce5ef;color:#1c334c;border-radius:17px}
.cc-atlas-theme main .card-detail.v2{padding-top:30px;padding-bottom:32px}
.cc-atlas-theme main .card-detail .detail-image{background:linear-gradient(145deg,#e9f2fa,#fff);padding:16px;border:1px solid #dee7ef;border-radius:17px}
.cc-atlas-theme main .card-detail .detail{padding:23px;background:#fff;border:1px solid #dde6ef;box-shadow:0 8px 28px #21415a13;border-radius:17px}
.cc-atlas-theme main .card-detail .detail h1{color:#142f46}
.cc-atlas-theme main .card-detail .price-box{background:#f3f8fc;border-color:#dfe7ef;color:#1b344a}
.cc-atlas-theme main .owned-price-compare{background:#fff;border-color:#dce5ef;color:#1c3448}
.cc-atlas-theme main .owned-price-compare-row{background:#f8fafd;border-color:#dee7ef}
.cc-atlas-theme main .owned-price-compare :is(b,strong){color:#163348}
/* Scanner, market, account, analytics, editorial */
.cc-atlas-theme main :is(.cc-inventory-head,.stats-head,.community-head){background:linear-gradient(135deg,#e8f2fa,#f8fafd)}
.cc-atlas-theme main :is(.cc-global-hub,.stats-page,.smart-wishlist-page,.community-page,.cc-market-page){padding-top:25px}
.cc-atlas-theme main .collection-item{background:#f5f8fc;border:1px solid #e3ebf2;color:#254259}
.cc-atlas-theme main .camera{border:3px solid #284a61;background:#0e283e}
.cc-atlas-theme main .guide-hero{background:linear-gradient(125deg,#122f46,#1d4258)!important}
.cc-atlas-theme main .guide-hero :is(h1,h2,p,.eyebrow){color:#fff}
.cc-atlas-theme main .guide-reference-hub,.cc-atlas-theme main .guide-hub{padding-top:26px}
.cc-atlas-theme main .guide-card :is(h2,h3){color:#18344b}
.cc-atlas-theme main .guide-content,.cc-atlas-theme main .guide-toc{background:#fff;border:1px solid #dce5ee;color:#1c364c;border-radius:15px}
.cc-atlas-theme main .guide-article :is(h1,h2){color:#1a354b}
.cc-atlas-theme main .auth{margin-top:45px;box-shadow:0 25px 58px #223e531c}
.cc-atlas-theme main .auth h1{color:#163049}
.cc-atlas-theme main .auth>p{color:#657b8e}
.cc-atlas-theme main .stat-label,.cc-atlas-theme main .stat-sub{color:#688095}
/* Footer and bottom nav */
.cc-atlas-theme footer{background:linear-gradient(135deg,#081b2b,#0e2b40);border-top:3px solid #d8a74a;color:#d7e5ef}
.cc-atlas-theme footer .cc-footer{background:transparent}
.cc-atlas-theme footer .cc-footer-column strong{color:#ffdc94}
.cc-atlas-theme footer .cc-footer-column a,.cc-atlas-theme footer .cc-footer-brand p{color:#bbccd9}
.cc-atlas-theme footer .cc-footer-column a:hover{color:#f6ca74}
.cc-atlas-theme footer .brand-word b{color:#fff!important}
.cc-atlas-theme .cc-atlas-bottom{background:#092236!important;border:1px solid #3b566a!important;box-shadow:0 8px 28px #0005!important}
.cc-atlas-theme .cc-atlas-bottom .mobile-nav-item{color:#bdcddd!important}
.cc-atlas-theme .cc-atlas-bottom .mobile-nav-item.active{color:#ffdb8a!important;background:#f6c45122!important}
.cc-atlas-theme .cc-atlas-bottom .mobile-nav-icon{font-size:24px;font-weight:900}
.cc-atlas-theme .cc-atlas-bottom .scan-main .mobile-scan-icon{background:linear-gradient(135deg,#ffdc8e,#eeb247)!important;color:#173348!important;border:2px solid #ffe1a4!important;box-shadow:0 7px 19px #efb83c55!important}
@media(max-width:1400px){.cc-atlas-theme .cc-header-row{gap:8px}.cc-atlas-theme .cc-nav-links>a,.cc-atlas-theme .cc-nav-links .nav-cluster>summary{font-size:11px!important;padding:9px 6px!important}.cc-atlas-theme .cc-header-search{flex-basis:165px}}
@media(max-width:1100px){.cc-atlas-theme .cc-nav-links,.cc-atlas-theme .cc-header-search{display:none}.cc-atlas-theme .cc-header-actions{margin-left:auto}.cc-atlas-theme .cc-mobile-menu{display:block}.cc-atlas-theme .cc-header-row{min-height:67px}}
@media(max-width:900px){.cc-atlas-theme .cc-header-actions .cc-gold-action{display:none}.cc-atlas-theme .cc-home-hero .cc-hero-grid{grid-template-columns:1fr}.cc-atlas-theme .cc-home-hero .cc-product-stage{max-width:520px;margin:0 auto}}
@media(max-width:620px){.cc-atlas-theme .shell{width:min(100% - 24px,1440px)}.cc-atlas-theme .cc-header-row{min-height:60px}.cc-atlas-theme .cc-brand{gap:6px}.cc-atlas-theme .cc-brand .brand-symbol{width:32px;height:32px}.cc-atlas-theme .cc-brand .brand-word{font-size:17px}.cc-atlas-theme .cc-brand-copy small{font-size:6px;letter-spacing:.05em}.cc-atlas-theme .cc-header-actions .cc-login-link,.cc-atlas-theme .cc-header-actions .user-menu{display:none}.cc-atlas-theme .cc-home-hero{padding:36px 0 25px;min-height:0}.cc-atlas-theme .cc-home-hero h1{font-size:39px}.cc-atlas-theme .cc-home-big-search{height:48px;margin:18px 0 12px}.cc-atlas-theme .cc-home-game-links{gap:5px}.cc-atlas-theme .cc-home-game-links a{padding:10px 6px}.cc-atlas-theme .cc-home-game-links strong{font-size:10px}.cc-atlas-theme .cc-home-game-links small{font-size:8px}.cc-atlas-theme .cc-home-hero .hero-actions{display:grid;grid-template-columns:1fr 1fr}.cc-atlas-theme .cc-home-hero .hero-actions a:last-child{grid-column:1/-1}.cc-atlas-theme main .page-head{padding:25px 0}.cc-atlas-theme main .page-head h1{font-size:30px}.cc-atlas-theme main .card-detail .detail{padding:15px}.cc-atlas-theme main .cc-dashboard{padding-top:20px}.cc-atlas-theme .cc-atlas-bottom .mobile-nav-item small{font-size:9px!important}}
@media(prefers-reduced-motion:reduce){.cc-atlas-theme *,.cc-atlas-theme *:before,.cc-atlas-theme *:after{transition:none!important;animation-duration:.01ms!important}}

/* Keep long tool menus accessible and scrollable on small screens. */
.cc-atlas-theme .cc-universal-header .nav-popover{max-height:min(73vh,620px);overflow-y:auto;overscroll-behavior:contain}
