.truco-home{isolation:isolate;min-height:100dvh;padding:24px 20px;position:relative}.truco-home .scenery img{filter:saturate(1.28)brightness(1.08)}.truco-home .scenery:after{background:linear-gradient(to bottom,var(--caribbean-shade) 0%,var(--caribbean-shade) 48%,var(--caribbean-bottom) 100%)}.truco-home .truco-welcome{color:var(--caribbean-light);text-shadow:var(--caribbean-text-shadow)}.truco-home .truco-welcome h1{color:var(--caribbean-sun);text-shadow:var(--caribbean-text-shadow)}.caribbean-button{box-shadow:var(--caribbean-button-glow);text-shadow:none;font-weight:700;transition:filter .2s,box-shadow .2s}.caribbean-button:hover{filter:brightness(1.12);box-shadow:var(--caribbean-button-glow),0 0 18px var(--gold-dim)}.caribbean-sun{background:var(--caribbean-sun-gradient)}.caribbean-sea{background:var(--caribbean-sea-gradient)}.caribbean-palm{background:var(--caribbean-palm-gradient)}.truco-welcome{text-align:center;max-width:900px;margin:auto}.truco-logo{object-fit:contain;border-radius:6px;width:170px;height:226px;margin:0 auto 10px;display:block}.truco-welcome h1{font:700 32px/1.2 var(--font-display);color:var(--gold);margin:8px 0 20px}.truco-welcome .field-label{max-width:440px;margin:16px auto}.truco-variants{grid-template-columns:1fr 1fr;gap:8px;max-width:620px;margin:14px auto;display:grid}.truco-variants button{white-space:normal;border:1px solid var(--caribbean-edge);height:auto;min-height:52px;font-size:12px}.truco-variants button[aria-pressed=true]{outline:2px solid var(--caribbean-light);outline-offset:3px}.truco-welcome-actions{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:22px 0;display:grid}.truco-welcome-actions button{white-space:normal;flex-direction:column;gap:6px;height:auto;min-height:65px}.truco-home-tools{flex-wrap:wrap;justify-content:center;gap:8px;margin:16px 0;display:flex}.truco-home .vip-video-banner{white-space:normal;width:100%;height:auto;min-height:44px}.truco-home .legal-footer{margin:20px 0 0}.truco-practice.game-app{flex-direction:column;height:100dvh;padding:0 16px 8px;display:flex;overflow:hidden}.truco-practice .app-header{flex:none;height:52px;min-height:52px;padding:6px 0}.truco-practice .brand-name{font-size:28px}.truco-practice .brand-subtitle{margin:3px 0;font-size:7px}.truco-practice .game-layout{flex-direction:column;flex:1;width:100%;min-height:0;display:flex}.truco-table{isolation:isolate;background:var(--truco-wood-gradient);border:1px solid var(--gold-dim);min-height:0;box-shadow:var(--truco-rail-shadow);border-radius:8px;flex:1;grid-template-rows:auto auto minmax(75px,1fr) auto auto auto;gap:8px;padding:30px 28px 26px;display:grid;position:relative;overflow:hidden}.truco-table:before{content:"";z-index:-1;pointer-events:none;background:repeating-linear-gradient(0deg,transparent 0 2px,var(--truco-felt-fiber) 2px 3px),repeating-linear-gradient(90deg,transparent 0 3px,var(--truco-felt-fiber) 3px 4px),var(--truco-felt-gradient);box-shadow:var(--truco-felt-shadow);border-radius:4px;position:absolute;inset:16px}.truco-frame-flags{pointer-events:none;align-items:center;gap:24px;height:14px;display:flex;position:absolute;top:1px;left:50%;transform:translate(-50%)}.truco-frame-flags img{object-fit:cover;outline:1px solid var(--gold-dim);border-radius:1px;width:22px;height:12px;display:block}.truco-table-watermark{z-index:-1;object-fit:contain;opacity:.24;pointer-events:none;-webkit-user-select:none;user-select:none;width:min(62%,310px);height:95%;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.truco-table .truco-scoreboard small,.truco-table .truco-rounds{color:var(--truco-table-muted)}.truco-table .truco-baza small,.truco-table .truco-opponent strong{text-shadow:var(--table-text-shadow)}.truco-scoreboard{color:var(--gold);justify-content:space-between;align-items:center;gap:8px;font-size:12px;display:flex}.truco-scoreboard strong{font-size:25px}.truco-scoreboard small{color:var(--muted-foreground);font-size:10px}.truco-score-teams{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;min-width:210px;max-width:65%;display:grid}.truco-team-score{flex-direction:column;align-items:center;min-width:0;padding:3px 5px 18px;display:flex;position:relative}.truco-team-score>small{overflow-wrap:anywhere;text-align:center;max-width:100%}.truco-team-score.near-victory>strong,.truco-team-score.near-victory>small{color:var(--caribbean-sun)}.truco-near-victory{white-space:nowrap;color:var(--caribbean-sun);text-shadow:var(--truco-effect-glow);font-size:9px;font-weight:800;animation:1.4s ease-in-out 3 truco-gold-pulse;position:absolute;bottom:0}.truco-opponents{justify-content:space-around;gap:6px;display:flex}.truco-opponent{flex-direction:column;align-items:center;gap:6px;min-width:0;font-size:11px;display:flex;position:relative}.truco-opponent strong{overflow-wrap:anywhere;max-width:100%}.truco-opponent.active{color:var(--gold)}.truco-hidden{gap:4px;display:flex}.truco-hidden .playing-card{width:35px;height:52px}.truco-hidden .back-monogram{width:22px;height:27px;font-size:20px}.truco-middle{isolation:isolate;justify-content:center;align-items:center;gap:20px;min-height:0;display:flex;position:relative}.truco-muestra{letter-spacing:.05em;color:var(--gold);flex-direction:column;flex:none;align-items:center;gap:5px;font-size:10px;font-weight:700;display:flex}.truco-muestra .playing-card{outline:2px solid var(--gold);outline-offset:3px;width:87px;height:128px;box-shadow:var(--card-shadow),0 0 16px var(--gold-dim)}.truco-muestra .card-corner{width:18px}.truco-muestra .card-corner b{font-size:20px}.truco-baza{flex-wrap:wrap;justify-content:center;align-items:center;gap:10px;display:flex}.truco-baza>div{flex-direction:column;align-items:center;gap:5px;display:flex}.truco-baza small{overflow-wrap:anywhere;max-width:90px;font-size:9px}.truco-table .truco-baza .playing-card{width:76px;height:111px}.truco-rounds{color:var(--muted-foreground);justify-content:center;gap:12px;font-size:10px;display:flex}.truco-rounds .won{color:var(--gold)}.truco-notice{text-align:center;min-height:30px;color:var(--gold);overflow-wrap:anywhere;justify-content:center;align-items:center;font-size:12px;display:flex}.truco-call-controls{flex-wrap:wrap;justify-content:center;gap:6px;min-height:38px;display:flex}.truco-call-controls button{height:36px;padding:0 12px;font-size:11px}.truco-call-controls .truco-response{min-width:120px;height:44px;min-height:44px;font-size:17px}.truco-hand{justify-content:center;align-items:center;gap:12px;min-height:145px;padding-top:12px;display:flex;position:relative}.truco-hand .playing-card{width:88px;height:130px}.truco-hand .playing-card:disabled{opacity:1}.truco-hand .card-corner b{font-size:24px}.truco-hand .playing-card.playable:hover{background:var(--card-paper);transform:translateY(-8px)}.truco-table-footer{justify-content:space-between;align-items:center;gap:8px;font-size:11px;display:flex}.truco-table-footer button{font-size:11px}.truco-burst{pointer-events:none;z-index:10;justify-content:center;align-items:flex-start;padding-top:clamp(85px,25dvh,240px);animation:.25s ease-out truco-flash;display:flex;position:absolute;inset:0;overflow:hidden}.truco-burst strong{font:800 36px/1.25 var(--font-display);color:var(--caribbean-sun);text-align:center;text-shadow:var(--caribbean-text-shadow);overflow-wrap:anywhere;background:var(--truco-banner-fill);max-width:95%;padding:10px 20px}.truco-effect-call:before{content:"";border:4px solid var(--caribbean-sun);border-left-color:var(--flag-blue);border-right-color:var(--flag-red);box-shadow:inset 0 0 30px var(--gold-dim),var(--truco-effect-glow);animation:.65s ease-in-out 3 truco-frame-pulse;position:absolute;inset:2px}.truco-effect-brava:before,.truco-effect-bluff:before{content:"";border:2px solid var(--caribbean-sun);box-shadow:inset 0 0 22px var(--gold-dim);animation:.6s ease-out 3 truco-gold-pulse;position:absolute;inset:2px}.truco-brava-card .playing-card{box-shadow:var(--card-shadow),var(--truco-effect-glow);animation:.3s ease-out truco-impact}.truco-flor-rain{pointer-events:none;z-index:11;color:var(--caribbean-sun);justify-content:space-around;display:flex;position:absolute;inset:-16px -12px 0;overflow:hidden}.truco-flor-rain span{text-shadow:var(--truco-effect-glow);font-size:22px;animation:1.3s ease-out both truco-flor-fall}.truco-flor-rain span:nth-child(3n){animation-delay:.2s}.truco-flor-rain span:nth-child(3n+1){animation-delay:.4s}.truco-burst .truco-sparks{color:var(--gold);justify-content:space-around;display:flex;position:absolute;inset:0}.truco-sparks span{font-size:30px;animation:1.5s ease-out both truco-spark}.truco-sparks span:nth-child(2n){animation-delay:.3s}.truco-victory{z-index:9;background:var(--scenery-bottom);text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:15px;padding:24px;display:flex;position:absolute;inset:0}.truco-victory h2{font:700 30px var(--font-display);color:var(--gold)}.truco-victory>svg{width:70px;height:70px;color:var(--gold);animation:1s ease-in-out infinite alternate truco-trophy}.truco-victory .truco-sparks{pointer-events:none;justify-content:space-around;display:flex;position:absolute;inset:0}.truco-rules{text-align:left}.truco-rules p{color:var(--foreground)}.truco-rules h3{color:var(--gold);margin-top:18px}.ranking-logo{object-fit:contain;width:100px;height:134px}.admin-brand img{object-fit:contain}@keyframes truco-flash{0%{opacity:0}to{opacity:1}}@keyframes truco-gold-pulse{0%,to{opacity:1}50%{opacity:.55}}@keyframes truco-frame-pulse{0%,to{opacity:.5}50%{opacity:1}}@keyframes truco-impact{35%{transform:translateY(3px)rotate(-2deg)}70%{transform:translateY(-2px)rotate(1deg)}}@keyframes truco-flor-fall{0%{opacity:0;transform:translateY(-12px)rotate(0)}20%{opacity:1}to{opacity:0;transform:translateY(140px)rotate(180deg)}}@keyframes truco-spark{0%{opacity:0;transform:translateY(-30px)}30%{opacity:1}to{opacity:0;transform:translateY(75dvh)rotate(180deg)}}@keyframes truco-trophy{to{transform:translateY(-8px)rotate(5deg)}}@media (width<=600px){.truco-home{padding:16px 12px}.truco-logo{width:120px;height:160px}.truco-welcome h1{font-size:27px}.truco-welcome-actions{gap:6px}.truco-welcome-actions button,.truco-variants button{padding:8px;font-size:11px}.truco-table{gap:5px;padding:8px}.truco-middle{gap:12px}.truco-table .truco-baza .playing-card{width:52px;height:77px}.truco-muestra .playing-card{width:62px;height:93px}.truco-muestra .card-corner b{font-size:15px}.truco-hand{gap:10px;min-height:103px;padding-top:8px}.truco-hand .playing-card{width:65px;height:96px}.truco-table .truco-hand .card-corner b{font-size:20px}.truco-call-controls button{height:32px;min-height:32px;padding:0 8px;font-size:10px}.truco-hidden .playing-card{width:25px;height:37px}.truco-hidden .back-monogram{width:15px;height:19px;font-size:13px}.truco-scoreboard strong{font-size:20px}.truco-notice{min-height:28px;font-size:10px}.truco-burst strong{font-size:30px}.truco-call-controls .truco-response{min-width:100px;font-size:15px}}@media (height<=650px){.truco-table{gap:2px;padding:5px}.truco-hidden{display:none}.truco-hand{min-height:92px}.truco-hand .playing-card{width:59px;height:87px}.truco-table .truco-baza .playing-card{width:45px!important;height:66px!important}.truco-muestra .playing-card{outline-offset:2px;width:65px!important;height:96px!important}.truco-muestra{gap:2px;font-size:8px}.truco-muestra .card-corner b{font-size:14px}.truco-call-controls button{height:29px;min-height:29px}.truco-notice{min-height:18px}.truco-rounds{font-size:9px}}@media (width<=600px){.truco-score-teams{gap:4px;min-width:180px;max-width:66%}.truco-scoreboard>span{max-width:32%;font-size:9px}.truco-near-victory{font-size:8px}.truco-burst{padding-top:clamp(65px,23dvh,190px)}.truco-burst strong{padding:8px 12px;font-size:24px}}@media (prefers-reduced-motion:reduce){.truco-burst,.truco-burst:before,.truco-sparks span,.truco-flor-rain span,.truco-brava-card .playing-card,.truco-near-victory,.truco-victory>svg{animation:none}.truco-flor-rain span{opacity:1}}@media (width<=600px){.truco-table{padding:24px 20px 20px}.truco-table:before{inset:14px 12px 12px}.truco-frame-flags{gap:17px}.truco-table-watermark{width:70%}}@media (height<=650px){.truco-table{padding:20px 16px 16px}.truco-table:before{inset:14px 10px 10px}}@media (width<=360px){.truco-table-footer{flex-wrap:wrap;gap:3px}.truco-table-footer>span{flex-basis:100%}.truco-table-footer>div{margin-left:auto}.truco-scoreboard>span{max-width:36%}.truco-score-teams{min-width:155px}}.game-app.truco-room{flex-direction:column;height:100dvh;padding:0 12px 6px;display:flex;overflow:hidden}.truco-room .app-header{flex:none;height:48px;min-height:48px;padding:4px 0}.truco-room .brand-name{font-size:27px}.truco-room .brand-subtitle{display:none}.truco-room .game-layout{flex-direction:column;flex:1;width:100%;min-height:0;display:flex}.truco-room .room-video{flex:none}.truco-room .truco-table{min-height:0}.truco-room .room-error,.truco-room .room-notice{margin:3px 0;font-size:10px}.truco-room .online-voice{flex:none;margin:3px 0}.truco-room .walkie-button{height:30px}@media (width<=600px){.truco-room .truco-hand{min-height:87px}.truco-room .truco-hand .playing-card{width:57px;height:84px}.truco-room .truco-opponents .truco-hidden{display:none}.truco-room .truco-table-footer>span{font-size:9px}.truco-room .truco-table-footer button{height:30px;font-size:9px}.truco-room .truco-middle{gap:8px}.truco-room .truco-table .truco-baza .playing-card{width:42px;height:62px}}.truco-room .truco-scoreboard strong{font-size:20px}.truco-room .truco-team-score{padding:3px 5px 14px}.truco-room .truco-notice{min-height:22px;font-size:11px}.truco-room .truco-rounds{gap:8px;font-size:9px}@media (height<=650px){.truco-room .truco-muestra .playing-card{width:45px!important;height:66px!important}}.truco-call-controls .truco-call-button{background:var(--truco-call-green);color:var(--truco-call-text);border:2px solid var(--truco-call-glow);box-shadow:0 0 14px var(--truco-call-glow), inset 0 1px 0 oklch(100% 0 0/.35);letter-spacing:.02em;text-shadow:0 1px 2px oklch(0% 0 0/.55);height:40px;padding:0 14px;font-size:15px;font-weight:900}.truco-call-controls .truco-call-button:hover:not(:disabled){filter:brightness(1.08)}.truco-call-controls .truco-response.truco-call-button{height:46px;font-size:18px}.truco-fold{background:var(--truco-fold);color:var(--truco-call-text);border:1px solid oklch(60% .15 40/.6);font-weight:800}.truco-fold:hover:not(:disabled){filter:brightness(1.12)}@media (width<=600px){.truco-call-controls .truco-call-button{height:36px;padding:0 9px;font-size:13px}.truco-call-controls .truco-response.truco-call-button{height:42px;font-size:16px}}@media (height<=650px){.truco-call-controls .truco-call-button{height:32px}}
