.app{box-sizing:border-box;max-width:720px;margin:0 auto;padding:8px 12px 32px;font-family:system-ui,sans-serif}.app *{box-sizing:border-box}.app input[type=text],.app input:not([type]),.app select,.app textarea{width:100%;padding:8px;font-size:16px}.app button{min-width:40px;min-height:40px;padding:4px 10px;font-size:15px}.app label{margin:8px 0 2px;font-size:14px;display:block}.app .row{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.app .chips label{align-items:center;gap:4px;margin:2px 8px 2px 0;display:inline-flex}.app ul.plain{margin:8px 0;padding:0;list-style:none}.app ul.plain>li{border:1px solid #8884;border-radius:6px;margin-bottom:8px;padding:8px}.app .grow{overflow-wrap:anywhere;flex:1 1 0;min-width:0}.app .err{color:#c00}.app .ok{color:#070}.app .check{z-index:1;background:canvas;border-top:2px solid #8886;padding:6px 0;position:sticky;bottom:0}html[data-reduce-motion=true] *,html[data-reduce-motion=true] :before,html[data-reduce-motion=true] :after{transition:none!important;animation:none!important}.play{max-width:640px;margin:0 auto;padding:4px;font-size:14px}.play button,.play select,.play input{font:inherit;min-height:36px}.board .row{gap:4px;margin-bottom:4px;display:flex}.board .row.emz{justify-content:center}.board .gap{flex:0 0 15%}.slot,.pile{text-align:center;cursor:pointer;border:1px dashed #888;border-radius:4px;flex:1 1 0;justify-content:center;align-items:center;min-width:0;height:56px;padding:0 2px;display:flex;overflow:hidden}.slot.cand{background:#fec4;border:2px solid #e80}.slot-label{color:#888;font-size:12px}.face{flex-direction:column;width:100%;font-size:11px;line-height:1.2;display:flex}.face.def{border-left:3px solid #48c;font-style:italic;transform:rotate(0)}.face.down{opacity:.6}.face-name{text-overflow:ellipsis;white-space:nowrap;font-weight:700;overflow:hidden}.face-tag{color:#888;font-size:10px}.pile{border-style:solid;font-size:11px}.hand{border:1px solid #888;border-radius:4px;margin:6px 0;padding:4px}.hand-cards{flex-wrap:wrap;gap:4px;display:flex}.hand-card{text-overflow:ellipsis;white-space:nowrap;max-width:30%;min-height:44px;overflow:hidden}.progress .bar{flex-wrap:wrap;align-items:center;gap:6px;margin:4px 0;display:flex}.progress input{width:7em}.ok{color:#080}.ng{color:#c00}.pick-banner{color:#000;background:#fec;border-radius:4px;justify-content:space-between;align-items:center;gap:8px;margin-bottom:4px;padding:6px;display:flex}.sheet-back{z-index:10;background:#0006;justify-content:center;align-items:flex-end;display:flex;position:fixed;inset:0}.sheet{color:canvastext;background:canvas;border-radius:10px 10px 0 0;width:100%;max-width:640px;max-height:80vh;padding:10px;overflow:auto}.sheet-head{justify-content:space-between;align-items:center;gap:8px;display:flex}.sheet input[type=search]{box-sizing:border-box;width:100%}.menu{flex-wrap:wrap;gap:6px;margin:8px 0;display:flex}.memo{white-space:pre-wrap;border-left:3px solid #888;padding-left:8px}.muted{color:#888;margin:4px 0}.list{gap:4px;margin:8px 0;padding:0;list-style:none;display:grid}.list button{text-align:left;width:100%}.log ol{max-height:160px;margin:4px 0;padding-left:24px;overflow:auto}.warn{text-align:left;color:#5c4400;box-sizing:border-box;overflow-wrap:anywhere;background:#fff3cd;border:1px solid #e0c060;width:100%;padding:6px 8px;display:block}.warn span{display:block}
