/* 蝴蝶宝可梦: printed card shop, butterfly club insignia and trainer desk. */
:root{--violet:#5b4386;--violet-paper:#eee6f8;--muted:#6d6452}
.butterfly-mark{display:inline-grid;place-items:center;width:36px;height:36px;border:2px solid currentColor;border-radius:50% 50% 32% 32%;color:var(--violet);font-size:26px;transform:rotate(-8deg);flex:none;background:#fff6cc}
.brand{letter-spacing:-.05em;font-weight:800}.top-inner{gap:40px}.pack-hero h1{font-size:clamp(48px,4.9vw,72px);letter-spacing:-.075em}.hero-sub{font-size:20px;letter-spacing:.02em}.hero-desc{max-width:390px}.title-stop{color:var(--violet)}
.edition-stamp{position:absolute;top:24px;right:24px;z-index:3;text-align:center;font:700 10px/1.3 ui-monospace,monospace;color:#594220;transform:rotate(8deg);border:1px solid #856927;border-radius:50%;width:72px;height:72px;display:flex;flex-direction:column;justify-content:center}.edition-stamp b{font-size:24px}.edition-stamp small{font:10px/1.2 inherit}
.trainer-summary{display:grid;grid-template-columns:1.35fr repeat(3,1fr);border:1px solid #cfc2a0;border-radius:12px;background:#fffdf5;margin-top:24px;overflow:hidden}.trainer-summary>div{padding:18px 24px;min-width:0;border-right:1px solid #e4d9be}.trainer-summary>div:last-child{border:0}.trainer-summary small{font-size:12px;color:var(--muted)}.trainer-summary strong{display:block;font-size:24px;line-height:1.4}.trainer-summary .trainer-rank strong{color:var(--violet);font-size:20px}.trainer-summary .progress-rail{display:block;height:5px;background:#e7ddc4;border-radius:5px;margin-top:7px;overflow:hidden}.progress-rail i{display:block;background:var(--violet);height:100%}
.club-preview{display:grid;grid-template-columns:1fr 1.1fr;gap:48px;margin:48px 0;padding:32px 0;border-block:1px solid var(--line);align-items:center}.eyebrow{font-size:12px;font-weight:700;letter-spacing:.1em;color:var(--violet)}.club-preview h2{font-size:30px;line-height:1.35;margin:12px 0}.club-preview p,.community-strip p{font-size:14px;line-height:1.8;color:var(--muted)}.journey{display:grid;gap:8px}.journey button{text-align:left;display:flex;gap:20px;align-items:center;padding:12px 16px;background:#fffdf6;border:1px solid var(--line);border-radius:8px}.journey button>b{font-size:24px;color:#8d754d}.journey span{font-weight:700;font-size:16px}.journey small{display:block;color:var(--muted);font-weight:400;font-size:12px;line-height:1.8}.community-strip{padding:24px;display:flex;gap:20px;align-items:center;background:var(--violet-paper);border:1px solid #c3afd8;border-radius:12px}.community-strip>div{flex:1}.community-strip b{font-size:18px}.community-strip .secondary{background:#fffaf0;white-space:nowrap}
.album-toolbar{display:flex;gap:16px;align-items:end;margin:16px 0}.album-toolbar label{display:grid;gap:6px;font-size:12px;font-weight:700}.card-search{flex:1}.album-toolbar input,.album-toolbar select{font:inherit;font-size:14px;color:var(--ink);border:1px solid #ab9a78;border-radius:8px;padding:12px;background:#fffdf6;min-width:0;width:100%;min-height:44px}.album-toolbar label{min-width:0}.album-toolbar select{max-width:180px}
.handbook-intro{display:grid;grid-template-columns:.65fr 1.2fr;gap:48px;padding:40px;background:#fff0b6;border:2px solid var(--ink);border-radius:14px;align-items:center}.book-number{font:700 64px/1 ui-monospace,monospace;color:#8b6b21;text-align:center;letter-spacing:-.08em}.handbook-intro h2{font-size:36px;line-height:1.25;margin-bottom:16px}.handbook-intro p{line-height:1.8;max-width:540px}.manual-grid{display:grid;grid-template-columns:1fr 1fr;gap:32px;margin:40px 0}.manual-grid h2{font-size:24px;margin:10px 0 16px}.manual-grid p{font-size:15px;line-height:1.9;margin:10px 0;color:#595141}.type-guide{padding:24px 32px;border:1px solid var(--line);background:#fffdf6;border-radius:12px}.type-guide h2{font-size:24px}.type-chain{display:flex;flex-wrap:wrap;gap:12px;margin:20px 0}.type-chain span{padding:10px 18px;background:#efe7d3;border:1px solid #cfbf9a;border-radius:8px;font-weight:700}.type-guide p{font-size:14px;line-height:1.9;color:#595141}.type-guide .example{margin-top:12px;color:var(--violet)}
.economy-heading{max-width:670px;margin:56px 0 24px}.economy-heading h2{font-size:40px;line-height:1.3;letter-spacing:-.04em;margin:12px 0 16px}.economy-heading p{font-size:16px;line-height:1.9;color:#595141}.tax-ledger{display:grid;grid-template-columns:.7fr 1.3fr;gap:40px;background:#292b22;color:#fffbee;border-radius:14px;padding:32px}.tax-total strong{display:block;color:#ffcf24;font-size:80px;line-height:1.15;margin-top:8px}.tax-total strong span{font-size:36px}.tax-total p{font-size:14px;line-height:1.8;max-width:300px;color:#d6d0be}.budget-lines>div{position:relative;display:flex;gap:20px;padding:14px 0 18px;margin-bottom:12px;border-bottom:1px solid #555747}.budget-lines b{font-size:30px;color:#ffde70;min-width:78px}.budget-lines span{font-size:18px}.budget-lines small{display:block;font-size:12px;color:#d6d0be;line-height:1.8}.budget-lines i{position:absolute;bottom:-1px;height:3px;background:#c7b2e7;width:var(--share)}.budget-note{font-size:13px;line-height:1.9;color:#68604d;margin:16px 0 40px}.faq details{border-block-start:1px solid var(--line);padding:20px 0}.faq summary{cursor:pointer;font-size:16px;font-weight:700;min-height:24px}.faq p{margin:14px 0 0;font-size:14px;line-height:1.9;color:#595141;max-width:840px}
.save-status{border:1px solid #d1b866;background:#fff3c7;color:#574321;padding:12px 16px;margin:0 0 16px;border-radius:8px;font-size:13px;line-height:1.7}.save-status button{margin-left:8px;background:none;border:0;text-decoration:underline}.history-list{display:grid;gap:8px}.history-row{display:flex;align-items:center;gap:16px;padding:16px 20px;border:1px solid var(--line);border-radius:10px;background:#fffdf6}.history-row>b{color:var(--violet);min-width:40px}.history-row>div{flex:1}.history-row small{display:block;color:var(--muted);margin-top:4px}.history-team{display:flex}.history-team img{width:36px;height:36px;object-fit:contain}.history-empty{padding:24px;background:#f2ebd6;border-radius:10px;font-size:14px;color:var(--muted)}
.storage-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:16px}.storage-actions button{font-size:13px}.save-help{font-size:12px;line-height:1.8;color:var(--muted);margin:12px 0}.match-preview .resume-note{color:var(--violet)}.team-survivors{display:flex;justify-content:space-between;gap:10px;margin-top:10px}.team-survivors>span{display:flex;gap:6px;align-items:center}.team-survivors img{width:30px;height:30px;object-fit:contain;background:#f6ecca;border:1px solid #baa770;border-radius:50%}.team-survivors img.down{filter:grayscale(1);opacity:.4}.result-box p{font-size:13px;margin-top:8px}.battle-banner button{background:none;color:#ffe176;border:0;text-decoration:underline;font-size:12px;min-height:28px}
button{transition:background-color .15s,transform .15s,box-shadow .15s}.primary:active,.secondary:active{transform:translateY(2px)}.journey button:hover{transform:translateX(3px);background:#fff1bf}.pack-hero .hero-copy{animation:desk-copy .5s ease both}.featured-front{animation:desk-card .9s ease both}.featured-back{animation:desk-back .7s ease both}@keyframes desk-copy{from{opacity:0;translate:0 12px}to{opacity:1;translate:0 0}}@keyframes desk-card{from{opacity:0;translate:30px 20px;rotate:8deg}to{opacity:1;translate:0 0;rotate:0deg}}@keyframes desk-back{from{opacity:0;translate:-20px 15px}to{opacity:1;translate:0 0}}
.reduce-motion *,.reduce-motion *::before,.reduce-motion *::after{animation:none!important;transition:none!important}@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important}}
.energy-gems{display:flex;gap:5px;margin:7px 1px 2px}.energy-gems i{width:7px;height:7px;transform:rotate(45deg);border:1px solid #b5a779;background:#e4dcc2}.energy-gems i.filled{background:var(--violet);border-color:var(--violet);box-shadow:0 0 0 2px #ded1ee}.hp-rail.critical i{background:#b86141}.battle-link{margin-top:12px}.tools button{width:44px;height:44px}.battle-banner>span{min-width:72px;text-align:center}
@media(max-width:950px){.top-inner{gap:24px}nav{gap:16px}.brand{font-size:24px}.trainer-summary>div{padding:16px}.club-preview{gap:24px}.pack-hero h1{font-size:48px}.hero-sub{font-size:18px}.edition-stamp{right:10px;top:12px;width:58px;height:58px}}
@media(max-width:650px){.brand{font-size:22px}.top-inner{gap:0}.butterfly-mark{width:28px;height:28px;font-size:20px}nav{gap:0}nav button{font-size:13px;min-height:46px}.tools button{width:36px;height:36px}.pack-hero h1{font-size:43px;letter-spacing:-.07em;margin-top:8px}.hero-sub{font-size:16px}.hero-desc{line-height:1.7;font-size:13px}.hero-copy{padding:6px 20px 22px}.edition-stamp{width:48px;height:48px;right:12px;font-size:8px}.edition-stamp b{font-size:18px}.edition-stamp small{font-size:7px}.hero-meta{flex-wrap:wrap}.trainer-summary{grid-template-columns:1fr 1fr;margin-top:20px}.trainer-summary>div{padding:12px 16px}.trainer-summary>div:nth-child(-n+2){border-bottom:1px solid #e4d9be}.trainer-summary>div:nth-child(2){border-right:0}.trainer-summary strong{font-size:22px}.trainer-summary .trainer-rank strong{font-size:18px}.trainer-summary small{font-size:11px}.club-preview{grid-template-columns:1fr;gap:20px;margin:32px 0;padding:24px 0}.club-preview h2{font-size:26px}.community-strip{display:grid;grid-template-columns:28px 1fr;padding:18px;gap:12px}.community-strip .secondary{grid-column:1/-1}.community-strip b{font-size:16px}.community-strip p{font-size:12px}.handbook-intro{padding:24px;grid-template-columns:1fr;gap:20px}.book-number{text-align:left;font-size:44px}.handbook-intro h2{font-size:30px}.handbook-intro p{font-size:14px}.manual-grid{grid-template-columns:1fr;gap:24px;margin:32px 0}.manual-grid h2{font-size:22px}.type-guide{padding:20px}.type-guide h2{font-size:22px}.type-chain{gap:8px}.type-chain span{padding:8px 12px;font-size:14px}.economy-heading{margin-top:40px}.economy-heading h2{font-size:32px}.economy-heading p{font-size:14px}.tax-ledger{grid-template-columns:1fr;padding:24px;gap:16px}.tax-total strong{font-size:64px}.tax-total p{max-width:none}.budget-lines b{font-size:26px;min-width:64px}.budget-lines span{font-size:16px}.budget-lines small{font-size:11px}.history-row{padding:12px;gap:10px;font-size:12px}.history-team img{width:28px;height:28px}.history-row small{font-size:10px}.album-toolbar{gap:10px}.album-toolbar select{max-width:120px}.page-head h1{font-size:36px}.faq summary{line-height:1.6}.tools button,.close{min-width:36px}.team-survivors img{width:25px;height:25px}}

/* Round 2: useful combat feedback, collection depth and butterfly identity. */
.butterfly-mark svg{width:24px;height:24px;padding:2px}.team-insight{font-size:13px;line-height:1.8;color:#6a5c3e;margin:10px 0 0}.tactic-note{padding:14px 16px;background:#f0e8d2;border-radius:8px;font-size:14px;line-height:1.85;margin:14px 0}.milestones{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:32px}.milestone{display:flex;align-items:center;gap:12px;border:1px dashed #baab86;padding:18px 16px;border-radius:10px;min-width:0}.milestone>span{font:700 18px ui-monospace,monospace;border:1px solid #bdaf8d;display:grid;place-items:center;width:34px;height:34px;border-radius:50%;flex:none}.milestone b{font-size:14px}.milestone small{font-size:11px;display:block;color:#716345;line-height:1.8}.milestone.done{border:1px solid #bca6d2;background:#f0e9f8}.milestone.done>span{background:var(--violet);color:#fff;border-color:var(--violet)}
.print-card[data-rarity="闪耀"]{border-color:#8a5c9e;box-shadow:0 2px 0 #76578c}.print-card[data-rarity="闪耀"] .art-box{background:radial-gradient(ellipse,#fff3d1,#e6d9f0)}.print-card[data-rarity="闪耀"] .ribbon{background:#f1e8fa}.print-card[data-rarity="闪耀"]:after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(110deg,transparent 10%,#ffffff44 15%,transparent 30%);opacity:.8}
.result-box{display:grid;grid-template-columns:1fr auto}.result-box>p{grid-row:2;grid-column:1/-1;line-height:1.7}.result-box>div{grid-column:2;grid-row:1}.type{font-size:12px}.fighter-label small{font-size:12px}.move small,.bench small{font-size:12px}.move{min-height:76px}.filters button{min-height:44px}.close{width:44px;height:44px}.setting button{min-height:44px}.save-help{font-size:13px}.print-card small{line-height:1.6}
@media(max-width:650px){.milestones{grid-template-columns:1fr 1fr;gap:8px;margin-bottom:24px}.milestone{padding:12px 10px;gap:8px}.milestone>span{width:26px;height:26px;font-size:14px}.milestone b{font-size:12px}.milestone small{font-size:10px}.team-insight{font-size:12px}.fighter-label small{font-size:11px}.move small,.bench small{font-size:11px}.result-box{grid-template-columns:1fr}.result-box>p{grid-row:auto}.result-box>div{grid-column:1;grid-row:auto}.type{font-size:10px}.milestones+.community-strip{margin-top:4px}.butterfly-mark svg{width:21px;height:21px}.section-head .subtle{max-width:120px;text-align:right}.print-card small{font-size:10px}.modal-actions button{min-height:44px}.team-tile{min-height:124px}}

/* V6 final media integration; game remains the first-screen primary action. */
.brand-crest{width:44px;height:44px;object-fit:contain;border-radius:8px;border:1px solid #94742a}.club-theater{margin:32px 0;border:1px solid #b8a478;border-radius:12px;background:#fff9e7;overflow:hidden}.club-theater>img{display:block;width:100%;height:auto}.theater-actions{display:flex;align-items:center;gap:14px;padding:20px 24px;flex-wrap:wrap}.theater-actions>div{flex:1;min-width:240px}.theater-actions h2{font-size:20px;line-height:1.5;margin-top:5px}.theater-actions .secondary{font-size:13px;gap:8px}.theater-actions small{color:#796849}.cinema-body{width:min(900px,calc(100vw - 34px))}.cinema-body video{display:block;width:100%;max-height:65vh;background:#272820;aspect-ratio:16/9;border-radius:8px}.cinema-body p{font-size:12px;line-height:1.7;color:#6e6146;margin:12px 0}.contract-details{padding:18px 20px;background:#f0e9d8;border:1px solid #d8caa6;border-radius:8px;margin-bottom:32px;line-height:1.9;font-size:13px}.contract-details summary{cursor:pointer;font-weight:700}.contract-details a{color:var(--violet);text-decoration:underline;overflow-wrap:anywhere}.contract-details p{margin-top:10px}
@media(max-width:650px){.brand-crest{width:36px;height:36px}.theater-actions{padding:16px;gap:10px}.theater-actions>div{min-width:100%}.theater-actions h2{font-size:18px}.theater-actions .secondary{flex:1;min-width:130px;font-size:12px;padding:10px 8px}.theater-actions small{font-size:10px}.cinema-body video{border-radius:5px}.brand{font-size:21px}.club-theater{margin:24px 0}.milestones .milestone small{font-size:10px}}
