.speed-hand{display:flex;gap:10px;justify-content:center;margin:8px 0}.speed-slot{display:block;width:70px;height:98px;min-width:0;padding:0;border:0;background:transparent;border-radius:5px}.speed-slot playing-card,.speed-slot img,.speed-pile playing-card{display:block;width:100%;height:100%;pointer-events:none;object-fit:fill}.speed-slot:disabled{opacity:1}.speed-slot:not(:disabled),.speed-pile:not(:disabled){cursor:pointer}.speed-piles{display:flex;justify-content:center;gap:35px;margin:16px 0}.speed-pile{width:82px;height:115px;padding:0;border:0;background:none;border-radius:6px}.speed-pile:disabled{opacity:1}.speed-count{text-align:center;font-weight:700;margin:6px 0}@media(max-width:620px){.speed-hand{gap:6px;margin:7px 0}.speed-slot{width:calc((100vw - 66px)/5);height:auto;aspect-ratio:5/7}.speed-piles{margin:13px 0;gap:25px}.speed-pile{width:68px;height:95px}.speed-count{font-size:14px;margin:4px 0}}#speedOwn .speed-slot{touch-action:none;-webkit-user-select:none;user-select:none}.speed-pile.drag-target{outline:4px solid #ffdb62;box-shadow:0 0 18px #ffdb6280}.speed-drag-card{position:fixed;z-index:2147483000;pointer-events:none;opacity:1;filter:drop-shadow(0 8px 7px #0008);cursor:grabbing}.speed-drag-card playing-card,.speed-drag-card img{display:block;width:100%;height:100%;object-fit:fill;border-radius:5px}.speed-drag-card.returning{transition:transform .18s ease-out,width .18s ease-out,height .18s ease-out}@media(min-width:621px){.speed-slot{width:90px;height:126px}.speed-pile{width:100px;height:140px}.speed-hand{gap:12px}}.speed-row{display:grid;grid-template-columns:minmax(0,1fr) 90px;gap:18px;align-items:center;max-width:none;margin:auto}.speed-row .speed-hand{margin:8px 0;min-width:0;gap:8px}.speed-stock{position:relative;display:block;width:90px;height:126px;border:0;padding:0;background:#ffffff12;border-radius:6px;cursor:pointer}.speed-stock>img{display:block;width:100%;height:100%;object-fit:fill;pointer-events:none}.speed-stock>span{position:absolute;bottom:3px;left:0;right:0;background:#092d23df;color:#fff;font-weight:700;text-align:center}.speed-stock:disabled{opacity:1;cursor:default}#speedApp{overflow-anchor:none}#speedApp,#speedApp *,.speed-drag-card,.speed-drag-card *{user-select:none;-webkit-user-select:none;-webkit-user-drag:none}#speedOwn .speed-slot,.speed-slot{touch-action:none}@media(max-width:620px){.speed-row{grid-template-columns:minmax(0,1fr) 52px;gap:10px}.speed-row .speed-hand{gap:4px}.speed-row .speed-slot{width:calc((100vw - 104px)/4);height:auto;aspect-ratio:5/7}.speed-stock{width:52px;height:73px}.speed-piles{margin:12px 0}.speed-stock>span{font-size:var(--speed-stock-font,11px)}}.speed-pile{box-sizing:border-box;border:1px solid transparent}.speed-pile:empty{border-color:#c6dfce80;border-style:dashed;background:#ffffff08}.speed-row{max-width:none;grid-template-columns:minmax(0,4fr) minmax(0,1fr);gap:clamp(8px,2vw,28px)}.speed-row .speed-hand{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:clamp(4px,1vw,14px)}.speed-row .speed-slot,.speed-stock{width:100%;height:auto;aspect-ratio:5/7}.speed-pile{width:clamp(68px,18vw,190px);height:calc(clamp(68px,18vw,190px)*1.4);aspect-ratio:auto;flex:none;overflow:hidden}.speed-piles{gap:clamp(25px,5vw,70px)}@media(min-width:900px){body.card-game-page:has(#speedApp) main{max-width:940px}}#speedApp .card-actions{min-height:48px;box-sizing:border-box}#speedTurn{min-height:2.2em;height:calc(1.75em + 16px);line-height:1.75;box-sizing:border-box;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}@media(max-width:620px){#speedApp .card-actions{min-height:35px}#speedTurn{min-height:calc(1.75em + 12px)}}.speed-count{min-height:1.5em;line-height:1.5em;white-space:nowrap}#speedOwn .speed-slot{position:relative;transition:transform .12s ease,box-shadow .12s ease}#speedOwn .speed-slot.selected{z-index:2;outline:3px solid #f5ce59!important;outline-offset:2px;box-shadow:0 0 0 5px #f5ce5947,0 5px 12px #00000047;transform:translateY(-6px)}@media(prefers-reduced-motion:reduce){#speedOwn .speed-slot{transition:none}}.speed-row .speed-hand{aspect-ratio:20 / 7}#speedApp .speed-settings .speed-actions{display:flex;align-items:center;gap:6px;margin-left:auto}@media(max-width:620px){#speedApp .speed-settings{flex-wrap:nowrap;align-items:center;gap:4px}#speedApp .speed-settings>label{order:0;display:flex;flex:1 1 auto;align-items:center;gap:4px;min-width:0;white-space:nowrap;font-size:14px}#speedApp .speed-settings>label select{flex:1 1 78px;width:78px;min-width:58px;max-width:78px;box-sizing:border-box}#speedApp .speed-settings .speed-actions{display:flex;flex:0 0 auto;align-items:center;justify-content:flex-end;gap:4px;min-width:0;margin:0 0 0 auto}#speedApp .speed-settings .speed-actions button{flex:0 1 auto;min-width:0;min-height:31px;padding:4px 6px;font-size:14px;white-space:nowrap}}#speedApp .speed-settings{align-items:flex-start}#speedApp .speed-settings .speed-sakura-profile{display:flex;flex:1 1 0;align-items:center;justify-content:center;gap:12px;box-sizing:border-box;min-width:0;height:106px;margin:0;padding:0;background:transparent;color:#fff}#speedApp .speed-settings .speed-sakura-avatar{display:block;flex:0 0 76px;width:76px;height:106px;box-sizing:border-box;border:2px solid #c09b66;border-radius:6px;background-image:url(/data/people.webp);background-repeat:no-repeat;background-size:400% 200%;background-position:33.3333% 100%;box-shadow:0 1px 4px #0005}#speedApp .speed-settings .speed-sakura-profile strong{font-size:17px;font-weight:800;white-space:nowrap}#speedApp .speed-sakura-profile[hidden]{display:none!important}@media(min-width:621px)and (max-width:900px){#speedApp .speed-settings .speed-sakura-profile{height:87px}#speedApp .speed-settings .speed-sakura-avatar{flex-basis:62px;width:62px;height:87px}}@media(max-width:620px){#speedApp .speed-settings{flex-wrap:wrap;align-items:flex-start}#speedApp .speed-settings .speed-sakura-profile{order:1;flex:1 0 100%;justify-content:center;gap:10px;height:87px;margin:4px 0 0;padding:0}#speedApp .speed-settings .speed-sakura-avatar{flex:0 0 62px;width:62px;height:87px;border-width:1px;border-radius:5px}#speedApp .speed-settings .speed-sakura-profile strong{font-size:14px}}
