.app{background:var(--bg);min-height:100vh;color:var(--ink);flex-wrap:wrap;align-items:stretch;display:flex}.panel{background:var(--bg);flex-direction:column;flex:0 400px;min-width:300px;max-width:100%;display:flex}.stage-wrap{box-sizing:border-box;flex:420px;justify-content:center;align-self:flex-start;align-items:flex-start;min-width:0;max-height:100vh;padding:32px 24px;display:flex;position:sticky;top:0;overflow:hidden}.stage-col{flex-direction:column;align-items:center;gap:16px;min-width:0;display:flex}@media (max-width:759.98px){.app{flex-direction:column}.panel{flex:auto;order:2;width:100%;min-width:auto;max-width:none}.stage-wrap{flex:none;order:1;align-self:auto;width:100%;max-height:none;padding:20px 16px 8px;position:static}}.panel-head{justify-content:space-between;align-items:center;gap:12px;padding:22px 20px 10px 24px;display:flex}.brand{align-items:center;gap:8px;min-width:0;display:flex}.brand h1{letter-spacing:-.03em;white-space:nowrap;font-size:min(22px,4.8vw);font-weight:800;line-height:1}.brand h1 a{color:inherit;text-decoration:none}.brand h1 em{font-size:1em}.app .brand-mark{width:24px;height:24px}.save-note{color:var(--faint);font-size:12px;font-weight:600}.panel-body{border:0;flex-direction:column;gap:14px;min-width:0;margin:0;padding:10px 16px 32px;display:flex;overflow:auto}.group{background:var(--surface);border:1px solid var(--line2);box-shadow:0 12px 34px -28px var(--shadow);border-radius:22px;flex-direction:column;gap:14px;padding:20px;display:flex}.group-tight{gap:10px}.group-head{justify-content:flex-end;align-items:center;display:flex}.group-title{letter-spacing:.14em;text-transform:uppercase;color:var(--muted);font-size:12px;font-weight:700}.editor-group{border-radius:16px;padding:0;display:block}.group-toggle{box-sizing:border-box;--focus-radius:16px;cursor:pointer;border-radius:16px;justify-content:space-between;align-items:center;gap:16px;min-height:56px;padding:16px 20px;list-style:none;display:flex}.group-toggle::-webkit-details-marker{display:none}.group-toggle:hover .group-title,.editor-group[open]>.group-toggle .group-title{color:var(--ink)}.group-chevron{border-right:2px solid var(--muted);border-bottom:2px solid var(--muted);flex:none;width:7px;height:7px;margin-right:3px;transform:rotate(45deg)}.editor-group[open]>.group-toggle .group-chevron{transform:rotate(225deg)}.group-content{flex-direction:column;gap:14px;padding:0 20px 20px;display:flex}.hint-tuck{margin-top:-2px}.row{gap:8px;display:flex}.stack{flex-direction:column;gap:8px;display:flex}.grid-2{grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:10px;display:grid}.grid-3{grid-template-columns:repeat(auto-fit,minmax(92px,1fr));gap:10px;display:grid}.slider{color:var(--ink2);grid-template-columns:72px 1fr 40px;align-items:center;gap:12px;font-size:13px;font-weight:600;display:grid}.slider-value{color:var(--muted);text-align:right;font-variant-numeric:tabular-nums;font-size:12px;font-weight:600}input[type=range]{background:var(--track);appearance:none;width:100%;height:4px;accent-color:var(--ink);cursor:pointer;border-radius:2px;margin:8px 0}input[type=range]::-webkit-slider-thumb{appearance:none;background:var(--ink);border:3px solid var(--surface);width:18px;height:18px;box-shadow:0 0 0 1px var(--line3);border-radius:50%;transition:background .15s}input[type=range]::-moz-range-thumb{background:var(--ink);border:3px solid var(--surface);width:12px;height:12px;box-shadow:0 0 0 1px var(--line3);border-radius:50%;transition:background .15s}input[type=range]:hover::-webkit-slider-thumb{background:var(--accent)}input[type=range]:focus-visible::-webkit-slider-thumb{background:var(--accent)}input[type=range]:hover::-moz-range-thumb{background:var(--accent)}input[type=range]:focus-visible::-moz-range-thumb{background:var(--accent)}input[type=range]:focus-visible{outline-offset:4px;border:0 solid;border-image:var(--focus-ring) 1 / 3px / 7px;outline:3px solid #0000}@media (forced-colors:active){input[type=range]:focus-visible{border-image:;outline-color:highlight}}.prompt-kit{background:var(--bg);border:1px solid var(--line);border-radius:16px;gap:14px;padding:12px;display:flex}.prompt-kit img{object-fit:cover;border-radius:10px;flex:none;width:72px;height:108px}.prompt-kit-body{flex-direction:column;align-items:flex-start;gap:6px;min-width:0;display:flex}.prompt-kit-title{color:var(--ink);font-size:13px;font-weight:700}.prompt-kit .btn{margin-top:auto;padding:8px 12px;font-size:13px}.attacks{flex-direction:column;gap:12px;display:flex}.attack{background:var(--bg);border:1px solid var(--line);border-radius:16px;flex-direction:column;gap:8px;padding:12px;display:flex}.attack-row{grid-template-columns:minmax(0,1fr) 32px;align-items:center;gap:8px;display:grid}.attack-row-dmg{grid-template-columns:minmax(0,1fr) 72px}.attack .field{background-color:var(--surface);padding:9px 12px;font-size:14px}.attack .field:focus{padding:7px 10px}.attack select.field{padding-right:42px}.attack select.field:focus{padding-right:40px}.attack .dmg{text-align:right}.attack textarea{resize:vertical;line-height:1.45}.attack-remove{background:var(--holo-ink) 0 50% / 200% 100%;width:32px;height:32px;color:var(--muted);--focus-radius:10px;cursor:pointer;-webkit-background-clip:text;background-clip:text;border:1px solid #0000;border-radius:10px;padding:0;font-size:18px;line-height:1;transition:border-color .15s,color .15s}.attack-remove:hover{border-color:var(--line3);color:#0000;animation:var(--holo-motion);transition-duration:var(--holo-fade)}.magic-color-guide{border-left:4px solid var(--guide-color);background:var(--bg);color:var(--ink2);border-radius:3px 10px 10px 3px;padding:12px 14px;font-size:13px;line-height:1.6}.magic-mana-status{color:var(--ink2);font-weight:600}.mana-picker{flex-direction:column;gap:10px;display:flex}.mana-picker-heading{justify-content:space-between;align-items:center;gap:12px;font-size:14px;font-weight:600;display:flex}.mana-clear{color:var(--muted);font:inherit;cursor:pointer;background:0 0;border:0;padding:8px 0 8px 8px;font-size:12px}.mana-selected{border:1px solid var(--line2);background:var(--bg);box-sizing:border-box;border-radius:12px;flex-wrap:wrap;align-items:center;gap:8px;min-height:64px;padding:10px;display:flex}.mana-empty{color:var(--muted);font-size:13px;line-height:1.5}.mana-chip,.mana-choice{border:1px solid var(--line2);background:var(--surface);color:var(--ink);cursor:pointer;font:inherit;justify-content:center;align-items:center;transition:background-color .15s;display:flex;position:relative}.mana-chip{--focus-radius:24px;border-radius:24px;gap:6px;min-height:44px;padding:5px 8px}.mana-chip>span:last-child{color:var(--muted);font-size:18px}.mana-palette{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.mana-choice{--focus-radius:12px;border-radius:12px;flex-direction:column;gap:7px;min-height:76px;padding:9px 4px;font-size:12px}.mana-picker .mana-symbol{width:28px;height:28px;font-size:17px}.mana-picker .mana-symbol svg{width:21px;height:21px}.mana-chip:before,.mana-choice:before{content:"";border-radius:inherit;background:var(--holo-ink) 0 50% / 200% 100%;opacity:0;pointer-events:none;padding:1px;transition:opacity .15s;position:absolute;inset:-1px;-webkit-mask-image:linear-gradient(#fff 0 0),linear-gradient(#fff 0 0);mask-image:linear-gradient(#fff 0 0),linear-gradient(#fff 0 0);-webkit-mask-position:0 0,0 0;mask-position:0 0,0 0;-webkit-mask-size:auto,auto;mask-size:auto,auto;-webkit-mask-repeat:repeat,repeat;mask-repeat:repeat,repeat;-webkit-mask-clip:content-box,border-box;mask-clip:content-box,border-box;-webkit-mask-origin:content-box,border-box;mask-origin:content-box,border-box;-webkit-mask-composite:xor;mask-composite:exclude;-webkit-mask-source-type:auto,auto;mask-mode:match-source,match-source}.mana-chip:hover,.mana-choice:hover{background:var(--bg);transition-duration:var(--holo-fade)}.mana-chip:hover:before,.mana-choice:hover:before{opacity:1;animation:var(--holo-motion);transition-duration:var(--holo-fade)}.mana-picker button:focus-visible,.mana-more summary:focus-visible{--focus-width:2px;--focus-offset:3px}.mana-picker button:disabled{opacity:.45;cursor:default}.mana-add-row{grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:8px;display:grid}.mana-add-row .field-label{min-width:0}.mana-add-row .btn{min-height:44px}.mana-more{border-top:1px solid var(--line);padding-top:12px}.mana-more summary{color:var(--ink2);cursor:pointer;padding:4px 0;font-size:13px;font-weight:600}.mana-more[open] summary{margin-bottom:12px}.mana-more .hint{margin-top:10px}.field[aria-invalid=true]{border-color:#bd543d}.group textarea.field{resize:vertical;line-height:1.5}.ygo-guide{background:var(--bg);border-left:3px solid #bd864a;border-radius:0 8px 8px 0;padding:10px 12px}.ygo-arrow-picker{grid-template-columns:repeat(3,48px);justify-content:center;gap:6px;display:grid}.ygo-arrow-picker button{border:1px solid var(--line3);--focus-radius:7px;background:var(--bg);min-height:44px;color:var(--muted);cursor:pointer;border-radius:7px;font:700 24px/1 Arial,sans-serif}.ygo-arrow-picker button[aria-pressed=true]{color:#fff1d1;background:#a53824;border-color:#d17b52}.ygo-arrow-picker button:focus-visible{--focus-width:2px;--focus-offset:3px}.ygo-arrow-picker>span{text-align:center;color:var(--muted);grid-area:2/2;align-self:center;font-size:10px}.ygo-arrow-picker [data-ygo-arrow=e]{grid-column:3}.ygo-arrow-picker [data-ygo-arrow=sw]{grid-column:1}.field-error{color:#b0452e;font-weight:600}[data-theme=dark] .field-error{color:#f08a70}.editor-site-nav,.mobile-essentials-head,.mobile-group-title,.mobile-group-value,.mobile-details-heading,.mobile-order-bar,.mobile-finish-shortcut{display:none}.panel-body>[data-essential=finish]{order:1}.panel-body>[data-essential=link]{order:2}.editor-actions{order:3}.preview-controls{align-items:center;gap:10px;display:flex}@media (max-width:759.98px){.editor-site-nav{display:block}.editor-site-nav .nav-spacer{height:88px}.app .group-toggle,.app .field{scroll-margin-top:96px}.app{min-height:100dvh;padding-bottom:calc(112px + env(safe-area-inset-bottom,0px))}.panel-head{display:none}.stage-wrap{padding:6px 24px 12px}.stage-col{gap:14px}.preview-controls{order:2}.preview-controls .tabs{background:var(--surface);box-shadow:none;border-radius:13px;gap:2px;padding:3px}.preview-controls .tab{--focus-radius:10px;min-height:40px;color:var(--ink2);border-radius:10px;padding:8px 18px}.preview-controls .tab[aria-pressed=true]{background:var(--ink);color:var(--bg);box-shadow:0 2px 5px color-mix(in srgb, var(--shadow) 30%, transparent)}.mobile-finish-shortcut{border:1px dashed var(--line3);--focus-radius:13px;min-height:46px;color:var(--ink2);cursor:pointer;background:0 0;border-radius:13px;align-items:center;gap:7px;padding:8px 15px;font-size:14px;font-weight:700;display:flex}.mobile-finish-shortcut span{font-size:21px;line-height:1}.panel-body{gap:0;padding:0 12px 20px;overflow:visible}.mobile-essentials-head{background:var(--surface);border:1px solid var(--line2);border-bottom:0;border-radius:16px 16px 0 0;order:0;justify-content:space-between;align-items:center;min-height:44px;padding:0 16px;display:flex}.mobile-essentials-head h2{letter-spacing:-.04em;font-size:15px;font-weight:800}.mobile-essentials-head h2 span{color:var(--muted);letter-spacing:-.02em;font-weight:600}.essentials-status{background:var(--bg);color:var(--muted);border-radius:20px;padding:6px 10px;font-size:11px;font-weight:700}.essentials-status[data-complete=true]{color:var(--ink2);background:var(--bg)}.panel-body>.editor-group{box-shadow:none;order:7;margin-bottom:10px}.panel-body>[data-essential]{border-bottom:0;border-radius:0;margin:0}.panel-body>[data-essential=style]{order:1}.panel-body>[data-essential=photo]{order:2}.panel-body>[data-essential=name]{order:3}.panel-body>[data-essential=finish]{order:4}.panel-body>[data-essential=link]{border-bottom:1px solid var(--line2);border-radius:0 0 16px 16px;order:5}.group-toggle{border-radius:inherit;gap:12px;min-height:56px;padding:14px 16px}.group-title{letter-spacing:0;text-transform:none;color:var(--ink2);font-size:13px;font-weight:700}[data-essential] .group-title{flex:0 0 44px}.desktop-group-title{display:none}.mobile-group-title{display:inline}.mobile-group-value{text-align:right;letter-spacing:-.035em;white-space:nowrap;text-overflow:ellipsis;min-width:0;color:var(--ink);flex:1;font-size:14px;font-weight:800;display:block;overflow:hidden}.mobile-group-value[data-empty=true]{color:var(--muted);font-weight:600}.group-chevron{border-width:1.5px;width:6px;height:6px;transform:rotate(-45deg)}.editor-group[open]>.group-toggle .group-chevron{transform:rotate(45deg)}.group-content{padding:4px 16px 18px}.app .field,.app .attack .field{font-size:16px}.app .field,.app .btn{min-height:44px}.app input[type=range]{height:6px;margin:19px 0}.mobile-details-heading{color:var(--muted);order:6;margin:24px 4px 12px;font-size:13px;font-weight:700;display:block}.editor-actions{order:8;margin-top:4px}.desktop-purchase{display:none}.mobile-order-bar{z-index:50;padding:12px 18px calc(12px + env(safe-area-inset-bottom,0px));background:var(--surface);border-top:1px solid var(--line2);box-shadow:0 -4px 20px color-mix(in srgb, var(--shadow) 10%, transparent);justify-content:space-between;align-items:center;gap:12px;display:flex;position:fixed;inset:auto 0 0}.mobile-price{flex-direction:column;gap:1px;min-width:0;display:flex}.mobile-price>span{color:var(--ink2);font-size:11px;font-weight:700}.mobile-price strong{letter-spacing:-.06em;color:var(--ink);font-size:24px;font-weight:800;line-height:1.1}.mobile-price small{color:var(--ink2);font-size:10px;line-height:1.4}.mobile-order-bar .btn{--focus-radius:14px;border-radius:14px;flex:none;min-height:52px;padding:12px 20px;font-size:14px}.panel-body input,.panel-body select,.panel-body textarea,.editor-actions{scroll-margin-bottom:calc(128px + env(safe-area-inset-bottom,0px))}body:has(.mobile-order-bar) .privacy-choices-panel{bottom:calc(112px + env(safe-area-inset-bottom,0px));max-height:calc(100dvh - 145px)}}@media (max-width:359.98px){.mobile-order-bar{gap:8px;padding-left:12px;padding-right:12px}.mobile-order-bar .btn{padding:12px}.mobile-price small{font-size:9px}.mobile-group-value{font-size:12px}}