/* WK-11 · Starter ceremony UI. Additive to v25.css; scoped to .wk11 / .wk11-modal. */
.wk11-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.wk11 .wk11-vale{transition:max-height .25s ease;overflow:hidden}
.wk11 .wk11-vale.wk11-collapsed .wk11-vale-long,.wk11-modal.wk11-previewing .wk11-vale-long{display:none}
.wk11-hint{margin:10px 2px 0;font-size:.8rem;color:#cbdbe0;line-height:1.5}
.wk11-kbd{display:inline-block;padding:0 6px;border:1px solid #6f8fa2;border-radius:6px;background:#0f2a3d;font-size:.74rem;color:#fff3c9}
@media (hover:none) and (pointer:coarse){.wk11-hint{display:none}}
.wk11-grid{margin:12px 0}
.wk11-tile{position:relative;min-height:44px;-webkit-tap-highlight-color:transparent;touch-action:manipulation;user-select:none;-webkit-user-select:none}
.wk11-tile img{pointer-events:none;-webkit-touch-callout:none}
.wk11-tile b,.wk11-tile span{max-width:100%;overflow-wrap:anywhere;text-align:center}
.wk11-tile .wk11-trait{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.wk11-type{font-weight:800;letter-spacing:.04em;padding:1px 8px;border-radius:999px;background:#ffffff14}
.wk11-type-fire{color:#ffbf86}.wk11-type-water{color:#8fdcff}.wk11-type-nature{color:#a6f0b0}
/* Visible focus: distinct from selection (gold border) so keyboard users always see where they are. */
.wk11-tile:focus{outline:none}
.wk11-tile:focus-visible{outline:3px solid #fff;outline-offset:3px;box-shadow:0 0 0 6px #f9cd7288}
.wk11-tile.selected::after{content:'✓';position:absolute;top:6px;right:8px;width:22px;height:22px;border-radius:50%;background:#f9cd72;color:#13283a;font-weight:900;font-size:.8rem;line-height:22px}
.wk11 .row-btn:focus-visible,.wk11 .wk11-skip:focus-visible,.wk11-modal .modal-close:focus-visible{outline:3px solid #fff;outline-offset:2px;box-shadow:0 0 0 6px #f9cd7288}
.wk11-preview{min-height:64px}
.wk11-preview-row h3{margin:0 0 4px;overflow-wrap:anywhere}
.wk11-preview-row>div{min-width:0}
.wk11-empty{margin:6px 0;color:#bcd0d8}
.wk11-final{margin:8px 2px 0;font-size:.82rem;color:#ffe3a1}
.wk11-error{margin:8px 2px 0;color:#ffb4a6;font-weight:700}
/* Sticky action bar: Confirm stays on screen at 390×844 even when the preview scrolls. */
.wk11-bar{position:sticky;bottom:-14px;z-index:5;display:flex;gap:8px;align-items:stretch;justify-content:flex-end;flex-wrap:wrap;margin:10px -14px -14px;padding:10px 14px calc(12px + env(safe-area-inset-bottom,0px));background:linear-gradient(0deg,#0d263a 78%,#0d263a00)}
.wk11-bar .row-btn,.wk11-bar .wk11-skip{min-height:48px;margin:0}
.wk11-skip{margin-left:0;font-weight:750;color:#e6eef2;border-color:#7b97aa}
.wk11-skip[hidden]{display:none}
.wk11-confirm{flex:1 1 200px;min-width:0;overflow-wrap:anywhere;font-size:1rem}
.wk11-confirm:disabled{opacity:.55;cursor:not-allowed;filter:saturate(.4)}
.wk11-confirm[aria-busy=true]{cursor:progress}
.wk11-name{overflow-wrap:anywhere}
.wk11-nick{max-width:460px}
.wk11-nick form{margin:0}
.wk11-nick input{min-height:48px;box-sizing:border-box}
.wk11-nick input:focus-visible{outline:3px solid #f9cd72;outline-offset:2px}
.wk11-opt{color:#bcd0d8;font-weight:400}
.wk11-help{margin:-6px 2px 4px;font-size:.78rem;color:#bcd0d8;text-align:left}
.wk11-bar-nick{justify-content:stretch}
.wk11-bar-nick .wk11-skip{flex:1 1 140px}
@media(max-width:600px){
 .wk11 .wk11-vale{padding:9px}
 .wk11 .wk11-vale p{font-size:.86rem;line-height:1.4;margin:3px 0}

 .wk11-grid{margin:8px 0}
 .wk11-tile{padding:8px 3px}
 .wk11-tile img{height:78px}
 .wk11-tile .wk11-trait{display:none}
 .wk11-preview{padding:9px}
 .wk11-preview-row{padding:8px}
 .wk11-preview-row img{width:74px;height:74px}
 .wk11-preview-row p{font-size:.84rem;line-height:1.4;margin:3px 0}
 .wk11-lore{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
 .wk11-nick img{height:140px;width:160px}
 .wk11-nick p{font-size:.9rem;line-height:1.45}
}
@media(max-height:500px) and (orientation:landscape){.wk11-tile img{height:60px}.wk11 .wk11-vale-long{display:none}.wk11-nick img{height:90px}}
@media(prefers-reduced-motion:reduce){.wk11 *{transition:none!important}.wk11-tile{transform:none!important}}
body.v22-reduced .wk11-tile{transform:none!important}
