@font-face{font-family:Manrope;src:url('/fonts/manrope-latin.woff2') format('woff2');font-style:normal;font-weight:200 800;font-display:swap}*{box-sizing:border-box}html{color-scheme:light;--bg:#f8f9fc;--surface:#fff;--text:#202137;--muted:#6b6c80;--line:#e6e7ef;--primary:#7251dd;--primary-soft:#eee8ff;--shadow:0 8px 30px #26214808;--field:#f7f7fb;--green:#187954;--green-soft:#e3f6ec;--danger:#ba3951}html[data-theme=dark]{color-scheme:dark;--bg:#14151e;--surface:#1e202d;--text:#f3f1fa;--muted:#acaec2;--line:#323444;--primary:#b39aff;--primary-soft:#332b4c;--shadow:0 8px 30px #0002;--field:#282a38;--green:#83ddb3;--green-soft:#203b32;--danger:#ff8ca2}body{margin:0;background:var(--bg);color:var(--text);font:16px/1.55 Manrope,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;-webkit-font-smoothing:antialiased}button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.5}a{color:inherit;text-decoration:none}button{color:inherit}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid var(--primary);outline-offset:4px}button{transition:transform .16s,background .16s,color .16s,box-shadow .16s}button:active:not(:disabled){transform:scale(.97)}.header{max-width:1168px;margin:auto;display:flex;align-items:center;justify-content:space-between;padding:27px 28px;border-bottom:1px solid var(--line);gap:16px}.brand{display:flex;align-items:center;gap:12px;font-size:21px;font-weight:600;letter-spacing:-.7px}.brand b{font-weight:800}.brand-mark{width:43px;height:43px;display:grid;place-items:center;color:white;background:#7855ef;border-radius:14px;font-size:37px;line-height:1;transform:rotate(-6deg)}.header-actions{display:flex;align-items:center;gap:22px}.header-note{font-size:13px;color:var(--muted)}.icon-button{display:grid;place-items:center;min-width:44px;height:44px;border:1px solid var(--line);border-radius:50%;background:var(--surface);font-size:21px}main{max-width:1168px;margin:auto;padding:36px 28px 68px;min-height:calc(100svh - 202px)}h1,h2,h3,p{margin:0}h1{font-size:clamp(30px,4.5vw,46px);font-weight:800;line-height:1.12;letter-spacing:-1.7px}h2{font-size:22px;letter-spacing:-.6px;line-height:1.25}h3{font-size:18px;letter-spacing:-.4px}p{color:var(--muted)}.eyebrow{text-transform:uppercase;letter-spacing:2px;font-size:12px;font-weight:800;color:var(--primary);margin-bottom:12px}.intro{display:flex;align-items:center;justify-content:space-between;gap:22px;margin-bottom:30px}.intro h1 span{color:var(--primary)}.intro p{margin-top:12px;font-size:17px}.intro-actions{display:flex;gap:10px}.button{min-height:48px;display:inline-flex;align-items:center;justify-content:center;gap:9px;padding:12px 19px;border-radius:14px;border:1px solid var(--line);background:var(--surface);font-size:15px;font-weight:700;line-height:1.3}.button.primary{background:#7251dd;border-color:#7251dd;color:#fff;box-shadow:0 4px 12px #7251dd1c}.button.primary:hover{background:#6341cf}.button.soft{background:var(--primary-soft);border-color:transparent;color:var(--primary)}.button.danger{color:var(--danger)}.text-button{min-height:44px;background:none;border:0;color:var(--muted);font-size:14px;font-weight:600}.button svg,.icon-button svg{width:20px;height:20px}.active-panel{background:var(--surface);border:1px solid var(--line);border-radius:22px;padding:22px 24px;margin-bottom:32px;box-shadow:var(--shadow)}.section-top{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px}.section-top h2{font-size:18px}.section-top p{font-size:13px}.live{display:flex;align-items:center;gap:7px;font-size:12px;color:var(--green);font-weight:700}.live:before{content:'';width:6px;height:6px;background:currentColor;border-radius:50%}.empty{display:flex;align-items:center;gap:15px}.empty-symbol{display:grid;place-items:center;flex:0 0 46px;height:46px;border-radius:14px;background:var(--field);font-size:24px}.empty p{font-size:14px}.empty h3{font-size:15px;margin-bottom:3px}.empty .button{margin-left:auto}.room-list{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.room-tile{border:1px solid var(--line);border-radius:15px;display:flex;align-items:center;gap:10px;padding:12px;min-width:0}.room-tile>div{min-width:0}.room-tile strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:15px}.room-tile p{font-size:12px}.room-tile .button{margin-left:auto;padding:8px 12px;min-height:42px;font-size:13px}.room-emoji{font-size:28px}.library-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px;gap:14px}.library-head h2{font-size:22px}.tabs{display:flex;gap:4px;background:var(--line);padding:4px;border-radius:12px}.tabs button{border:0;border-radius:9px;background:transparent;color:var(--muted);padding:8px 14px;min-height:38px;font-size:13px;font-weight:600}.tabs button.selected{background:var(--surface);color:var(--text);box-shadow:0 2px 5px #00000008}.games{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:19px}.game-card{position:relative;display:flex;flex-direction:column;border-radius:23px;min-height:260px;padding:24px;overflow:hidden;transition:transform .2s,box-shadow .2s;border:1px solid transparent}.game-card:hover{transform:translateY(-4px);box-shadow:0 12px 24px #25204713}.game-card .card-top{display:flex;justify-content:space-between;align-items:flex-start;gap:14px;margin-bottom:22px}.game-card .emoji{font-size:55px;line-height:1.2;filter:drop-shadow(0 6px 4px #30214212);transform:rotate(-6deg);display:block}.game-card .tag{font-size:11px;font-weight:700;letter-spacing:.3px;background:#ffffff80;color:inherit;padding:5px 10px;border-radius:8px}.game-card h3{font-size:25px;font-weight:800;letter-spacing:-.8px;margin-bottom:7px;line-height:1.2}.game-card p{font-size:14px;max-width:240px;color:inherit;opacity:.78;line-height:1.5}.card-bottom{display:flex;justify-content:space-between;align-items:center;margin-top:auto;padding-top:21px;font-size:12px;font-weight:650}.card-arrow{display:grid;place-items:center;border-radius:50%;width:30px;height:30px;background:#ffffff90;font-size:18px}.imposteur{background:#eee7ff;color:#473176}html[data-theme=dark] .imposteur{background:#3a2e55;color:#e1ccff}html[data-theme=dark] .game-card .tag,html[data-theme=dark] .card-arrow{background:#ffffff14}.home-note{display:flex;justify-content:center;align-items:center;gap:8px;color:var(--muted);font-size:13px;margin-top:27px}footer{max-width:1112px;margin:auto;border-top:1px solid var(--line);padding:19px 0;display:flex;align-items:center;justify-content:space-between;gap:15px;font-size:12px;color:var(--muted)}footer>a{font-size:15px;font-weight:750;color:var(--text)}.back{display:inline-flex;align-items:center;gap:7px;min-height:44px;font-size:14px;font-weight:650;color:var(--muted);margin-bottom:17px}.page-head{display:flex;align-items:center;gap:18px;margin-bottom:27px}.page-head h1{font-size:34px;letter-spacing:-1px}.page-head p{margin-top:6px;font-size:15px}.game-icon{width:76px;height:76px;flex-shrink:0;display:grid;place-items:center;font-size:43px;border-radius:22px}.narrow{max-width:760px;margin:auto}.panel{background:var(--surface);border:1px solid var(--line);border-radius:22px;padding:26px;box-shadow:var(--shadow)}.panel+.panel{margin-top:18px}.panel-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}.panel-title h2{font-size:19px}.muted{color:var(--muted)}.small{font-size:13px}.field{display:block;margin-bottom:20px;font-size:14px;font-weight:650}.field>span{display:block;margin-bottom:8px}input,select{width:100%;min-height:49px;border:1px solid var(--line);border-radius:12px;padding:11px 13px;background:var(--field);color:var(--text);font-size:16px;outline-offset:2px}input[type=number]{appearance:textfield}input::-webkit-inner-spin-button{appearance:none}input[type=range]{padding:0;accent-color:var(--primary);border:0;background:none}.field-row{display:grid;grid-template-columns:1fr 1fr;gap:18px}.field-row .field{min-width:0}.full{width:100%}.chips{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:22px}.chip{min-height:40px;padding:8px 13px;border:1px solid var(--line);border-radius:11px;background:var(--surface);font-size:13px;font-weight:600}.chip.selected{background:var(--primary-soft);border-color:var(--primary);color:var(--primary)}.result{margin:24px 0;border:1px dashed var(--line);background:var(--field);padding:36px 22px;border-radius:18px;min-height:175px;display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;gap:14px}.result strong{font-size:30px;line-height:1.25;letter-spacing:-.8px}.result .number{font-size:clamp(32px,8vw,72px);overflow-wrap:anywhere}.word-results{display:flex;gap:10px;flex-wrap:wrap;justify-content:center}.word-pill{padding:12px 19px;background:var(--surface);border-radius:12px;font-size:21px;font-weight:750;box-shadow:var(--shadow);animation:appear .25s}.answer{background:var(--green-soft);color:var(--green);padding:18px;border-radius:13px;line-height:1.5;width:100%;font-weight:650;animation:appear .2s}.rules{margin:18px 0;padding-left:23px;color:var(--muted);font-size:15px}.rules li{margin:10px 0}.hint{background:var(--field);padding:14px 17px;border-radius:13px;color:var(--muted);font-size:13px;margin:18px 0}.action-row{display:flex;gap:10px;flex-wrap:wrap}.action-row>*{flex:1}.connection-banner{padding:12px 16px;border-radius:13px;background:#fff0d6;color:#74490a;font-size:14px;margin-bottom:18px}.resume{display:flex;align-items:center;justify-content:space-between;background:var(--primary-soft);padding:15px 20px;border-radius:16px;margin-bottom:22px;gap:15px}.resume strong{font-size:15px}.room-head{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:24px}.room-head h1{font-size:29px;letter-spacing:-.8px;overflow-wrap:anywhere}.room-head p{font-size:14px;margin-top:4px}.code{background:var(--surface);border:1px solid var(--line);border-radius:13px;padding:9px 13px;min-height:48px;font-size:17px;font-weight:750;letter-spacing:2px;white-space:nowrap}.room-layout{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(280px,1fr);gap:22px;align-items:start}.players{display:flex;gap:10px;flex-wrap:wrap}.player{display:flex;align-items:center;gap:9px;background:var(--field);border:1px solid var(--line);padding:9px 12px;border-radius:12px;font-size:14px;max-width:100%;overflow-wrap:anywhere}.player .avatar{width:29px;height:29px;border-radius:50%;display:grid;place-items:center;background:var(--primary-soft);color:var(--primary);font-size:12px;font-weight:750;flex-shrink:0}.player small{font-size:11px;color:var(--muted);display:block}.player.offline{border-style:dashed;opacity:.75}.player .text-button{min-height:30px;color:var(--danger)}.secret-shell{text-align:center;background:var(--primary-soft);border:1px solid var(--line);border-radius:20px;padding:24px;min-height:250px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:15px;margin-top:20px}.secret-content{min-height:106px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:7px;width:100%}.secret-content .secret-icon{font-size:36px}.secret-content strong{font-size:29px;line-height:1.2;overflow-wrap:anywhere}.secret-content p{font-size:13px;max-width:370px}.hold{user-select:none;-webkit-user-select:none;-webkit-touch-callout:none;touch-action:none;min-height:52px}.role-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 0;border-bottom:1px solid var(--line)}.role-name{display:flex;align-items:center;gap:10px;font-size:14px;font-weight:600;overflow-wrap:anywhere}.role-name .emoji{font-size:26px}.stepper{display:flex;align-items:center;gap:9px;flex-shrink:0}.stepper button{width:38px;height:38px;border:1px solid var(--line);border-radius:10px;background:var(--field);font-size:20px}.stepper output{min-width:18px;text-align:center;font-weight:700}.role-total{padding:14px 0;display:flex;justify-content:space-between;font-size:14px;font-weight:650}.settings-actions{margin-top:20px;display:grid;gap:10px}.setting-summary{font-size:14px;color:var(--muted);line-height:1.8}.status-chip{font-size:12px;padding:5px 9px;background:var(--green-soft);color:var(--green);border-radius:8px;font-weight:650}.warning{background:#fff0d6;color:#74490a;padding:15px 18px;border-radius:14px;margin-bottom:18px;display:flex;align-items:center;justify-content:space-between;gap:14px;font-size:14px}.board{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;margin-top:18px}.tile{min-height:70px;padding:9px 4px;border:1px solid var(--line);border-radius:10px;background:var(--field);color:var(--text);font-size:13px;font-weight:750;word-break:normal;overflow-wrap:anywhere}.tile.corail,.team.corail{background:#ffddcf;color:#8d3b29;border-color:#e7ae98}.tile.bleu,.team.bleu{background:#cfe9ff;color:#234f85;border-color:#a5c9ec}.tile.neutre{background:#ede8d8;color:#6b6150;border-color:#d2c8ac}.tile.ombre{background:#303145;color:#fff;border-color:#303145}.tile.revealed{box-shadow:inset 0 -4px #00000012}.tile .revealed-mark{display:block;font-size:11px;font-weight:500;margin-top:4px}.team{padding:7px 11px;border-radius:9px;font-size:13px;font-weight:700;display:inline-block}.teams-line{display:flex;gap:10px;flex-wrap:wrap;margin-top:14px}.guide-note{font-size:13px;margin-top:12px;color:var(--muted)}dialog{color:var(--text);background:var(--surface);border:1px solid var(--line);border-radius:25px;padding:29px;max-width:440px;width:calc(100% - 32px);box-shadow:0 30px 90px #0003}dialog::backdrop{background:#15162670;backdrop-filter:blur(4px)}dialog h2{font-size:23px;margin-bottom:12px}dialog p{margin-bottom:22px;font-size:15px}dialog .close{position:absolute;right:12px;top:10px}.dialog-icon{font-size:36px;margin-bottom:13px}.error{color:var(--danger);font-size:14px;margin-bottom:14px}.dialog-actions{display:flex;gap:10px;margin-top:20px}.dialog-actions>*{flex:1}#toast{position:fixed;bottom:max(24px,env(safe-area-inset-bottom));left:50%;transform:translate(-50%,20px);opacity:0;background:var(--text);color:var(--surface);box-shadow:0 8px 25px #0003;border-radius:14px;padding:13px 20px;max-width:calc(100% - 30px);width:max-content;font-size:14px;z-index:20;pointer-events:none;transition:.2s}#toast.visible{opacity:1;transform:translate(-50%,0)}.skip{position:fixed;top:-100px;padding:15px;background:var(--surface);z-index:30}.skip:focus{top:0}.fade{animation:appear .25s}@keyframes appear{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}.skeleton{height:60px;border-radius:12px;background:var(--field);animation:pulse 1s infinite alternate}@keyframes pulse{to{opacity:.4}}[hidden]{display:none!important}
@media(min-width:1000px){.game-card{min-height:274px}.game-card .emoji{font-size:61px}.game-card:nth-child(2) .emoji{transform:rotate(5deg)}}
@media(max-width:850px){.intro{align-items:flex-start}.intro-actions{flex-direction:column}.header-note{display:none}.room-list{grid-template-columns:1fr 1fr}.games{gap:14px}.game-card{padding:19px}.game-card h3{font-size:23px}.room-layout{grid-template-columns:1fr}.room-layout>.side{display:grid;grid-template-columns:1fr;gap:18px}.room-layout .panel+.panel{margin-top:18px}footer{margin:0 28px}footer>span{display:none}}
@media(max-width:600px){.header{padding:19px 20px}.brand{font-size:19px;gap:10px}.brand-mark{width:37px;height:37px;font-size:32px;border-radius:12px}main{padding:27px 18px 42px}.intro{display:block;margin-bottom:23px}.intro h1{font-size:36px}.intro p{font-size:15px;margin-top:10px}.intro-actions{flex-direction:row;margin-top:22px}.intro-actions>*{flex:1}.eyebrow{font-size:11px;margin-bottom:9px}.active-panel{padding:18px;margin-bottom:27px;border-radius:18px}.section-top{margin-bottom:14px}.empty{flex-wrap:wrap;gap:12px}.empty>div{flex:1}.empty .button{width:100%;flex-basis:100%;margin-top:3px}.room-list{grid-template-columns:1fr}.library-head{align-items:flex-start;flex-direction:column;gap:13px}.library-head h2{font-size:21px}.tabs{width:100%}.tabs button{flex:1;padding:8px 7px}.games{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.game-card{border-radius:19px;min-height:246px;padding:17px 15px}.game-card .card-top{flex-direction:column;gap:9px;margin-bottom:13px}.game-card .emoji{font-size:43px}.game-card .tag{font-size:10px;padding:4px 8px}.game-card h3{font-size:20px;letter-spacing:-.5px}.game-card p{font-size:13px;line-height:1.5}.card-bottom{font-size:11px;padding-top:14px}.card-arrow{width:25px;height:25px;font-size:15px}.home-note{font-size:12px;gap:5px}.panel{padding:20px;border-radius:19px}.page-head{gap:13px;margin-bottom:22px;align-items:flex-start}.page-head h1{font-size:29px}.page-head p{font-size:14px}.game-icon{width:59px;height:59px;font-size:34px;border-radius:17px}.field-row{gap:12px}.result{padding:26px 15px}.result strong{font-size:25px}.chips{gap:7px}.chip{font-size:12px;padding:8px 11px;min-height:42px}.room-head{align-items:flex-start}.room-head h1{font-size:25px}.code{font-size:14px;letter-spacing:1px;padding:9px 10px}.secret-shell{padding:19px}.secret-content strong{font-size:25px}.board{gap:5px}.tile{min-height:66px;border-radius:8px;font-size:11px;padding:7px 2px}.warning{align-items:flex-start;flex-direction:column}.warning .button{width:100%}.role-name{font-size:13px}.role-name .emoji{font-size:23px}.stepper{gap:7px}.stepper button{width:40px;height:40px}footer{margin:0 18px;font-size:11px;gap:5px}footer>a{font-size:14px}.text-button{font-size:12px}.resume{padding:14px;flex-wrap:wrap}.resume .button{width:100%}.room-head .back{margin:0}.room-tile .button{font-size:14px;min-height:44px}.empty p{font-size:13px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

.emoji-img{width:1.2em;height:1.2em;display:inline-block;vertical-align:-.2em;object-fit:contain}.game-card .emoji .emoji-img{width:1.3em;height:1.3em}.game-icon .emoji-img{width:1.3em;height:1.3em}.role-name .emoji-img{width:1.2em;height:1.2em}.button .emoji-img,.code .emoji-img{width:20px;height:20px}.panel>h2+.players{margin-top:18px}.panel>.button+.small{margin-top:16px}.panel>h3+p{margin-top:8px}

.tile:disabled{opacity:1;cursor:default}
