:root{--primary:#10b981;--line:rgba(16,185,129,.42);--bg:#030806;--panel:rgba(8,10,10,.86);--text:#f6fff9;--muted:#a7c8b8;--gold:#f5bd27;--danger:#ef4444}*{box-sizing:border-box}body{margin:0;font-family:Inter,system-ui,Segoe UI,Arial,sans-serif;background:radial-gradient(circle at 65% 0,rgba(16,185,129,.15),transparent 35%),#030806;color:var(--text)}button,input,select{font:inherit}.app{width:min(1080px,calc(100vw - 36px));margin:22px auto 70px}.top{border:1px solid var(--line);border-radius:20px;background:rgba(3,8,6,.88);padding:16px 18px;display:flex;align-items:center;gap:18px;justify-content:space-between;box-shadow:0 20px 60px rgba(0,0,0,.35)}.brand{display:flex;align-items:center;gap:14px;text-decoration:none;color:inherit;min-width:260px}.brand img{width:112px;height:58px;object-fit:contain}.brand h1{font-size:1.35rem;line-height:1;margin:0}.brand p{margin:4px 0 0;text-transform:uppercase;letter-spacing:.26em;font-weight:800;font-size:.74rem;color:#d8fbe8}.nav{display:flex;gap:10px;align-items:center;justify-content:flex-end;flex-wrap:wrap}.nav a,.nav button,.btn{border:1px solid var(--line);border-radius:13px;background:#242426;color:#fff;text-decoration:none;font-weight:900;padding:12px 17px;cursor:pointer;box-shadow:0 12px 30px rgba(0,0,0,.25)}.nav .ifood{background:#ef3333;border-color:#ef3333}.nav .delivery,.btn.gold{background:#f5bd27;color:#080808;border-color:#f5bd27}.btn.primary{background:linear-gradient(135deg,#13d889,#0ea56e);border-color:#18f09d;color:#06100b}.btn.danger{background:#b91c1c;border-color:#ef4444}.logged{border:1px solid var(--line);border-radius:13px;padding:10px 12px;color:#b7c9c0}.logged strong{color:#78ffa8}.hero{margin-top:28px;border:1px solid var(--line);border-radius:22px;overflow:hidden;background:#060707;display:grid;grid-template-columns:2fr .88fr}.hero img{width:100%;height:315px;object-fit:cover}.hero-side{padding:34px;display:flex;flex-direction:column;justify-content:center;background:linear-gradient(90deg,rgba(8,12,10,.92),rgba(0,0,0,.97))}.eyebrow{text-transform:uppercase;letter-spacing:.22em;color:#5dffaf;font-weight:900;font-size:.78rem}.hero h2{font-size:2.8rem;line-height:.98;margin:10px 0}.hero p{color:#e6fff2;line-height:1.45}.grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:20px}.panel{border:1px solid var(--line);border-radius:20px;background:var(--panel);padding:22px;box-shadow:0 20px 50px rgba(0,0,0,.28)}.menu-panel{margin-top:28px}.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.card{border:1px solid var(--line);border-radius:16px;padding:18px;background:linear-gradient(135deg,rgba(255,255,255,.05),rgba(0,0,0,.34));min-height:150px;display:flex;flex-direction:column}.card h3{margin:0 0 8px}.card p{color:#c7d7cf;line-height:1.4;margin:0 0 16px}.card .btn{align-self:flex-start;margin-top:auto}.form{display:grid;gap:14px}.form.two{grid-template-columns:1fr 1fr}.field span,label>span{display:block;text-transform:uppercase;letter-spacing:.12em;font-size:.78rem;font-weight:900;color:#d7fbea;margin-bottom:7px}input,select{width:100%;background:#050809;border:1px solid rgba(255,255,255,.18);border-radius:14px;color:#fff;padding:13px 14px}.toast{position:fixed;left:50%;bottom:18px;transform:translateX(-50%);background:#101512;border:1px solid var(--line);border-radius:12px;padding:12px 16px;z-index:9}.hidden{display:none!important}.table{margin-top:20px;display:grid;grid-template-columns:1fr 260px;gap:18px}.playmat{border:1px solid var(--line);border-radius:22px;background:radial-gradient(circle at center,rgba(16,185,129,.22),rgba(0,0,0,.9));padding:18px;min-height:460px;position:relative}.center-piles{display:flex;gap:18px;justify-content:center;align-items:center;margin:30px 0}.pile,.discard{width:120px;height:172px;border-radius:18px;border:3px solid var(--line);display:flex;align-items:center;justify-content:center;text-align:center;font-weight:900;background:#07100d}.discard{background:#111}.hand{display:flex;gap:10px;overflow-x:auto;padding:12px 4px}.rune-card{min-width:94px;height:136px;border:4px solid var(--primary);border-radius:15px;background:#0d1010;color:#fff;display:flex;flex-direction:column;justify-content:center;align-items:center;font-weight:900;cursor:pointer}.rune-card small{font-size:.7rem}.players{display:grid;gap:10px}.player{border:1px solid rgba(255,255,255,.14);border-radius:12px;padding:10px;background:#090c0c}.log{max-height:220px;overflow:auto;color:#cfe8dc;font-size:.92rem}.color-picker{display:flex;gap:8px;flex-wrap:wrap}.color-dot{width:34px;height:34px;border-radius:50%;border:2px solid #fff}@media(max-width:780px){.app{width:min(100vw - 16px,1080px);margin-top:10px}.top,.brand,.nav{align-items:center}.top{flex-direction:column}.brand{min-width:0}.hero{grid-template-columns:1fr}.hero img{height:210px}.hero-side{padding:22px}.hero h2{font-size:2rem}.grid,.table{grid-template-columns:1fr}.cards{grid-template-columns:1fr}.form.two{grid-template-columns:1fr}.nav a,.nav button,.btn{padding:10px 13px}.playmat{min-height:360px}.rune-card{min-width:82px;height:122px}}


/* V49 — Mesa real do Runas da Caverna */
.game-runas .app{width:min(1380px,calc(100vw - 28px));}
.runas-hud{margin-top:20px;display:grid;grid-template-columns:minmax(260px,360px) 1fr auto;gap:16px;align-items:center}
.room-badge,.status-strip{border:1px solid rgba(245,189,39,.35);background:linear-gradient(135deg,rgba(6,15,12,.92),rgba(4,7,7,.86));box-shadow:0 18px 50px rgba(0,0,0,.36), inset 0 0 22px rgba(16,185,129,.08);border-radius:0 18px 0 18px;padding:14px 18px;color:#f8f1cf;display:flex;align-items:center;gap:12px;min-height:74px}.room-badge strong{display:block;font-family:Georgia,serif;font-size:1.35rem;line-height:1}.room-badge span:not(.room-icon){display:block;color:#c7b889;margin-top:5px}.room-icon{width:48px;height:48px;border-radius:14px;border:1px solid rgba(16,185,129,.65);display:grid;place-items:center;background:radial-gradient(circle,rgba(16,185,129,.35),rgba(0,0,0,.5));font-size:1.5rem;color:#81f3b7}.status-strip{justify-content:center;gap:26px;font-size:1.12rem}.status-strip b{color:#9af184}.dot{display:inline-block;width:18px;height:18px;border-radius:50%;margin-right:8px;vertical-align:-3px;box-shadow:0 0 14px currentColor}.dot-musgo{background:#10b981;color:#10b981}.dot-ambar{background:#f5bd27;color:#f5bd27}.dot-abismo{background:#2563eb;color:#2563eb}.dot-magma{background:#ef4444;color:#ef4444}.leave-btn{min-height:58px;border-color:#ef6049!important;background:rgba(56,14,10,.86)!important;color:#ff8069!important;font-size:1.02rem}
.runas-table-screen{margin-top:18px;display:grid;grid-template-columns:1fr 300px;gap:18px}.runas-arena{position:relative;min-height:760px;border:1px solid rgba(16,185,129,.35);border-radius:24px;overflow:hidden;background:radial-gradient(ellipse at center,rgba(30,83,50,.42) 0,rgba(10,34,24,.72) 38%,rgba(3,7,7,.98) 78%),linear-gradient(135deg,#04100d,#030807);box-shadow:0 28px 90px rgba(0,0,0,.48)}.runas-arena:before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 14% 22%,rgba(16,185,129,.18),transparent 9%),radial-gradient(circle at 86% 28%,rgba(16,185,129,.16),transparent 8%),radial-gradient(circle at 50% 48%,rgba(245,189,39,.07),transparent 25%);pointer-events:none}.runas-arena:after{content:"";position:absolute;left:7%;right:7%;top:175px;height:390px;border:1px solid rgba(174,255,196,.1);border-radius:50%;box-shadow:inset 0 0 70px rgba(0,0,0,.45),0 0 40px rgba(16,185,129,.08);background:radial-gradient(ellipse at center,rgba(16,185,129,.10),transparent 64%);pointer-events:none}.area-title{position:relative;z-index:2;text-transform:uppercase;letter-spacing:.16em;color:#a9d88d;text-align:center;font-family:Georgia,serif;font-weight:800;text-shadow:0 0 14px rgba(16,185,129,.35)}.opponents-title{margin-top:22px}.mesa-title{margin-bottom:20px}.hand-title{margin:0 0 10px}.hand-title em{font-family:Inter,system-ui,sans-serif;font-style:normal;text-transform:none;letter-spacing:0;background:rgba(16,185,129,.18);border:1px solid rgba(16,185,129,.45);border-radius:999px;padding:4px 10px;margin-left:8px;color:#d8ffe5;font-size:.82rem}.opponents-ring{position:relative;z-index:3;min-height:180px;display:flex;align-items:center;justify-content:center;gap:18px;flex-wrap:wrap;padding:14px 180px}.opponents-ring.is-empty p{color:#b2c7ba}.seat{display:flex;align-items:center;gap:12px;min-width:205px;max-width:250px;border:1px solid rgba(245,189,39,.38);background:rgba(4,9,8,.82);border-radius:16px;padding:9px 12px;box-shadow:0 16px 38px rgba(0,0,0,.36)}.seat strong{display:block;font-family:Georgia,serif;font-size:1.08rem;color:#f5e7bb}.seat span{display:block;color:#9af184;font-weight:800;font-size:.9rem}.seat.is-active{border-color:#93ff85;box-shadow:0 0 0 2px rgba(147,255,133,.16),0 0 30px rgba(147,255,133,.25)}.seat.is-me{border-color:#f5bd27}.avatar{flex:0 0 52px;width:52px;height:52px;border-radius:50%;display:grid;place-items:center;border:2px solid rgba(245,189,39,.55);background:radial-gradient(circle at 35% 30%,rgba(245,189,39,.35),rgba(9,14,12,.96));font-family:Georgia,serif;font-weight:900;color:#f5e7bb}.seat-1 .avatar{border-color:#10b981;background:radial-gradient(circle,rgba(16,185,129,.3),rgba(0,0,0,.9))}.seat-2 .avatar{border-color:#ef4444;background:radial-gradient(circle,rgba(239,68,68,.28),rgba(0,0,0,.9))}.seat-3 .avatar{border-color:#2563eb;background:radial-gradient(circle,rgba(37,99,235,.3),rgba(0,0,0,.9))}.stone-table{position:relative;z-index:3;width:min(620px,74%);height:300px;margin:0 auto 28px;padding:30px;border:1px solid rgba(245,189,39,.22);border-radius:50%;background:radial-gradient(ellipse at center,rgba(19,75,45,.38),rgba(3,9,7,.82));box-shadow:inset 0 0 70px rgba(0,0,0,.52),0 0 45px rgba(16,185,129,.08)}.stone-table.is-my-turn{box-shadow:inset 0 0 70px rgba(0,0,0,.52),0 0 48px rgba(16,185,129,.28)}.center-piles{position:relative;z-index:4;display:grid;grid-template-columns:150px 30px 150px;gap:24px;justify-content:center;align-items:end;margin:12px auto 0}.draw-pile,.discard-card{width:150px;height:210px;border-radius:18px;border:3px solid rgba(16,185,129,.62);background:linear-gradient(145deg,#0b1813,#07100d);display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;color:#eaffef;box-shadow:0 16px 35px rgba(0,0,0,.45),inset 0 0 28px rgba(16,185,129,.12)}.draw-pile{cursor:pointer}.draw-pile strong,.discard-card strong{font-family:Georgia,serif;font-size:1.35rem}.draw-pile small,.discard-card span{color:#a7efba;font-weight:800}.card-back-symbol{font-size:2.8rem;color:#75ffc0;filter:drop-shadow(0 0 10px rgba(16,185,129,.8));margin-bottom:10px}.pile-label{grid-row:2;color:#f5e7bb;text-align:center;font-family:Georgia,serif;font-weight:800;font-size:1.05rem;margin-top:8px}.discard-wrap{display:grid}.discard-card .rune-symbol{font-size:2rem;margin-bottom:12px}.discard-card.empty{opacity:.65}.hand-zone{position:absolute;z-index:5;left:18px;right:18px;bottom:18px;border:1px solid rgba(16,185,129,.35);border-radius:18px;background:linear-gradient(180deg,rgba(5,14,11,.72),rgba(2,5,5,.92));padding:14px 16px 18px;box-shadow:0 -12px 45px rgba(0,0,0,.38)}.hand{display:flex;gap:14px;overflow-x:auto;padding:10px 4px 14px;justify-content:center}.rune-card{position:relative;min-width:118px;height:158px;border-radius:16px;border:3px solid var(--primary);background:linear-gradient(145deg,#121514,#070909);color:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;font-family:Georgia,serif;font-weight:900;cursor:pointer;box-shadow:0 10px 24px rgba(0,0,0,.42),inset 0 0 25px rgba(255,255,255,.03);transition:transform .12s ease,box-shadow .12s ease,filter .12s ease}.rune-card:hover,.rune-card.is-playable:hover{transform:translateY(-8px);filter:brightness(1.15)}.rune-card.is-playable{box-shadow:0 0 0 2px rgba(255,255,255,.10),0 0 22px currentColor,inset 0 0 28px rgba(255,255,255,.04)}.rune-symbol,.rune-mini{filter:drop-shadow(0 0 8px currentColor)}.rune-symbol{position:absolute;top:11px;font-size:1.35rem}.rune-mini{position:absolute;bottom:10px;font-size:1.15rem}.rune-value{font-size:2.9rem;line-height:1}.rune-name{font-size:1.04rem;line-height:1.05}.rune-special-top,.rune-special-mid{font-size:1.06rem;line-height:1.08}.rune-special-value{font-size:1.55rem;line-height:1.05}.rune-card--musgo{border-color:#45d99b;color:#9af184;background:linear-gradient(145deg,#10231a,#07100c)}.rune-card--ambar{border-color:#f5bd27;color:#ffd45a;background:linear-gradient(145deg,#22190a,#090805)}.rune-card--abismo{border-color:#3f62ff;color:#80a3ff;background:linear-gradient(145deg,#091127,#05070e)}.rune-card--magma{border-color:#ef4444;color:#ff796d;background:linear-gradient(145deg,#28100c,#090504)}.rune-card--cristal,.rune-card--cristal-livre,.rune-card--cristal-supremo{border-color:#e5e7eb;color:#f5f7ff;background:radial-gradient(circle at 50% 18%,rgba(255,255,255,.15),transparent 26%),linear-gradient(145deg,#1c1d20,#08090b)}.hand-actions{display:flex;align-items:center;justify-content:center;gap:12px}.last-stone-btn{font-size:1.2rem;min-width:300px}.last-stone-ok{border:1px solid rgba(16,185,129,.45);background:rgba(16,185,129,.12);color:#c6ffe0;border-radius:999px;padding:9px 12px;font-weight:900}.runas-side{display:grid;gap:18px;align-content:start}.mini-panel{padding:16px}.players-list{display:grid;gap:10px}.players-list .seat{min-width:0;max-width:none;width:100%}.log{max-height:310px;overflow:auto}.log p{border-bottom:1px solid rgba(255,255,255,.07);padding-bottom:8px}.runas-lobby{margin-top:18px}.lobby-card{max-width:850px;margin:0 auto}.lobby-players{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px;margin:18px 0}.finish-panel{margin-top:18px;border-color:#f5bd27;background:rgba(20,14,5,.94)}
@media(max-width:980px){.runas-hud{grid-template-columns:1fr}.status-strip{justify-content:flex-start;flex-wrap:wrap}.runas-table-screen{grid-template-columns:1fr}.runas-arena{min-height:720px}.opponents-ring{padding:12px}.stone-table{width:92%;height:270px}.center-piles{grid-template-columns:130px 18px 130px}.draw-pile,.discard-card{width:130px;height:182px}.runas-side{grid-template-columns:1fr}.hand{justify-content:flex-start}.rune-card{min-width:104px;height:148px}.last-stone-btn{min-width:0;width:100%}}
@media(max-width:620px){.game-runas .app{width:min(100vw - 12px,1380px)}.room-badge,.status-strip{padding:12px}.room-badge strong{font-size:1.1rem}.status-strip{font-size:.98rem;gap:10px}.runas-arena{min-height:700px}.stone-table{height:230px;padding:22px 12px}.center-piles{grid-template-columns:110px 10px 110px;gap:12px}.draw-pile,.discard-card{width:110px;height:154px}.draw-pile strong,.discard-card strong{font-size:1.05rem}.hand-zone{left:8px;right:8px;bottom:8px;padding:10px}.rune-card{min-width:92px;height:132px;border-width:3px}.rune-value{font-size:2.25rem}.rune-special-top,.rune-special-mid{font-size:.92rem}.rune-special-value{font-size:1.2rem}.opponents-ring{min-height:150px}.seat{min-width:180px}.avatar{width:44px;height:44px;flex-basis:44px}.top{margin-bottom:0}}

.pile-wrap{display:grid;gap:8px;justify-items:center}.pile-arrow{align-self:center;justify-self:center;color:#8fce90;opacity:.55;font-size:1.4rem}.pile-label{color:#f5e7bb;text-align:center;font-family:Georgia,serif;font-weight:800;font-size:1.05rem;margin-top:0}

/* V50 — cartas com artes e layout final */
.room-icon img{width:24px;height:24px;display:block;filter:drop-shadow(0 0 6px rgba(117,255,192,.55))}
.arena-board-overlay{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.85;pointer-events:none;z-index:1}
.avatar{overflow:hidden;padding:0}
.avatar-img{width:100%;height:100%;display:block;object-fit:cover}
.seat{backdrop-filter:blur(1.5px)}
.draw-pile,.discard-card{position:relative;overflow:hidden}
.draw-pile::before,.discard-card::before,.rune-card::before{content:"";position:absolute;inset:8px;border:1px solid rgba(255,255,255,.12);border-radius:13px;pointer-events:none}
.pile-art,.discard-art{width:56px;height:56px;object-fit:contain;display:block;margin:0 auto 10px;filter:drop-shadow(0 0 12px currentColor)}
.draw-pile strong,.discard-card strong{position:relative;z-index:1}
.rune-card{padding:10px 10px 12px;justify-content:flex-start;gap:4px;overflow:hidden}
.rune-corners{position:absolute;inset:0;pointer-events:none;background:linear-gradient(135deg,rgba(255,255,255,.08),transparent 28%),linear-gradient(315deg,rgba(255,255,255,.08),transparent 28%)}
.rune-art{width:42px;height:42px;object-fit:contain;display:block;margin:0 auto 8px;filter:drop-shadow(0 0 10px currentColor)}
.rune-art--mini{position:absolute;bottom:10px;left:50%;transform:translateX(-50%);width:24px;height:24px;margin:0;opacity:.9}
.rune-value{margin-top:2px}
.rune-name{margin-top:auto;padding-bottom:20px;text-transform:none}
.rune-special-top{margin-top:2px}
.rune-special-mid{opacity:.95}
.rune-card--numero .rune-value{margin-top:4px}
.rune-card--eco{border-color:#5fe0df;color:#8ef7ff;background:linear-gradient(145deg,#0b1b1b,#071011)}
.rune-card--retorno{border-color:#b177ff;color:#d8b3ff;background:linear-gradient(145deg,#1a1028,#09060f)}
.rune-card--desabamento2{border-color:#f6c15f;color:#ffd68f;background:linear-gradient(145deg,#2b1a09,#0d0905)}
.rune-card--cristal-livre{background:radial-gradient(circle at 50% 15%,rgba(255,255,255,.18),transparent 24%),linear-gradient(145deg,#20222a,#090a0d);color:#fff;border-color:#f5f7ff}
.rune-card--cristal-supremo{background:radial-gradient(circle at 50% 15%,rgba(255,255,255,.20),transparent 22%),linear-gradient(145deg,#24212c,#090a0f);color:#fff;border-color:#f3f4ff}
.discard-card.rune-card--musgo,.discard-card.rune-card--ambar,.discard-card.rune-card--abismo,.discard-card.rune-card--magma,.discard-card.rune-card--cristal-livre,.discard-card.rune-card--cristal-supremo,.discard-card.rune-card--eco,.discard-card.rune-card--retorno,.discard-card.rune-card--desabamento2{display:flex;align-items:center;justify-content:center}
.players-list .avatar{width:44px;height:44px;flex-basis:44px}
@media(max-width:620px){
  .rune-art{width:34px;height:34px}
  .rune-art--mini{width:20px;height:20px}
  .pile-art,.discard-art{width:44px;height:44px}
}

/* V51 — cartas reais em imagem e regras completas */
.how-panel h3{margin:18px 0 6px;color:#f5d36b}.how-panel p{line-height:1.55}.challenge-panel{margin:12px auto;max-width:1100px;border-color:#f5bd27;background:linear-gradient(135deg,rgba(80,40,0,.55),rgba(5,8,7,.9))}.challenge-panel .btn{margin:6px 8px 0 0}.turn-help{position:relative;z-index:2;margin:6px 0 12px;color:#d9ffe8;font-weight:700;text-align:center}.hand-v51{gap:12px;align-items:flex-end;justify-content:center;max-width:100%;overflow-x:auto;padding-bottom:10px}.rune-card-img{position:relative;width:118px;min-width:118px;height:158px;border:0;background:transparent;padding:0;border-radius:13px;box-shadow:0 12px 24px rgba(0,0,0,.45);transition:transform .15s ease,filter .15s ease;cursor:pointer}.rune-card-img:disabled{cursor:not-allowed;opacity:.6}.rune-card-img.is-playable{filter:drop-shadow(0 0 12px currentColor)}.rune-card-img.is-playable:hover{transform:translateY(-10px) scale(1.04)}.rune-card-img:not(.is-playable){filter:grayscale(.15) brightness(.72)}.rune-card-img.is-drawn-now::after{content:"Nova";position:absolute;top:-9px;right:-8px;background:#f5bd27;color:#080808;border-radius:999px;padding:4px 8px;font-size:11px;font-weight:900;box-shadow:0 0 12px rgba(245,189,39,.8)}.card-face{width:100%;height:100%;display:block;object-fit:cover;border-radius:13px;border:2px solid rgba(255,255,255,.12)}.card-mini-label{position:absolute;left:4px;right:4px;bottom:-22px;background:rgba(0,0,0,.78);border:1px solid rgba(255,255,255,.18);border-radius:8px;color:#fff;font-size:10px;font-weight:800;line-height:1.1;padding:3px 4px;text-align:center;white-space:normal}.drawn-tag{display:none}.draw-pile-v51{width:132px;height:178px;padding:8px;display:flex;flex-direction:column;gap:3px;align-items:center;justify-content:center}.draw-pile-v51:disabled{opacity:.55;cursor:not-allowed}.pile-art-card{width:96px;height:128px;object-fit:cover;border-radius:10px;display:block;box-shadow:0 0 16px rgba(96,255,170,.25)}.discard-card-img{position:relative;width:132px;min-height:198px;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:7px;text-align:center}.discard-face{width:118px;height:158px;object-fit:cover;border-radius:13px;border:2px solid currentColor;box-shadow:0 0 18px rgba(255,255,255,.12)}.discard-card-img strong{font-size:13px;color:#fff;line-height:1.15}.hand-actions{gap:10px;flex-wrap:wrap}.last-stone-ok{background:rgba(16,185,129,.16);border:1px solid rgba(16,185,129,.45);padding:9px 12px;border-radius:999px;color:#9affc7;font-weight:800}.room-icon img{border-radius:8px;object-fit:cover}.finish-panel{position:relative;z-index:5;margin-top:16px;text-align:center}.dot-ambar{background:#f5bd27}.dot-musgo{background:#10b981}.dot-abismo{background:#2563eb}.dot-magma{background:#ef4444}@media(max-width:900px){.rune-card-img{width:96px;min-width:96px;height:128px}.card-mini-label{font-size:9px;bottom:-20px}.draw-pile-v51{width:110px;height:150px}.pile-art-card{width:78px;height:104px}.discard-card-img{width:110px;min-height:170px}.discard-face{width:96px;height:128px}}@media(max-width:620px){.hand-v51{justify-content:flex-start}.rune-card-img{width:84px;min-width:84px;height:112px}.card-mini-label{display:none}.center-piles{gap:10px}.pile-arrow{display:none}.draw-pile-v51{width:92px;height:126px}.pile-art-card{width:64px;height:86px}.discard-card-img{width:92px;min-height:142px}.discard-face{width:84px;height:112px}}

/* V52 — mesa mais bonita, mão em carrossel e layout mobile-first */
.runas-table-screen{align-items:start}
.runas-arena{
  min-height:auto;
  display:flex;
  flex-direction:column;
  gap:16px;
  padding:16px;
  background-image:url('/runas/assets/table-felt.svg'), radial-gradient(circle at 50% 0,rgba(16,185,129,.12),transparent 32%), linear-gradient(180deg,#050b09,#020505);
  background-size:cover, auto, auto;
  background-position:center;
  border:1px solid rgba(245,189,39,.28);
  box-shadow:inset 0 0 70px rgba(0,0,0,.45),0 24px 70px rgba(0,0,0,.42);
}
.arena-board-overlay{opacity:.28;mix-blend-mode:screen}
.opponents-ring{position:relative;z-index:2;min-height:0;padding:6px 0 0;justify-content:center;gap:12px}
.seat{background:rgba(0,0,0,.48);border-color:rgba(245,189,39,.22)}
.stone-table{
  position:relative;
  z-index:2;
  width:min(760px,100%);
  min-height:270px;
  height:auto;
  margin:0 auto;
  padding:22px 16px 18px;
  border:10px solid #3a1d10;
  border-radius:38px;
  background:
    radial-gradient(circle at center,rgba(15,104,56,.52),rgba(5,26,15,.92) 72%),
    linear-gradient(180deg,#0d3b21,#07150d);
  box-shadow:inset 0 0 55px rgba(0,0,0,.62),0 16px 40px rgba(0,0,0,.45);
}
.stone-table::before{
  content:"";
  position:absolute;inset:10px;
  border:1px solid rgba(245,189,39,.18);
  border-radius:28px;
  pointer-events:none;
}
.mesa-title{top:10px}
.center-piles{display:grid;grid-template-columns:minmax(112px,140px) 26px minmax(112px,140px);gap:18px;align-items:center;margin:18px auto 0}
.pile-wrap{display:grid;justify-items:center}
.draw-pile-v51,.discard-card-img{
  width:132px;
  min-width:132px;
  height:188px;
  min-height:188px;
  border-radius:18px;
  padding:8px 7px 10px;
  background:linear-gradient(180deg,rgba(0,0,0,.58),rgba(0,0,0,.86));
  border:2px solid rgba(245,189,39,.28);
  box-shadow:0 12px 28px rgba(0,0,0,.48);
}
.pile-art-card,.discard-face{width:96px;height:132px;border-radius:12px;object-fit:cover;border:2px solid rgba(255,255,255,.14)}
.draw-pile-v51 strong,.discard-card-img strong{font-size:13px;line-height:1.1;margin-top:4px;text-align:center}
.draw-pile-v51 small,.discard-card-img span{font-size:11px}
.pile-label{margin-top:7px;font-size:.95rem}
.hand-zone{
  position:relative;
  z-index:2;
  left:auto;right:auto;bottom:auto;
  margin:0;
  border-radius:22px;
  padding:12px;
  background:linear-gradient(180deg,rgba(3,10,8,.82),rgba(2,5,5,.96));
  border:1px solid rgba(245,189,39,.18);
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.03),0 10px 28px rgba(0,0,0,.3);
}
.hand-title{display:flex;align-items:center;justify-content:center;gap:8px;flex-wrap:wrap}
.hand-title em{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;padding:5px 10px;background:rgba(16,185,129,.14);border:1px solid rgba(16,185,129,.35);font-style:normal;font-size:.9rem}
.turn-help{margin:2px 0 10px;font-size:.96rem}
.hand-v51{
  display:flex;
  flex-wrap:nowrap;
  align-items:flex-start;
  justify-content:flex-start;
  gap:10px;
  max-width:100%;
  overflow-x:auto;
  overflow-y:hidden;
  padding:6px 2px 12px;
  scroll-snap-type:x proximity;
  -webkit-overflow-scrolling:touch;
  scrollbar-width:thin;
  scrollbar-color:rgba(245,189,39,.7) rgba(255,255,255,.08);
}
.hand-v51::-webkit-scrollbar{height:8px}
.hand-v51::-webkit-scrollbar-track{background:rgba(255,255,255,.06);border-radius:999px}
.hand-v51::-webkit-scrollbar-thumb{background:rgba(245,189,39,.72);border-radius:999px}
.rune-card-img{
  width:90px;
  min-width:90px;
  height:124px;
  scroll-snap-align:start;
  flex:0 0 auto;
  border-radius:14px;
  overflow:hidden;
}
.rune-card-img.is-playable:hover{transform:translateY(-6px) scale(1.02)}
.card-face{width:100%;height:100%;border-radius:14px;border:1px solid rgba(255,255,255,.12);box-shadow:0 8px 18px rgba(0,0,0,.35)}
.card-mini-label{
  left:6px;right:6px;bottom:6px;
  background:rgba(0,0,0,.68);
  border:1px solid rgba(245,189,39,.20);
  border-radius:8px;
  padding:3px 4px;
  font-size:9px;
  line-height:1.15;
}
.hand-actions{justify-content:center;gap:8px;margin-top:6px}
.last-stone-btn{min-width:0;padding-inline:22px}
.runas-side{gap:14px}
.mini-panel h3{margin-top:0}
@media(max-width:980px){
  .runas-table-screen{grid-template-columns:1fr}
  .runas-side{grid-template-columns:1fr 1fr}
}
@media(max-width:720px){
  .runas-hud{gap:10px}
  .status-strip{font-size:.94rem}
  .runas-arena{padding:12px}
  .opponents-ring{justify-content:flex-start;overflow-x:auto;overflow-y:hidden;flex-wrap:nowrap;padding-bottom:2px}
  .opponents-ring::-webkit-scrollbar{height:6px}
  .stone-table{padding:18px 12px 14px;border-width:8px;border-radius:30px;min-height:220px}
  .center-piles{grid-template-columns:minmax(88px,110px) 12px minmax(88px,110px);gap:10px}
  .draw-pile-v51,.discard-card-img{width:100px;min-width:100px;height:144px;min-height:144px;padding:6px}
  .pile-art-card,.discard-face{width:72px;height:100px}
  .draw-pile-v51 strong,.discard-card-img strong{font-size:11px}
  .pile-label{font-size:.85rem}
  .rune-card-img{width:82px;min-width:82px;height:112px}
  .hand-zone{padding:10px}
  .runas-side{grid-template-columns:1fr}
}
@media(max-width:520px){
  .game-runas .app{width:min(100vw - 10px,1400px);margin:10px auto 28px}
  .room-badge strong{font-size:1rem}
  .room-icon img{width:34px;height:52px}
  .status-strip{gap:8px;padding:10px 12px}
  .status-strip span{font-size:.88rem}
  .opponents-title,.mesa-title{font-size:1.02rem}
  .seat{min-width:160px;padding:8px 10px}
  .stone-table{min-height:205px}
  .draw-pile-v51,.discard-card-img{width:92px;min-width:92px;height:132px;min-height:132px}
  .pile-art-card,.discard-face{width:66px;height:92px}
  .hand-v51{gap:8px;padding-bottom:8px}
  .rune-card-img{width:76px;min-width:76px;height:104px}
  .card-mini-label{display:none}
  .turn-help{font-size:.88rem}
  .last-stone-btn,.hand-actions .btn{width:100%}
}
.draw-pile-v51,.discard-card-img{position:relative}
.draw-pile-v51::after{
  content:"";
  position:absolute;
  inset:10px 14px auto auto;
  width:96px;height:132px;border-radius:12px;
  border:2px solid rgba(255,255,255,.08);
  background:rgba(255,255,255,.03);
  transform:translate(-8px,-6px);
  z-index:0;
}
.draw-pile-v51 > *,.discard-card-img > *{position:relative;z-index:1}
@media(max-width:720px){.draw-pile-v51::after{width:72px;height:100px}}
@media(max-width:520px){.draw-pile-v51::after{width:66px;height:92px}}


/* V54 — mesa no estilo mockup, jogadores ao redor e popups */
.runas-table-screen-v54{grid-template-columns:1fr!important}
.runas-arena-v54{
  position:relative;
  min-height:820px!important;
  padding:20px 22px 18px!important;
  overflow:hidden!important;
  background:
    linear-gradient(180deg,rgba(0,0,0,.10),rgba(0,0,0,.20)),
    url('/runas/assets/mesa-caverna-v54.webp?v=5600') center/cover no-repeat!important;
  border-radius:26px!important;
  border:1px solid rgba(148,255,172,.32)!important;
  box-shadow:inset 0 0 95px rgba(0,0,0,.55),0 24px 78px rgba(0,0,0,.5)!important;
}
.runas-arena-v54::before{
  content:"";
  position:absolute;inset:0;
  background:radial-gradient(circle at 50% 58%,rgba(98,255,135,.15),transparent 36%),linear-gradient(180deg,rgba(0,0,0,.06),rgba(0,0,0,.35));
  pointer-events:none;
}
.cave-lights{position:absolute;inset:0;pointer-events:none;background:radial-gradient(circle at 17% 28%,rgba(118,255,135,.28),transparent 7%),radial-gradient(circle at 84% 28%,rgba(118,255,135,.22),transparent 8%)}
.opponents-title{position:absolute;top:72px;left:50%;transform:translateX(-50%);z-index:4}
.opponents-map{position:absolute;inset:82px 28px 300px;z-index:5;pointer-events:none}
.opponents-map .seat{position:absolute;pointer-events:auto;min-width:210px;max-width:250px;background:rgba(5,11,9,.72);border:1px solid rgba(245,206,113,.45);box-shadow:0 12px 30px rgba(0,0,0,.4)}
.opponents-map .seat.is-active{border-color:#9df58a;box-shadow:0 0 0 2px rgba(99,255,120,.22),0 0 28px rgba(99,255,120,.34)}
.opponents-map .seat-0{left:50%;top:0;transform:translateX(-50%)}
.opponents-map .seat-1{left:16px;top:42%}
.opponents-map .seat-2{right:16px;top:42%}
.opponents-map .seat-3{left:23%;top:14%}
.opponents-map .seat-4{right:23%;top:14%}
.opponents-map .seat-5{left:34%;top:58%}
.opponents-map .seat-6{right:34%;top:58%}
.opponents-map .avatar{width:62px;height:62px;flex-basis:62px;border-width:2px}
.stone-table{
  position:absolute!important;
  z-index:3!important;
  left:50%!important;top:165px!important;
  transform:translateX(-50%)!important;
  width:min(880px,78vw)!important;
  min-height:355px!important;
  height:355px!important;
  margin:0!important;
  border:0!important;
  border-radius:50%!important;
  background:radial-gradient(ellipse at center,rgba(27,88,48,.5),rgba(8,41,25,.44) 47%,rgba(0,0,0,.08) 72%,transparent 74%)!important;
  box-shadow:none!important;
}
.stone-table::before{
  content:"";
  position:absolute;inset:8px 38px;
  border-radius:50%;
  border:2px solid rgba(177,154,74,.18);
  box-shadow:inset 0 0 65px rgba(0,0,0,.28),0 0 0 26px rgba(40,105,63,.08);
}
.mesa-title{top:20px!important;z-index:5}
.center-piles{position:absolute!important;left:50%;top:88px;transform:translateX(-50%);grid-template-columns:150px 44px 150px!important;gap:24px!important;align-items:center!important;margin:0!important}
.draw-pile-v51,.discard-card-img{
  width:150px!important;min-width:150px!important;height:214px!important;min-height:214px!important;
  border-radius:17px!important;
  border:1px solid rgba(245,210,116,.35)!important;
  background:rgba(0,0,0,.42)!important;
  box-shadow:0 18px 34px rgba(0,0,0,.48),0 0 22px rgba(110,255,145,.14)!important;
}
.pile-art-card,.discard-face{width:122px!important;height:166px!important;border-radius:12px!important}
.pile-arrow{color:#9ee985;font-size:26px;text-shadow:0 0 12px rgba(120,255,135,.7)}
.pile-label{font-family:Georgia,serif;color:#f4ddb0!important;font-size:1.25rem!important;text-shadow:0 2px 3px #000}
.hand-zone{
  position:absolute!important;
  z-index:6!important;
  left:46px!important;right:46px!important;bottom:26px!important;
  margin:0!important;
  padding:18px 18px 16px!important;
  border-radius:20px!important;
  background:linear-gradient(180deg,rgba(6,19,12,.75),rgba(3,8,7,.92))!important;
  border:1px solid rgba(112,255,148,.24)!important;
  box-shadow:0 -16px 46px rgba(0,0,0,.36),inset 0 0 26px rgba(105,255,144,.05)!important;
}
.hand-title{top:-18px!important}
.hand-v51{
  justify-content:flex-start!important;
  overflow-x:auto!important;
  overflow-y:hidden!important;
  scroll-snap-type:x proximity;
  gap:12px!important;
  padding:8px 6px 12px!important;
  max-width:100%!important;
}
.rune-card-img{width:118px!important;min-width:118px!important;height:158px!important;scroll-snap-align:start!important}
.card-mini-label{display:none!important}
.rune-card-img.is-playable{filter:drop-shadow(0 0 10px currentColor) brightness(1.05)}
.rune-card-img:not(.is-playable){filter:brightness(.75) saturate(.85)}
.runas-side-v54{grid-template-columns:1fr 1fr!important;margin-top:14px}
.runas-modal{position:fixed;inset:0;z-index:99;display:grid;place-items:center;background:rgba(0,0,0,.66);backdrop-filter:blur(4px);padding:18px}
.modal-card{width:min(460px,calc(100vw - 32px));border:1px solid rgba(245,189,39,.45);border-radius:22px;background:linear-gradient(180deg,rgba(10,16,13,.98),rgba(2,5,5,.98));padding:24px;text-align:center;box-shadow:0 24px 90px rgba(0,0,0,.7)}
.modal-card h2{margin:0 0 10px;font-family:Georgia,serif;color:#f9e5ad}
.modal-card p{color:#d9f6e4}
.color-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:18px 0}
.color-choice{display:flex;align-items:center;gap:10px;justify-content:center;border-radius:16px;border:1px solid rgba(255,255,255,.16);background:#111;color:#fff;padding:14px 12px;font-weight:900;cursor:pointer}
.color-choice span{width:26px;height:26px;border-radius:50%;box-shadow:0 0 16px currentColor}
.color-choice-musgo{color:#77e879}.color-choice-musgo span{background:#10b981}
.color-choice-ambar{color:#ffd45a}.color-choice-ambar span{background:#f5bd27}
.color-choice-abismo{color:#80a3ff}.color-choice-abismo span{background:#2563eb}
.color-choice-magma{color:#ff796d}.color-choice-magma span{background:#ef4444}
.buy-modal .btn{margin:6px}
@media(max-width:900px){
  .runas-arena-v54{min-height:760px!important;padding:14px!important}
  .opponents-map{inset:75px 12px 285px}
  .opponents-map .seat{min-width:170px;max-width:210px}
  .opponents-map .avatar{width:50px;height:50px;flex-basis:50px}
  .stone-table{top:175px!important;width:94vw!important;height:300px!important;min-height:300px!important}
  .center-piles{grid-template-columns:116px 24px 116px!important;gap:14px!important;top:78px}
  .draw-pile-v51,.discard-card-img{width:116px!important;min-width:116px!important;height:166px!important;min-height:166px!important}
  .pile-art-card,.discard-face{width:88px!important;height:122px!important}
  .pile-label{font-size:1rem!important}
  .hand-zone{left:12px!important;right:12px!important;bottom:16px!important;padding:14px 12px!important}
  .rune-card-img{width:90px!important;min-width:90px!important;height:122px!important}
  .runas-side-v54{grid-template-columns:1fr!important}
}
@media(max-width:560px){
  .runas-arena-v54{min-height:705px!important}
  .opponents-title{top:64px}
  .opponents-map{inset:76px 8px 270px}
  .opponents-map .seat{min-width:146px;max-width:160px;padding:7px;gap:7px}
  .opponents-map .seat strong{font-size:.92rem}
  .opponents-map .seat span{font-size:.78rem}
  .opponents-map .avatar{width:42px;height:42px;flex-basis:42px}
  .opponents-map .seat-1{left:0;top:45%}
  .opponents-map .seat-2{right:0;top:45%}
  .opponents-map .seat-3,.opponents-map .seat-4{display:none}
  .stone-table{top:178px!important;height:250px!important;min-height:250px!important;width:100%!important}
  .center-piles{grid-template-columns:92px 12px 92px!important;gap:8px!important;top:66px}
  .draw-pile-v51,.discard-card-img{width:92px!important;min-width:92px!important;height:132px!important;min-height:132px!important}
  .pile-art-card,.discard-face{width:68px!important;height:94px!important}
  .draw-pile-v51 strong,.discard-card-img strong{font-size:10px!important}
  .hand-zone{bottom:10px!important}
  .rune-card-img{width:76px!important;min-width:76px!important;height:102px!important}
  .last-stone-btn{font-size:1rem!important}
}


/* V55 — avatares randômicos e runa do jogador */
.room-icon{
  overflow:hidden;
  padding:0;
}
.room-icon img{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
  border-radius:inherit;
  filter:drop-shadow(0 0 8px rgba(111,255,166,.45));
}
.avatar{
  overflow:hidden;
  padding:0!important;
}
.avatar-img{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
  border-radius:50%;
}
.seat.is-me .avatar{
  border-color:#f5bd27!important;
  box-shadow:0 0 14px rgba(245,189,39,.38), inset 0 0 12px rgba(0,0,0,.55);
}


/* V56 — correções Felipe: verso correto, runa no topo, mão mobile sem barra visual */
.room-icon{
  flex:0 0 58px!important;
  width:58px!important;
  height:58px!important;
  border-radius:14px!important;
  display:grid!important;
  place-items:center!important;
  overflow:hidden!important;
  background:radial-gradient(circle at 50% 45%,rgba(70,255,145,.22),rgba(2,10,8,.95))!important;
  border:1px solid rgba(114,255,166,.56)!important;
  box-shadow:0 0 18px rgba(88,255,147,.22), inset 0 0 18px rgba(0,0,0,.72)!important;
}
.room-icon img{width:100%!important;height:100%!important;object-fit:cover!important;border-radius:12px!important;display:block!important;}
.runas-arena-v54{
  min-height:760px!important;
  display:grid!important;
  grid-template-rows:70px 1fr auto!important;
  row-gap:10px!important;
  padding:18px 22px 16px!important;
}
.opponents-title{position:relative!important;top:auto!important;left:auto!important;transform:none!important;grid-row:1;margin:4px auto 0!important;align-self:start!important;}
.opponents-map{position:absolute!important;left:28px!important;right:28px!important;top:80px!important;bottom:300px!important;z-index:5!important;pointer-events:none!important;}
.stone-table{
  position:relative!important;
  left:auto!important;top:auto!important;transform:none!important;
  grid-row:2!important;
  align-self:center!important;
  justify-self:center!important;
  width:min(860px,86vw)!important;
  height:330px!important;
  min-height:330px!important;
  margin:0!important;
}
.center-piles{
  position:absolute!important;
  left:50%!important;top:70px!important;
  transform:translateX(-50%)!important;
  grid-template-columns:140px 34px 140px!important;
  gap:22px!important;
  margin:0!important;
}
.draw-pile-v51,.discard-card-img{width:140px!important;min-width:140px!important;height:202px!important;min-height:202px!important;}
.pile-art-card,.discard-face{width:112px!important;height:154px!important;}
.hand-zone{
  position:relative!important;
  z-index:7!important;
  left:auto!important;right:auto!important;bottom:auto!important;
  grid-row:3!important;
  width:min(1120px,100%)!important;
  justify-self:center!important;
  margin:0 auto!important;
  padding:14px 14px 12px!important;
  overflow:hidden!important;
}
.hand-v51{
  justify-content:flex-start!important;
  overflow-x:auto!important;
  overflow-y:hidden!important;
  -webkit-overflow-scrolling:touch!important;
  touch-action:pan-x!important;
  overscroll-behavior-x:contain!important;
  scrollbar-width:none!important;
  -ms-overflow-style:none!important;
  padding:6px 6px 10px!important;
  gap:10px!important;
}
.hand-v51::-webkit-scrollbar{display:none!important;width:0!important;height:0!important;}
.rune-card-img{width:104px!important;min-width:104px!important;height:140px!important;}
.card-face{border-radius:12px!important;}
.draw-pile-v51::after{display:none!important;}
.buy-modal .btn{margin:6px!important;}
.buy-modal .btn.danger{background:#7f1d1d!important;border-color:#ef4444!important;color:#fff!important;}

@media(max-width:900px){
  .runas-arena-v54{min-height:690px!important;grid-template-rows:58px 1fr auto!important;padding:12px!important;}
  .opponents-map{left:10px!important;right:10px!important;top:66px!important;bottom:245px!important;}
  .stone-table{width:100%!important;height:265px!important;min-height:265px!important;align-self:center!important;}
  .center-piles{top:56px!important;grid-template-columns:108px 18px 108px!important;gap:12px!important;}
  .draw-pile-v51,.discard-card-img{width:108px!important;min-width:108px!important;height:156px!important;min-height:156px!important;}
  .pile-art-card,.discard-face{width:82px!important;height:112px!important;}
  .pile-label{font-size:.95rem!important;margin-top:4px!important;}
  .rune-card-img{width:82px!important;min-width:82px!important;height:112px!important;}
  .hand-zone{padding:11px 10px!important;}
}
@media(max-width:560px){
  .room-icon{width:48px!important;height:48px!important;flex-basis:48px!important;}
  .runas-arena-v54{min-height:640px!important;grid-template-rows:46px 1fr auto!important;padding:8px!important;}
  .opponents-title{font-size:.9rem!important;letter-spacing:.12em!important;}
  .opponents-map{top:52px!important;bottom:232px!important;}
  .opponents-map .seat{min-width:138px!important;max-width:154px!important;}
  .opponents-map .avatar{width:38px!important;height:38px!important;flex-basis:38px!important;}
  .stone-table{height:232px!important;min-height:232px!important;width:100%!important;}
  .center-piles{top:47px!important;grid-template-columns:82px 8px 82px!important;gap:7px!important;}
  .draw-pile-v51,.discard-card-img{width:82px!important;min-width:82px!important;height:120px!important;min-height:120px!important;padding:4px!important;}
  .pile-art-card,.discard-face{width:62px!important;height:86px!important;}
  .draw-pile-v51 strong,.discard-card-img strong{font-size:9px!important;}
  .draw-pile-v51 small{font-size:9px!important;}
  .pile-label{font-size:.78rem!important;}
  .hand-title{font-size:.9rem!important;margin-bottom:5px!important;}
  .turn-help{font-size:.78rem!important;margin:0 0 6px!important;}
  .hand-v51{gap:7px!important;padding:4px 3px 7px!important;}
  .rune-card-img{width:70px!important;min-width:70px!important;height:94px!important;}
  .last-stone-btn{padding:10px 12px!important;font-size:.92rem!important;}
}

/* V58 - estilo refinado do botão Última Pedra para ficar como referência 1 */
.last-stone-btn{
  width:auto !important;
  min-width:290px !important;
  max-width:360px;
  padding:14px 28px !important;
  border-radius:14px !important;
  border:2px solid rgba(245,189,39,.68) !important;
  background:
    linear-gradient(180deg, rgba(82,59,10,.32), rgba(34,25,5,.62)),
    linear-gradient(135deg, #201705, #0b0905) !important;
  color:#f4d06a !important;
  font-family:Georgia,serif !important;
  font-size:1.05rem !important;
  font-weight:800 !important;
  letter-spacing:.01em;
  box-shadow:
    inset 0 0 0 1px rgba(255,233,160,.12),
    inset 0 0 24px rgba(245,189,39,.08),
    0 10px 24px rgba(0,0,0,.28);
  display:inline-flex !important;
  align-items:center;
  justify-content:center;
  gap:10px;
}
.last-stone-btn:hover{
  transform:translateY(-1px);
  filter:brightness(1.06);
  box-shadow:
    inset 0 0 0 1px rgba(255,233,160,.16),
    inset 0 0 28px rgba(245,189,39,.12),
    0 12px 28px rgba(0,0,0,.34),
    0 0 16px rgba(245,189,39,.12);
}
.last-stone-btn:before{
  content:"◈";
  font-size:1.02rem;
  color:#f4d06a;
  line-height:1;
}
.hand-actions{justify-content:center}
@media(max-width:980px){
  .last-stone-btn{min-width:250px !important;max-width:320px;font-size:1rem !important;padding:13px 20px !important}
}
@media(max-width:620px){
  .last-stone-btn{
    width:auto !important;
    min-width:0 !important;
    max-width:none;
    padding:12px 18px !important;
    font-size:1rem !important;
    border-radius:12px !important;
  }
  .hand-actions .btn:not(.last-stone-btn){width:100%}
}

/* V59 — botão Última Pedra como imagem */
.last-stone-img-btn{
  appearance:none;
  -webkit-appearance:none;
  border:0;
  background:transparent;
  padding:0;
  margin:0 auto;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  width:min(380px, 84vw);
  max-width:100%;
  line-height:0;
  touch-action:manipulation;
  filter:drop-shadow(0 8px 14px rgba(0,0,0,.35));
  transition:transform .12s ease, filter .12s ease;
}
.last-stone-img-btn img{
  display:block;
  width:100%;
  height:auto;
  pointer-events:none;
  user-select:none;
  -webkit-user-drag:none;
}
.last-stone-img-btn:hover{transform:translateY(-1px);filter:drop-shadow(0 10px 16px rgba(0,0,0,.42)) brightness(1.04)}
.last-stone-img-btn:active{transform:scale(.98)}
.hand-actions{justify-content:center;align-items:center;gap:10px;}
@media(max-width:620px){
  .last-stone-img-btn{width:min(315px, 82vw);}
  .hand-actions .btn:not(.last-stone-img-btn){width:100%;}
}
@media(max-width:380px){
  .last-stone-img-btn{width:260px;}
}
