/* Existing owner lanes and battle board geometry are unchanged. */
.hand-row303{display:flex;flex:1 1 auto;min-height:0;min-width:0;align-items:stretch;gap:4px}
body.workspace91 .hand-row303 #player-hand{position:static!important;inset:auto!important;flex:1 1 auto!important;min-width:0!important;width:0!important;height:100%!important;box-sizing:border-box}
body .pile303{flex:0 0 46px;width:46px;min-width:0;padding:7px 2px;border:1px solid var(--line263,#907b52);border-radius:5px;background:var(--deep263,#20261f);color:var(--ink263,#f1e6cc);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;user-select:none;touch-action:manipulation}
.pile303 strong{font-size:11px}.pile303>b{font-size:17px}.pile303.empty303 .pile-art303{opacity:.45}
.pile-art303{position:relative;display:block;width:28px;height:42px}.pile-art303 i{position:absolute;inset:0;border:1px solid #c0ac7b;border-radius:3px;background:repeating-linear-gradient(45deg,#4c5745 0 3px,#2a382e 3px 6px);box-shadow:0 1px 3px #0007}.pile-art303 i:nth-child(1){transform:translate(-3px,3px)}.pile-art303 i:nth-child(2){transform:translate(-1px,1px)}.pile303.discard .pile-art303 i{background:linear-gradient(150deg,#a39069,#4e5140)}
.card-flight303{position:fixed;pointer-events:none;z-index:120;width:16px;height:24px;border:1px solid #d2bd8b;border-radius:2px;background:repeating-linear-gradient(45deg,#4c5745 0 3px,#2a382e 3px 6px)}
.shop-tabs303{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));width:100%;box-sizing:border-box;gap:6px;margin:12px 0}.shop-tabs303 button{width:100%;min-width:0}.shop-tabs303 button[aria-pressed=true]{outline:2px solid var(--accent263,#dbc080);background:var(--soft263,#48533d)}
.codes303{padding:10px;border:1px solid var(--line263,#907b52);border-radius:5px;margin:10px 0}.codes303>summary{font-weight:700}.code-guide303{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:6px;margin-top:8px}.code-guide303 small{line-height:1.5}.future-shop303{padding:16px;background:var(--deep263,#20261f);border:1px solid var(--line263,#907b52);border-radius:5px}.future-shop303 p{line-height:1.6}
.tavern263 #account191 .shop-section192[hidden],.tavern263 #account191 .future-shop303[hidden]{display:none!important}
.selected290{cursor:pointer}.selected290:focus-visible{outline:2px solid var(--accent263,#dbc080)}
body #mobile-card-zoom66 .card-text,body #deck-dialog .card-text,body #deck-dialog .deck-detail-cards p,body #pile-cards57 p{display:block!important;-webkit-line-clamp:unset!important;max-height:none!important;overflow:visible!important;white-space:normal!important;line-height:1.5!important}
body #deck-dialog p,body .card-inspect91 .card-text{display:block!important;-webkit-line-clamp:unset!important;max-height:none!important;overflow:visible!important;white-space:normal!important;line-height:1.5!important}
body #mobile-card-zoom66 .game-card{height:auto!important;max-height:none!important;min-height:0!important}
.confirm-card303{width:100%;min-height:44px;margin-top:8px;font-size:16px;font-weight:bold}
.choice-guide303{margin:6px 0;padding:8px;border-left:3px solid var(--accent263,#cbb57c);background:var(--soft263,#303b2e);line-height:1.5}
.lesson303{flex:none;padding:8px 12px;border:1px solid var(--line263,#907b52);background:var(--deep263,#20261f);color:var(--ink263,#f1e6cc);display:flex;gap:8px;align-items:center;flex-wrap:wrap}.lesson303[hidden]{display:none}.lesson303 p{flex:1;min-width:180px;margin:0;font-size:13px;line-height:1.4}.lesson303 button{min-height:36px}.lesson-target303{outline:3px solid #e9cc7f!important;outline-offset:1px}
.story-intro303{grid-column:1/-1;padding:8px;border:1px solid var(--line263,#907b52);line-height:1.5;font-size:12px}
#player-hand .game-card,#mobile-card-zoom66 button,.select-side290,.selected-deck290{user-select:none;-webkit-user-select:none}
@media(max-width:720px),(any-pointer:coarse){body .pile303{flex-basis:36px;width:36px;padding:4px 1px;gap:3px}.pile-art303{width:23px;height:34px}.pile303 strong{font-size:10px}.pile303>b{font-size:15px}.hand-row303{gap:2px}.codes303 .account-actions191 input{flex-basis:120px;min-width:0}.shop-tabs303 button{padding:8px 4px!important;font-size:13px}.code-guide303 button{width:100%}.lesson303{padding:6px;font-size:12px}}
