/* POLITIC MASTERS / collectible editorial art direction. */
:root{--bg:#f0ede6;--paper:#fffdf7;--ink:#26232a;--green:#26232a;--lime:#f0c478;--gold:#bd914c;--line:#d4cfc5;--accent:#cf4938}
body{background:#f0ede6;background-image:linear-gradient(#29212b04 1px,transparent 1px),linear-gradient(90deg,#29212b04 1px,transparent 1px);background-size:48px 48px;color:var(--ink)}
header{height:auto;min-height:92px;display:flex;flex-wrap:wrap;gap:14px;padding:18px max(24px,calc((100vw - 1200px)/2));background:#fffdf7f5;border-bottom:2px solid #29232b;box-shadow:none;backdrop-filter:blur(16px)}
header .brand{color:#cf4938;order:0;font-size:33px;gap:8px}header .brand>span{font-family:Manrope,sans-serif;font-weight:800;font-size:19px;letter-spacing:-1px;color:#29232b}.brand .muted{color:#8d8074}
header .wallet{order:1;margin-left:auto;position:static;background:#29232b;color:#f3d49a;border:1px solid #29232b;border-radius:5px;padding:11px 15px}header .luck-header{order:2;margin-left:0;background:#f7ebcf;color:#68512a;border-color:#caa669}
header nav{order:3;width:100%;overflow:auto;display:flex;justify-content:flex-start;gap:6px;padding:3px 0 2px;scrollbar-width:thin;white-space:nowrap}header nav button{flex:0 0 auto;padding:10px 13px;min-height:42px;color:#69616b;border-radius:4px;font-size:12px}header nav button.active{background:#29232b;color:#fff9ef;padding:10px 13px;border-radius:4px}header nav button:hover:not(.active){background:#ede7dd;color:#29232b}
main{max-width:1300px;padding:42px 50px;margin:auto}h1,h2,h3{color:#29232b}h1{font-family:Manrope,sans-serif;font-weight:800;letter-spacing:-2px;font-size:clamp(36px,4.8vw,58px)}.section-title h2,.features h3{font-family:Manrope,sans-serif;font-weight:800;color:#29232b;letter-spacing:-.7px}.eyebrow{color:#b94536;font-weight:800;letter-spacing:2px}
.hero{padding:46px 44px 34px;border-radius:10px;background:radial-gradient(ellipse at 95% 15%,#77503233,transparent 55%),repeating-linear-gradient(135deg,transparent 0 70px,#ffffff03 71px 72px),#201d25;color:#e7ded2;position:relative;gap:24px;overflow:hidden;box-shadow:0 24px 45px #2b212b15}.hero:before{content:'PM / COLLECTION SERIES';position:absolute;top:17px;right:22px;color:#ad9880;letter-spacing:3px;font-size:8px}.hero h1{color:#fff8ea;font-family:Manrope,sans-serif;font-weight:800;font-size:clamp(40px,5.2vw,66px);letter-spacing:-3px;line-height:1.04}.hero h1 em{font-style:normal;color:#f2c17f}.hero .eyebrow{color:#f69b7a}.hero p{color:#c5b9b3;line-height:1.8}.hero .hero-meta{color:#bcb0a5}.hero .secondary{background:#ffffff08;color:#eee3d1;border-color:#ffffff36}.hero .primary{background:#d34e3b;border-color:#ee735b;color:#fff7e7;box-shadow:0 8px 24px #cb4a3025}.hero .orbit{border-color:#d9b87125;background:radial-gradient(ellipse,#db9d3c15,transparent 70%)}.showcase{min-height:440px}
.primary{background:#29232b;border:1px solid #29232b;color:#fff9e9;border-radius:5px;font-weight:700;box-shadow:0 4px 0 #29232b15}.primary:hover:not(:disabled){background:#423340;box-shadow:0 6px 16px #29232b25}.secondary{background:#fffdf7;color:#4a414b;border-color:#cfc5b8;border-radius:5px}.secondary:hover:not(:disabled){background:#efe7db}button:disabled{opacity:.5}input,select,textarea{color:#332b33;background:#fffdf7;border-color:#d0c6b9;border-radius:5px}input:focus-visible,select:focus-visible,textarea:focus-visible{outline-color:#cf4938}button:focus-visible,a:focus-visible,.card:focus-visible{outline:3px solid #df7a4d;outline-offset:4px}
.strip{border-color:#cfc3b4}.strip strong{font-family:Manrope,sans-serif;font-weight:800;font-size:22px;color:#29232b}.strip>span{color:#8e7462}.features>div{border-top:3px solid #29232b;padding:22px;background:#fffdf7;box-shadow:0 8px 25px #33262605}.features b{color:#cf4938;font-weight:800}.features p{color:#786c68;line-height:1.8}.section-title>span{color:#8b6b53}
.daily-status,.team-panel,.quiz-inventory,.level-panel,.quizbox,.luck-strip,.daily-panel,.gov-rules,.family-catalog,.guild-rules,.fusion-rules{background:#faf7ef;color:#332b33;border:1px solid #d6cab9;box-shadow:0 5px 20px #29232b05;border-radius:8px}.daily-status{border-left:4px solid #cf4938}.guild-row,.floor,.auction,.market-form,.credit-pack,.gov-synergy,.family-entry{background:#fffdf7;color:#332b33;border-color:#d5c9b7;box-shadow:0 6px 20px #39252b06}.floor.boss{background:#f0e6f4;border-color:#aa7fb7}.floor.grand-boss{background:#f7ebcd;border-color:#cba15f}.family-entry b{color:#29232b}.family-entry small{color:#b94536}.market-tabs button.active,.battle-tabs button.active{background:#29232b;color:#fff6e4}.profile-banner{background:radial-gradient(ellipse at right,#6a4930,#25202b);border-color:#8d6b4b;color:#eee0cf}.profile-banner h2{color:#fff3dc}.profile-banner p,#profile-stats{color:#d6bfaa}.magazine-cover{background:radial-gradient(ellipse at right,#594329,#25202b);border-color:#9c7a4e}.replay-stage{background:radial-gradient(ellipse,#fff7e9,#e6dccf);border-color:#c9b799}.replay-stage h3,.replay-narrative{color:#4d3943}.replay-fighter{background:#302733;border-color:#bb9565}.enemy .replay-fighter{background:#733e37;border-color:#ce9b73}footer{color:#8d7b6b;border-color:#cfc3b4}dialog,dialog.card-preview-dialog{background:#f6f0e5;color:#29232b;border:1px solid #b79c78;border-radius:10px;box-shadow:0 30px 90px #0005}dialog::backdrop{background:#18121bd9;backdrop-filter:blur(7px)}dialog a{color:#b94536}
/* Card construction: inked frame, picture window, engraved plate, collector marks. */
.card{--edge:#b6b6b5;--accent-card:#ccd0d3;--deep:#282c33;--foil:#c6ccd1;--surface:#25282d;position:relative;padding:10px;border:1px solid #969da3;border-radius:13px;background:linear-gradient(140deg,#e2e3de,#747b82 28%,#e7e9e4 48%,#4a5158 73%,#cbd0d0);box-shadow:0 9px 0 -6px #2a22282b,0 15px 30px #271d2920;color:#fff8e8;overflow:hidden;isolation:isolate;transition:transform .25s,box-shadow .25s}
.card:before{content:'';inset:5px;position:absolute;border:1px solid #fff8db9c;border-radius:9px;background:none;z-index:5;pointer-events:none}.card:after{content:'';position:absolute;inset:0;border-radius:inherit;background:linear-gradient(122deg,transparent 15%,#fff9e818 35%,transparent 48%,#9aeeff12 70%,transparent 85%);mix-blend-mode:screen;pointer-events:none;z-index:4;font-size:0}
.card-engraving{position:absolute;inset:8px;z-index:4;border:1px solid #14141b45;border-radius:7px;pointer-events:none;background:linear-gradient(45deg,transparent 46%,var(--edge) 48% 51%,transparent 53%) top left/16px 16px no-repeat,linear-gradient(-45deg,transparent 46%,var(--edge) 48% 51%,transparent 53%) top right/16px 16px no-repeat,linear-gradient(-45deg,transparent 46%,var(--edge) 48% 51%,transparent 53%) bottom left/16px 16px no-repeat,linear-gradient(45deg,transparent 46%,var(--edge) 48% 51%,transparent 53%) bottom right/16px 16px no-repeat}
.card .card-top{position:relative;z-index:3;min-height:28px;padding:5px 5px 7px;align-items:center;gap:5px;letter-spacing:.6px;color:#27232c;font-size:8px;font-weight:800}.card .card-top>span{background:#27232cf0!important;border:1px solid #fff9dc65!important;color:var(--accent-card)!important;border-radius:3px;box-shadow:none;font-size:7px;white-space:nowrap;padding:5px 7px;letter-spacing:.5px}
.card .portrait{height:220px;border:1px solid #16111c99;border-radius:6px!important;overflow:hidden;box-shadow:none;font-family:Manrope,sans-serif;font-size:64px;font-weight:800;color:#fff4db;background:radial-gradient(ellipse at top,#8c7e72,#302939)!important}.card .portrait img{filter:saturate(.88) contrast(1.09);object-position:center 20%;transition:filter .35s,transform .6s}.card .portrait:after{content:'';position:absolute;inset:0;z-index:2;background:linear-gradient(0deg,var(--deep),transparent 35%),linear-gradient(90deg,#16111b24,transparent 20% 80%,#16111b24);box-shadow:inset 0 0 0 1px #ffffe924;pointer-events:none}
.card .card-bottom{background:linear-gradient(110deg,var(--deep),#17161c);position:relative;z-index:3;margin-top:-17px;padding:18px 10px 12px;border:1px solid #ffffda35;border-top:2px solid var(--edge);border-radius:2px 2px 0 0;text-align:left;min-height:112px}.card .card-bottom:before{content:'';position:absolute;top:-6px;left:50%;width:10px;height:10px;background:var(--edge);border:2px solid var(--deep);transform:translateX(-50%) rotate(45deg)}.card .card-bottom small{color:var(--accent-card);font:800 7px Manrope,sans-serif;letter-spacing:1.7px}.card h3{font-family:Manrope,sans-serif;font-weight:800;font-size:23px;letter-spacing:-.8px;line-height:1.1;margin:8px 0;color:#fff7e6!important;background:none!important;-webkit-text-fill-color:initial;text-shadow:none;overflow-wrap:anywhere}.card .card-bottom p{color:#bfb4b6;font-size:9px;max-width:100%;min-height:25px;margin:0;line-height:1.5}
.card .card-stats{position:relative;z-index:3;background:#eeeadf;color:#352b31!important;border:1px solid #1d18274d;border-top:0;border-radius:0 0 4px 4px;margin:0;padding:9px 5px;display:flex;justify-content:space-around;gap:4px;font:800 10px Manrope,sans-serif}.card .card-stats span{padding:2px 5px;border-right:1px solid #78665444;flex:1;text-align:center}.card .card-stats span:last-child{border:0}.card .card-edition{display:flex;align-items:center;justify-content:space-between;position:relative;z-index:3;color:#28202d;font:800 6px Manrope,sans-serif;letter-spacing:1px;padding:7px 4px 1px}.card .card-edition b{font-size:8px;letter-spacing:1px}.card .badge{right:14px;top:47px;bottom:auto;z-index:6;background:#17141cdc;color:#fff3d8;border:1px solid var(--edge);border-radius:3px;padding:5px 7px;font-size:9px}.fusion-rank{position:relative;z-index:3;margin:0;background:#201a27;color:#ebc783;border-color:#dcc6a44a;padding:6px;text-align:center}.card .battle-power,.card .gov-tags{position:relative;z-index:3;background:#28202d;color:#e0c9aa;border-color:#bd9e6766;border-radius:3px;padding:8px 6px;font-size:9px;line-height:1.5}
.card.rarity-common{--edge:#b8babb;--accent-card:#dde0df;--deep:#30333d;background:linear-gradient(135deg,#dcdedb,#8f969e 40%,#d4d8d8);border:1px solid #81878c;box-shadow:0 12px 26px #28202b20}
.card.rarity-rare{--edge:#a0daf5;--accent-card:#b9edff;--deep:#153b50;background:linear-gradient(135deg,#bceafd,#397bad 22%,#c0f3ff 45%,#396f95 78%,#87c4df);border:1px solid #79aeca;box-shadow:0 0 0 1px #bddcdd,0 14px 30px #155c7a22}
.card.rarity-epic{--edge:#d9b5f8;--accent-card:#e6c8ff;--deep:#432356;background:linear-gradient(125deg,#e7cdfc,#8a5db1 20%,#dbc1ed 45%,#6d3b89 70%,#c594ec);border:1px solid #9d71b5;box-shadow:0 0 0 2px #d4b6e35c,0 15px 32px #703c8d25}
.card.rarity-legendary{--edge:#f4d593;--accent-card:#ffe5a3;--deep:#513615;background:repeating-linear-gradient(135deg,#b48335 0,#edd39c 2px,#bf964f 4px,#f7e8b8 6px,#d5b073 8px);border:1px solid #92713e;box-shadow:0 0 0 2px #f5dbab,0 0 0 4px #b7915040,0 18px 34px #976d3436}
.card.rarity-legendary:before{border:2px double #fff2b8;inset:5px;background:none}.card.rarity-legendary .portrait:after{background:radial-gradient(circle at 10% 10%,#fff2c566 0 1px,transparent 2px),radial-gradient(circle at 85% 28%,#ffdd9e 0 1px,transparent 2px),linear-gradient(0deg,#513615,transparent 35%);box-shadow:inset 0 0 0 1px #f2d9a865}
.card.rarity-mythic{--edge:#ffdf95;--accent-card:#ffe9c2;--deep:#472130;background:conic-gradient(from 25deg,#ffdc9d,#a8c9db,#e9b6be,#f7edc4,#a8b8d2,#eecda0,#ffdc9d);border:1px solid #a88760;box-shadow:0 0 0 2px #251726,0 0 0 4px #e8c58d,0 0 0 6px #b5937333,0 20px 45px #62324a30}.card.rarity-mythic:before{inset:5px;border:2px double #fff1c3;background:repeating-linear-gradient(135deg,transparent 0 10px,#fff8cb0b 11px 12px)}.card.rarity-mythic:after{font-size:0;content:'';inset:7px;background:linear-gradient(125deg,transparent 18%,#dff5ff30 35%,transparent 48%,#ffcbe229 68%,transparent 80%);mix-blend-mode:screen}.card.rarity-mythic .portrait:after{background:radial-gradient(ellipse at top,#fbd6aa0e,transparent 60%),radial-gradient(circle at 15% 12%,#fff3c5 0 1px,transparent 2px),radial-gradient(circle at 85% 34%,#fff0aa 0 2px,transparent 3px),linear-gradient(0deg,#472130,transparent 40%);box-shadow:inset 0 0 0 2px #e8be8d55}.card.rarity-mythic .card-bottom{border-top:3px double #f2d397;background:linear-gradient(115deg,#5b2a3a,#251728)}.card.rarity-mythic h3{color:#ffe5ab!important}.card.rarity-mythic .card-top>span{color:#fff2cc!important}.card.rarity-mythic .card-stats{background:linear-gradient(90deg,#edcf91,#faf0d1,#dfbb79);color:#503126!important}.card.emblem-card .portrait{background:radial-gradient(ellipse,#825238,#352134)!important}.card.emblem-card .emblem-art strong{font-family:Manrope,sans-serif;font-size:62px;color:#ffe9b6;text-shadow:0 2px 0 #fff3c222,0 8px 25px #170b25}.card.emblem-card .emblem-wreath{opacity:.35;color:#f6d391}.card.emblem-card .portrait small{color:#f6d391}
.card.locked{opacity:.75}.card.locked .portrait img{filter:saturate(.5)}.card .portrait:not(.has-photo):before{content:'✦';position:absolute;right:12px;top:8px;font-size:120px;font-weight:400;opacity:.09;transform:rotate(12deg)}
.showcase .card{padding:10px;width:220px;height:365px;min-height:365px;flex-direction:column}.showcase .card .card-top{min-height:27px;height:27px;padding:3px 3px 6px}.showcase .card .portrait{height:215px;min-height:215px;flex:0 0 215px}.showcase .card .card-bottom{margin-top:-16px;padding:15px 8px 8px;min-height:100px;display:block}.showcase .card h3{font-size:22px;margin:7px 0}.showcase .card .card-bottom p{font-size:8px;min-height:0}.showcase .card .card-edition{padding-top:5px;font-size:5px}.showcase .card .card-edition b{font-size:6px}.showcase .card .card-stats{display:none}.showcase .card .card-top span{font-size:6px;padding:4px}
.magazine-sheet .card{border-radius:6px}.magazine-sheet .card .card-edition{display:none}.magazine-sheet .card .card-bottom{min-height:0;padding:10px 6px;margin-top:-10px}.magazine-sheet .card h3{font-size:15px;margin:5px 0}.magazine-sheet .card .portrait{height:130px}.magazine-sheet .card .card-bottom p{font-size:7px;min-height:0}.magazine-sheet .card .card-top span{font-size:5px}.team-slot .card .portrait{height:120px}.team-slot .card .card-bottom{min-height:80px;padding:12px 6px 8px}.team-slot .card h3{font-size:16px}.team-slot .card .card-edition{font-size:5px}.large-card-preview>.card{width:340px;padding:13px}.large-card-preview .card .portrait{height:320px}.large-card-preview .card .card-top{font-size:10px;min-height:36px}.large-card-preview .card .card-top span{font-size:9px}.large-card-preview .card .card-bottom{padding:23px 15px 17px}.large-card-preview .card h3{font-size:32px}.large-card-preview .card .card-bottom p{font-size:12px}.large-card-preview .card .card-stats{font-size:14px;padding:14px 8px}.large-card-preview .card .card-edition{font-size:8px}.opening-front .card .portrait{height:220px}.opening-front .card{min-height:400px}.opening-back{background:repeating-linear-gradient(45deg,#fff0b407 0 1px,transparent 1px 8px),radial-gradient(ellipse at top,#594329,#211925);border-color:#c6a15e;color:#f6d7a0;box-shadow:inset 0 0 0 5px #261c25,inset 0 0 0 6px #c6a15e}.opening-new-label{background:#f5e7c6;color:#775526;border-color:#c5a771}.market-owned-label{background:#eee5d1;color:#786039;border-color:#c6b392}
@media(hover:hover){.grid .card:hover,.favorite-slot .card:hover{transform:translateY(-5px);box-shadow:0 20px 35px #30202c30}.card:hover .portrait img{filter:saturate(1) contrast(1.08);transform:scale(1.035)}}
@media(max-width:900px){main{padding:30px 26px}.hero{padding:35px 26px;grid-template-columns:1fr}.hero>div:first-child{max-width:650px}.showcase{margin:auto;width:420px;max-width:100%;min-height:415px}.hero h1{font-size:56px}.showcase .left{left:20px;top:45px}.showcase .right{right:20px;top:20px}.showcase .card{width:210px}}
@media(max-width:560px){header{padding:16px 16px 8px}.brand>span{font-size:16px!important}main{padding:24px 16px}.hero{padding:34px 20px 12px;margin:0 -4px}.hero:before{font-size:6px;letter-spacing:2px}.hero h1{font-size:43px;letter-spacing:-2px}.hero p{font-size:13px}.hero .actions{gap:10px}.showcase{min-height:345px;max-width:320px}.showcase .card{width:165px;height:290px;min-height:290px;padding:7px}.showcase .card .portrait{height:165px;min-height:165px;flex-basis:165px}.showcase .card .card-top{min-height:23px;height:23px;flex-wrap:nowrap;font-size:5px}.showcase .card .card-top span{font-size:5px;padding:3px}.showcase .card .card-bottom{min-height:80px;padding:12px 6px 6px}.showcase .card h3{font-size:17px;letter-spacing:-.4px}.showcase .left{left:6px;top:37px}.showcase .right{right:6px;top:17px}.card,.grid .card{padding:7px}.grid .card .portrait{height:clamp(145px,42vw,215px)}.grid .card .card-bottom{padding:13px 7px 10px;min-height:104px}.grid .card h3{font-size:18px}.grid .card .card-bottom p{font-size:8px}.grid .card .card-top{font-size:6px;min-height:31px;padding:3px 2px 6px}.grid .card .card-top span{font-size:6px;padding:4px}.card .card-edition{font-size:5px;letter-spacing:.4px}.card .card-edition b{font-size:6px}.card .card-stats{font-size:9px;padding:7px 2px}.card .badge{top:44px;right:10px}.large-card-preview .card .portrait{height:min(300px,38dvh)}.large-card-preview>.card{padding:10px;width:300px}.large-card-preview .card h3{font-size:28px}.magazine-sheet .card .portrait{height:155px}.magazine-sheet .card .card-bottom{min-height:0}.magazine-sheet .card h3{font-size:16px}.team-slot .card .portrait{height:100px}.team-slot .card h3{font-size:14px}.opening-front .card{min-height:365px}.opening-front .card .portrait{height:195px}.opening-front .card h3{font-size:23px}.opening-front .card .card-top{font-size:7px}.opening-front .card .card-top span{font-size:7px}}
@media(max-width:360px){.hero h1{font-size:38px}.showcase .card{width:150px}.showcase .card .portrait{height:155px;min-height:155px;flex-basis:155px}.showcase .card h3{font-size:16px}}
@media(prefers-reduced-motion:reduce){.card,.card .portrait img{transition:none}.grid .card:hover,.favorite-slot .card:hover{transform:none}}

.card .card-bottom small{display:block;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.card .card-top{line-height:1.4}.card-preview-actions .primary{background:#29232b}#answers button{background:#fffdf7;color:#39303b;border-color:#d2c3b0}#answers button.correct{background:#dcebd1;color:#29452d}#answers button.wrong{background:#f2d4ca;color:#713528}
