/* Deck builder workspace, scoped so articles keep their existing card layouts. */
#deckBuilderApp [hidden]{display:none!important}
#deckBuilderApp{--deck-line:rgba(190,166,105,.26);--deck-accent:#ecd38b;--deck-muted:#aeb4c3;background:radial-gradient(ellipse at 85% 0,rgba(74,55,132,.24),transparent 38rem),linear-gradient(180deg,#080b12,#0d101b);padding-bottom:64px}
#deckBuilderApp .deck-builder-hero{padding-top:38px!important;padding-bottom:24px!important}
#deckBuilderApp .deck-builder-hero .eyebrow{display:block;color:var(--deck-accent);font-size:11px;letter-spacing:.15em}
#deckBuilderApp .deck-builder-hero h1{color:#f7f2e8!important;font-size:clamp(30px,4vw,46px)!important;letter-spacing:-.04em!important}
#deckBuilderApp .deck-builder-hero h1::after{content:none}
#deckBuilderApp .deck-builder-hero .lede{display:block;max-width:780px;margin-top:14px;font-size:14px;line-height:1.6;color:var(--deck-muted)}
#deckBuilderApp .deck-builder-layout{gap:30px}
#deckBuilderApp .deck-builder-current{min-height:0;padding:24px;background:linear-gradient(140deg,rgba(29,29,48,.9),rgba(10,13,22,.97));border:1px solid var(--deck-line);border-radius:18px;box-shadow:0 20px 55px rgba(0,0,0,.22);overflow:hidden}
#deckBuilderApp .deck-panel-head{display:flex;align-items:center;padding:0;gap:16px}
#deckBuilderApp .deck-panel-head .eyebrow{font-size:10px;color:var(--deck-muted);text-transform:uppercase;letter-spacing:.13em}
#deckBuilderApp #deckName{width:min(360px,65vw);height:42px;border:1px solid var(--deck-line);background:#111522;color:#f7f2e8;font-size:17px;border-radius:8px;padding:8px 12px}
#deckBuilderApp #deckCount{font-size:26px;font-variant-numeric:tabular-nums;color:var(--deck-accent);margin:0;white-space:nowrap}
#deckBuilderApp #deckCount.is-ready{color:#90e8bd}
#deckBuilderApp .deck-progress-row{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:18px 0 8px;font-size:11px;color:var(--deck-muted)}
#deckBuilderApp #deckReadiness{color:#f7f2e8;font-weight:700}
#deckBuilderApp #deckProgress{appearance:none;width:100%;height:5px;border:0;border-radius:8px;background:#252a39;overflow:hidden;display:block}
#deckProgress::-webkit-progress-bar{background:#252a39}#deckProgress::-webkit-progress-value{background:linear-gradient(90deg,#bba35e,#e7d197);transition:width .2s ease}#deckProgress::-moz-progress-bar{background:#e7d197}
#deckBuilderApp .deck-slots{grid-template-columns:repeat(6,minmax(0,1fr));gap:12px;margin:22px 0}
#deckBuilderApp .deck-slot{aspect-ratio:1/1.25;min-height:0;display:flex;flex-direction:column;justify-content:center;gap:0;padding:6px;border:1px solid var(--deck-line);border-radius:12px;background:#0a0e18;clip-path:none;position:relative}
#deckBuilderApp .deck-slot img{height:auto;min-height:0;width:100%;aspect-ratio:1;object-fit:contain;flex:1;min-width:0;max-height:calc(100% - 35px)}
#deckBuilderApp .deck-slot span{display:block;color:#f7f2e8;font-size:10px;line-height:1.2;text-align:center;font-weight:700}
#deckBuilderApp .deck-slot small{display:block;color:var(--deck-muted);font-size:9px;text-align:center;margin-top:4px}
#deckBuilderApp .deck-slot:not(button){border-style:dashed;background:rgba(255,255,255,.015);box-shadow:none}
#deckBuilderApp .deck-slot:not(button) span{font-size:12px;color:#798399;font-weight:500}
#deckBuilderApp .deck-slot:hover{border-color:#e7d197}
#deckBuilderApp .deck-stats{display:grid;grid-template-columns:1fr 1fr 2fr;margin:0;gap:8px}
#deckBuilderApp .deck-stats div{border:1px solid var(--deck-line);border-radius:8px;padding:10px 12px;background:#101522;min-width:0}
#deckBuilderApp .deck-stats strong{color:var(--deck-accent);font-size:16px;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
#deckBuilderApp #curveSummary{font-size:11px;line-height:1.6;letter-spacing:.02em}
#deckBuilderApp .deck-curve{display:grid;max-width:none;height:98px;margin:12px 0 16px;gap:8px}
#deckBuilderApp .deck-curve div{height:92px}#deckBuilderApp .deck-curve b{font-size:10px;color:var(--deck-muted);font-weight:500}
#deckBuilderApp .deck-curve span{min-height:4px;border-radius:4px 4px 0 0;background:linear-gradient(180deg,#e8ce8a,#8764b1);transition:height .2s ease}
#deckBuilderApp .deck-actions{position:static;display:flex;gap:8px;flex-wrap:wrap;margin:14px 0}
#deckBuilderApp .deck-actions .button,#deckBuilderApp .deck-sharing .button,#deckBuilderApp .deck-import .button{min-height:44px;clip-path:none!important;border-radius:8px;font-size:12px;padding:0 14px}
#deckBuilderApp .button:disabled{opacity:.42;cursor:not-allowed;transform:none;filter:none}
#deckBuilderApp #deckCode,#deckBuilderApp .deck-note{display:block}#deckBuilderApp #deckCode{min-height:58px;max-height:90px;border-radius:8px;font-size:11px}
#deckBuilderApp .deck-note{min-height:24px;color:#e0d4b5;font-size:12px;line-height:1.6}
#deckBuilderApp .deck-sharing{margin:20px 0;padding:18px 0;border-top:1px solid var(--deck-line);border-bottom:1px solid var(--deck-line)}
.deck-sharing-head{display:flex;justify-content:space-between;align-items:center;gap:12px}.deck-sharing-head h3{margin:0;font-size:15px;text-transform:none;letter-spacing:0}
.deck-socials{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0}
.deck-socials a,.deck-socials button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 15px;border-radius:8px;background:#192033;border:1px solid #394257;font-family:inherit;font-weight:700;font-size:12px;line-height:1.2;color:#f7f2e8;text-decoration:none;cursor:pointer;transition:transform .16s ease,border-color .16s ease,background .16s ease}
.deck-socials a:hover,.deck-socials button:hover{transform:translateY(-2px);border-color:var(--deck-accent);background:#252b40}
.deck-socials a[aria-disabled=true],.deck-socials button:disabled{opacity:.38;cursor:not-allowed;transform:none}
.deck-socials [data-deck-share=whatsapp]{border-color:#30664d}.deck-socials [data-deck-share=telegram]{border-color:#335e83}.deck-socials #shareInstagram{border-color:#86505d}
.deck-sharing label,.deck-caption-label{display:block;font-size:11px;color:#aeb4c3;margin:8px 0}
#deckShareUrl,#deckShareCaption{width:100%;min-width:0;border:1px solid #394257;background:#090e18;color:#dadfec;padding:10px 12px;border-radius:8px;font:12px/1.5 ui-monospace,monospace}
.deck-sharing p{font-size:11px;line-height:1.6;color:#aeb4c3;margin:8px 0 0}
#deckBuilderApp .deck-import{max-width:none;margin:16px 0}.deck-builder-current .deck-import textarea{min-width:0;border-radius:8px}
#deckBuilderApp .deck-builder-controls{padding:20px;border:1px solid var(--deck-line);border-radius:14px;background:#101520}
#deckBuilderApp .deck-builder-controls input[type=search]{height:48px;border:1px solid #414b61;background:#080d17;color:#f7f2e8;font-size:15px;border-radius:8px!important}
#deckBuilderApp .deck-filter-groups{grid-template-columns:1fr 1fr 1fr;gap:16px}
#deckBuilderApp .deck-filter-groups fieldset{grid-column:span 1;min-width:0}
#deckBuilderApp .snap-filter-pill{min-width:36px;height:36px;font-size:12px;background:#242c3b;border-color:#465065;box-shadow:none;text-shadow:none;color:#f7f2e8}
#deckBuilderApp .snap-filter-pill.is-active{background:#e7d197;color:#14151b;border-color:#e7d197;box-shadow:0 0 0 2px rgba(231,209,151,.18)}
#deckBuilderApp .deck-card-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:18px 12px}
#deckBuilderApp .deck-card-pick{min-width:0;border-radius:10px;padding:7px;background:#101522;border:1px solid #252e40;transition:border-color .16s ease,background .16s ease}
#deckBuilderApp .deck-card-pick img{aspect-ratio:1;object-fit:contain;filter:none}
#deckBuilderApp .deck-card-pick span,#deckBuilderApp .deck-card-pick small{display:block}
#deckBuilderApp .deck-card-pick span{font-size:11px;min-height:26px;line-height:1.3;color:#f7f2e8}
#deckBuilderApp .deck-card-pick small{font-size:9px;color:#aeb4c3;margin:4px 0}
#deckBuilderApp .deck-card-pick[data-selected=true]{border-color:#e7d197;background:#252330}
#deckBuilderApp .deck-card-pick[data-deck-full=true]{opacity:.58}
#deckBuilderApp .deck-card-pick.has-image-error img{visibility:hidden}
#deckBuilderApp :is(button,a,input,select,textarea):focus-visible,.deck-share-modal :is(button,input,select,textarea):focus-visible{outline:2px solid #f1d992;outline-offset:4px}
.deck-instagram-help{font-size:12px;line-height:1.6;color:#b7bfd0}.deck-image-format-label{display:flex;align-items:center;gap:12px;flex-wrap:wrap;font-size:12px;color:#b7bfd0;margin:12px 0}.deck-image-format-label select{background:#101522;border:1px solid #465065;color:#f7f2e8;border-radius:7px;padding:10px;min-height:44px}
#deckBuilderApp .deck-share-panel{color:#f7f2e8}#deckBuilderApp .deck-share-modal h2{color:#f7f2e8}#deckBuilderApp .deck-share-modal{clip-path:none;border-radius:16px}#deckBuilderApp .deck-share-preview{border-radius:10px;overflow:hidden}
#deckBuilderApp .deck-mobile-summary{border-radius:10px;border-color:var(--deck-line);background:rgba(12,16,26,.97)}
@media(max-width:900px){#deckBuilderApp .deck-slots{gap:8px}#deckBuilderApp .deck-card-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:760px){#deckBuilderApp .deck-builder-current{padding:16px;border-radius:14px}#deckBuilderApp .deck-slots{grid-template-columns:repeat(4,minmax(0,1fr))}#deckBuilderApp .deck-slot{aspect-ratio:1/1.35}#deckBuilderApp .deck-card-grid{grid-template-columns:repeat(3,minmax(0,1fr))}#deckBuilderApp .deck-filter-groups{grid-template-columns:1fr 1fr}#deckBuilderApp .deck-filter-groups fieldset{grid-column:1/-1}#deckBuilderApp .deck-stats{grid-template-columns:1fr 1fr}#deckBuilderApp .deck-stats div:last-child{grid-column:1/-1}#deckBuilderApp .deck-builder-controls{padding:14px}#deckBuilderApp .deck-mobile-summary{top:72px}.deck-socials a,.deck-socials button{flex:1 0 26%}}
@media(max-width:400px){#deckBuilderApp .deck-slots{grid-template-columns:repeat(3,minmax(0,1fr))}#deckBuilderApp .deck-card-pick{padding:4px}#deckBuilderApp .deck-card-pick small{font-size:8px}#deckBuilderApp .deck-filter-groups{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){#deckBuilderApp *,#deckBuilderApp *::before,#deckBuilderApp *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
