/* Mesa do Caos 0.2 — felt, paper and a real hand of cards. No external fonts/assets. */
:root{color-scheme:dark;--bg:#10251f;--deep:#0b1b17;--felt:#234d40;--paper:#f4eddd;--ink:#18251f;--text:#f3efdf;--muted:#a8b9ad;--accent:#fa916b;--line:#ffffff18;--green:#c4df9b;--font:Inter,"Segoe UI",system-ui,-apple-system,BlinkMacSystemFont,sans-serif}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:20px}body{margin:0;font:15px/1.55 var(--font);background:radial-gradient(ellipse at 35% 15%,#20403388,transparent 60%),var(--bg);color:var(--text);min-width:320px}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed}button,a,input,select,textarea,summary{-webkit-tap-highlight-color:transparent}button{color:inherit}button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,summary:focus-visible,a:focus-visible{outline:3px solid var(--accent);outline-offset:4px}button:disabled:not(.answer-card){opacity:.48}a{color:var(--accent)}h1,h2,h3,p{margin-top:0}h1,h2,h3{line-height:1.15;letter-spacing:-.035em}h2{font-size:25px}h3{font-size:20px}p{color:var(--muted)}.icon{width:20px;height:20px;flex-shrink:0;vertical-align:middle}button svg{pointer-events:none}.shell{width:min(1400px,100%);padding:0 40px;margin:auto}.nav{height:102px;display:flex;align-items:center;justify-content:space-between;gap:20px;border-bottom:1px solid var(--line)}.brand{border:0;background:none;padding:0;display:flex;align-items:center;gap:10px;text-align:left}.brand>svg{height:45px;width:42px}.brand-name{font-size:18px;font-weight:850;line-height:.92;letter-spacing:-1px}.brand-name>span{display:block;font-size:30px}.beta{font-size:10px;letter-spacing:1.2px;border:1px solid var(--line);border-radius:5px;padding:3px 6px;margin-left:12px;color:var(--muted);font-weight:600}.nav-links{display:flex;align-items:center;gap:13px}.btn{border:1px solid transparent;min-height:46px;display:inline-flex;align-items:center;justify-content:center;gap:9px;border-radius:9px;font-weight:650;padding:11px 19px;font-size:14px;line-height:1.35;text-decoration:none;transition:transform .15s,background .15s,border-color .15s;white-space:normal}.btn:hover:not(:disabled){transform:translateY(-1px)}.primary{background:var(--accent);color:#241b13;box-shadow:0 4px 0 #9b513633}.primary:hover:not(:disabled){background:#ffab87}.secondary{background:#ffffff07;border-color:#c1cabb44}.secondary:hover:not(:disabled){background:#ffffff10;border-color:#c1cabb80}.ghost{background:transparent;color:var(--muted);padding:9px 12px}.ghost:hover:not(:disabled){background:#ffffff08;color:var(--text)}.small{min-height:37px;padding:8px 12px;font-size:12px}.full{width:100%}.danger{color:#ffb4a2}.danger.primary,.btn.danger:not(.ghost){background:#a43a36;color:white}.button-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.icon-button{width:38px;height:38px;background:#ffffff08;border:1px solid var(--line);border-radius:8px;color:var(--text);font-size:21px;display:inline-flex;align-items:center;justify-content:center}.icon-button:hover{background:#ffffff18}.profile-button{display:flex;align-items:center;gap:10px;background:#ffffff05;padding:6px 13px 6px 7px;border:1px solid var(--line);border-radius:40px;font-size:13px;font-weight:600;max-width:220px}.profile-button>span:last-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.avatar{width:48px;height:48px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;font-size:16px;letter-spacing:-.6px;font-weight:800;background:#365b4e;color:#e9f2d5;border:2px solid #d4e9c125;position:relative;overflow:hidden}.avatar img{position:absolute;width:100%;height:100%;inset:0;object-fit:cover}.avatar img.photo-failed{display:none}.profile-button .avatar{width:33px;height:33px;font-size:12px}.avatar.large{width:54px;height:54px;font-size:20px}.avatar.tiny{width:22px;height:22px;font-size:9px;border-width:1px}.eyebrow{font-size:10px;font-weight:700;letter-spacing:2px;text-transform:uppercase;color:var(--green);display:inline-flex;align-items:center;gap:8px}.eyebrow .icon{width:15px;height:15px}.dot{width:7px;height:7px;border-radius:100%;background:var(--green);display:inline-block;flex-shrink:0}.muted,.helper{color:var(--muted)}.helper{font-size:12px;line-height:1.6;margin:9px 0}.purple{color:var(--green)}.footer{border-top:1px solid var(--line);padding:23px 0;margin-top:48px;display:flex;justify-content:space-between;gap:20px;color:#94aa9d;font-size:11px}.footer .icon{width:15px;height:15px;margin-right:7px}.home-main .hero{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(330px,.85fr);gap:70px;align-items:center;padding:58px 0 30px}.hero-tag{font-size:10px;letter-spacing:2px}.hero h1{font-size:clamp(46px,4.7vw,72px);letter-spacing:-4px;margin:23px 0 22px;font-weight:850;line-height:1.04}.hero h1 em{font-style:normal;color:var(--accent)}.lead{font-size:18px;line-height:1.65;margin:0;color:#c5d0c4}.sample-stage{height:310px;position:relative;margin:28px 0 8px;isolation:isolate;max-width:660px}.sample-stage:before{content:"";position:absolute;inset:16px -10px 12px -8px;border-radius:50%;background:radial-gradient(ellipse,#2e5c48,transparent 70%);z-index:-2}.table-stamp{position:absolute;inset:34px 10px auto auto;border:2px solid #d9e7c210;color:#d9e7c210;font-weight:800;letter-spacing:4px;font-size:21px;line-height:1.2;text-align:center;width:125px;height:125px;border-radius:50%;padding-top:31px;transform:rotate(15deg)}.table-stamp strong{font-size:15px}.sample-card{position:absolute;top:28px;width:180px;height:244px;border-radius:10px;padding:19px 18px;display:flex;flex-direction:column;justify-content:space-between;background:var(--paper);color:var(--ink);border:1px solid #fff9;box-shadow:0 14px 22px #06140f66,0 3px 0 #ccc4ae;font-weight:700}.sample-card h3{font-size:21px;line-height:1.25;margin:0;letter-spacing:-.7px}.sample-card small{font-size:8px;letter-spacing:.8px;display:flex;align-items:center;gap:5px}.sample-card small .icon{width:13px;height:13px}.sample-card.one{left:12px;top:12px;transform:rotate(-11deg);background:#16241e;color:var(--paper);border-color:#69836b;box-shadow:0 14px 22px #06140f66,0 3px 0 #38483b;z-index:1}.sample-card.one small{color:var(--accent)}.sample-card.two{left:182px;top:17px;transform:rotate(7deg);z-index:3}.sample-card.three{left:335px;top:45px;transform:rotate(18deg);z-index:2;background:#dce9b9}.table-caption{position:absolute;bottom:1px;left:22px;color:#92ad9b;font-size:11px;font-style:italic}.benefits{display:flex;gap:24px;color:#bfcebf;font-size:12px;align-items:center;margin-top:20px}.benefits span{display:flex;gap:7px;align-items:center}.benefits .icon{width:17px;height:17px;color:var(--accent)}.join-panel{border:1px solid #9bab8b30;border-radius:18px;padding:28px;background:linear-gradient(140deg,#263e31,#1a3027);box-shadow:0 20px 60px #06140f33}.join-panel-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:15px}.mini-cards{color:var(--accent)}.join-panel h2{font-size:31px;margin:0 0 12px;letter-spacing:-1.2px}.intro{font-size:13px;line-height:1.6;margin:0 0 23px;color:#b6c6b7}.tabs{display:flex;border-bottom:1px solid #afc39f33;margin-bottom:22px;gap:12px}.tabs button{flex:1;background:none;border:0;border-bottom:2px solid transparent;padding:0 0 13px;font-weight:650;font-size:12px;color:var(--muted);border-radius:0}.tabs button.active{color:var(--accent);border-color:var(--accent)}.identity-strip{display:flex;width:100%;align-items:center;gap:12px;background:#ffffff04;border:1px dashed #bfce9f33;border-radius:10px;padding:12px;margin-bottom:20px;text-align:left}.identity-strip>span:nth-child(2){flex:1}.identity-strip strong{display:block;font-size:12px}.identity-strip small{font-size:11px;color:var(--muted)}.identity-edit{color:var(--accent)}.field{margin-bottom:18px}.field label,label{display:block;font-size:12px;font-weight:650;margin-bottom:8px;color:#cfdbcc}input,select,textarea{border:1px solid #a8b8a733;background:#10261f;color:var(--text);width:100%;border-radius:8px;padding:12px 13px;min-height:45px;font-size:14px}input::placeholder,textarea::placeholder{color:#8ba294}input[readonly]{color:var(--muted)}input:disabled{opacity:.6}input[type=checkbox]{width:17px;min-height:17px;height:17px;accent-color:var(--accent)}.enter-cta{min-height:50px;justify-content:space-between;padding:14px 18px;margin-top:3px}.privacy-note{font-size:11px;display:flex;align-items:center;justify-content:center;gap:6px;margin:14px 0 23px}.privacy-note .icon{width:13px;height:13px}.starter-pack{display:flex;gap:13px;align-items:center;border-top:1px solid var(--line);padding-top:20px}.starter-pack p{font-size:11px;line-height:1.65;margin:0}.starter-pack strong{color:#d7e0cc;font-size:12px}.pack-icon{width:38px;height:48px;border:1px solid #d9dcb255;display:grid;place-items:center;border-radius:5px;color:#d9dcb2;transform:rotate(-8deg);flex-shrink:0}.rules-strip{display:grid;grid-template-columns:repeat(3,1fr);gap:35px;border-top:1px solid var(--line);margin-top:25px;padding-top:29px}.mini-step{display:flex;gap:16px;align-items:flex-start}.step-no{color:var(--accent);font-size:12px;font-weight:750;display:grid;place-items:center;width:35px;height:43px;border:1px solid #c5956e44;border-radius:5px;transform:rotate(-5deg);flex-shrink:0}.mini-step h3{font-size:16px;letter-spacing:-.4px;margin:1px 0 8px}.mini-step p{font-size:12px;line-height:1.7;margin:0;max-width:260px}.resume-box{border:1px solid #c4df9b55;border-radius:8px;background:#c4df9b09;padding:12px;margin-bottom:14px;font-size:12px}.resume-box button{margin-top:9px}.page-head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:30px 0 23px}.page-head h1{font-size:30px;margin:8px 0 5px;letter-spacing:-1px}.room-subtitle{font-size:12px;margin:0}.page-head-actions{display:flex;align-items:center;gap:17px;flex-wrap:wrap}.table-code{background:#ffffff06;border:1px solid var(--line);padding:10px 13px;border-radius:8px;font-weight:650;letter-spacing:1.5px;font-size:12px;display:flex;align-items:center;gap:10px}.table-code .icon{width:14px;height:14px;color:#9fae9d}.status{font-size:11px;display:flex;align-items:center;gap:7px;color:#c4d6b6}.status.off .dot{background:#f9ad78}.seats{display:flex;gap:10px;flex-wrap:wrap;margin:18px 0 25px}.player{position:relative;display:flex;align-items:center;gap:10px;min-width:170px;flex:1;padding:11px 13px;background:#ffffff04;border:1px solid var(--line);border-radius:11px;max-width:255px;min-height:73px}.seat.is-judge{border-color:#e5c77e70;background:#e5c77e08}.seat.is-offline{opacity:.6}.seat-avatar{position:relative}.seat-state{position:absolute;right:-2px;bottom:-2px;width:19px;height:19px;background:#11281f;border-radius:50%;display:grid;place-items:center;border:1px solid #698a70}.seat-state .icon{width:12px;height:12px;color:var(--green)}.seat.is-judge .seat-state{background:#e7d49a}.seat.is-judge .seat-state .icon{color:#283224}.seat-state i{width:6px;height:6px;border-radius:50%;background:#a5cc84}.seat.is-offline .seat-state i{background:#a39d8d}.player-name{min-width:0;flex:1;display:flex;flex-direction:column}.player-name>.name{font-size:12px;font-weight:650;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;max-width:138px}.player-name .name small{font-size:9px;color:var(--muted);font-weight:450;margin-left:3px}.player-name>small{font-size:10px;color:var(--muted);margin-top:3px}.score{font-weight:750;font-size:19px;line-height:1;display:flex;flex-direction:column;text-align:center}.score small{font-size:9px;margin-top:5px;color:var(--muted);font-weight:400}.seat-menu{position:absolute;right:0;top:-6px}.seat-menu summary{list-style:none;cursor:pointer;color:#a4b29e;border-radius:5px}.seat-menu summary::-webkit-details-marker{display:none}.seat-menu summary .icon{width:15px;height:15px}.player-menu{position:absolute;right:0;top:21px;z-index:20;box-shadow:0 10px 25px #0007;border:1px solid #6b8264;background:#183329;border-radius:8px;padding:7px;width:185px}.player-menu .btn{justify-content:flex-start;width:100%}.lobby-layout{display:grid;grid-template-columns:0.7fr 1.3fr;gap:45px;align-items:center}.lobby-illustration{height:490px;position:relative;display:flex;align-items:flex-end;justify-content:center}.lobby-illustration p{text-align:center;color:#a3b69b;font-size:16px;font-weight:500;line-height:1.6}.waiting-deck{position:absolute;width:208px;height:280px;background:var(--paper);border-radius:12px;top:63px;left:calc(50% - 104px);box-shadow:0 14px 24px #061b1266;border:1px solid #d3d9bc}.back-one{transform:rotate(-13deg) translateX(-32px);background:#86a87b}.back-two{transform:rotate(11deg) translateX(28px);background:#eadbb8}.waiting-deck.front{background:#19372b;transform:rotate(-4deg);padding:26px;display:flex;flex-direction:column;justify-content:space-between;color:var(--paper)}.waiting-deck.front>.icon{width:29px;height:29px;color:var(--accent)}.waiting-deck strong{font-size:32px;line-height:1.05;letter-spacing:-1.3px}.waiting-deck>span{font-size:10px;letter-spacing:2px;color:var(--accent)}.invite{display:flex;justify-content:space-between;align-items:center;gap:20px;border:1px dashed #c4df9b55;border-radius:12px;padding:23px;margin-bottom:20px}.invite .code{font-size:28px;letter-spacing:5px;font-weight:750;line-height:1.6}.invite p{font-size:12px;margin:6px 0 0}.invite-actions{display:flex;flex-direction:column;gap:7px;flex-shrink:0}.panel{background:#ffffff03;border:1px solid var(--line);border-radius:13px;padding:24px}.panel-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:22px;gap:15px}.panel-head h2{font-size:22px;margin:0}.badge{background:#fff1;border-radius:5px;padding:4px 7px;font-size:11px}.settings-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.settings-grid input,.settings-grid select{font-size:12px}.settings-grid .field{margin-bottom:18px}.pack-grid{display:grid;gap:10px;margin:14px 0 17px}.pack-option{display:flex;align-items:center;gap:12px;padding:13px;border:1px solid #7f997c55;border-radius:8px;background:#10261f66;cursor:pointer;margin:0}.pack-option strong{display:block;font-size:13px}.pack-option small{font-size:11px;font-weight:400;color:var(--muted)}.start-zone{display:flex;align-items:center;gap:18px;border-top:1px solid var(--line);margin-top:22px;padding-top:20px}.start-zone p{font-size:11px;line-height:1.5;margin:0;flex:1}.start-zone .btn{flex-shrink:0}.waiting{text-align:center;padding:30px 15px}.waiting-icon{display:grid;place-items:center;margin:0 auto 16px;width:60px;height:60px;background:#c4df9b15;border:1px solid #c4df9b33;border-radius:50%;color:var(--green)}.waiting p{font-size:14px;max-width:430px;margin:12px auto}.soft-label{font-size:12px!important;background:#c4df9b10;border:1px solid #c4df9b22;padding:8px;border-radius:5px;display:inline-block}.room-topbar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:0 5px 14px;font-size:11px}.round-chip{font-weight:750;color:#e5d6b0;letter-spacing:1.8px}.judge-tag{color:#b5c6b1;display:flex;align-items:center;gap:8px}.judge-tag .icon{width:16px;height:16px;color:#e5d6b0}.table-timer{display:flex;align-items:center;gap:7px;font-size:10px;letter-spacing:1px;color:#adc2ad;font-variant-numeric:tabular-nums}.table-timer .icon{width:15px;height:15px}.felt-table{background:radial-gradient(ellipse at 65% 40%,#345e49aa,transparent 75%),repeating-linear-gradient(60deg,#ffffff02 0,#ffffff02 1px,transparent 1px,transparent 4px),#224938;border:1px solid #76947740;box-shadow:inset 0 0 0 7px #102e2044,inset 0 0 60px #102e2044,0 14px 40px #081d1533;border-radius:24px;min-height:365px;padding:30px;display:grid;grid-template-columns:220px minmax(0,1fr);gap:40px;align-items:start;position:relative}.felt-table:after{content:"";position:absolute;inset:12px;border:1px dashed #abc29926;border-radius:15px;pointer-events:none}.prompt-card{background:linear-gradient(140deg,#15261d,#101c17);color:#f5edda;width:220px;min-height:300px;border:1px solid #66806a;border-radius:11px;box-shadow:0 13px 22px #0d251b66,0 4px 0 #52644b,0 6px 0 #132c1f;display:flex;flex-direction:column;padding:21px;transform:rotate(-2deg);position:relative;z-index:1}.prompt-card h2{font-size:25px;line-height:1.24;margin:29px 0 25px;flex:1;letter-spacing:-.7px;overflow-wrap:anywhere}.prompt-card .top{display:flex;justify-content:space-between;align-items:center;color:var(--accent);font-size:8px;letter-spacing:1.2px;font-weight:750}.prompt-card .top .icon{width:17px;height:17px}.prompt-card .bottom{display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:9px;color:#c9d7bc;font-weight:600}.pick-tag{font-size:8px;color:#ddd4ad;border:1px solid #67785a;padding:4px;border-radius:3px}.table-action{min-width:0;z-index:1}.round-progress{display:flex;align-items:center;justify-content:space-between;gap:20px}.round-progress h3{font-size:23px;margin:9px 0 7px;letter-spacing:-.8px}.round-progress .eyebrow{font-size:8px;letter-spacing:1.8px}.count{font-size:10px;background:#102a2180;padding:7px 10px;border:1px solid #91ad7833;border-radius:20px;white-space:nowrap;color:#d4dfc1}.progress{display:block;width:100%;height:3px;border:0;border-radius:3px;background:#132d2266;margin:10px 0 13px}.progress::-webkit-progress-bar{background:#102a2144}.progress::-webkit-progress-value{background:#adc781;border-radius:3px}.progress::-moz-progress-bar{background:#adc781}.inline-info{font-size:12px;line-height:1.6;color:#bbccaf;margin:8px 0 17px}.selection-preview{display:flex;gap:16px;align-items:stretch;flex-wrap:wrap;margin-top:16px}.selection-slot{width:170px;min-height:185px;border:1px dashed #b4c89766;border-radius:9px;display:flex;flex-direction:column;align-items:center;justify-content:center;background:#143b2322;color:#b4c897;gap:7px}.selection-slot>span{display:grid;place-items:center;width:34px;height:34px;border:1px solid #b4c89733;border-radius:50%;margin-bottom:7px}.selection-slot strong{font-size:12px;font-weight:500}.selection-slot small{font-size:10px;color:#96b497}.played-card{width:170px;min-height:185px;background:var(--paper);color:var(--ink);border-radius:8px;padding:14px 15px;box-shadow:0 9px 17px #112a2044,0 3px 0 #bbb99f;display:flex;flex-direction:column;justify-content:space-between;transform:rotate(2deg)}.played-card:nth-child(2){transform:rotate(-2deg)}.played-card>small{font-size:8px;letter-spacing:.9px;color:#64745c}.played-card p{color:var(--ink);font-size:16px;line-height:1.3;font-weight:750;letter-spacing:-.3px;margin:16px 0}.played-card>span{font-size:7px;color:#536448;letter-spacing:.6px}.played-card .icon{width:12px;height:12px;margin-right:5px}.jump-hand{display:none}.card-back-row{display:flex;gap:12px;flex-wrap:wrap;margin-top:22px}.card-back{width:112px;min-height:164px;background:repeating-linear-gradient(45deg,#79966609 0,#79966609 2px,transparent 2px,transparent 8px),#153b29;border:1px solid #86a87455;border-radius:8px;color:#abc89d55;padding:12px;display:flex;flex-direction:column;align-items:center;justify-content:space-between;text-align:center;box-shadow:0 6px 13px #102a2244;outline:1px solid #86a87422;outline-offset:-6px}.card-back.ready{border-color:#bcd691;color:#d6e6b2;background:repeating-linear-gradient(45deg,#a8c57d0c 0,#a8c57d0c 2px,transparent 2px,transparent 8px),#21482f;transform:rotate(3deg)}.card-back.ready:nth-child(2n){transform:rotate(-3deg)}.card-back strong{font-size:17px;line-height:1.1;letter-spacing:-.4px}.card-back .icon{width:23px;height:23px}.card-back small{font-size:6px;letter-spacing:1.1px}.answers{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:16px;margin-top:20px}.submission{min-width:0;text-align:left;background:transparent;border:2px solid transparent;border-radius:12px;padding:7px;display:block;color:inherit}.submission:is(button):hover:not(:disabled){border-color:#adc78188}.submission.chosen,.submission.winning{border-color:var(--accent);background:#f9936811}.submission-label{font-size:8px;letter-spacing:.6px;display:flex;align-items:center;justify-content:space-between;gap:8px;margin:0 0 9px;color:#bcd0ad;min-height:23px}.submission-label>span:first-child{display:flex;align-items:center;gap:6px;overflow-wrap:anywhere}.submission-label>span:last-child{font-size:7px;white-space:nowrap}.response-stack{display:flex;flex-direction:column;gap:8px}.response-card{background:var(--paper);border-radius:8px;box-shadow:0 3px 0 #aaa88e,0 6px 15px #0c251a55;padding:17px;min-height:174px;display:flex;flex-direction:column;justify-content:space-between}.response-card p{color:var(--ink);font-weight:750;line-height:1.3;font-size:17px;letter-spacing:-.5px;margin:0 0 23px;overflow-wrap:anywhere}.response-card small{color:#637259;font-size:7px;letter-spacing:.5px}.response-card small .icon{width:12px;height:12px;margin-right:4px}.winner-banner{position:relative;padding:0 60px 0 0}.winner-banner h2{font-size:26px;line-height:1.18;margin:9px 0 7px}.winner-banner p{font-size:12px;color:#bdcdae;margin:0}.winner-avatar{position:absolute;right:0;top:5px;width:51px;height:51px;border-color:#eed299}.winner-banner .eyebrow{color:#f9c78a;font-size:8px}.round-controls{display:flex;align-items:center;justify-content:center;margin-top:22px}.hand-section{margin-top:28px;padding:0 0 0;scroll-margin-top:18px}.hand-title{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:0 0 8px}.hand-title .eyebrow{font-size:8px;letter-spacing:1.8px;color:#819b88}.hand-title h2{font-size:20px;display:flex;align-items:center;gap:9px;margin:7px 0 0}.hand-count{font-size:10px;padding:4px 6px;border:1px solid #93a67e44;border-radius:4px;color:#b8c4aa;letter-spacing:0}.hand-tools{display:flex;align-items:center;gap:8px}.hand-tools>span{color:#9eb399;font-size:10px;margin-right:7px}.hand-tools>span .icon{width:13px;height:13px}.hand{display:flex;gap:11px;overflow-x:auto;padding:20px 5px 21px;scroll-snap-type:x proximity;scrollbar-width:thin;scrollbar-color:#75866533 transparent;align-items:stretch}.hand::-webkit-scrollbar{height:5px}.hand::-webkit-scrollbar-thumb{background:#75866555;border-radius:10px}.answer-card{flex:0 0 146px;width:146px;min-height:203px;border:2px solid #ebe4d4;border-radius:8px;background:var(--paper);box-shadow:0 3px 0 #a8ac93,0 8px 18px #051e1566;display:flex;flex-direction:column;justify-content:space-between;text-align:left;color:var(--ink);padding:13px 12px;scroll-snap-align:start;position:relative;transition:transform .16s,border-color .16s,box-shadow .16s}.answer-card:nth-child(3n+1){transform:rotate(-1deg)}.answer-card:nth-child(3n+2){transform:rotate(.9deg)}.answer-card:hover:not(:disabled){transform:translateY(-8px) rotate(0);z-index:1;border-color:#bdcc8c}.answer-card.selected{transform:translateY(-10px) rotate(0);border-color:var(--accent);box-shadow:0 0 0 2px #fa916b55,0 5px 0 #ae6044,0 14px 20px #051e1588;background:#fff4de}.answer-card:disabled{opacity:.7;filter:saturate(.7)}.card-top{display:flex;align-items:center;justify-content:space-between;gap:6px;font-size:6px;letter-spacing:.8px;color:#5b6d55;font-weight:650}.order{font-size:8px;letter-spacing:0}.selected .order{border-radius:50%;background:var(--accent);width:19px;height:19px;display:grid;place-items:center;color:#251b14}.card-text{font-size:16px;line-height:1.27;font-weight:750;letter-spacing:-.4px;margin:20px 0;overflow-wrap:anywhere;hyphens:auto}.card-brand{font-size:6px;letter-spacing:.4px;color:#67725a;display:flex;align-items:center;gap:4px}.card-brand .icon{width:12px;height:12px}.selection-zone{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:12px;padding:12px 0}.selection-zone p{font-size:11px;margin:0;color:#a6b99e}.selection-zone p strong{color:#e3ead7;font-weight:650}.selection-zone p span{display:block;font-size:10px;margin-top:3px}.selection-zone .btn{min-width:180px}.hand-hint{text-align:center;margin:5px 0}.host-controls{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-top:24px;border-top:1px solid var(--line);padding-top:14px;color:#889e8c;font-size:10px}.host-controls>.icon,.host-controls>span>.icon{width:13px;height:13px}.host-controls>div{display:flex;gap:6px}.game-main+.footer{margin-top:24px}.note{border:1px solid #9caf8333;border-radius:8px;background:#66814511;padding:12px 15px;font-size:12px;color:#c6d8b5;margin:14px 0}.note.warning{background:#ebbf5910;color:#f0d5a1;border-color:#d8b56b44}.note.error,.form-error{color:#ffb6a1}.form-error:empty{display:none}.form-error{font-size:12px;line-height:1.5;margin:13px 0}.note.error{border-color:#f8897044;background:#d2543d12}.subtle-line,.divider{height:1px;background:var(--line);margin:22px 0}.library-head{display:flex;justify-content:space-between;align-items:center;gap:22px;margin:42px 0 28px}.library-head h1{font-size:38px;letter-spacing:-1.4px;margin:11px 0 10px}.library-head p{font-size:14px;margin:0}.library-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(270px,1fr));gap:24px}.deck-card{position:relative;border:1px solid #8e9e7044;border-radius:13px;background:linear-gradient(135deg,#264331,#152d22);padding:25px;max-width:600px;box-shadow:4px 4px 0 #233c28,5px 5px 0 #8e9e7033}.deck-mark{width:49px;height:65px;border:1px solid #d2ddb26b;background:#2b4c31;border-radius:6px;transform:rotate(-8deg);display:grid;place-items:center;color:var(--green);margin-bottom:25px}.deck-mark .icon{width:26px;height:26px}.deck-card h2{font-size:22px;margin:0 0 12px}.deck-card p{font-size:12px;min-height:45px}.deck-counts{display:flex;gap:8px;flex-wrap:wrap;margin:20px 0}.deck-counts span{border:1px solid #afc59033;border-radius:4px;padding:4px 6px;font-size:10px;color:#bfcca9}.deck-actions{display:flex;gap:5px;flex-wrap:wrap;border-top:1px solid var(--line);padding-top:18px}.export-note{font-size:12px;max-width:800px;margin-top:26px;line-height:1.7}.editor{max-width:1100px;margin:auto}.editor-help{background:#d4daa409;border:1px solid #d4daa422;border-radius:7px;padding:15px;font-size:12px;color:var(--muted);line-height:1.8;margin:22px 0}.editor-help strong{color:var(--text)}.editor-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}.editor-grid textarea{min-height:300px;line-height:1.8;font-size:13px;resize:vertical}.editor-footer{display:flex;justify-content:flex-end;gap:12px;margin-top:24px}.boot{display:grid;place-items:center;text-align:center;padding:110px 20px}.loader{width:46px;height:46px;border:3px solid #c9d9a522;border-top-color:var(--accent);border-radius:50%;animation:spin .9s linear infinite;margin-bottom:25px}.boot h1{font-size:27px}.boot p{font-size:14px}.skip-link{position:absolute;left:20px;top:-100px;padding:12px;background:var(--paper);color:var(--ink);z-index:100}.skip-link:focus{top:15px}dialog{background:#193127;border:1px solid #9fb18055;border-radius:17px;padding:28px;color:var(--text);max-width:560px;width:calc(100% - 32px);max-height:calc(100dvh - 32px);box-shadow:0 30px 100px #0009}dialog::backdrop{background:#05130ed9;backdrop-filter:blur(7px)}dialog h2{font-size:27px;margin-bottom:16px}dialog p,dialog li{font-size:13px;color:#b2c5af;line-height:1.8}dialog li{margin-bottom:10px}dialog ol{padding-left:20px}.dialog-buttons{display:flex;justify-content:flex-end;gap:10px;margin-top:23px;padding-top:19px;border-top:1px solid var(--line)}#toast{position:fixed;left:50%;bottom:22px;transform:translateX(-50%) translateY(100px);opacity:0;background:#f1e9d3;color:#1e3226;border-radius:10px;padding:14px 20px;box-shadow:0 8px 30px #0006;z-index:1000;max-width:min(520px,calc(100% - 32px));font-size:13px;font-weight:550;transition:.2s;pointer-events:none}#toast.show{transform:translateX(-50%) translateY(0);opacity:1}#profile-dialog{max-width:660px}.profile-heading{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:24px}.profile-heading h2{margin:9px 0 0;font-size:31px}.profile-heading .eyebrow{font-size:9px}.profile-layout{display:grid;grid-template-columns:210px 1fr;gap:25px}.profile-photo-column{display:flex;flex-direction:column;align-items:center;gap:10px}.crop-frame{border:2px solid #afc390;border-radius:50%;width:198px;height:198px;overflow:hidden;box-shadow:0 0 0 7px #afc39011;margin:7px 0 16px;background:#193e35}.crop-frame canvas{width:100%;height:100%;touch-action:none;cursor:move;display:block}.profile-photo-column .btn{width:100%;margin:0}.upload-label{cursor:pointer;font-size:12px}.file-accessible{position:absolute;width:1px;height:1px;opacity:0;overflow:hidden;padding:0;min-height:0}.file-accessible:focus-visible{position:relative;width:100%;height:auto;opacity:1;min-height:35px}.crop-controls{border-top:1px solid var(--line);padding-top:16px;margin-top:10px}.crop-controls[hidden]{display:none}.crop-controls label{font-size:10px;margin-bottom:4px}.crop-controls input[type=range]{padding:0;min-height:29px;border:0;background:transparent;accent-color:var(--accent);cursor:pointer}.crop-axes{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:8px}.profile-privacy{padding:12px;background:#c0dd9b08;border:1px solid #c0dd9b22;border-radius:7px;font-size:11px;line-height:1.65;margin:16px 0}.session-note{font-size:10px!important;margin-bottom:0;line-height:1.6!important}.profile-fields .helper{font-size:11px}.profile-fields .field{margin-bottom:13px}
@keyframes spin{to{transform:rotate(360deg)}}
@media(min-width:1550px){.shell{max-width:1480px}.hero h1{font-size:76px}.sample-stage{margin-top:40px;height:340px}.sample-card{width:192px;height:259px}.sample-card.two{left:201px}.sample-card.three{left:375px}.felt-table{grid-template-columns:240px minmax(0,1fr)}.prompt-card{width:240px;min-height:324px}.hand .answer-card{flex-basis:153px;width:153px}}
@media(max-width:1150px){.shell{padding:0 28px}.home-main .hero{gap:35px;grid-template-columns:1.2fr 1fr}.hero h1{font-size:53px;letter-spacing:-2.8px}.sample-card{width:150px;height:220px;padding:16px}.sample-card h3{font-size:18px}.sample-card.two{left:143px}.sample-card.three{left:265px}.sample-stage{height:285px}.sample-card small{font-size:6px}.join-panel{padding:23px}.benefits{gap:13px;font-size:10px}.nav-links{gap:8px}.btn.ghost{padding:8px}.lobby-layout{gap:25px;grid-template-columns:.6fr 1.4fr}.seats{gap:8px}.player{min-width:165px;max-width:230px;padding:10px}.player .avatar{width:42px;height:42px;font-size:14px}.felt-table{padding:27px;gap:28px;grid-template-columns:204px minmax(0,1fr)}.prompt-card{width:204px;min-height:283px;padding:18px}.prompt-card h2{font-size:23px}.round-progress h3{font-size:21px}.round-progress{gap:10px}.card-back{width:96px;min-height:145px}.answers{grid-template-columns:repeat(auto-fit,minmax(155px,1fr));gap:9px}.response-card{padding:14px}.response-card p{font-size:16px}.page-head-actions{gap:10px}.rules-strip{gap:22px}}
@media(max-width:900px){.home-main .hero{grid-template-columns:1fr 365px;gap:20px}.hero h1{font-size:44px;letter-spacing:-2px}.hero .lead{font-size:15px}.sample-card{width:128px;height:202px;padding:14px}.sample-card h3{font-size:16px}.sample-card.two{left:113px}.sample-card.three{left:212px}.hero-tag{font-size:8px;letter-spacing:1.1px}.benefits{flex-wrap:wrap;gap:10px 15px}.sample-stage{height:270px}.sample-card small{font-size:5px}.table-caption{font-size:10px;left:0}.nav-rules{display:none}.lobby-layout{display:block}.lobby-illustration{display:none}.lobby-settings{max-width:740px;margin:auto}.page-head{align-items:flex-start;gap:13px}.page-head-actions{justify-content:flex-end;max-width:280px}.seats{flex-wrap:nowrap;overflow:visible;overflow-x:auto;padding-bottom:9px;scrollbar-width:thin;scrollbar-color:#75866533 transparent}.player{min-width:190px;flex:0 0 190px}.seat-menu .player-menu{position:fixed;top:130px;right:25px;width:185px}.felt-table{grid-template-columns:185px minmax(0,1fr);gap:24px;padding:25px}.prompt-card{width:185px;min-height:270px}.prompt-card h2{font-size:21px}.round-progress{flex-wrap:wrap}.round-progress h3{font-size:22px}.round-progress .count{padding:5px 8px}.selection-slot,.played-card{width:145px;min-height:180px}.card-back{width:86px;min-height:131px;padding:10px}.card-back strong{font-size:14px}.card-back small{font-size:5px}.answers{grid-template-columns:repeat(auto-fit,minmax(145px,1fr))}.host-controls{align-items:flex-start}.host-controls>div{flex-wrap:wrap;justify-content:flex-end}.rules-strip{gap:15px}.mini-step{gap:10px}.mini-step h3{font-size:14px}.mini-step p{font-size:11px}}
@media(max-width:760px){.shell{padding:0 20px}.nav{height:79px;gap:10px}.brand>svg{width:33px;height:38px}.brand-name{font-size:14px}.brand-name>span{font-size:23px}.beta{font-size:8px;letter-spacing:.4px;margin-left:2px;padding:2px 4px}.nav-links{gap:6px}.nav-links>.btn{font-size:12px}.profile-button{padding:3px;gap:0}.profile-button>span:last-child{display:none}.profile-button .avatar{width:33px;height:33px}.nav-install{display:none}.home-main .hero{grid-template-columns:1fr;gap:18px;padding-top:35px}.hero-copy{max-width:600px;width:100%;margin:auto}.hero h1{font-size:clamp(40px,8vw,58px);letter-spacing:-2.5px;line-height:1.07;margin:18px 0}.hero .lead{font-size:15px}.sample-stage{height:270px;max-width:445px;margin:26px auto 0}.sample-card{width:143px;height:210px;padding:14px}.sample-card h3{font-size:17px}.sample-card.one{left:12px}.sample-card.two{left:142px;top:20px}.sample-card.three{left:260px;top:45px}.sample-card small{font-size:6px}.hero-tag{font-size:8px;letter-spacing:1.5px}.benefits{margin:10px 0 7px;justify-content:flex-start;gap:15px;font-size:11px}.join-panel{padding:24px;border-radius:15px;margin:0 auto;width:100%;max-width:550px}.join-panel h2{font-size:29px}.rules-strip{grid-template-columns:1fr;gap:23px;max-width:550px;margin:23px auto 0;padding:25px 0 0}.mini-step{gap:15px}.mini-step h3{font-size:16px}.mini-step p{max-width:none;font-size:12px}.footer{font-size:9px;margin-top:33px;flex-direction:column;gap:5px;padding:20px 0}.footer span:last-child{color:#7f9a88}.page-head{margin:24px 0 15px;flex-wrap:wrap;gap:12px}.page-head h1{font-size:26px}.page-head .eyebrow{font-size:8px;letter-spacing:1.5px}.page-head-actions{max-width:100%;width:100%;justify-content:space-between;gap:8px}.table-code{padding:8px 10px;font-size:11px}.status{font-size:10px}.page-head-actions .btn{font-size:11px}.room-subtitle{font-size:11px}.seats{margin:10px 0 16px;padding:5px 0 8px;gap:8px}.player{min-width:165px;flex-basis:165px;min-height:64px;border-radius:9px;padding:9px;gap:8px}.player .avatar{width:38px;height:38px;font-size:12px}.player-name>.name{max-width:94px;font-size:11px}.player-name>.name small{font-size:8px}.player-name>small{font-size:9px}.score{font-size:16px}.score small{font-size:8px}.seat-state{height:16px;width:16px}.seat-state .icon{width:10px;height:10px}.room-topbar{gap:8px;flex-wrap:wrap;padding:0 0 12px;font-size:10px}.round-chip{font-size:9px;letter-spacing:1.3px}.judge-tag{font-size:10px}.judge-tag .icon{width:13px;height:13px}.table-timer{font-size:8px;letter-spacing:.3px}.felt-table{padding:23px;grid-template-columns:1fr;gap:25px;border-radius:20px}.felt-table:after{inset:9px;border-radius:13px}.prompt-card{width:100%;min-height:187px;padding:18px 19px;transform:rotate(-1deg)}.prompt-card h2{font-size:24px;line-height:1.25;margin:24px 0;letter-spacing:-.6px}.prompt-card .top{font-size:8px}.prompt-card .bottom{font-size:9px}.pick-tag{font-size:7px}.table-action .round-progress h3{font-size:21px}.round-progress .eyebrow{font-size:7px;letter-spacing:1px}.round-progress .count{font-size:9px}.inline-info{font-size:11px;margin-bottom:14px}.selection-preview{gap:12px;margin-top:15px}.selection-slot,.played-card{flex:1;max-width:170px;min-width:110px;width:auto;min-height:165px}.played-card{padding:13px}.played-card p{font-size:15px;margin:14px 0;line-height:1.28}.played-card>span{font-size:6px}.selection-slot strong{font-size:11px}.selection-slot small{font-size:9px}.jump-hand{display:inline-flex;margin-top:14px;color:var(--accent)}.card-back-row{gap:10px;margin-top:16px}.card-back{width:78px;min-height:117px}.card-back strong{font-size:13px}.card-back .icon{width:19px;height:19px}.answers{grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:9px}.submission{padding:4px;border-radius:8px}.response-card{padding:13px;min-height:170px}.response-card p{font-size:16px;line-height:1.28}.response-card small{font-size:5px}.submission-label{font-size:7px;gap:4px;letter-spacing:0}.submission-label>span:last-child{font-size:6px}.hand-title{gap:12px;margin-top:2px}.hand-title h2{font-size:21px}.hand-title .eyebrow{font-size:7px;letter-spacing:1px}.hand-tools>span{font-size:8px;margin:0}.hand-tools .icon-button{height:30px;width:30px;font-size:17px}.hand-tools{gap:5px}.hand-tools>span .icon{width:11px;height:11px}.hand{padding:18px 4px 20px;gap:11px;margin-left:-3px;margin-right:-3px}.answer-card{flex-basis:154px;width:154px;min-height:211px;padding:15px 13px}.card-text{font-size:17px;line-height:1.28}.card-brand{font-size:6px}.card-top{font-size:7px}.hand-submit{position:relative;bottom:auto;border:1px solid #738b6244;background:#122b22ee;backdrop-filter:blur(12px);padding:12px;border-radius:12px;box-shadow:0 10px 25px #091b1266;gap:12px;z-index:5;margin-top:5px}.selection-zone .btn{min-width:145px;padding:12px 14px;font-size:12px}.selection-zone p{font-size:10px}.selection-zone p span{font-size:8px}.judge-choice{flex-wrap:wrap}.judge-choice .btn{width:100%}.winner-banner h2{font-size:23px}.winner-banner p{font-size:11px}.host-controls{font-size:9px;flex-direction:column;gap:12px}.host-controls .btn{font-size:10px}.host-controls>div{justify-content:flex-start;width:100%}.invite{padding:18px;gap:12px}.invite .eyebrow{font-size:8px;letter-spacing:1px}.invite .code{font-size:25px;letter-spacing:3px}.invite p{font-size:10px}.invite-actions .btn{font-size:10px;padding:10px;gap:5px}.invite-actions .icon{width:15px;height:15px}.panel{padding:20px}.panel-head h2{font-size:22px}.settings-grid{gap:10px}.settings-grid label{font-size:10px}.settings-grid select{padding:10px 7px;min-height:43px;font-size:11px}.pack-option{padding:12px;gap:10px}.pack-option strong{font-size:12px}.pack-option small{font-size:10px}.start-zone{flex-direction:column;align-items:stretch;gap:12px}.start-zone .btn{width:100%}.start-zone p{text-align:center}.library-head{margin:28px 0 23px;flex-direction:column;align-items:flex-start;gap:20px}.library-head h1{font-size:32px;margin:10px 0}.library-head p{font-size:12px}.library-head .button-row{width:100%}.library-head .button-row .btn{font-size:12px}.library-grid{grid-template-columns:1fr;gap:23px}.deck-card{padding:23px;max-width:none}.editor-grid{grid-template-columns:1fr;gap:18px}.editor-grid textarea{min-height:240px}.editor-footer{gap:8px;justify-content:space-between}.editor-footer .btn{font-size:12px}.export-note{font-size:11px}.editor-help{font-size:11px}.profile-layout{grid-template-columns:1fr;gap:20px}.profile-photo-column{gap:7px}.crop-frame{width:175px;height:175px;margin:4px 0 10px}.profile-photo-column .btn{width:auto;min-width:175px;font-size:12px}.profile-fields .field{margin-bottom:12px}.profile-fields .helper{font-size:10px}.profile-heading{margin-bottom:16px}.profile-heading h2{font-size:27px}.profile-heading .eyebrow{font-size:8px}dialog{padding:23px;max-height:calc(100dvh - 24px)}.profile-privacy{margin:14px 0 9px;font-size:10px}.crop-controls{margin:6px 0;padding-top:13px}.dialog-buttons{margin-top:13px;padding-top:16px}.dialog-buttons .btn{font-size:12px}.session-note{font-size:9px!important}.file-accessible:focus-visible{position:relative}.profile-fields .field input{font-size:16px}input,select,textarea{font-size:16px}.hero h1 br{display:block}}
@media(max-width:430px){.shell{padding:0 17px}.nav-links>.btn{font-size:10px;gap:5px;padding:7px 6px}.nav-links>.btn .icon{width:16px;height:16px}.beta{display:none}.brand-name{font-size:13px}.brand-name>span{font-size:23px}.hero h1{font-size:43px;letter-spacing:-2.4px}.hero-tag{font-size:7px;letter-spacing:1.2px}.sample-stage{height:250px;max-width:330px}.sample-card{width:124px;height:187px;padding:12px;border-radius:8px}.sample-card h3{font-size:15px;line-height:1.25}.sample-card.one{left:8px;top:14px}.sample-card.two{left:113px;top:22px}.sample-card.three{left:211px;top:48px;width:108px;height:175px;transform:rotate(12deg)}.sample-card.three h3{font-size:14px}.sample-card small{font-size:5px;letter-spacing:.3px;gap:3px}.sample-card small .icon{width:10px;height:10px}.table-caption{font-size:9px;left:7px;bottom:0}.benefits{gap:12px;font-size:9px}.benefits .icon{width:14px;height:14px}.join-panel{padding:21px}.join-panel h2{font-size:29px}.identity-strip{padding:10px}.identity-strip strong{font-size:11px}.identity-strip small{font-size:10px}.hero-copy .lead{font-size:14px}.hero .sample-stage{margin-top:22px}.table-timer{margin-left:auto}.room-topbar{gap:9px}.judge-tag{font-size:9px}.felt-table{padding:21px}.table-action .round-progress h3{font-size:20px}.round-progress .count{font-size:8px}.hand-title .eyebrow{font-size:6px;letter-spacing:.8px}.hand-tools>span{font-size:7px;max-width:47px;line-height:1.4}.hand-tools .icon-button{width:29px;height:29px}.answers{grid-template-columns:1fr}.response-card{min-height:150px}.submission-label{font-size:8px}.response-stack{flex-direction:row}.response-stack .response-card{flex:1;min-width:0}.response-stack .response-card p{font-size:16px;overflow-wrap:anywhere}.response-stack .response-card small{font-size:5px}.invite{flex-direction:column;align-items:flex-start}.invite-actions{flex-direction:row;width:100%;gap:8px}.invite-actions .btn{flex:1}.settings-grid{grid-template-columns:1fr;gap:0}.settings-grid label{font-size:12px}.settings-grid select{font-size:14px;padding:10px 12px}.panel{padding:18px}.table-code{font-size:10px;gap:6px}.page-head-actions{gap:6px}.status{font-size:9px}.page-head-actions .btn{font-size:10px}.player-name>.name{font-size:11px}.selection-zone .btn{min-width:134px}.selection-slot,.played-card{min-width:112px;min-height:159px}.played-card p{font-size:14px}.winner-banner h2{font-size:22px}.table-action .round-progress{gap:8px}.profile-heading .eyebrow{font-size:7px;letter-spacing:1.3px}}
@media(max-width:355px){.sample-stage{transform:scale(.9);transform-origin:left center;width:330px;margin-bottom:-14px}.hero h1{font-size:38px}.brand-name{display:none}.nav-links .btn{font-size:10px}.benefits{gap:8px;font-size:8px}.selection-zone{gap:8px}.selection-zone .btn{min-width:123px;font-size:11px}.hand-submit{padding:10px}.hand-title .eyebrow{font-size:6px}.table-action .round-progress h3{font-size:18px}.played-card{min-width:95px;padding:10px}.played-card p{font-size:13px}.selection-slot{min-width:95px}.hand-tools>span{display:none}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
/* Keep the decorative fan inside very narrow phones. */
@media(max-width:355px){.sample-stage{width:100%;transform:scale(.84);transform-origin:left center;height:231px;margin-right:0}.hero h1{font-size:37px}}
/* A long crop editor scrolls internally; Cancel/Save remain reachable on phones. */
#profile-dialog[open]{display:flex;flex-direction:column}
#profile-form{display:flex;flex-direction:column;min-height:0;max-height:calc(100dvh - 90px);width:100%}
#profile-form .profile-heading,#profile-form .dialog-buttons,#profile-form .session-note{flex-shrink:0}
#profile-form .profile-layout{min-height:0;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#75866555 transparent;padding:0 3px 5px}
@media(max-width:760px){#profile-form{max-height:calc(100dvh - 72px)}.profile-photo-column{padding-top:4px}.crop-frame{width:158px;height:158px}.profile-layout{gap:16px}}

/* v0.3: actual Steam card faces; contain preserves every edge and printed rule. */
.steam-art{display:block;width:100%;height:auto;object-fit:contain;user-select:none;background:#fff;border-radius:5px;aspect-ratio:5/7}
.prompt-card.with-art{padding:14px;gap:10px;justify-content:flex-start;min-height:0;background:#0b0d0c}
.prompt-card.with-art .steam-art{max-height:510px;background:#000}.prompt-card.with-art .bottom{margin-top:4px}
.prompt-card.with-art .card-zoom{width:100%}.with-art .card-zoom{white-space:normal;min-height:38px}
.hand-art-item{width:220px;flex:0 0 220px;display:flex;flex-direction:column;gap:10px;scroll-snap-align:start;padding-top:10px}
.hand .answer-card.with-art{width:100%;height:auto;min-height:0;padding:8px;display:flex;flex-direction:column;gap:5px;transform:none;background:#fcfaf1}
.hand .answer-card.with-art .steam-art{width:100%;height:auto;flex:none}.hand .answer-card.with-art .card-top{margin:0 2px 3px;color:#314437}
.hand .answer-card.with-art.selected{transform:translateY(-9px);outline:3px solid var(--accent);outline-offset:2px}
.hand-art-item .card-zoom{background:#1c3026;color:var(--text);width:100%;padding:9px}
.played-card.with-art{padding:8px;gap:7px;min-height:0;max-width:240px;display:flex;flex-direction:column;transform:none}
.played-card.with-art .card-zoom{color:#183429;border-color:#18342955}.played-card.with-art .steam-art{flex:1;min-height:0}
.selection-preview{flex-wrap:wrap}.selection-preview .played-card.with-art{flex:1 1 130px;min-width:110px}
.response-card.with-art{padding:5px;min-height:0;transform:none;max-width:250px}.response-card.with-art .steam-art{width:100%;height:auto}
.response-stack{flex-wrap:wrap}.response-stack .response-card.with-art{flex:1 1 140px;min-width:100px}
.reveal-zooms{display:flex;gap:12px;flex-wrap:wrap;margin:18px 0}.reveal-zooms>div{display:flex;flex-wrap:wrap;gap:6px;align-items:center}.reveal-zooms small{color:var(--muted)}
.steam-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:16px 0}.gallery-card{background:#10231c;border:1px solid var(--line);border-radius:8px;padding:5px;display:flex;flex-direction:column;gap:7px;overflow:hidden}.gallery-card small{font-size:11px}
.card-enlarged{display:flex;justify-content:center}.card-enlarged .steam-art{width:auto;max-width:100%;max-height:68vh;object-fit:contain;aspect-ratio:auto;border-radius:8px}
.source-note{font-size:12px}.steam-art.asset-failed{outline:2px solid #df7054}.steam-art.asset-failed:after{content:'Imagem indisponível: confira a extração do pacote'}
@media(max-width:600px){.hand-art-item{width:190px;flex-basis:190px}.prompt-card.with-art{max-width:310px;width:100%;margin:auto}.prompt-card.with-art .steam-art{max-height:none}.steam-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}.played-card.with-art{max-width:200px}.response-stack .response-card.with-art{flex-basis:120px}.selection-preview:has(.with-art){gap:8px}.reveal-zooms .card-zoom{font-size:11px}}
/* The old card flex-basis was horizontal; image-card wrappers are vertical. */
.hand .answer-card.with-art{flex:0 0 auto;overflow:hidden}
.hand-art-item>.card-zoom{flex:0 0 auto;position:relative;z-index:2}

/* v0.5 — preparation, clear turns and deliberate card choices. */
.preferences-button{width:40px;height:40px;flex:0 0 40px;color:var(--muted);border:1px solid var(--line);border-radius:10px}
.preferences-button:hover{color:var(--paper);background:#ffffff09}
.preferences-list{display:grid;gap:12px;margin:22px 0}
.preference-row{display:flex;align-items:center;gap:22px;padding:17px;background:#ffffff05;border:1px solid var(--line);border-radius:12px;cursor:pointer}
.preference-row>span{flex:1;min-width:0}.preference-row strong{font-size:15px;display:block}.preference-row small{display:block;color:var(--muted);font-size:12px;line-height:1.6;margin-top:6px;font-weight:400}
.preference-row input{width:24px;height:24px;min-height:24px;flex:0 0 24px;accent-color:var(--accent);padding:0;cursor:pointer}
.ready-panel{display:flex;align-items:center;justify-content:space-between;gap:24px;margin:18px 0;padding:22px 24px;border:1px solid #b3cd9a44;border-radius:14px;background:linear-gradient(120deg,#87ad7014,#172c2300)}
.ready-panel h2{font-size:23px;margin:8px 0}.ready-panel p{font-size:12px;color:var(--muted);line-height:1.6;margin:0 0 10px}.ready-panel .btn{flex-shrink:0;min-height:46px}
.ready-count{display:inline-flex;font-size:11px;font-weight:700;letter-spacing:.3px;padding:5px 9px;border-radius:20px;background:#c9e6ad10;color:#d1e8bd}
.player.is-ready{border-color:#a5c88d77;background:#8aaa6710}.ready-marker{margin-left:auto;color:var(--muted);display:flex}.ready-marker.yes{color:#bfdf95}.ready-marker .icon{height:18px;width:18px}
.player-name>small{display:block;max-width:155px;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}
.draft-status{font-size:10px;line-height:1.4;color:#b7cd9f;text-align:right}.draft-status.is-dirty{color:#f4b78b}
.lobby-start-status{font-size:12px;line-height:1.7;color:var(--muted);overflow-wrap:anywhere}
.lobby-rule-summary{display:flex;flex-wrap:wrap;gap:8px;margin:18px 0 14px}.lobby-rule-summary span{background:#ffffff06;border:1px solid var(--line);padding:7px 10px;border-radius:7px;font-size:11px}
.lobby-pack-summary{font-size:12px;color:var(--muted);line-height:1.8;overflow-wrap:anywhere}.lobby-pack-summary strong{color:var(--paper)}
.guest-rules h2{margin:0;font-size:23px}.guest-rules .helper{margin-bottom:0}
.turn-banner{display:flex;align-items:center;justify-content:space-between;gap:24px;border:1px solid #a1bd8b36;background:#a4bd8a08;border-radius:14px;margin:0 0 20px;padding:20px 23px}
.turn-banner.your-turn{border-left:4px solid var(--accent);background:linear-gradient(100deg,#f4795510,transparent)}
.turn-heading{min-width:0}.turn-heading h2{font-size:25px;line-height:1.2;letter-spacing:-.6px;margin:8px 0}.turn-heading p{margin:0;color:var(--muted);font-size:12px;line-height:1.7;max-width:620px}
.turn-heading .eyebrow{font-size:9px;letter-spacing:1.7px}.your-turn .eyebrow{color:var(--accent)}
.round-steps{list-style:none;display:flex;align-items:center;gap:14px;margin:0;padding:0;flex-shrink:0}
.round-steps li{display:flex;align-items:center;gap:6px;color:#89a08e;font-size:10px;font-weight:600;white-space:nowrap}
.round-steps span{display:grid;place-items:center;width:22px;height:22px;border:1px solid #99b08242;border-radius:50%;font-size:10px}.round-steps [aria-current=step]{color:var(--paper)}.round-steps [aria-current=step] span{background:var(--accent);color:#152a21;border-color:var(--accent)}
.judge-tag strong{font-weight:650;color:var(--paper)}.table-action{min-width:0}
.hand-instructions{font-size:11px;line-height:1.7;color:var(--muted);margin:12px 0 0}
.selection-tray{background:#ffffff04;border:1px solid var(--line);border-radius:13px;padding:15px 17px;margin:18px 0 0}
.selection-tray-title{display:flex;justify-content:space-between;gap:12px;font-size:12px}.selection-tray-title>span{font-size:10px;color:var(--muted)}
.selection-order{display:grid;gap:8px;list-style:none;margin:12px 0 0;padding:0}
.selection-order>li{display:grid;grid-template-columns:25px minmax(0,1fr) auto;align-items:center;gap:10px;min-height:42px;padding:4px 6px;border:1px solid #bbd39624;border-radius:8px;background:#143328}
.selection-order>li.empty{background:transparent;border-style:dashed;color:var(--muted)}
.selection-position{display:grid;place-items:center;width:24px;height:24px;background:#a6c2831f;border-radius:50%;font-size:11px;font-weight:700;color:var(--paper)}
.selection-name{font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.selection-order-actions{display:flex;gap:3px}.selection-order-actions .icon-button{width:34px;height:34px;font-size:16px;border-radius:6px}.selection-order-actions .icon-button .icon{width:15px;height:15px}.selection-order-actions .icon-button:hover:not(:disabled){background:#ffffff0b}.selection-order-actions .icon-button:disabled{opacity:.25}
.hand{overscroll-behavior-x:contain;scroll-snap-type:x proximity;scroll-padding-inline:8px}.hand .answer-card:focus-visible{outline:3px solid var(--accent);outline-offset:3px}
.hand .answer-card.selected .order{background:#f47955;color:#142c22;font-weight:800}.card-action{display:block;width:100%;font-size:10px;font-weight:650;color:#365341;border-top:1px solid #22402a25;padding:9px 0 0;margin-top:12px;line-height:1.4}
.answer-card.with-art .card-action{margin-top:3px;padding:6px 0 2px;font-size:10px}.answer-card:disabled .card-action{font-weight:400}.hand-art-item .card-zoom{min-height:44px}.card-zoom .icon{width:15px;height:15px}
.hand-submit{position:sticky;bottom:max(12px,env(safe-area-inset-bottom));z-index:5;background:#122b22f7;border:1px solid #9ab17a66;border-radius:12px;padding:15px 18px;box-shadow:0 10px 28px #071b1666;margin-bottom:8px}
.response-order{display:block;font-size:9px;color:#456343;padding:4px 0 8px;font-weight:700}.response-card.with-art .response-order{padding:3px 4px 6px}
.final-scoreboard{border:1px solid #c5d99d44;border-radius:12px;background:#0b21184d;padding:17px;margin:24px 0}.final-scoreboard .panel-head{margin:0 0 12px}.final-scoreboard h3{margin:0;font-size:17px}.final-scoreboard .panel-head>span{font-size:10px;color:var(--muted)}
.final-scoreboard ol{list-style:none;padding:0;margin:0;display:grid;gap:7px}.final-scoreboard li{display:flex;align-items:center;gap:10px;padding:10px;border-radius:7px;background:#ffffff04}.final-scoreboard li.champion{background:#d4db9e14}.final-position{font-size:12px;color:var(--muted);width:21px}.final-scoreboard li.champion .final-position{color:#f3c47d;font-weight:700}.final-name{flex:1;min-width:0;font-size:13px;overflow-wrap:anywhere}.final-name small{font-size:10px;color:var(--muted)}.final-scoreboard li>strong{font-size:18px;white-space:nowrap}.final-scoreboard li>strong small{font-size:10px;font-weight:400;color:var(--muted)}
.phase-feedback{animation:phase-feedback .32s ease-out}
@keyframes phase-feedback{from{box-shadow:0 0 0 3px #d7e4a75c}to{box-shadow:0 0 0 0 #d7e4a700}}
html[data-reduced-motion=true] *,html[data-reduced-motion=true] *:before,html[data-reduced-motion=true] *:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}
@media(max-width:1050px){.turn-banner{align-items:flex-start;flex-direction:column;gap:17px}.round-steps{gap:18px}}
@media(max-width:760px){
 .preferences-button{width:36px;height:36px;flex-basis:36px}.preferences-button .icon{height:18px;width:18px}
 .ready-panel{padding:18px;gap:16px;flex-direction:column;align-items:stretch}.ready-panel h2{font-size:21px}.ready-panel .btn{width:100%}.ready-panel .eyebrow{font-size:8px;letter-spacing:1.3px}
 .start-zone{margin-top:0}.turn-banner{padding:17px;margin-bottom:16px;gap:15px}.turn-heading h2{font-size:23px}.turn-heading p{font-size:11px}.turn-heading .eyebrow{font-size:8px}
 .round-steps{width:100%;justify-content:space-between;gap:7px}.round-steps li{font-size:9px;gap:5px}.round-steps span{width:20px;height:20px;font-size:9px}
 .selection-tray{padding:13px 11px;margin-top:14px}.selection-tray-title{flex-direction:column;gap:5px}.selection-order>li{gap:6px;padding:4px}.selection-name{font-size:11px}.selection-order-actions{gap:0}.selection-order-actions .icon-button{width:38px;height:40px}
 .hand .answer-card:not(.with-art){width:180px;flex-basis:180px;min-height:240px}.hand-instructions{font-size:10px}.hand-submit{bottom:max(8px,env(safe-area-inset-bottom));padding:12px;gap:10px}.hand-submit .btn{min-height:46px}
 .final-scoreboard{padding:13px}.final-scoreboard li{padding:9px 7px;gap:8px}.final-name{font-size:12px}.final-scoreboard li>strong small{font-size:9px}.preference-row{gap:14px;padding:13px}.preference-row small{font-size:11px}
}
@media(max-width:600px){.nav-library>span{display:none}.nav-library{width:36px;height:36px;justify-content:center}.nav-links .nav-install{display:none}.ready-marker .icon{width:15px;height:15px}}
@media(max-width:355px){.round-steps li{font-size:8px}.round-steps{gap:4px}.selection-order-actions .icon-button{width:33px}.turn-heading h2{font-size:21px}.final-scoreboard .avatar{display:none}}
