/* Titan SMP additions on top of the original AnarchyFFA store layout. */
.brand-gold{color:var(--gold)}
.hero-scene.titan-scene{background:radial-gradient(circle at 50% 42%,#b764c522,transparent 48%)}
.titan-scene .nether-portal{position:absolute;inset:11% 21% 12%;border:21px solid #221b28;background:radial-gradient(circle at 50% 48%,#682275,#220c35 52%,#100e20);box-shadow:inset 0 0 0 8px #100f16,0 0 58px #8539ad77,12px 17px #080d10;transform:rotate(-5deg)}
.titan-scene .nether-portal-surface{position:absolute;inset:7px;background:repeating-linear-gradient(100deg,#7e2ab41d 0 13px,#b956d71f 13px 27px);animation:portal-shift 8s linear infinite}
@keyframes portal-shift{to{background-position:160px 0}}
.hero-mace{position:absolute;z-index:3;display:grid;place-items:center;filter:drop-shadow(8px 11px 1px #080712)}
.hero-mace:before{content:"";position:absolute;width:75%;height:75%;border:4px dashed #ffd67b7a;border-radius:50%;box-shadow:0 0 28px #ce83f188;animation:halo-spin 10s linear infinite}
.hero-mace img{position:relative;width:100%;height:100%;object-fit:contain;image-rendering:pixelated;animation:relic-spin 9s linear infinite;filter:drop-shadow(0 0 14px #ffdfaa7d)}
.hero-mace-center{width:220px;height:220px;left:calc(50% - 110px);top:23%;z-index:5}.hero-mace-left{width:145px;height:145px;left:13%;top:39%}.hero-mace-right{width:150px;height:150px;right:9%;top:37%}
.hero-mace-left img{animation-duration:12s;animation-direction:reverse}.hero-mace-right img{animation-duration:11s}
.mace-grid .product-card{min-height:400px;--rank-a:var(--mace-a);--rank-b:var(--mace-b);--rank-c:var(--mace-a)}
.mace-grid .product-card .card-top{height:205px;background:radial-gradient(circle at 50% 58%,color-mix(in srgb,var(--mace-b) 38%,#1b2428),#142025 70%)!important;overflow:hidden}
.mace-grid .product-card .card-top:before,.mace-grid .product-card .card-top:after{content:none!important}
.mace-grid .product-card .card-body{display:flex;flex-direction:column;flex:1}
.mace-grid .product-card .card-tag{background:color-mix(in srgb,var(--mace-a) 46%,#18282a);border-color:var(--mace-b);color:#fff}
.mace-stage{position:relative;display:grid;place-items:center;width:100%;height:100%;isolation:isolate;perspective:500px;overflow:hidden}
.mace-stage:before{content:"";position:absolute;inset:14%;background:radial-gradient(circle,color-mix(in srgb,var(--mace-b) 42%,transparent),transparent 68%);filter:blur(4px)}
.mace-halo{position:absolute;width:145px;height:145px;border-radius:50%;background:conic-gradient(from 0deg,transparent 0 25%,var(--mace-b) 34%,transparent 43% 63%,var(--mace-a) 75%,transparent 83%);mask:radial-gradient(circle,transparent 58%,#000 60%);animation:halo-spin 7s linear infinite;filter:drop-shadow(0 0 8px var(--mace-b))}
.mace-stage img{position:relative;z-index:1;width:124px;height:124px;object-fit:contain;image-rendering:pixelated;animation:relic-spin 10s linear infinite;filter:drop-shadow(6px 7px 0 #070b14) drop-shadow(0 0 10px var(--mace-b))}
@keyframes relic-spin{0%{transform:translateY(2px) rotate(-18deg)}50%{transform:translateY(-9px) rotate(162deg)}100%{transform:translateY(2px) rotate(342deg)}}
@keyframes halo-spin{to{transform:rotate(360deg)}}
.mace-flavor{color:var(--gold);font-size:19px;line-height:1.1;min-height:42px;margin:0 0 12px}
.mace-card .card-desc{font-size:17px;line-height:1.2;min-height:44px;flex:1}.mace-card .card-desc strong{color:var(--mace-b)}
.card-actions{display:flex;align-items:center;gap:7px}.details-button{height:36px;padding:0 8px;border:1px solid var(--mace-b);background:#213135;color:#e9f4e9;font:7px var(--display)}.details-button:hover{background:var(--mace-a)}
.featured-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.featured-card{display:grid;grid-template-columns:200px 1fr;gap:22px;align-items:center;min-height:290px;padding:22px;border:3px solid var(--mace-b);background:radial-gradient(circle at 20% 40%,color-mix(in srgb,var(--mace-a) 40%,#17242a),#161f24 65%);box-shadow:inset 0 0 0 5px #0e161a,7px 8px #090d10}.featured-card .mace-stage{height:220px}.featured-card .mace-stage img{width:160px;height:160px}.featured-card h3{font:clamp(15px,2vw,24px)/1.4 var(--display);margin:13px 0;color:#fff}.featured-card p{color:#d0d7cd;font-size:23px}.featured-card strong{display:block;font:15px var(--display);color:var(--gold);margin-bottom:22px}.featured-card .button{font-size:8px}
.cart-mace{display:flex;align-items:center;gap:11px}.cart-mace img{width:44px;height:44px;image-rendering:pixelated;filter:drop-shadow(3px 3px #0c0c0c)}.remove-button{align-self:center;border:1px solid #9a695e;background:#3d2827;color:#f9cfca;width:31px;height:31px;font-size:24px;line-height:1}.drawer-bottom .button:disabled{cursor:not-allowed;opacity:.65;filter:grayscale(.35)}
#detailModal{width:min(650px,calc(100% - 30px))}#detailModal h2{font-size:22px;color:var(--cream)}#detailModal .detail-art{height:185px;border:2px solid #607369;background:#101d20;margin:19px 0}#detailModal .detail-art img{width:145px;height:145px}.detail-flavor{color:var(--gold)!important;font-size:25px!important}.ability-list{margin:22px 0}.ability-list>div{border-top:1px solid #627e72;padding:15px 0}.ability-list b{font:10px var(--display);color:var(--mint)}.ability-list p{margin:8px 0 0!important;font-size:21px!important}
@media(max-width:1100px){.featured-card{grid-template-columns:130px 1fr}.featured-card .mace-stage{height:180px}.featured-card .mace-stage img{width:120px;height:120px}}
@media(max-width:760px){.titan-scene .nether-portal{inset:9% 15% 13%}.hero-mace-center{width:170px;height:170px;left:calc(50% - 85px);top:23%}.hero-mace-left,.hero-mace-right{width:110px;height:110px;top:44%}.featured-grid{grid-template-columns:1fr}.mace-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:480px){.mace-grid{gap:10px}.mace-grid .product-card{min-height:385px}.mace-grid .product-card .card-top{height:150px}.mace-grid .mace-stage img{width:100px;height:100px}.mace-halo{width:115px;height:115px}.mace-flavor{font-size:16px;min-height:50px}.mace-card .card-desc{font-size:15px;min-height:70px}.card-actions{gap:3px}.details-button{font-size:6px;padding:0 4px;height:31px}.featured-card{grid-template-columns:100px 1fr;padding:12px;gap:10px}.featured-card .mace-stage{height:125px}.featured-card .mace-stage img{width:90px;height:90px}.featured-card .mace-halo{width:90px;height:90px}.featured-card h3{font-size:13px}.featured-card p{font-size:18px}.featured-card .button{font-size:7px;padding:10px}}
@media(prefers-reduced-motion:reduce){.hero-mace img,.hero-mace:before,.mace-stage img,.mace-halo,.titan-scene .nether-portal-surface{animation:none!important}}

/* Match the supplied Titan SMP logo: diamond teal, warm gold, and dark stone. */
:root{--ink:#071617;--panel:#102729;--panel2:#183b3b;--line:#378b8b;--mint:#39e4e2;--gold:#ffd64d;--orange:#e7844b;--cream:#e7faf8;--muted:#a8c9c7}
body{background:#071617}
.world-backdrop{background:radial-gradient(ellipse at 76% 19%,#1a6668 0%,transparent 47%),linear-gradient(180deg,#0c3237 0%,#174749 44%,#07191b 83%)}
.mountains{background:linear-gradient(90deg,#123a3b,#20595b)}.mountains.near{background:#0b3031}.ground{background:repeating-linear-gradient(90deg,#0d3530 0 64px,#11423a 64px 128px)}
.announcement,.assurance-strip,.trust-strip{background:#103e3e;border-color:#267c7a;color:#d2f5ed}
.topbar{border-color:#317d7c}.topbar nav a:hover{color:#45ffff}.brand-logo{width:38px;height:38px;object-fit:contain;image-rendering:pixelated;filter:drop-shadow(0 0 7px #32eeec70)}
.hero h1 em{color:var(--gold);text-shadow:5px 6px #713b12}.hero-copy>p{color:#c8e3df}.button-primary,.add-button{background:#3bdad4!important;border-color:#a2ffed!important;color:#072426!important}.button-primary:hover,.add-button:hover{background:#a0fff2!important}
.titan-scene .nether-portal{border-color:#092b2d;background:radial-gradient(circle at 50% 48%,#28a9ad,#0b4d55 56%,#082b31);box-shadow:inset 0 0 0 8px #071b1f,0 0 58px #28ded677,12px 17px #030d10}
.titan-scene .nether-portal-surface{background:repeating-linear-gradient(100deg,#59e6e022 0 13px,#ecca4422 13px 27px)}
.hero-mace:before{border-color:#ffe77d99;box-shadow:0 0 28px #33fbef88}.floating-label{background:#0b3a3b;border-color:#4bb6a5}
.section-head{border-color:#4d9c92}.section-head h2 span{color:var(--gold)}.product-card{background:#102b2d;border-color:#327b7a}.product-card:hover{border-color:#4de9db}.mace-card .card-body{background:#10272a}.mace-flavor{color:#f9d973}
.featured-card{box-shadow:inset 0 0 0 5px #091c20,7px 8px #041013}.how-section{background:#103534;border-color:#438e82;box-shadow:inset 0 0 0 6px #0a2425,6px 6px #061313}.how-cards article{border-color:#4b9a8e}
.drawer,.modal{background:#103031;border-color:#54aa9b}.drawer-bottom{background:#17413d;border-color:#459b8c}.cart-lines,.modal p{color:#d1e9e3}.linked-preview{color:var(--mint)}.toast{background:#17433f;border-color:#56dcd2}
.edition-choice{display:flex;gap:10px;border:0;padding:0;margin:22px 0 4px}.edition-choice legend{font:9px var(--display);color:#b9eddf;margin-bottom:10px}.edition-choice label{display:flex;align-items:center;gap:8px;margin:0;padding:11px 13px;border:1px solid #56a79c;background:#123c3b;cursor:pointer}.edition-choice input{display:inline-block;width:auto;height:auto;margin:0;accent-color:#38dcd6}.delivery-preview{margin:5px 0 18px!important;padding:9px 12px;background:#0a2829;border:1px solid #437d76;color:#ffd95f!important;font-size:19px!important}
.mace-section-icon{width:72px;height:72px;object-fit:contain;image-rendering:pixelated;filter:drop-shadow(5px 6px #091719) drop-shadow(0 0 10px #f04b45a8)}
/* Keep the source store's real 32-frame Minecraft portal behind the relics. */
.titan-scene .nether-portal{inset:auto;top:33px;left:31%;width:360px;height:450px;border:0;background:url('/obsidian.png') 0 0/90px 90px repeat;box-shadow:0 0 0 4px #080914,9px 12px 0 #0a1116,0 0 48px #35ece250;transform:none}
.titan-scene .nether-portal-surface{inset:90px;background:url('/nether-portal-frames.png') 0 0/3200% 100% no-repeat;animation:nether-frames 3.2s steps(31,end) infinite;image-rendering:pixelated}
@media(max-width:760px){.titan-scene .nether-portal{top:8px;left:29%;width:288px;height:360px;background-size:72px 72px}.titan-scene .nether-portal-surface{inset:72px}}
@media(max-width:480px){.titan-scene .nether-portal{left:25%;width:224px;height:280px;background-size:56px 56px}.titan-scene .nether-portal-surface{inset:56px}}
.player-pill{display:inline-flex;align-items:center;gap:8px}.player-pill .account-head{width:24px;height:24px;margin:0;image-rendering:pixelated;border:1px solid #a2c79c;flex:none}.player-pill .player-dot{margin:0;flex:none}.hero-player-button{display:inline-flex;align-items:center;gap:9px}.hero-player-button .hero-player-head{width:23px;height:23px;image-rendering:pixelated;border:1px solid #a2c79c;flex:none}
.legal-page .topbar,.legal-intro{border-color:#408f8c}.legal-intro p,.legal-section p,.legal-table td{color:#c6e2dd}.legal-date{color:#a9d2c9}.legal-note{background:#103b3b;border-color:#61c3b6;box-shadow:5px 5px #051818}.legal-section,.legal-table td{border-color:#408f8c}.legal-section h2{color:#e8fbf4}.legal-section code{background:#0c3535;color:#ffe07a}.legal-table th{background:#164440}.legal-table td{background:#102f30}
.mace-grid .product-card{min-height:510px}.titan-rank-line{margin:18px 0 22px;padding:13px 12px;gap:12px;border-color:#4e9990;background:#0c2628;min-height:58px}.titan-rank-line .rank-prefix{font:17px/1.25 var(--body);letter-spacing:.1px;text-shadow:none}.titan-rank-line .rank-username{font:11px/1.7 var(--display);letter-spacing:.5px}.rank-benefit{color:#d7e9e3;font-size:18px;line-height:1.35;margin:0 0 20px}.featured-card .titan-rank-line{margin:16px 0 18px}.featured-card .titan-rank-line+.rank-benefit{font-size:19px;margin:0 0 18px;color:#d7e9e3}#detailModal .titan-rank-line{margin:16px 0 18px}#detailModal .rank-benefit{font-size:21px;margin:0 0 18px}
@media(max-width:480px){.mace-grid .product-card{min-height:510px}.titan-rank-line{padding:10px 7px;gap:8px}.titan-rank-line .rank-prefix{font-size:16px}.titan-rank-line .rank-username{font-size:8px}.rank-benefit{font-size:16px;line-height:1.3}}
.skip-link{position:absolute;left:12px;top:-70px;z-index:1000;background:#103031;color:#fff;padding:12px}.skip-link:focus{top:12px}
:focus-visible{outline:3px solid #ffe37b!important;outline-offset:3px}
.privacy-check{display:flex;align-items:flex-start;gap:10px;margin:8px 0 20px;color:#e1f0eb;font:18px/1.25 var(--body)}.privacy-check input{width:auto;height:auto;flex:none;margin:3px 0 0;accent-color:#3bdad4}.privacy-check a,.cookie-banner a,footer a{color:#ffe37b;text-decoration:underline}
.cookie-banner{position:fixed;z-index:1000;left:16px;right:16px;bottom:16px;max-width:900px;margin:auto;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:17px 20px;background:#09292c;border:2px solid #72d7ce;box-shadow:6px 6px #061314;color:#e4f3ee}.cookie-banner[hidden]{display:none}.cookie-banner strong{font:10px var(--display);color:#ffe37b}.cookie-banner p{margin:6px 0 0;font:18px/1.2 var(--body)}.cookie-banner button{flex:none;background:#3bdad4;color:#062427;border:2px solid #a2ffed;padding:12px 17px;font:10px var(--display);cursor:pointer}
@media(max-width:600px){.cookie-banner{align-items:flex-start;flex-direction:column}.cookie-banner button{align-self:flex-end}}
.coming-soon{padding:55px 30px;min-height:175px;text-align:center;background:#103031;border:2px solid #54aa9b;box-shadow:inset 0 0 0 5px #0a2023,5px 6px #061314;color:#ffe37b;font:clamp(12px,2vw,20px)/1.6 var(--display)}.coming-soon small{display:block;margin-top:16px;color:#d7e9e3;font:clamp(20px,3vw,28px)/1.2 var(--body)}[hidden]{display:none!important}
.mace-grid .product-card{height:auto;min-height:0}.mace-grid .product-card .card-body{gap:0}.shop-mace-lore{padding:14px 12px 10px;margin:2px 0 17px;background:#17091c;border:2px solid #45334b;box-shadow:inset 0 0 0 2px #0a0711;color:#e3e1ed;font:19px/1.12 var(--body)}.shop-mace-lore .lore-title{font:13px/1.5 var(--body);letter-spacing:1px;color:var(--mace-b)}.shop-mace-lore .lore-flavor{font:19px/1.1 var(--body);color:#ffe28b;margin:2px 0 15px}.shop-mace-lore .lore-ability{margin:0 0 13px}.shop-mace-lore .lore-ability b,.shop-mace-lore .lore-ability span,.shop-mace-lore .lore-ability small{display:block}.shop-mace-lore .lore-ability b{font:16px/1.2 var(--body);color:var(--mace-b);letter-spacing:.5px}.shop-mace-lore .lore-ability span{color:#e4e1ea}.shop-mace-lore .lore-ability small{font:16px/1.15 var(--body);color:var(--mace-a)}.shop-mace-lore .lore-footer{margin:15px 0 0;color:#9fa5b0;font:15px/1.25 var(--body)}.shop-mace-lore .lore-footer em{color:#ffe176;font-style:normal}.mace-grid .card-bottom{margin-top:auto}.checkout-status{margin:14px 0 0;color:#ffe176;font:18px var(--body)}#detailModal .shop-mace-lore{font-size:22px}#detailModal .shop-mace-lore .lore-ability b{font-size:19px}#detailModal .shop-mace-lore .lore-ability small{font-size:18px}
.checkout-return{margin:30px 0 0;padding:18px 22px;background:#163435;border:2px solid #6bd9cb;color:#f2f2da;font:21px/1.25 var(--body);box-shadow:5px 5px #071618}.checkout-return[hidden]{display:none}.mace-card .add-button{background:var(--mace-b);border-color:#e7faf2;color:#0a1d1d}.mace-card .add-button:hover{filter:brightness(1.15)}.drawer-bottom .privacy-check{display:block;margin:15px 0;color:#d5e6dc;font-size:17px;line-height:1.25}.drawer-bottom .privacy-check a{color:#b7f5dc;text-decoration:underline}.drawer-bottom #checkoutHelp{font-size:17px;color:#d9e5db;margin:12px 0 0}.drawer-bottom #checkoutButton:disabled{opacity:.55;cursor:not-allowed}
@media(max-width:760px){.mace-grid{grid-template-columns:1fr 1fr}.shop-mace-lore{font-size:17px}.shop-mace-lore .lore-flavor{font-size:17px}}
@media(max-width:560px){.mace-grid{grid-template-columns:1fr}.shop-mace-lore{font-size:21px}.shop-mace-lore .lore-flavor{font-size:21px}}
