/* Компактный игровой стол VIO: все заливки наследуют семантическую тему. */
.gp-oral-confirm{display:grid;gap:12px;padding:18px;border:1px solid var(--line);border-radius:14px;background:var(--soft);text-align:center}.gp-oral-confirm .gp-next-step{margin-top:0}.gp-gallery-preview{width:min(94vw,860px);max-height:calc(100dvh - 32px);margin:auto;padding:20px;border:1px solid var(--line);border-radius:18px;background:var(--surface);color:var(--ink);overflow:auto;overscroll-behavior:contain}.gp-gallery-preview::backdrop{background:#0009}.gp-gallery-preview h3{font-size:18px;line-height:1.4;margin:0 0 14px;overflow-wrap:anywhere}.gp-gallery-preview img{display:block;width:100%;height:auto;max-height:calc(100dvh - 190px);object-fit:contain;margin-bottom:16px;background:var(--bg);border:1px solid var(--line);border-radius:12px}.gp-gallery-preview>.gp-button{width:100%}
.gp-table{--gp-motion:180ms;position:relative;padding:20px;border:1px solid var(--line);border-radius:20px;background:var(--surface);text-align:left;isolation:isolate}.gp-table *{box-sizing:border-box}.gp-table [hidden]{display:none!important}.gp-table button,.gp-table input{font:inherit}.gp-table button{cursor:pointer;color:var(--ink);touch-action:manipulation;-webkit-tap-highlight-color:transparent}.gp-table button:disabled{cursor:default;opacity:.5}.gp-table button:focus-visible,.gp-table input:focus-visible,.gp-table summary:focus-visible{outline:3px solid var(--focus,var(--accent));outline-offset:3px}.gp-table svg{display:block;flex-shrink:0}.gp-topline{display:flex;gap:10px;align-items:center;margin-bottom:12px;font-size:12px;color:var(--muted)}.gp-round{font-weight:750}.gp-phase{padding:4px 9px;border:1px solid var(--line);border-radius:7px;line-height:1.4}.gp-clock{margin-left:auto;font-variant-numeric:tabular-nums;font-weight:800;font-size:19px;line-height:1.2;color:var(--ink)}.gp-progress{margin-bottom:18px}.gp-progress-label{font-size:12px;color:var(--muted);margin:0 0 6px}.gp-meter{height:4px;background:var(--soft);overflow:hidden;border-radius:8px}.gp-meter>span{display:block;height:100%;background:var(--accent);border-radius:inherit;width:100%;transform:scaleX(0);transform-origin:left;transition:transform 220ms}.gp-scene{text-align:center}.gp-prompt{font-size:clamp(23px,3vw,31px);font-weight:750;line-height:1.3;letter-spacing:-.8px;overflow-wrap:anywhere;white-space:pre-line;margin:0;text-wrap:balance}.gp-scene-symbol{width:44px;height:44px;margin:0 auto 14px;color:var(--accent)}.gp-next-step{font-size:13px;line-height:1.6;color:var(--muted);margin:12px auto 0;max-width:510px;white-space:pre-line}.gp-interact{display:grid;gap:12px;margin-top:18px}.gp-interact:empty{display:none}.gp-label{font-size:14px;font-weight:750;line-height:1.5;margin:0 0 10px;text-align:left}.gp-button{min-height:48px;padding:12px 16px;border:1px solid transparent;border-radius:12px;background:var(--soft);font-size:14px;font-weight:750;line-height:1.4;display:inline-flex;align-items:center;justify-content:center;gap:8px;transition:background var(--gp-motion),transform 100ms,border-color var(--gp-motion);text-align:center}.gp-button>svg{width:19px;height:19px}.gp-button:active:not(:disabled){transform:scale(.98)}.gp-button-primary{background:var(--accent);color:var(--accent-text,var(--surface))!important}.gp-button-soft{background:var(--soft);border-color:var(--line)}.gp-button-quiet{background:transparent;color:var(--muted)!important;border-color:var(--line);font-size:13px}.gp-feedback{font-size:14px;font-weight:650;color:var(--ink);padding:12px 14px;background:var(--blue);border-radius:12px;margin:14px 0 0;line-height:1.6}.gp-feedback:empty{display:none}.gp-input{display:block;min-width:0;width:100%;min-height:52px;background:var(--bg);color:var(--ink);border:1px solid var(--line);border-radius:12px;padding:13px 14px;font-size:16px!important}.gp-answer-form{display:grid;grid-template-columns:1fr auto;gap:8px}.gp-answer-form>.gp-label{grid-column:1/-1;margin:0}.gp-answer-form .gp-button{min-width:120px}.gp-secret{border:1px solid var(--line);border-radius:16px;background:var(--soft);margin-top:16px;overflow:hidden;text-align:left}.gp-button-envelope{width:100%;background:transparent;justify-content:flex-start;text-align:left;min-height:52px;font-size:14px}.gp-button-envelope::after{content:'+';font-size:22px;font-weight:400;margin-left:auto;color:var(--muted)}.gp-button-envelope[aria-expanded="true"]::after{content:'−'}.gp-secret-content{font-size:18px;font-weight:650;line-height:1.65;white-space:pre-line;padding:0 16px 18px;overflow-wrap:anywhere}.gp-secret-compact .gp-secret-content{font-size:16px;font-weight:600}.gp-team-scores{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:18px}.gp-team{display:flex;justify-content:space-between;align-items:center;padding:9px 12px;border:1px solid var(--line);border-radius:10px;font-size:12px;color:var(--muted)}.gp-team.is-mine{background:var(--blue);color:var(--ink)}.gp-team strong{font-size:21px;color:var(--ink);font-variant-numeric:tabular-nums}.gp-word-card{position:relative;display:flex;flex-direction:column;width:min(100%,450px);margin:0 auto;min-height:205px;padding:24px 22px 18px;background:var(--blue);border:1px solid var(--line);border-radius:20px;gap:14px;box-shadow:0 5px 0 var(--soft),0 6px 0 var(--line)}.gp-word-card:disabled{opacity:1!important}.gp-word-card>svg{width:36px;height:36px;color:var(--muted)}.gp-word-badge{font-size:12px;color:var(--muted);font-weight:650}.gp-word-text{font-size:clamp(29px,5vw,42px);line-height:1.2;font-weight:800;letter-spacing:-1.2px;white-space:pre-line;overflow-wrap:anywhere;text-wrap:balance}.gp-word-long{font-size:25px;letter-spacing:-.5px;line-height:1.5}.gp-word-hint{font-size:12px;color:var(--muted);font-weight:500}.gp-word-card.is-audience{background:var(--soft)}.gp-croc .gp-word-card{border-radius:20px 36px 20px 20px}.gp-taboo .gp-word-card{background:var(--rose)}.gp-word-counters{display:flex;justify-content:center;flex-wrap:wrap;gap:8px 20px;margin-top:15px;font-size:12px;color:var(--muted);font-variant-numeric:tabular-nums}.gp-word-controls{display:grid;grid-template-columns:1fr 1.4fr;gap:8px}.gp-word-controls .gp-button-fault{grid-column:1/-1}.gp-guesser-picker{padding:16px;background:var(--soft);border:1px solid var(--line);border-radius:16px}.gp-truth-choices{display:grid;grid-template-columns:1fr 1fr;gap:12px}.gp-button-truth,.gp-button-dare{min-height:172px;display:flex;flex-direction:column;gap:12px;border:1px solid var(--line);border-radius:20px;background:var(--rose);padding:22px 14px}.gp-button-dare{background:var(--blue)}.gp-button-truth>svg,.gp-button-dare>svg{width:42px;height:42px}.gp-button-truth>strong,.gp-button-dare>strong{font-size:23px;font-weight:750;letter-spacing:-.6px}.gp-button-truth>span,.gp-button-dare>span{font-size:12px;font-weight:500;color:var(--muted)}.gp-question-card{background:var(--rose);padding:24px;border:1px solid var(--line);border-radius:20px;min-height:150px;display:grid;place-content:center;gap:13px}.gp-question-card.is-dare{background:var(--blue)}.gp-question-type{font-size:12px;font-weight:750;color:var(--muted)}.gp-ballot{display:grid;gap:12px}.gp-ballot .gp-label{margin:0}.gp-portrait-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.gp-button-portrait{display:flex;flex-direction:column;min-height:100px;gap:8px;padding:12px 8px;border-color:var(--line);background:var(--bg);border-radius:14px;font-size:13px;overflow-wrap:anywhere;position:relative;min-width:0}.gp-button-portrait>span:last-child{max-width:100%;overflow-wrap:anywhere}.gp-button-portrait.is-selected{border-color:var(--accent);background:var(--blue);box-shadow:inset 0 0 0 1px var(--accent)}.gp-button-portrait.is-selected::after{content:'✓';position:absolute;right:7px;top:4px;font-size:12px;font-weight:800}.gp-avatar{display:inline-grid;place-items:center;width:36px;height:36px;border-radius:50%;background:var(--surface);border:1px solid var(--line);font-size:16px;font-weight:750;flex-shrink:0}.gp-vote-note{font-size:12px;color:var(--muted);text-align:center;margin:0}.gp-hidden{background:var(--soft)}.gp-night{background:var(--soft)}.gp-night .gp-scene-symbol{width:52px;height:52px}.gp-night .gp-phase{background:var(--surface)}.gp-character-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;white-space:normal}.gp-character{position:relative;min-height:145px;border:1px solid var(--line);border-radius:14px;background:var(--surface);padding:16px 12px;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px}.gp-character>svg{width:28px;height:28px;color:var(--muted)}.gp-character-name{font-size:12px;font-weight:500;color:var(--muted)}.gp-character strong{font-size:17px;font-weight:750;line-height:1.35}.gp-solved{display:grid;justify-items:center;text-align:center;gap:10px;background:var(--blue);padding:24px;border-radius:16px}.gp-solved svg{width:36px;height:36px}.gp-solved strong{font-size:21px;letter-spacing:-.5px}.gp-solved span{font-size:13px;color:var(--muted)}.gp-friends-emblem{display:flex;align-items:center;justify-content:center;margin-bottom:18px}.gp-friend-face{display:grid;place-items:center;width:48px;height:48px;background:var(--blue);border:1px solid var(--line);border-radius:50%;font-size:27px;margin:0 -5px}.gp-friend-face:nth-child(2){width:60px;height:60px;background:var(--rose);z-index:1;margin-top:-7px}.gp-friend-face:nth-child(3){background:var(--soft)}.gp-crystal{width:78px;height:80px;border:2px solid var(--ink);border-radius:50%;background:var(--blue);margin:0 auto 20px;position:relative;display:grid;place-items:center}.gp-crystal>svg{width:36px;height:36px;color:var(--accent)}.gp-crystal::after{content:'';position:absolute;width:14px;height:6px;left:11px;top:14px;border-radius:10px;background:var(--surface);transform:rotate(-35deg)}.gp-crystal-base{position:absolute;bottom:-9px;width:54px;height:11px;border-radius:4px;background:var(--soft);border:2px solid var(--ink)}.gp-sealed{display:grid;justify-items:center;text-align:center;gap:10px;padding:24px;border:1px solid var(--line);border-radius:16px;background:var(--blue)}.gp-sealed>svg{width:44px;height:44px}.gp-sealed>span{font-size:12px;color:var(--muted)}.gp-sealed>strong{font-size:24px;letter-spacing:-.6px;line-height:1.3;overflow-wrap:anywhere;max-width:100%}.gp-sealed>.gp-button{margin-top:4px}.gp-canvas{display:block;width:100%;max-width:430px;height:auto;aspect-ratio:1.3;margin:auto;border:1px solid var(--line);border-radius:16px;touch-action:none;user-select:none;cursor:crosshair}.gp-drawing-editor{display:grid;gap:12px}.gp-drawing-tools{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:8px}.gp-palette,.gp-pen-widths{display:flex;gap:3px;align-items:center}.gp-button-swatch,.gp-button-pen{width:44px;height:44px;min-height:44px;padding:7px;background:transparent;border-radius:10px}.gp-button-swatch::before{content:'';display:block;width:26px;height:26px;border-radius:50%;background:var(--swatch);border:1px solid var(--line)}.gp-button-swatch.is-selected,.gp-button-pen.is-selected{border-color:var(--ink);background:var(--soft)}.gp-button-pen i{display:block;background:var(--ink);border-radius:50%;min-width:3px;min-height:3px}.gp-drawing-tools .gp-button-quiet{min-height:44px;padding:9px 11px;font-size:12px}.gp-saved-note{margin:0;text-align:center;font-size:12px;color:var(--muted)}.gp-saved-note:empty{display:none}.gp-drawing-wait{display:grid;justify-items:center;gap:12px;padding:24px}.gp-drawing-wait svg{width:42px;height:42px;color:var(--muted)}.gp-drawing-wait strong{font-size:21px}.gp-drawing-wait p{max-width:390px;font-size:13px;color:var(--muted);line-height:1.6;margin:0}.gp-dial{display:block;width:min(100%,320px);height:auto;margin:0 auto;color:var(--ink)}.gp-scale-ends{display:flex;justify-content:space-between;gap:20px;text-align:left;font-size:13px;line-height:1.5;margin-top:4px}.gp-scale-ends strong{max-width:45%;font-weight:650;overflow-wrap:anywhere}.gp-scale-ends strong:last-child{text-align:right}.gp-scale-value{display:block;margin-top:12px;font-size:23px;font-weight:800;font-variant-numeric:tabular-nums;letter-spacing:-.5px}.gp-range{display:block;width:100%;min-height:44px;accent-color:var(--accent);margin:0;cursor:pointer}.gp-never-tokens{display:grid;grid-template-columns:1fr 1fr;gap:12px}.gp-button-hand-token{flex-direction:column;gap:10px;min-height:164px;padding:20px 12px;background:var(--blue);border:1px solid var(--line);border-radius:20px}.gp-button-hand-token:nth-child(2){background:var(--rose)}.gp-button-hand-token>svg{width:45px;height:45px}.gp-button-hand-token>strong{font-size:20px;line-height:1.2;letter-spacing:-.5px}.gp-button-hand-token>span{font-size:12px;font-weight:500;color:var(--muted)}.gp-button-hand-token.is-selected{box-shadow:inset 0 0 0 2px var(--accent);border-color:var(--accent)}.gp-rating-value{display:flex;align-items:baseline;justify-content:center;gap:9px;margin-top:16px}.gp-rating-value>strong{font-size:54px;font-weight:800;letter-spacing:-2px;line-height:1.1;font-variant-numeric:tabular-nums}.gp-rating-value>span{font-size:14px;color:var(--muted)}.gp-stars{display:grid;grid-template-columns:repeat(10,minmax(0,1fr));gap:4px}.gp-button-star{min-width:0;min-height:64px;padding:8px 2px;gap:4px;flex-direction:column;background:transparent;border-radius:10px;border-color:var(--line);font-size:12px}.gp-button-star>svg{width:24px;height:24px;color:var(--muted)}/* Заполняет все звёзды до выбранной оценки включительно. */
.gp-button-star.is-lit{background:var(--soft)}.gp-button-star.is-lit>svg{fill:currentColor;color:var(--accent)}.gp-button-star.is-selected{background:var(--soft);border-color:var(--accent);box-shadow:inset 0 0 0 1px var(--accent)}.gp-results{border-top:1px solid var(--line);padding-top:20px;margin-top:22px;display:grid;gap:14px}.gp-result-heading{display:flex;align-items:center;gap:8px}.gp-result-heading svg{width:22px;height:22px;color:var(--accent)}.gp-result-heading h3{font-size:21px;font-weight:750;letter-spacing:-.5px;line-height:1.3;margin:0}.gp-result-summary{font-size:14px;line-height:1.65;color:var(--muted);margin:0;white-space:pre-line}.gp-name-token{display:inline-flex;gap:6px;align-items:center;max-width:100%;font-size:13px;line-height:1.4}.gp-name-token>span:last-child{overflow-wrap:anywhere}.gp-name-token>.gp-avatar{width:27px;height:27px;font-size:12px}.gp-name-list{display:flex;flex-wrap:wrap;gap:9px}.gp-winner{padding:22px;background:var(--blue);border:1px solid var(--line);border-radius:16px;display:flex;flex-direction:column;gap:10px;align-items:center;text-align:center}.gp-winner>svg{width:32px;height:32px;color:var(--accent)}.gp-winner>.gp-name-token{font-size:20px;font-weight:750}.gp-winner>span:last-child{font-size:12px;color:var(--muted)}.gp-vote-result{display:grid;gap:8px}.gp-vote-result>div:first-child{display:flex;justify-content:space-between;gap:12px;align-items:center}.gp-result-track{height:7px;border-radius:10px;background:var(--soft);overflow:hidden}.gp-result-track span{display:block;height:100%;border-radius:inherit;background:var(--accent)}.gp-association-results{display:flex;flex-wrap:wrap;gap:10px;align-items:start}.gp-association-cluster{padding:16px;border-radius:16px;border:1px solid var(--line);background:var(--soft);min-width:calc(50% - 5px);flex:1;display:grid;gap:10px}.gp-association-cluster.is-match{background:var(--blue)}.gp-association-cluster>strong{font-size:23px;font-weight:750;line-height:1.3;letter-spacing:-.6px;overflow-wrap:anywhere}.gp-match-count{font-size:12px;color:var(--muted)}.gp-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.gp-gallery-card{margin:0;min-width:0}.gp-gallery-image{padding:0;border:2px solid var(--line);border-radius:14px;overflow:hidden;display:block;width:100%;background:var(--bg)}.gp-gallery-image:disabled{opacity:1!important}.gp-gallery-image.is-selected{border-color:var(--accent);box-shadow:0 0 0 2px var(--accent)}.gp-gallery-image>img{display:block;width:100%;height:auto;aspect-ratio:1.3;object-fit:contain}.gp-gallery-card figcaption{padding:9px 2px;display:flex;justify-content:space-between;gap:6px;flex-wrap:wrap;align-items:center}.gp-gallery-count{font-size:12px;white-space:nowrap}.gp-wave-target{display:flex;align-items:baseline;gap:10px;justify-content:center;padding:22px;background:var(--rose);border-radius:16px;font-size:13px;color:var(--muted)}.gp-wave-target>strong{font-size:44px;font-weight:800;line-height:1.2;letter-spacing:-1.7px;color:var(--ink)}.gp-wave-result{display:grid;grid-template-columns:1fr auto auto;gap:16px;align-items:center;padding:7px 0;border-bottom:1px solid var(--line);font-size:12px;color:var(--muted)}.gp-wave-result>strong{font-size:16px;color:var(--ink);font-variant-numeric:tabular-nums}.gp-never-results{display:grid;grid-template-columns:1fr 1fr;gap:12px}.gp-never-results>article{padding:18px 14px;background:var(--blue);border-radius:16px;display:flex;flex-direction:column;gap:10px}.gp-never-results>article:nth-child(2){background:var(--rose)}.gp-never-results>article>svg{width:28px;height:28px}.gp-never-results>article>strong{font-size:18px;font-weight:750;line-height:1.25}.gp-response-count{font-size:32px;font-weight:800;line-height:1.1}.gp-rating-average{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:10px;padding:20px;background:var(--soft);border-radius:16px}.gp-rating-average>svg{width:30px;height:30px;fill:var(--rose);color:var(--accent)}.gp-rating-average>strong{font-size:44px;font-weight:800;line-height:1.1;letter-spacing:-1.5px}.gp-rating-average>span{font-size:13px;color:var(--muted)}.gp-rating-histogram{height:125px;display:grid;grid-template-columns:repeat(10,minmax(0,1fr));gap:5px}.gp-rating-histogram>div{display:flex;align-items:center;flex-direction:column;gap:6px;font-size:12px}.gp-rating-histogram strong{font-size:12px;font-weight:650}.gp-rating-histogram i{width:100%;height:75px;background:var(--soft);border-radius:6px;position:relative;overflow:hidden;display:block}.gp-rating-histogram i>span{display:block;position:absolute;inset:auto 0 0;background:var(--accent);border-radius:6px;min-height:0}.gp-role-results{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.gp-role-card{padding:14px;border:1px solid var(--line);border-radius:14px;background:var(--soft);display:grid;gap:10px}.gp-role-card.is-hidden-role{background:var(--rose)}.gp-role-card>strong{font-size:14px}.gp-word-summary{display:flex;gap:8px;flex-wrap:wrap}.gp-word-summary>div{padding:9px 12px;border:1px solid var(--line);background:var(--soft);border-radius:9px;font-size:13px}.gp-final-scores{display:grid;grid-template-columns:1fr 1fr;gap:12px}.gp-final-scores article{padding:20px;background:var(--blue);border-radius:16px;display:grid;gap:12px;font-size:13px;text-align:center}.gp-final-scores article:nth-child(2){background:var(--rose)}.gp-final-scores strong{font-size:38px;font-weight:800;line-height:1.1;letter-spacing:-1px}.gp-truth-complete{font-size:15px;line-height:1.65;margin:0;color:var(--muted)}
/* Живая игра компактнее публичных правил и каталога. */
body .game-page.is-playing .game-page-copy h1{font-size:25px;letter-spacing:-.8px;line-height:1.2}body .game-page.is-playing .profile-panel{padding:12px 14px;margin-bottom:12px}body .game-page.is-playing .playing-toolbar{margin-bottom:12px}body .game-page.is-playing #room-actions{gap:8px;margin-top:12px}body .game-page.is-playing #room-actions>.btn{min-height:48px;font-size:13px;padding:12px 16px}body .game-page.is-playing .room-notice{font-size:12px;margin-top:12px}
@media(max-width:640px){.gp-table{padding:16px;border-radius:18px}.gp-topline{gap:7px;margin-bottom:12px}.gp-phase{font-size:12px;padding:3px 7px}.gp-clock{font-size:18px}.gp-progress{margin-bottom:16px}.gp-prompt{font-size:24px;letter-spacing:-.7px}.gp-next-step{font-size:13px;line-height:1.55;margin-top:10px}.gp-button{min-height:48px;font-size:14px;padding:12px 14px}.gp-answer-form{grid-template-columns:1fr}.gp-answer-form .gp-button{width:100%}.gp-word-card{min-height:185px;padding:20px 16px;gap:13px}.gp-word-text{font-size:33px;letter-spacing:-1px}.gp-word-long{font-size:23px;line-height:1.4;letter-spacing:-.5px}.gp-word-badge{font-size:12px}.gp-word-card>svg{width:32px;height:32px}.gp-team-scores{margin-bottom:14px}.gp-team{padding:8px 10px;font-size:12px;gap:8px}.gp-team strong{font-size:20px}.gp-word-controls{grid-template-columns:1fr 1.2fr}.gp-word-controls .gp-button{padding:12px 10px;font-size:13px}.gp-button-truth,.gp-button-dare{min-height:145px;gap:10px;padding:18px 10px}.gp-button-truth>svg,.gp-button-dare>svg{width:35px;height:35px}.gp-button-truth>strong,.gp-button-dare>strong{font-size:21px}.gp-question-card{padding:22px 18px;min-height:145px}.gp-portrait-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.gp-button-portrait{min-height:94px;padding:10px 8px;gap:8px;font-size:13px}.gp-avatar{width:34px;height:34px;font-size:15px}.gp-secret-content{font-size:17px;padding:0 14px 16px}.gp-button-envelope{min-height:52px;text-align:left;font-size:13px}.gp-character{padding:14px 10px;min-height:137px}.gp-character strong{font-size:16px}.gp-character-grid{gap:8px}.gp-drawing-tools{justify-content:space-between;gap:6px}.gp-drawing-tools .gp-button-quiet{padding:9px;font-size:12px}.gp-pen-widths{margin-left:auto}.gp-button-swatch,.gp-button-pen{width:44px;min-height:44px;padding:6px}.gp-palette{gap:0}.gp-pen-widths{gap:0}.gp-dial{width:min(100%,280px)}.gp-scale-ends{font-size:13px;gap:20px}.gp-never-tokens{gap:10px}.gp-button-hand-token{min-height:154px;gap:10px;padding:18px 9px}.gp-button-hand-token>strong{font-size:18px}.gp-button-hand-token>svg{width:42px;height:42px}.gp-stars{grid-template-columns:repeat(5,minmax(0,1fr));gap:6px}.gp-button-star{min-height:62px;padding:8px 4px;font-size:12px}.gp-button-star>svg{width:25px;height:25px}.gp-rating-value{margin-top:12px}.gp-rating-value strong{font-size:48px}.gp-ten .gp-scene-symbol{width:34px;height:34px;margin-bottom:12px}.gp-results{gap:12px;padding-top:18px;margin-top:18px}.gp-result-heading h3{font-size:20px;letter-spacing:-.5px}.gp-association-cluster{min-width:100%;padding:16px}.gp-association-cluster>strong{font-size:22px}.gp-gallery{gap:10px}.gp-gallery-card figcaption{display:grid;gap:5px}.gp-gallery-card .gp-name-token{font-size:12px;gap:4px}.gp-gallery-card .gp-name-token>.gp-avatar{width:22px;height:22px;font-size:12px}.gp-gallery-count{font-size:12px}.gp-wave-result{gap:9px;grid-template-columns:1fr auto;font-size:12px}.gp-wave-result>span:last-child{grid-column:1/-1;text-align:right;margin-top:-4px}.gp-wave-target{padding:18px;gap:8px}.gp-wave-target>strong{font-size:40px}.gp-never-results{gap:10px}.gp-never-results>article{padding:16px 12px}.gp-never-results>article>strong{font-size:17px}.gp-never-results .gp-name-list{display:grid;gap:8px}.gp-role-card{padding:12px}.gp-role-card .gp-name-token{font-size:12px}.gp-role-card>strong{font-size:13px}.gp-final-scores article{padding:18px 12px;font-size:12px}.gp-final-scores strong{font-size:34px}}
@media(max-width:360px){.gp-table{padding:14px}.gp-prompt{font-size:22px}.gp-word-text{font-size:29px}.gp-word-long{font-size:21px}.gp-button{font-size:13px;padding:12px}.gp-team{font-size:12px;padding:8px}.gp-button-hand-token>strong{font-size:17px}.gp-button-hand-token>span{font-size:12px}.gp-button-pen{width:40px;min-width:44px}.gp-gallery{grid-template-columns:1fr}.gp-role-results{grid-template-columns:1fr}.gp-never-results{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){.gp-table,.gp-table *{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

.gp-team{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:5px 10px}.gp-team-members{grid-column:1/-1;display:block;text-align:left;font-size:12px;line-height:1.55;font-weight:500;overflow-wrap:anywhere}

.gp-forbidden-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;width:100%;margin:1px 0 3px}.gp-forbidden-chip{display:block;min-width:0;padding:8px 10px;background:var(--surface);border:1px solid var(--line);border-radius:9px;font-size:13px;font-weight:650;line-height:1.4;letter-spacing:0;overflow-wrap:anywhere}.gp-taboo .gp-word-card.is-open{gap:12px}.gp-taboo .gp-word-card.is-open .gp-word-text{font-size:33px;letter-spacing:-.8px;line-height:1.2}@media(max-width:360px){.gp-forbidden-chip{font-size:12px;padding:8px}.gp-taboo .gp-word-card.is-open .gp-word-text{font-size:28px}}

.gp-dial-needle{transform-box:view-box;transform-origin:120px 120px;transition:transform 240ms cubic-bezier(.2,.7,.2,1)}
@media(prefers-reduced-motion:reduce){.gp-dial-needle{transition:none}}

/* Разводит противоположные слова по двум компактным полюсам. */
.gp-association-kicker{margin:0 0 12px;font-size:12px;font-weight:650;color:var(--muted)}
.gp-association-pair.is-pair{display:grid;grid-template-columns:minmax(0,1fr) 28px minmax(0,1fr);align-items:center;gap:8px;max-width:620px;margin:0 auto}
.gp-association-word{display:grid;place-items:center;min-width:0;min-height:100px;padding:18px 10px;border:1px solid var(--line);border-radius:16px;background:var(--blue);font-size:clamp(18px,3.2vw,30px);line-height:1.3;letter-spacing:-.5px;overflow-wrap:anywhere}
.gp-association-word:last-child{background:var(--rose)}
.gp-association-link{font-size:24px;font-weight:500;color:var(--muted)}
@media(max-width:480px){.gp-association-pair.is-pair{grid-template-columns:minmax(0,1fr) 20px minmax(0,1fr);gap:5px}.gp-association-word{min-height:94px;padding:14px 8px;font-size:20px}.gp-association-link{font-size:20px}}

/* Сохраняет иллюстрации выбора целиком на любом экране. */
.gp-button-truth>.gp-choice-art,.gp-button-dare>.gp-choice-art{display:block;width:min(100%,120px);height:96px;object-fit:contain;flex-shrink:0}@media(max-width:760px){.gp-button-truth>.gp-choice-art,.gp-button-dare>.gp-choice-art{width:min(100%,96px);height:76px}}

/* Совмещает вращение стрелки с центром иллюстрации шкалы. */
.gp-dial-needle{transform-origin:120px 100px}

/* Возвращение в игру повторяет закрытую передачу телефона и не оставляет пустую сцену. */
.gp-table.is-privacy-paused{max-width:620px;margin-inline:auto}
#active-game-content:has(.gp-table.is-privacy-paused)>:is(#room-actions,#shared-turn){display:none}
.gp-resume-panel{display:grid;align-content:center;justify-items:center;gap:14px;min-height:min(55dvh,420px);padding:28px 12px;text-align:center}
.gp-resume-eyebrow{margin:0;color:var(--muted);font-size:12px;font-weight:650;line-height:1.5}
.gp-resume-name{max-width:100%;margin:0;font-size:clamp(30px,5.8vw,44px);font-weight:800;line-height:1.15;letter-spacing:-1px;color:var(--gp-ink,var(--ink));overflow-wrap:anywhere}
.gp-resume-copy{max-width:340px;margin:0;color:var(--muted);font-size:14px;line-height:1.7;text-wrap:pretty}
.gp-table.is-privacy-paused .gp-resume-open{display:flex;flex-direction:column;gap:12px;width:min(100%,260px);min-height:0;max-width:260px;margin:2px auto 0;padding:12px 16px 16px;border:0;border-radius:24px;background:transparent;color:var(--gp-ink,var(--ink))!important;box-shadow:none;font-size:14px;line-height:1.5}
.gp-resume-open .pass-fingerprint-mark{border-color:var(--gp-edge,var(--line));background:var(--gp-tint,var(--soft))}
.gp-table .gp-resume-open:focus-visible{outline:3px solid var(--focus);outline-offset:4px}
@media(max-width:480px){.gp-resume-panel{min-height:350px;padding:22px 4px;gap:12px}.gp-resume-copy{max-width:280px;font-size:13px}.gp-resume-name{font-size:34px}}
@media(max-height:700px){.gp-resume-panel{min-height:260px;padding-block:14px;gap:10px}.gp-resume-name{font-size:30px}}

/* Делает игровое задание главным объектом, сохраняя бумажный стиль VIO. */
section.gp-table{
  --gp-paper:var(--game-paper,var(--surface));
  --gp-tint:var(--game-tint,var(--soft));
  --gp-faint:var(--game-faint,var(--soft));
  --gp-ink:var(--game-ink,var(--ink));
  --gp-edge:var(--game-edge,var(--line));
  min-width:0;padding:clamp(20px,3vw,32px);
  border-color:var(--gp-edge);border-radius:var(--game-radius,24px);
  background:var(--gp-paper);box-shadow:0 4px 24px color-mix(in srgb,var(--ink) 3%,transparent);
}
.gp-table .gp-topline{flex-wrap:wrap;gap:8px 12px;padding-bottom:14px;margin-bottom:20px;border-bottom:1px solid var(--gp-edge);font-size:12px;line-height:1.5}
.gp-table .gp-round{font-weight:750;color:var(--ink)}
.gp-table .gp-phase{max-width:100%;padding:4px 9px;border:0;border-radius:6px;background:var(--gp-tint);color:var(--gp-ink);font-weight:650}
.gp-table .gp-clock{padding-left:4px;font-size:22px;letter-spacing:-.6px;color:var(--gp-ink);white-space:nowrap}
.gp-table .gp-progress{margin-bottom:24px}
.gp-table .gp-progress-label{display:flex;align-items:center;gap:8px;margin-bottom:8px;line-height:1.5}
.gp-table .gp-meter{height:3px;background:var(--gp-tint)}
.gp-table .gp-meter>span{background:var(--gp-ink)}
.gp-table .gp-scene{position:relative;min-width:0}
.gp-table .gp-prompt{max-width:660px;margin-inline:auto;font-size:clamp(27px,3.4vw,38px);font-weight:800;line-height:1.28;letter-spacing:-1.1px}
.gp-table .gp-next-step{max-width:470px;margin-top:14px;font-size:13px;line-height:1.7;color:var(--muted)}
.gp-table .gp-scene-symbol{color:var(--gp-ink)}
.gp-table .gp-interact{gap:12px;margin-top:24px;min-width:0}
.gp-table .gp-label{font-size:13px;font-weight:750;line-height:1.55}
.gp-table .gp-button{min-height:50px;border-radius:13px;font-size:14px;font-weight:750;line-height:1.4;padding:13px 17px}
.gp-table .gp-button-primary{background:var(--gp-ink);color:var(--gp-paper)!important;box-shadow:0 2px 0 color-mix(in srgb,var(--gp-ink) 18%,transparent)}
.gp-table .gp-button-soft{border-color:var(--gp-edge);background:var(--gp-tint)}
.gp-table .gp-button-quiet{background:transparent;border-color:var(--gp-edge);color:var(--muted)!important;font-size:13px;box-shadow:none}
.gp-table .gp-button:focus-visible,.gp-table .gp-input:focus-visible,.gp-table .gp-range:focus-visible{outline-color:var(--gp-ink);outline-offset:4px}
.gp-table .gp-input{min-height:54px;padding:14px 16px;border-color:var(--gp-edge);background:var(--bg);border-radius:13px;line-height:1.5}
.gp-table .gp-input::placeholder{color:var(--muted);opacity:1}
.gp-table .gp-answer-form{gap:10px}
.gp-table .gp-answer-form>.gp-label{margin-bottom:0}
.gp-table .gp-feedback{padding:14px 16px;background:var(--gp-tint);border-left:3px solid var(--gp-ink);border-radius:0 12px 12px 0;font-size:13px;line-height:1.65}

/* Отделяет личный конверт от общего задания и бюллетеня. */
.gp-table .gp-secret{margin-top:22px;border-color:var(--gp-edge);border-radius:16px;background:var(--gp-faint)}
.gp-table .gp-button-envelope{min-height:62px;gap:12px;padding:16px;text-align:left;color:var(--gp-ink)}
.gp-table .gp-button-envelope>svg{width:24px;height:24px}
.gp-table .gp-button-envelope::after{width:27px;height:27px;display:grid;place-items:center;flex-shrink:0;background:var(--gp-paper);border-radius:50%;font-size:21px;color:var(--gp-ink)}
.gp-table .gp-secret-content{padding:2px 18px 20px;font-size:21px;font-weight:750;line-height:1.55;letter-spacing:-.3px}
.gp-table .gp-secret-compact .gp-secret-content{font-size:17px;font-weight:650;line-height:1.7;letter-spacing:0}

/* Словесные игры получают собственную стопку и крупный открытый ответ. */
.gp-table .gp-team-scores{gap:10px;margin-bottom:22px}
.gp-table .gp-team{gap:4px 10px;padding:10px 12px;border:0;border-bottom:2px solid var(--gp-edge);border-radius:10px 10px 0 0;background:transparent;align-items:start;line-height:1.5}
.gp-table .gp-team.is-mine{border-bottom-color:var(--gp-ink);background:var(--gp-tint)}
.gp-table .gp-team strong{font-size:27px;line-height:1.15;letter-spacing:-.8px;color:var(--gp-ink)}
.gp-table .gp-team-members{font-size:12px;line-height:1.55;color:var(--muted)}
.gp-table .gp-word-card{width:min(100%,500px);min-height:266px;justify-content:center;align-items:center;gap:13px;padding:26px 26px 24px;border-color:var(--gp-edge);border-radius:22px;background:var(--gp-tint);box-shadow:0 5px 0 var(--gp-paper),0 6px 0 var(--gp-edge),0 10px 0 color-mix(in srgb,var(--gp-tint) 70%,var(--gp-paper)),0 11px 0 var(--gp-edge);color:var(--ink)}
.gp-table .gp-word-badge{font-size:12px;font-weight:750;line-height:1.5;color:var(--gp-ink)}
.gp-table .gp-word-art{display:block;width:180px;max-width:72%;height:112px;object-fit:contain;pointer-events:none}
.gp-table .gp-word-text{font-size:clamp(31px,4.5vw,45px);font-weight:800;line-height:1.2;letter-spacing:-1.4px;max-width:100%}
.gp-table .gp-word-card:not(.is-open) .gp-word-text{font-size:clamp(23px,3.2vw,29px);line-height:1.3;letter-spacing:-.8px;max-width:340px}
.gp-table .gp-word-long{font-size:27px;line-height:1.4;letter-spacing:-.6px}
.gp-table .gp-word-hint{font-size:12px;line-height:1.5;color:var(--muted)}
.gp-table .gp-word-card.is-audience{background:var(--soft)}
.gp-table.gp-croc .gp-word-card{border-radius:22px 44px 22px 22px}
.gp-table.gp-taboo .gp-word-card.is-open{min-height:286px;gap:15px}
.gp-table.gp-taboo .gp-word-card.is-open .gp-word-text{font-size:clamp(31px,4.5vw,42px);line-height:1.2;letter-spacing:-1px}
.gp-table .gp-forbidden-grid{gap:0;margin:3px 0 0;padding-top:12px;border-top:1px solid var(--gp-edge)}
.gp-table .gp-forbidden-chip{padding:9px 6px;background:transparent;border:0;border-radius:0;font-size:14px;line-height:1.45;color:var(--gp-ink)}
.gp-table .gp-word-counters{gap:8px 18px;margin-top:24px;font-size:12px;line-height:1.5}
.gp-table .gp-word-controls{gap:10px;grid-template-columns:1fr 1.35fr}
.gp-table .gp-word-controls .gp-button{min-height:54px}
.gp-table .gp-word-controls .gp-button-fault{min-height:44px;font-size:12px}
.gp-table .gp-guesser-picker{padding:18px;border-color:var(--gp-edge);border-radius:18px;background:var(--gp-tint)}
.gp-table .gp-guesser-picker>.gp-button{width:100%;margin-top:12px}

/* Две карты выбора и одно большое задание для правды или действия. */
.gp-table .gp-truth-choices{gap:16px;padding-block:4px}
.gp-table .gp-button-truth,.gp-table .gp-button-dare{min-height:252px;gap:12px;padding:20px 16px 24px;border-color:var(--gp-edge);border-radius:22px;background:var(--gp-tint);box-shadow:0 4px 0 var(--gp-edge);justify-content:flex-end}
.gp-table .gp-button-dare{background:var(--blue)}
.gp-table .gp-button-truth>.gp-choice-art,.gp-table .gp-button-dare>.gp-choice-art{width:min(100%,156px);height:136px;object-fit:contain;margin-top:auto}
.gp-table .gp-button-truth>strong,.gp-table .gp-button-dare>strong{font-size:27px;line-height:1.2;letter-spacing:-.9px}
.gp-table .gp-button-truth>span,.gp-table .gp-button-dare>span{font-size:12px;line-height:1.5}
.gp-table .gp-question-card{min-height:244px;gap:20px;padding:30px 26px;border:0;border-radius:22px;background:var(--gp-tint);place-items:center}
.gp-table .gp-question-card.is-dare{background:var(--blue)}
.gp-table .gp-question-type{font-size:12px;font-weight:800;letter-spacing:.6px;text-transform:uppercase;color:var(--gp-ink)}
.gp-table.gp-truth .gp-interact{gap:8px}
.gp-table .gp-truth-complete{padding:18px 0;color:var(--muted);font-size:14px;line-height:1.7;text-align:center}

/* Тайные игры держат общий сюжет отдельно от личного конверта. */
.gp-table.gp-spy .gp-scene,.gp-table.gp-mafia .gp-scene{display:grid;grid-template-columns:104px minmax(0,1fr);column-gap:18px;align-items:center;text-align:left}
.gp-table.gp-mafia{max-width:760px;margin-inline:auto}
.gp-table.gp-spy .gp-scene::before,.gp-table.gp-mafia .gp-scene::before{content:'';display:block;grid-column:1;grid-row:1/3;width:104px;height:132px;background:url('/assets/game-art/spy-agent.png') center/contain no-repeat;pointer-events:none}
.gp-table.gp-mafia .gp-scene::before{background-image:url('/assets/game-art/mafia.png')}
.gp-table.gp-spy .gp-scene-symbol,.gp-table.gp-mafia .gp-scene-symbol{display:none}
.gp-table.gp-spy .gp-scene>.gp-prompt,.gp-table.gp-mafia .gp-scene>.gp-prompt{grid-column:2;margin:0;align-self:end;text-align:left;font-size:clamp(25px,3vw,33px)}
.gp-table.gp-spy .gp-scene>.gp-next-step,.gp-table.gp-mafia .gp-scene>.gp-next-step{grid-column:2;margin:10px 0 0;align-self:start;text-align:left;font-size:12px}
.gp-table.gp-spy .gp-scene>.gp-secret,.gp-table.gp-mafia .gp-scene>.gp-secret{grid-column:1/-1;width:100%}
.gp-table.gp-night{background:color-mix(in srgb,var(--gp-tint) 34%,var(--gp-paper))}
.gp-table.gp-night .gp-phase{background:var(--gp-ink);color:var(--gp-paper)}
.gp-table .gp-ballot{gap:14px;padding-top:4px}
.gp-table .gp-ballot .gp-label{font-size:14px;color:var(--ink)}
.gp-table .gp-portrait-grid{gap:10px;grid-template-columns:repeat(3,minmax(0,1fr))}
.gp-table .gp-button-portrait{position:relative;min-height:102px;gap:9px;padding:14px 10px;border:1px solid var(--gp-edge);border-radius:14px;background:var(--gp-paper);font-size:13px;line-height:1.45}
.gp-table .gp-avatar{width:38px;height:38px;background:var(--gp-tint);border:0;font-size:16px;color:var(--gp-ink)}
.gp-table .gp-button-portrait.is-selected{border-color:var(--gp-ink);background:var(--gp-tint);box-shadow:inset 0 0 0 1px var(--gp-ink)}
.gp-table .gp-button-portrait.is-selected::after{top:7px;right:8px;color:var(--gp-ink)}
.gp-table .gp-button-portrait.is-selected .gp-avatar{background:var(--gp-paper)}
.gp-table .gp-vote-note{font-size:12px;line-height:1.6;color:var(--muted)}
.gp-table .gp-mafia-abilities{display:grid;gap:12px}
.gp-table .gp-mafia-ability{padding:18px;border:1px solid var(--gp-edge);border-radius:16px;background:var(--gp-paper)}
.gp-table .gp-mafia-ability-hint{margin:0 0 12px;font-size:13px;line-height:1.65;color:var(--muted)}
.gp-table .gp-mafia-ability-controls{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}
.gp-table .gp-mafia-ability-controls .gp-button{flex:1;min-height:46px}
.gp-table .gp-mafia-ability .gp-vote-note{margin-top:12px;text-align:left}

/* Колода персонажей остаётся закрытой до личного просмотра. */
.gp-table.gp-who .gp-scene::before{content:'';display:block;width:166px;height:112px;margin:0 auto 10px;background:url('/assets/game-art/who.png') center/contain no-repeat;pointer-events:none}
.gp-table.gp-who .gp-scene>.gp-next-step{max-width:380px;margin-top:0;font-size:14px;line-height:1.7}
.gp-table .gp-character-grid{gap:12px;padding-top:6px}
.gp-table .gp-character{min-height:164px;gap:10px;padding:20px 14px;border-color:var(--gp-edge);border-radius:16px;background:var(--gp-paper);box-shadow:0 3px 0 var(--gp-edge)}
.gp-table .gp-character>svg{width:26px;height:26px;color:var(--gp-ink)}
.gp-table .gp-character-name{font-size:12px;line-height:1.5;color:var(--muted)}
.gp-table .gp-character strong{font-size:20px;line-height:1.35;letter-spacing:-.5px;overflow-wrap:anywhere}
.gp-table.gp-who .gp-scene>.gp-character{width:min(100%,340px);margin:22px auto 0;background:var(--gp-tint)}
.gp-table .gp-oral-confirm{padding:22px;gap:12px;border-color:var(--gp-edge);border-radius:18px;background:var(--gp-tint)}
.gp-table .gp-oral-confirm>strong{font-size:20px;line-height:1.35;letter-spacing:-.4px}
.gp-table .gp-oral-confirm>.gp-next-step{margin-top:0}
.gp-table .gp-solved{gap:12px;padding:24px;border-radius:18px;background:var(--gp-tint);color:var(--gp-ink)}
.gp-table .gp-solved>strong{font-size:24px;letter-spacing:-.7px}
.gp-table .gp-solved>span{font-size:13px;line-height:1.6}

/* Вопросы о компании — иллюстрация, крупная фраза и именной выбор. */
.gp-table .gp-friends-emblem{width:180px;height:122px;margin:0 auto 16px;background:url('/assets/game-art/us.png') center/contain no-repeat}
.gp-table .gp-friends-emblem>.gp-friend-face{display:none}
.gp-table .gp-crystal{width:156px;height:122px;margin:0 auto 16px;border:0;border-radius:0;background:url('/assets/game-art/likely.png') center/contain no-repeat}
.gp-table .gp-crystal::after,.gp-table .gp-crystal>svg,.gp-table .gp-crystal>.gp-crystal-base{display:none}
.gp-table.gp-us .gp-prompt,.gp-table.gp-likely .gp-prompt{max-width:580px}
.gp-table.gp-us .gp-button-portrait,.gp-table.gp-likely .gp-button-portrait{flex-direction:row;justify-content:flex-start;gap:10px;min-height:74px;padding:13px 12px;text-align:left;font-size:14px}
.gp-table.gp-us .gp-portrait-grid,.gp-table.gp-likely .gp-portrait-grid{grid-template-columns:repeat(2,minmax(0,1fr))}

/* Два полюса ассоциации читаются как единое задание. */
.gp-table .gp-association-kicker{margin-bottom:16px;font-size:12px;font-weight:750;letter-spacing:.35px;color:var(--gp-ink)}
.gp-table .gp-association-pair.is-pair{grid-template-columns:minmax(0,1fr) 32px minmax(0,1fr);gap:10px;max-width:660px}
.gp-table .gp-association-word{min-height:144px;padding:24px 14px;border-color:var(--gp-edge);border-radius:18px;background:var(--gp-tint);font-size:clamp(23px,3.4vw,34px);font-weight:800;line-height:1.25;letter-spacing:-.8px;overflow-wrap:break-word;hyphens:auto}
.gp-table .gp-association-word:last-child{background:var(--rose)}
.gp-table .gp-association-link{font-size:28px;color:var(--gp-ink)}
.gp-table .gp-sealed{padding:25px 22px;gap:12px;border:1px dashed var(--gp-edge);border-radius:18px;background:var(--gp-tint)}
.gp-table .gp-sealed>svg{width:46px;height:46px;padding:10px;border-radius:50%;background:var(--gp-paper);color:var(--gp-ink)}
.gp-table .gp-sealed>strong{font-size:28px;line-height:1.35;letter-spacing:-.7px}
.gp-table .gp-sealed>.gp-button{width:min(100%,340px);margin-top:0}

/* Холст — главный рабочий предмет, инструменты собраны в одну полосу. */
.gp-table.gp-draw .gp-prompt{font-size:clamp(25px,3.4vw,34px)}
.gp-table .gp-drawing-editor{gap:16px}
.gp-table .gp-canvas{display:block;width:100%;max-width:560px;height:auto;max-height:none;aspect-ratio:1.3;margin:auto;border:1px solid var(--gp-edge);border-radius:14px;box-shadow:0 3px 0 var(--gp-edge)}
.gp-table .gp-drawing-tools{gap:8px 12px;justify-content:center;padding:8px;border-radius:16px;background:var(--gp-tint)}
.gp-table .gp-palette,.gp-table .gp-pen-widths{gap:1px;margin-left:0}
.gp-table .gp-button-swatch,.gp-table .gp-button-pen{width:44px;min-width:44px;height:44px;min-height:44px;padding:7px;border-radius:10px;background:transparent}
.gp-table .gp-button-swatch::before{width:25px;height:25px;border-color:color-mix(in srgb,var(--ink) 20%,transparent)}
.gp-table .gp-button-swatch.is-selected,.gp-table .gp-button-pen.is-selected{border-color:var(--gp-ink);background:var(--gp-paper)}
.gp-table .gp-drawing-tools .gp-button-quiet{min-height:44px;padding:9px 12px;font-size:12px;border:0}
.gp-table .gp-saved-note{font-size:12px;line-height:1.6}
.gp-table .gp-drawing-wait{gap:14px;padding:34px 20px;border-radius:18px;background:var(--gp-tint)}
.gp-table .gp-drawing-wait>svg{color:var(--gp-ink)}
.gp-table .gp-drawing-wait>strong{font-size:24px;letter-spacing:-.7px}
.gp-table .gp-drawing-wait>p{font-size:13px;line-height:1.7}

/* Шкала волны остаётся крупным прибором с подписанными крайностями. */
.gp-table .gp-dial{width:min(100%,390px);height:auto;margin:0 auto}
.gp-table .gp-scale-ends{gap:20px;max-width:490px;margin:4px auto 0;font-size:14px;line-height:1.5}
.gp-table .gp-scale-ends>strong{max-width:46%;font-weight:750}
.gp-table .gp-scale-value{margin-top:20px;font-size:34px;line-height:1.25;letter-spacing:-1px;color:var(--gp-ink)}
.gp-table.gp-wave .gp-interact{gap:12px;padding:16px;border-radius:18px;background:var(--gp-tint)}
/* Убирает фон панели, когда оба элемента управления скрыты у подсказчика. */
.gp-table.gp-wave .gp-interact:not(:has(> :not([hidden]))){display:none;margin:0;padding:0}
.gp-table .gp-range{min-height:44px;accent-color:var(--gp-ink)}
.gp-table .gp-range:disabled{cursor:default}

/* Личные истории выбирают двумя жетонами с равной визуальной важностью. */
.gp-table.gp-never .gp-prompt{max-width:590px;padding:8px 0}
.gp-table .gp-never-tokens{gap:14px}
.gp-table .gp-button-hand-token{position:relative;min-height:206px;gap:14px;padding:24px 16px;border-color:var(--gp-edge);border-radius:22px;background:var(--blue)}
.gp-table .gp-button-hand-token:nth-child(2){background:var(--gp-tint)}
.gp-table .gp-button-hand-token>svg{width:60px;height:60px;padding:12px;border-radius:50%;background:var(--gp-paper);color:var(--ink)}
.gp-table .gp-button-hand-token>strong{font-size:24px;line-height:1.2;letter-spacing:-.6px}
.gp-table .gp-button-hand-token>span{max-width:180px;font-size:12px;line-height:1.6}
.gp-table .gp-button-hand-token.is-selected{border-color:var(--gp-ink);box-shadow:inset 0 0 0 2px var(--gp-ink)}
.gp-table .gp-button-hand-token.is-selected::after{content:'✓';position:absolute;right:11px;top:10px;display:grid;place-items:center;width:24px;height:24px;background:var(--gp-paper);color:var(--gp-ink);border-radius:50%;font-size:13px;font-weight:800}

/* Оценка показывает одно большое число и десять одинаково доступных делений. */
.gp-table.gp-ten .gp-scene-symbol{width:44px;height:44px;margin:0 auto 18px;color:var(--gp-ink)}
.gp-table .gp-rating-value{gap:10px;margin-top:24px}
.gp-table .gp-rating-value>strong{font-size:78px;line-height:1;letter-spacing:-4px;color:var(--gp-ink)}
.gp-table .gp-rating-value>span{font-size:14px}
.gp-table .gp-stars{grid-template-columns:repeat(10,minmax(0,1fr));gap:6px}
.gp-table .gp-button-star{min-height:70px;gap:6px;padding:10px 2px;border-color:var(--gp-edge);border-radius:12px;background:transparent;font-size:15px}
.gp-table .gp-button-star>svg{width:21px;height:21px;color:var(--muted)}
.gp-table .gp-button-star.is-lit{background:var(--gp-tint)}
.gp-table .gp-button-star.is-lit>svg{color:var(--gp-ink);fill:currentColor}
.gp-table .gp-button-star.is-selected{border-color:var(--gp-ink);box-shadow:inset 0 0 0 1px var(--gp-ink);background:var(--gp-tint)}

/* Итоги собраны вокруг результата, имён и реальных чисел. */
.gp-table .gp-results{gap:16px;margin-top:28px;padding-top:24px;border-color:var(--gp-edge)}
.gp-table .gp-result-heading{gap:10px}
.gp-table .gp-result-heading>svg{width:24px;height:24px;color:var(--gp-ink)}
.gp-table .gp-result-heading h3{font-size:24px;font-weight:800;line-height:1.3;letter-spacing:-.7px}
.gp-table .gp-result-summary{font-size:13px;line-height:1.7}
.gp-table .gp-name-token{gap:7px;font-size:13px;line-height:1.45}
.gp-table .gp-name-token>.gp-avatar{width:28px;height:28px;font-size:12px}
.gp-table .gp-name-list{gap:10px}
.gp-table .gp-winner{gap:12px;padding:26px 22px;border:0;border-radius:18px;background:var(--gp-tint)}
.gp-table .gp-winner>svg{width:34px;height:34px;color:var(--gp-ink)}
.gp-table .gp-winner>.gp-name-token{font-size:23px;font-weight:800;letter-spacing:-.6px}
.gp-table .gp-vote-result{gap:9px;padding:3px 0}
.gp-table .gp-vote-result>div:first-child>strong{font-size:18px;font-variant-numeric:tabular-nums;color:var(--gp-ink)}
.gp-table .gp-result-track{height:6px;background:var(--gp-tint)}
.gp-table .gp-result-track>span{background:var(--gp-ink)}
.gp-table .gp-association-results{gap:12px}
.gp-table .gp-association-cluster{gap:12px;padding:20px;border:0;border-bottom:3px solid var(--gp-edge);border-radius:16px;background:var(--soft);min-width:calc(50% - 6px)}
.gp-table .gp-association-cluster.is-match{background:var(--gp-tint);border-bottom-color:var(--gp-ink)}
.gp-table .gp-association-cluster>strong{font-size:26px;line-height:1.3;letter-spacing:-.7px}
.gp-table .gp-gallery{gap:20px 14px}
.gp-table .gp-gallery-image{border-color:var(--gp-edge);border-radius:12px;background:var(--bg)}
.gp-table .gp-gallery-image.is-selected{border-color:var(--gp-ink);box-shadow:0 0 0 2px var(--gp-ink)}
.gp-table .gp-gallery-card figcaption{gap:8px;padding:12px 0 0;line-height:1.5}
.gp-table .gp-gallery-card .gp-button-quiet{min-height:44px;padding:8px 11px;font-size:12px}
.gp-table .gp-wave-target{gap:12px;padding:26px;background:var(--gp-tint);border-radius:18px}
.gp-table .gp-wave-target>strong{font-size:52px;line-height:1.1;letter-spacing:-2px;color:var(--gp-ink)}
.gp-table .gp-wave-result{gap:16px;padding:12px 0;border-color:var(--gp-edge)}
.gp-table .gp-wave-result>strong{font-size:18px;color:var(--gp-ink)}
.gp-table .gp-never-results{gap:14px}
.gp-table .gp-never-results>article{padding:22px 18px;gap:12px;border-radius:18px;background:var(--blue)}
.gp-table .gp-never-results>article:nth-child(2){background:var(--gp-tint)}
.gp-table .gp-never-results>article>strong{font-size:20px;letter-spacing:-.4px}
.gp-table .gp-response-count{font-size:40px;font-weight:800;letter-spacing:-1.5px}
.gp-table .gp-rating-average{gap:12px;padding:26px;background:var(--gp-tint);border-radius:18px}
.gp-table .gp-rating-average>svg{fill:var(--gp-ink);color:var(--gp-ink)}
.gp-table .gp-rating-average>strong{font-size:54px;letter-spacing:-2px}
.gp-table .gp-rating-histogram{height:138px;gap:7px}
.gp-table .gp-rating-histogram i{height:86px;background:var(--gp-tint)}
.gp-table .gp-rating-histogram i>span{background:var(--gp-ink)}
.gp-table .gp-role-results{gap:10px}
.gp-table .gp-role-card{gap:12px;padding:18px;border:0;border-radius:14px;background:var(--gp-tint)}
.gp-table .gp-role-card.is-hidden-role{background:var(--rose)}
.gp-table .gp-word-summary{gap:8px}
.gp-table .gp-word-summary>div{padding:10px 13px;border:0;border-radius:10px;background:var(--gp-tint);font-size:13px;line-height:1.5}
.gp-table .gp-final-scores{gap:14px}
.gp-table .gp-final-scores article{gap:14px;padding:24px 18px;background:var(--gp-tint);border-radius:18px}
.gp-table .gp-final-scores article:nth-child(2){background:var(--rose)}
.gp-table .gp-final-scores strong{font-size:48px;letter-spacing:-1.8px;color:var(--gp-ink)}
.gp-gallery-preview{width:min(94vw,900px);padding:24px;border-color:var(--game-edge,var(--line));border-radius:22px;background:var(--game-paper,var(--surface))}
.gp-gallery-preview h3{font-size:21px;font-weight:800;letter-spacing:-.5px}
.gp-gallery-preview img{border-color:var(--game-edge,var(--line));border-radius:12px}
.gp-gallery-preview>.gp-button{min-height:50px;background:var(--game-ink,var(--ink));color:var(--game-paper,var(--surface))!important;border:0;border-radius:12px;font-weight:750}

@media(hover:hover){
  .gp-table .gp-button-soft:hover:not(:disabled),.gp-table .gp-button-portrait:hover:not(:disabled),.gp-table .gp-button-star:hover:not(:disabled){border-color:var(--gp-ink);background:var(--gp-tint)}
  .gp-table .gp-button-primary:hover:not(:disabled){filter:brightness(.94)}
  .gp-table .gp-button-quiet:hover:not(:disabled){background:var(--gp-tint);color:var(--gp-ink)!important}
  .gp-table .gp-word-card:hover:not(:disabled){border-color:var(--gp-ink)}
}
@media(min-width:1000px){
  .gp-table .gp-scene>.gp-prompt{padding-inline:10px}
  .gp-table .gp-word-card{min-height:288px}
  .gp-table.gp-us .gp-portrait-grid,.gp-table.gp-likely .gp-portrait-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:760px){
  section.gp-table{padding:20px 16px;border-radius:20px;box-shadow:none}
  .gp-table .gp-topline{gap:7px 9px;margin-bottom:18px;padding-bottom:12px}
  .gp-table .gp-clock{font-size:21px}
  .gp-table .gp-progress{margin-bottom:20px}
  .gp-table .gp-prompt{font-size:28px;line-height:1.3;letter-spacing:-.9px}
  .gp-table .gp-next-step{font-size:13px;line-height:1.65}
  .gp-table .gp-interact{margin-top:21px}
  .gp-table .gp-button{min-height:50px;padding:13px 14px}
  .gp-table .gp-answer-form{grid-template-columns:1fr}
  .gp-table .gp-secret-content{padding:2px 16px 18px;font-size:20px}
  .gp-table .gp-secret-compact .gp-secret-content{font-size:16px}
  .gp-table .gp-button-envelope{min-height:60px;font-size:13px}
  .gp-table .gp-team-scores{gap:8px;margin-bottom:18px}
  .gp-table .gp-team{padding:9px 10px;font-size:12px}
  .gp-table .gp-team strong{font-size:25px}
  .gp-table .gp-word-card{min-height:244px;gap:12px;padding:22px 18px}
  .gp-table .gp-word-art{width:150px;height:100px}
  .gp-table .gp-word-text{font-size:37px;letter-spacing:-1px}
  .gp-table .gp-word-card:not(.is-open) .gp-word-text{font-size:24px;letter-spacing:-.7px}
  .gp-table .gp-word-long{font-size:25px;letter-spacing:-.5px}
  .gp-table.gp-taboo .gp-word-card.is-open{min-height:268px;gap:13px}
  .gp-table.gp-taboo .gp-word-card.is-open .gp-word-text{font-size:34px}
  .gp-table .gp-word-controls .gp-button{font-size:13px;padding-inline:10px}
  .gp-table .gp-truth-choices{gap:12px}
  .gp-table .gp-button-truth,.gp-table .gp-button-dare{min-height:224px;padding:18px 10px 20px;gap:11px;border-radius:18px}
  .gp-table .gp-button-truth>.gp-choice-art,.gp-table .gp-button-dare>.gp-choice-art{height:116px;width:min(100%,130px)}
  .gp-table .gp-button-truth>strong,.gp-table .gp-button-dare>strong{font-size:24px;letter-spacing:-.7px}
  .gp-table .gp-question-card{min-height:220px;padding:26px 20px;gap:18px}
  .gp-table .gp-portrait-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
  .gp-table .gp-button-portrait{min-height:98px;padding:13px 9px}
  .gp-table.gp-spy .gp-scene,.gp-table.gp-mafia .gp-scene{grid-template-columns:80px minmax(0,1fr);column-gap:12px}
  .gp-table.gp-spy .gp-scene::before,.gp-table.gp-mafia .gp-scene::before{width:80px;height:115px}
  .gp-table.gp-spy .gp-scene>.gp-prompt,.gp-table.gp-mafia .gp-scene>.gp-prompt{font-size:24px;letter-spacing:-.7px}
  .gp-table.gp-spy .gp-scene>.gp-next-step,.gp-table.gp-mafia .gp-scene>.gp-next-step{font-size:12px;line-height:1.6}
  .gp-table .gp-character-grid{gap:10px}
  .gp-table .gp-character{min-height:148px;padding:18px 11px}
  .gp-table .gp-character strong{font-size:18px}
  .gp-table .gp-friends-emblem{width:160px;height:108px;margin-bottom:14px}
  .gp-table .gp-crystal{width:140px;height:108px;margin-bottom:14px}
  .gp-table.gp-us .gp-button-portrait,.gp-table.gp-likely .gp-button-portrait{gap:8px;min-height:76px;padding:12px 10px;font-size:13px}
  .gp-table.gp-us .gp-button-portrait>.gp-avatar,.gp-table.gp-likely .gp-button-portrait>.gp-avatar{width:32px;height:32px;font-size:14px}
  .gp-table .gp-association-pair.is-pair{grid-template-columns:minmax(0,1fr) 24px minmax(0,1fr);gap:6px}
  .gp-table .gp-association-word{min-height:122px;padding:20px 6px;border-radius:15px;font-size:clamp(18px,4.8vw,22px);letter-spacing:-.5px}
  .gp-table .gp-association-link{font-size:24px}
  .gp-table .gp-sealed{padding:23px 16px}
  .gp-table .gp-canvas{width:100%;max-width:520px;max-height:none;border-radius:12px}
  .gp-table .gp-drawing-tools{gap:6px;padding:7px}
  .gp-table .gp-drawing-tools .gp-button-quiet{padding-inline:10px}
  .gp-table .gp-dial{width:min(100%,320px)}
  .gp-table .gp-scale-ends{gap:14px;font-size:13px}
  .gp-table .gp-scale-value{margin-top:16px;font-size:30px}
  .gp-table.gp-wave .gp-interact{padding:13px}
  .gp-table .gp-never-tokens{gap:10px}
  .gp-table .gp-button-hand-token{min-height:186px;gap:13px;padding:21px 10px;border-radius:18px}
  .gp-table .gp-button-hand-token>svg{width:54px;height:54px;padding:11px}
  .gp-table .gp-button-hand-token>strong{font-size:21px}
  .gp-table .gp-button-hand-token>span{font-size:12px}
  .gp-table .gp-rating-value>strong{font-size:68px;letter-spacing:-3px}
  .gp-table .gp-stars{grid-template-columns:repeat(5,minmax(0,1fr));gap:7px}
  .gp-table .gp-button-star{min-height:64px;padding:9px 3px;gap:5px;font-size:15px}
  .gp-table .gp-button-star>svg{width:20px;height:20px}
  .gp-table .gp-results{gap:15px;margin-top:25px;padding-top:22px}
  .gp-table .gp-result-heading h3{font-size:22px}
  .gp-table .gp-association-cluster{min-width:100%;padding:18px}
  .gp-table .gp-association-cluster>strong{font-size:24px}
  .gp-table .gp-gallery{gap:18px 11px}
  .gp-table .gp-gallery-card figcaption{display:grid;gap:8px}
  .gp-table .gp-wave-result{grid-template-columns:1fr auto;gap:9px;padding-block:12px}
  .gp-table .gp-wave-result>span:last-child{grid-column:1/-1;text-align:right;margin-top:-3px}
  .gp-table .gp-wave-target{padding:23px 18px}
  .gp-table .gp-wave-target>strong{font-size:46px}
  .gp-table .gp-never-results{gap:10px}
  .gp-table .gp-never-results>article{padding:20px 14px}
  .gp-table .gp-never-results>article>strong{font-size:19px}
  .gp-table .gp-never-results .gp-name-list{display:grid;gap:9px}
  .gp-table .gp-role-card{padding:16px}
  .gp-table .gp-final-scores article{padding:23px 15px}
  .gp-table .gp-final-scores strong{font-size:43px}
}
@media(max-width:360px){
  section.gp-table{padding:18px 13px}
  .gp-table .gp-topline{gap:6px;font-size:12px}
  .gp-table .gp-phase{padding:3px 7px}
  .gp-table .gp-prompt{font-size:25px;letter-spacing:-.7px}
  .gp-table .gp-word-text{font-size:33px}
  .gp-table .gp-word-long{font-size:23px}
  .gp-table .gp-word-card:not(.is-open) .gp-word-text{font-size:22px}
  .gp-table.gp-taboo .gp-word-card.is-open .gp-word-text{font-size:30px}
  .gp-table .gp-forbidden-chip{font-size:13px;padding:8px 3px}
  .gp-table .gp-button-truth,.gp-table .gp-button-dare{min-height:202px;padding-inline:8px}
  .gp-table .gp-button-truth>.gp-choice-art,.gp-table .gp-button-dare>.gp-choice-art{height:98px}
  .gp-table .gp-button-truth>strong,.gp-table .gp-button-dare>strong{font-size:21px}
  .gp-table.gp-spy .gp-scene,.gp-table.gp-mafia .gp-scene{grid-template-columns:65px minmax(0,1fr);column-gap:10px}
  .gp-table.gp-spy .gp-scene::before,.gp-table.gp-mafia .gp-scene::before{width:65px;height:100px}
  .gp-table.gp-spy .gp-scene>.gp-prompt,.gp-table.gp-mafia .gp-scene>.gp-prompt{font-size:22px}
  .gp-table .gp-character strong{font-size:17px}
  .gp-table .gp-association-word{padding:17px 5px;font-size:18px;min-height:114px}
  .gp-table .gp-button-hand-token{padding-inline:8px;min-height:178px}
  .gp-table .gp-button-hand-token>strong{font-size:19px}
  .gp-table .gp-gallery,.gp-table .gp-role-results,.gp-table .gp-never-results{grid-template-columns:1fr}
}
/* Сохраняет круглые образцы и область касания после мобильных отступов кнопок. */
.gp-table .gp-button-swatch,.gp-table .gp-button-pen{width:44px;min-width:44px;height:44px;min-height:44px;padding:7px;flex:none}
.gp-table .gp-button-swatch::before{flex:none;width:26px;height:26px}
@media(prefers-reduced-motion:reduce){
  .gp-table,.gp-table *,.gp-table *::before,.gp-table *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}
}

/* Общий стол Шпиона оставляет обсуждение главным, а личные действия раскрывает по запросу. */
.gp-table.gp-spy{max-width:680px;margin-inline:auto}
.gp-table.gp-spy .gp-scene{display:flex;flex-direction:column;gap:0;text-align:center}
.gp-table.gp-spy .gp-scene::before{display:none}
.gp-table.gp-spy .gp-scene>.gp-next-step{max-width:440px;margin:18px auto 0;text-align:center;font-size:14px;line-height:1.65}
.gp-table.gp-spy .gp-secret{align-self:stretch;margin-top:22px;text-align:left}
.gp-table.gp-spy .gp-interact{margin-top:18px}
.gp-discussion-clock{position:relative;display:grid;place-items:center;flex:none;width:min(100%,320px);aspect-ratio:1;margin:0 auto}
.gp-discussion-clock>svg{position:absolute;inset:0;width:100%;height:100%;transform:rotate(-90deg);overflow:visible}
.gp-discussion-clock circle{fill:none;stroke-width:10}
.gp-discussion-clock .gp-clock-track{stroke:var(--gp-tint)}
.gp-discussion-clock .gp-clock-progress{stroke:var(--gp-ink);stroke-linecap:round;stroke-dasharray:100;stroke-dashoffset:0;transition:stroke-dashoffset 600ms linear}
.gp-clock-face{position:relative;display:grid;justify-items:center;gap:14px;width:76%;padding:16px;text-align:center}
.gp-clock-label{font-size:13px;line-height:1.5;color:var(--muted)}
.gp-clock-value{font-size:clamp(46px,9vw,70px);font-weight:800;line-height:1.1;letter-spacing:-2px;font-variant-numeric:tabular-nums;color:var(--gp-ink);white-space:nowrap}
.gp-clock-idle{font-size:clamp(25px,5vw,33px);line-height:1.25;letter-spacing:-.8px;color:var(--gp-ink);overflow-wrap:anywhere}
.gp-discussion-clock.is-untimed{max-width:400px;aspect-ratio:auto;min-height:170px;border:1px solid var(--gp-edge);border-radius:22px;background:var(--gp-tint)}
.gp-discussion-clock.is-untimed>svg{display:none}
.gp-discussion-clock.is-untimed .gp-clock-face{width:100%}
.gp-discussion-clock.is-expired .gp-clock-progress{stroke:var(--danger)}
.gp-table.gp-spy .gp-ballot{padding:18px;border:1px solid var(--gp-edge);border-radius:18px;background:var(--gp-faint)}
.gp-table.gp-spy .gp-ballot .gp-label:focus{outline:none}
.gp-table.gp-spy .gp-ballot .gp-label:focus-visible{outline:3px solid var(--gp-ink);outline-offset:4px}
.gp-table.gp-spy .gp-button-portrait{min-height:76px;flex-direction:row;justify-content:flex-start;gap:10px;padding:12px;text-align:left}
.gp-table.gp-spy .gp-button-portrait .gp-avatar{width:30px;height:30px;flex:none;font-size:14px}
.gp-table.gp-spy .gp-portrait-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.gp-table.gp-spy .gp-vote-note{font-size:13px}
@media(max-width:480px){.gp-discussion-clock{width:min(100%,280px)}.gp-discussion-clock.is-untimed{min-height:148px}.gp-table.gp-spy .gp-scene>.gp-next-step{font-size:13px;margin-top:16px}.gp-table.gp-spy .gp-ballot{padding:14px}.gp-table.gp-spy .gp-button-portrait{font-size:13px;min-height:70px;padding:10px 8px;gap:7px}.gp-clock-label{font-size:12px}}
@media(max-width:360px){.gp-table.gp-spy .gp-portrait-grid{grid-template-columns:1fr}.gp-clock-value{font-size:51px}.gp-table.gp-spy .gp-button-portrait{min-height:58px}}
@media(prefers-reduced-motion:reduce){.gp-discussion-clock .gp-clock-progress{transition:none}}

/* Имя текущего игрока видно перед заданием без дополнительного окна подтверждения. */
.gp-current-turn{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:7px 10px;margin:-2px 0 20px;padding:12px 14px;border-radius:13px;background:var(--gp-faint);font-size:13px;line-height:1.5;color:var(--muted);overflow-wrap:anywhere}
.gp-current-turn>strong{font-size:16px;color:var(--gp-ink)}
.gp-current-turn>.gp-avatar{width:30px;height:30px;font-size:13px;flex:none}
@media(max-width:480px){.gp-current-turn{margin-bottom:18px;padding:11px 12px;gap:6px 8px}.gp-current-turn>strong{font-size:15px}}

.gp-current-turn>svg{width:20px;height:20px;flex:none;color:var(--gp-ink)}

/* Общая устная карточка: один вопрос и управление ведущего. */
.gp-voice .gp-scene{padding-block:24px;min-height:300px;display:flex;flex-direction:column;justify-content:center}
.gp-voice-emblem{display:grid;place-items:center;width:56px;height:56px;margin:0 auto 24px;border-radius:18px;background:var(--soft);color:var(--muted)}
.gp-voice-emblem svg{width:28px;height:28px}
.gp-voice .gp-prompt{max-width:760px;margin-inline:auto;text-wrap:balance;overflow-wrap:anywhere}
.gp-voice .gp-next-step{max-width:520px;margin:20px auto 0;font-size:15px;line-height:1.6}
.gp-voice-host{max-width:520px;margin:24px auto 0;font-size:12px;line-height:1.6;text-align:center;color:var(--muted)}
.gp-voice .gp-results{margin-top:16px}
@media(max-width:640px){.gp-voice .gp-scene{min-height:310px;padding:20px 0}.gp-voice .gp-prompt{font-size:clamp(24px,7.4vw,32px)}.gp-voice .gp-next-step{font-size:14px}.gp-voice-emblem{width:48px;height:48px;margin-bottom:20px}.gp-voice-host{margin-top:20px}}

/* Карточка следует за горизонтальным жестом, вертикальная прокрутка остаётся браузеру. */
.gp-word-swipe-wrap{position:relative;min-width:0;width:100%;padding-bottom:14px;overflow:clip;isolation:isolate}
.gp-word-swipe-wrap::before{content:'';position:absolute;z-index:-1;top:3px;bottom:14px;left:50%;width:min(100%,500px);border:1px solid var(--gp-edge,var(--line));border-radius:22px;background:var(--gp-faint,var(--soft));transform:translateX(-50%) scale(.97) rotate(-2deg);opacity:0}
.gp-word-swipe-wrap.is-swipe-enabled::before{opacity:1}
.gp-table .gp-word-swipe-wrap .gp-word-card{position:relative;z-index:1;margin-block:0;touch-action:pan-y pinch-zoom;user-select:none;-webkit-user-select:none}
.gp-table .gp-word-card.is-dragging{transition:none;will-change:transform;cursor:grabbing}
.gp-table .gp-word-swipe-hint{display:flex;align-items:center;justify-content:space-between;gap:16px;width:min(100%,500px);margin:8px auto 0;padding-inline:4px;font-size:11px;font-weight:700;line-height:1.5;color:var(--gp-caption,var(--muted))}
.gp-word-swipe-hint>span{min-width:0;overflow-wrap:anywhere}
.gp-word-swipe-hint>span:last-child{color:var(--success);text-align:right}
.gp-table .gp-word-swipe-indicator{position:absolute;z-index:3;top:18px;display:block;max-width:calc(100% - 36px);padding:8px 12px;border:2px solid currentColor;border-radius:10px;background:var(--gp-paper,var(--surface));font-size:17px;font-weight:850;line-height:1.3;letter-spacing:.02em;opacity:var(--word-swipe-progress,0);pointer-events:none;box-shadow:0 3px 14px #0001}
.gp-word-card[data-swipe="hit"] .gp-word-swipe-indicator{left:18px;color:var(--success);transform:rotate(-7deg)}
.gp-word-card[data-swipe="skip"] .gp-word-swipe-indicator{right:18px;color:var(--gp-ink,var(--muted));transform:rotate(7deg)}
@media(hover:hover) and (pointer:fine){.gp-word-swipe-wrap.is-swipe-enabled .gp-word-card:not(:disabled){cursor:grab}}
@media(prefers-reduced-motion:reduce){.gp-word-card[data-swipe] .gp-word-swipe-indicator{transform:none}}
