/* Deckcipher's builder tokens and hand components provide the design system. */
.mulligan-page {margin:0;background:#0a0a0c;color:#f0eef8;font:14px/1.5 Manrope,sans-serif;}
.mulligan-page::before,.mulligan-page::after {display:none!important;}
.ms-site-header {height:64px;display:flex;align-items:center;gap:24px;max-width:1664px;margin:auto;padding:0 32px;border-bottom:1px solid #303039;box-sizing:border-box;}
.ms-brand {display:flex;align-items:center;gap:8px;color:#f0eef8;text-decoration:none;font-weight:800;font-size:18px;}
.ms-dev {color:#d9c38b;font-size:12px;padding:4px 8px;border:1px solid #685626;border-radius:4px;}
.ms-site-header nav {display:flex;gap:24px;margin-left:auto;}.ms-site-header nav a {color:#aaa6bc;text-decoration:none;}
#deck-builder.ms-workspace {max-width:1664px;width:100%;margin:auto;padding:24px 32px;}
#deck-builder .ms-heading {display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:20px;}
#deck-builder .ms-heading h1 {font-size:26px;line-height:1.25;margin:0;font-weight:750;letter-spacing:-.5px;}
#deck-builder .ms-heading p {color:var(--db-muted);margin-top:4px;}
#deck-builder .ms-deck-actions {display:flex;align-items:center;gap:8px;min-width:0;}
#deck-builder #ms-deck-name {max-width:230px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-right:8px;font-weight:650;}
#deck-builder .ms-toolbar {display:flex;align-items:end;gap:12px;flex-wrap:wrap;}
#deck-builder .ms-toolbar label {display:grid;gap:4px;font-size:12px;color:var(--db-muted);}
#deck-builder .ms-toolbar select {min-width:150px;}
#deck-builder .ms-pod-actions {display:flex;gap:8px;margin-left:auto;}
#deck-builder .ms-status {color:var(--db-muted);font-size:12px;margin:12px 0;min-height:18px;}
#deck-builder .ms-status.is-error {color:#ffb9b9;}
#deck-builder .ms-pod {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;}
#deck-builder .ms-seat {position:relative;border:1px solid var(--db-border);border-radius:10px;background:var(--db-panel);min-width:0;overflow:hidden;}
#deck-builder .ms-seat.is-player {border-color:var(--db-accent);background:linear-gradient(150deg,#c9a84c0d,var(--db-panel));}
#deck-builder .ms-seat-head {display:flex;align-items:center;gap:8px;padding:7px 12px;border-bottom:1px solid var(--db-border);height:44px;}
#deck-builder .ms-seat-head strong {font-size:12px;font-weight:650;}.ms-seat-head .ms-seat-status {margin-left:auto;font-size:11px;color:var(--db-muted);}
#deck-builder .ms-seat-head .ms-seat-select {margin-left:auto;min-height:28px;padding:2px 8px;font-size:11px;}
#deck-builder .ms-seat.is-player .ms-seat-head {color:var(--db-accent);border-color:#685626;}
#deck-builder .ms-seat-body {display:flex;gap:12px;min-height:92px;padding:8px 12px;}
#deck-builder .ms-portraits {display:flex;flex:none;gap:4px;}
#deck-builder .ms-portrait {display:block;width:56px;height:78px;background:var(--db-raised);border-radius:6px;overflow:hidden;}
#deck-builder .ms-portraits.is-pair .ms-portrait {width:40px;}
#deck-builder .ms-portrait img {width:100%;height:100%;object-fit:cover;display:block;}
#deck-builder .ms-portrait-fallback {display:grid;place-items:center;height:100%;color:var(--db-muted);font-size:20px;}
#deck-builder .ms-seat-copy {min-width:0;flex:1;}#deck-builder .ms-seat-copy h2 {font-size:13px;line-height:1.4;overflow-wrap:anywhere;}
#deck-builder .ms-seat-copy .ms-archetype {color:var(--db-muted);font-size:11px;margin-top:4px;}
#deck-builder .ms-color-pips {display:flex;align-items:center;gap:4px;margin-top:8px;}
#deck-builder .ms-color-pip {display:grid;place-items:center;width:17px;height:17px;border-radius:50%;font-size:10px;font-weight:800;background:#535161;color:#fff;}
#deck-builder .ms-color-pip[data-color=W] {background:#ede3c3;color:#3d3424;}#deck-builder .ms-color-pip[data-color=U] {background:#75b5df;color:#082136;}#deck-builder .ms-color-pip[data-color=B] {background:#aaa0b1;color:#1c1820;}#deck-builder .ms-color-pip[data-color=R] {background:#e29885;color:#38160d;}#deck-builder .ms-color-pip[data-color=G] {background:#8eba99;color:#122c18;}
#deck-builder .ms-meta-share {font-size:10px;color:var(--db-muted);margin-left:4px;}
#deck-builder .ms-seat-actions {display:flex;gap:4px;padding:0 12px 4px;}
#deck-builder .ms-seat-actions button {min-height:28px;font-size:11px;padding:3px 8px;}
#deck-builder .ms-seat-actions button[aria-pressed=true] {border-color:var(--db-accent);color:var(--db-accent);}
#deck-builder .ms-player-note {font-size:11px;color:var(--db-muted);padding:0 12px 8px;}
#deck-builder .ms-turn-order {display:flex;justify-content:space-between;gap:12px;color:var(--db-muted);font-size:11px;padding:12px 0 16px;}
#deck-builder .ms-hand {display:block!important;margin:0;padding:16px;border:1px solid var(--db-border);border-radius:10px;background:var(--db-panel);container-type:inline-size;}
#deck-builder .ms-hand .db-hand-card {width:clamp(112px,calc((100cqw - 60px)/7),160px);}
#deck-builder .ms-hand .db-hand-heading {margin-bottom:8px;}
#deck-builder .ms-hand .db-hand-meta {margin:0 0 12px;}
#deck-builder .ms-hand .db-hand-cards {padding-top:0;}
#deck-builder .ms-hand .db-hand-viewport {padding-top:0;}
#deck-builder .ms-hand .db-hand-caption {min-height:32px;}#deck-builder .ms-hand .db-hand-grip {min-height:32px;width:32px;}
#deck-builder .ms-hand .db-hand-bottom {margin:12px 0 0;}
#deck-builder .ms-decision {display:flex;align-items:center;justify-content:space-between;gap:24px;padding:16px 0;border-bottom:1px solid var(--db-border);}
#deck-builder .ms-decision p {font-size:12px;color:var(--db-muted);margin-top:4px;max-width:760px;}
#deck-builder #ms-hand-rule {font-size:11px;max-width:260px;color:#d9c38b;}
#deck-builder details summary {cursor:pointer;font-weight:650;font-size:12px;min-height:44px;display:flex;align-items:center;gap:8px;}
#deck-builder details > summary::before {content:'+';color:var(--db-muted);font-size:16px;}#deck-builder details[open] > summary::before {content:'−';}
#deck-builder #ms-settings {position:relative;}#deck-builder #ms-settings summary {padding:0 8px;}
#deck-builder .ms-settings-body {position:absolute;right:0;top:48px;z-index:20;width:300px;max-width:calc(100vw - 40px);padding:16px;background:var(--db-raised);border:1px solid var(--db-border);border-radius:10px;box-shadow:0 12px 32px #0008;display:grid;gap:12px;}
#deck-builder .ms-settings-body label:first-child {display:flex;align-items:center;gap:8px;}#deck-builder .ms-settings-body p {font-size:11px;color:var(--db-muted);}
#deck-builder .ms-settings-body input[type=text],#deck-builder #ms-seed {width:100%;}
#deck-builder .ms-profiles {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;padding:4px 0 20px;}
#deck-builder .ms-profile h3 {margin-bottom:8px;}#deck-builder .ms-profile p,#deck-builder .ms-profile li {color:var(--db-muted);font-size:12px;}#deck-builder .ms-profile ul {padding-left:16px;margin:8px 0;}
#deck-builder .ms-profile strong {color:var(--db-text);font-weight:650;}#deck-builder .ms-context {border-bottom:1px solid var(--db-border);}
#deck-builder .ms-data-notes p {font-size:12px;color:var(--db-muted);max-width:920px;margin-bottom:12px;}
#deck-builder .ms-manual {padding:16px;margin:16px 0;border:1px solid var(--db-border);background:var(--db-panel);border-radius:10px;}
#deck-builder .ms-manual-heading {display:flex;justify-content:space-between;align-items:center;margin-bottom:12px;}
#deck-builder .ms-manual-inputs {display:flex;gap:12px;}#deck-builder .ms-manual-inputs label {display:grid;gap:4px;font-size:12px;flex:1;min-width:0;}#deck-builder .ms-manual-inputs input,#deck-builder .ms-manual-inputs select {width:100%;}
#deck-builder .ms-search-results {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:12px 0;max-height:280px;overflow:auto;}
#deck-builder .ms-search-result {text-align:left;font-size:12px;}#deck-builder .ms-search-result small {display:block;color:var(--db-muted);font-weight:400;}
#deck-builder .ms-muted {color:var(--db-muted);font-size:12px;}
#deck-builder #ms-inspect {width:min(580px,calc(100vw - 32px));}
#deck-builder #ms-inspect header {display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px;}
#deck-builder #ms-inspect-card {display:grid;grid-template-columns:minmax(0,230px) minmax(0,1fr);gap:20px;}
#deck-builder #ms-inspect-card img {width:100%;height:auto;aspect-ratio:63/88;object-fit:contain;border-radius:8px;}
#deck-builder #ms-inspect-card p {font-size:12px;white-space:pre-wrap;margin-bottom:8px;}
@media (min-width:1280px) and (max-height:950px) {#deck-builder .ms-hand .db-hand-card {width:150px;}}
@media (min-width:1280px) and (max-height:800px) {#deck-builder.ms-workspace {padding-top:16px;}#deck-builder .ms-heading {margin-bottom:12px;}#deck-builder .ms-hand .db-hand-card {width:138px;}#deck-builder .ms-seat-body {min-height:104px;padding-block:8px;}#deck-builder .ms-portrait {height:78px;width:56px;}#deck-builder .ms-turn-order {padding:8px 0;}#deck-builder .ms-decision {padding:12px 0;}}
@media (max-width:1100px) {#deck-builder .ms-heading {align-items:start;}#deck-builder .ms-deck-actions {flex-wrap:wrap;justify-content:end;}#deck-builder #ms-deck-name {width:100%;text-align:right;}#deck-builder .ms-seat-body {gap:8px;}#deck-builder .ms-portrait {width:48px;height:68px;}#deck-builder .ms-portraits.is-pair .ms-portrait {width:28px;}#deck-builder .ms-turn-order span:last-child {display:none;}#deck-builder .ms-hand .db-hand-card {width:clamp(96px,calc((100cqw - 60px)/7),145px);}}
@media (max-width:767px) {.ms-site-header {height:56px;padding:0 16px;gap:12px;}.ms-site-header nav {display:none;}.ms-dev {margin-left:auto;font-size:10px;}.ms-brand {font-size:16px;}#deck-builder.ms-workspace {padding:20px 16px;}#deck-builder .ms-heading {display:block;}#deck-builder .ms-heading h1 {font-size:23px;}#deck-builder .ms-deck-actions {justify-content:start;margin-top:16px;}#deck-builder #ms-deck-name {text-align:left;max-width:none;}#deck-builder .ms-toolbar {gap:8px;}#deck-builder .ms-toolbar>label {flex:1;}#deck-builder .ms-toolbar select {width:100%;min-width:0;}#deck-builder .ms-pod-actions {margin:0;flex:1;}#deck-builder .ms-pod-actions button {flex:1;font-size:12px;}#deck-builder .ms-pod {grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;}#deck-builder .ms-seat-body {display:block;min-height:164px;}#deck-builder .ms-portraits {float:left;margin:0 8px 4px 0;}#deck-builder .ms-seat-head {padding:8px;flex-wrap:wrap;}#deck-builder .ms-seat-head .ms-seat-select {min-height:32px;}#deck-builder .ms-seat-head .ms-seat-status {font-size:10px;}#deck-builder .ms-seat-actions {padding:0 8px 8px;flex-wrap:wrap;}#deck-builder .ms-seat-actions button {min-height:36px;}#deck-builder .ms-hand {padding:12px;}#deck-builder .ms-hand .db-hand-cards {--db-hand-stack-width:168px;}#deck-builder .ms-hand .db-hand-grip {width:44px;min-height:44px;}#deck-builder .ms-hand .db-hand-card {width:clamp(112px,34cqw,145px);}#deck-builder .ms-hand [data-hand-action=deal] {flex-basis:auto;}#deck-builder .ms-decision {display:block;padding:16px 0;}#deck-builder #ms-hand-rule {display:block;margin-top:12px;max-width:none;}#deck-builder .ms-profiles {grid-template-columns:1fr;gap:20px;}#deck-builder .ms-search-results {grid-template-columns:1fr;}#deck-builder .ms-manual-inputs {display:grid;}#deck-builder #ms-inspect-card {grid-template-columns:1fr;}#deck-builder #ms-inspect-card img {max-width:230px;margin:auto;}}
@media (prefers-reduced-motion:reduce) {#deck-builder.ms-workspace *,#deck-builder.ms-workspace *::before,#deck-builder.ms-workspace *::after {animation:none!important;transition:none!important;scroll-behavior:auto!important;}}
@media (max-width:767px) {#deck-builder .ms-hand[data-hand-view=stack] .db-hand-card {width:var(--db-hand-stack-width);}#deck-builder .ms-seat-head {height:auto;min-height:44px;}#deck-builder .ms-hand .db-hand-viewport {}}
.ms-embedded .ms-site-header {display:none;}#deck-builder.ms-workspace .ms-error-inline {color:#ffb9b9;}
@media (max-width:767px) {#deck-builder .ms-toolbar>label {flex:1 1 120px;}#deck-builder .ms-pod-actions {flex-basis:100%;}#deck-builder #ms-settings {margin-left:auto;}}
@media (min-width:1280px) {#deck-builder .ms-hand {position:relative;}#deck-builder .ms-hand[data-bottoming=true] .db-hand-controls {visibility:hidden;}#deck-builder .ms-hand[data-bottoming=true] .db-hand-bottom {position:absolute;top:16px;right:16px;margin:0;padding:0;border:0;background:transparent;}#deck-builder .ms-hand[data-bottoming=true] .db-hand-bottom>div {position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;}}
