/* Time Wizard Games 0.11: use the supplied artwork without altering its pixels. */
#header .brand-mark{position:relative;display:block;width:62px;height:40px;overflow:hidden;flex:0 0 62px}
#header .brand-mark img{position:absolute;inset:-13px 0 auto;width:62px;height:62px;max-width:none}



#header .brand{gap:10px}
#header .wordmark{text-transform:none;letter-spacing:-1.1px}
#header .format-selector{flex-direction:row;flex-wrap:nowrap;align-self:center;align-items:center}
#header .format-selector>span{white-space:nowrap;line-height:1;margin:0}
#header .format-selector select{margin:0}
.field-slot.is-attacking{outline:3px solid var(--amber);outline-offset:2px;z-index:5}
.field-slot.is-attack-target{outline:3px solid var(--pink);outline-offset:2px;z-index:5}
.field-slot[data-battle-label]::after{content:attr(data-battle-label);position:absolute;top:-2px;left:50%;transform:translate(-50%,-100%);background:var(--surface);border:1px solid var(--amber);color:var(--ink);font:600 12px var(--font-data);white-space:nowrap;padding:2px 4px;z-index:8}
.field-slot.is-attack-target[data-battle-label]::after{border-color:var(--pink)}
.battle-context{border-left:3px solid var(--pink);padding:6px 9px;margin:7px 0;background:var(--surface-alt);font-size:12px;line-height:1.45}
.duel-touch-card{position:fixed;z-index:120;pointer-events:none!important;width:62px;height:90px;opacity:.9;transform:translate(-50%,-80%);filter:drop-shadow(0 6px 10px #0008)}
.duel-touch-card img{width:100%;height:100%;object-fit:contain}
.duel-workspace .hand-card[draggable=true]{touch-action:pan-x;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}
.duel-workspace .hand-card[draggable=true] img{-webkit-user-drag:none}
.duel-workspace[data-automatic-decision=true] .duel-context .action-menu{pointer-events:none}
.share-replay-note{font-size:12px;color:var(--muted);max-width:540px}
@media(max-width:1000px){
 #header .brand-mark{width:45px;height:30px;flex-basis:45px}#header .brand-mark img{width:45px;height:45px;top:-9px}
 .duel-workspace[data-mobile-panel=actions] .duel-context,.duel-workspace[data-mobile-panel=reference] .duel-reference,.duel-workspace[data-mobile-panel=tools] .duel-social{grid-area:auto;min-width:0;width:auto;isolation:isolate}
 .duel-workspace .duel-reference .card-inspector,.duel-workspace .duel-reference .duel-log-panel{flex-shrink:0}
 .duel-workspace .duel-social .duel-options,.duel-workspace .duel-social .duel-room-header{flex-shrink:0}
 .field-slot[data-battle-label]::after{font-size:12px;padding:1px 2px}
}

.admin-account-list{display:grid;gap:12px;margin:14px 0}.admin-account{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px}.admin-account>div:first-child{min-width:0;overflow-wrap:anywhere}.admin-account-actions{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:8px;max-width:400px}.admin-type-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:14px;margin:18px 0}.admin-account small,.admin-type-grid small{color:var(--muted)}
@media(max-width:650px){.admin-account{flex-direction:column;align-items:stretch}.admin-account-actions{justify-content:flex-start}.admin-account-actions button{min-height:40px}}

@media(max-width:380px){#header .format-selector>span{display:inline;font-size:12px;letter-spacing:.4px}#header .format-selector{gap:4px}#header .format-selector select{width:124px}}
