/* Card layout and learning panels. */
.learning-sheet{box-sizing:border-box;width:min(440px,calc(100vw - 24px));max-height:calc(100dvh - 20px);padding:20px;border:1px solid #b6974e;border-radius:22px;background:#fffaf0;color:#123c33;text-align:center;box-shadow:0 18px 65px #0008;font-family:inherit}
.learning-sheet::backdrop{background:#001c168c;backdrop-filter:blur(3px)}
.learning-sheet h2{font-size:26px;line-height:1.2;margin:0 0 10px}.learning-sheet p{font-size:16px;line-height:1.5;margin:10px 0}.learning-sheet header{display:flex;align-items:center;justify-content:space-between;gap:8px}.learning-sheet header h2{flex:1}
.learning-clock{width:66px;height:66px;border:4px solid #b99b51;border-radius:50%;background:#123c33;color:#fff9e8;display:flex;flex-direction:column;align-items:center;justify-content:center;flex:none}.learning-clock b{font-size:28px;line-height:1}.learning-clock small{font-size:11px}.learning-clock.urgent{background:#8f241b;border-color:#c85738}
.learning-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;justify-content:center;margin:18px auto;max-width:330px;direction:ltr}.learning-cards.count-1{grid-template-columns:110px}.learning-cards.count-2{grid-template-columns:repeat(2,100px)}.learning-cards.count-4{grid-template-columns:repeat(2,84px)}.learning-cards.count-5{grid-template-columns:repeat(3,76px)}
.learning-card{position:relative;aspect-ratio:0.69;background:white;border:2px solid #a9ad9f;border-radius:10px;padding:0;overflow:visible;color:#111;box-shadow:0 4px 9px #0002;min-width:0;cursor:pointer}.learning-card .card-art{display:block;width:100%;height:100%;border-radius:8px;position:absolute;inset:0}.learning-card .card-fallback{display:none}.learning-card[aria-pressed=true]{border:3px solid #167b57;box-shadow:0 0 0 2px #167b5744}.card-check{display:none;position:absolute;top:-10px;right:-7px;width:28px;height:28px;border-radius:50%;background:#167b57;color:white;border:2px solid white;font:bold 22px/28px Arial;z-index:2}.learning-card[aria-pressed=true] .card-check{display:block}
.learning-confirm{width:100%;background:#123c33;color:#fff9e8;border:1px solid #a88940;border-radius:12px;padding:13px 8px;font:700 18px/1.3 inherit;min-height:48px}.learning-sheet .learning-note{font-size:12px;margin-bottom:0}.learning-status{min-height:24px}
html[data-theme="1"] .learning-sheet{background:#132f27;color:#fff3d3}html[data-theme="1"] .learning-confirm{background:#e8c879;color:#142c23}html[data-theme="1"] .learning-clock{background:#09231b}
.game-presentation #trix-board{top:30%;transform:translateX(-50%);width:310px;gap:8px}.game-presentation .layout-card{height:32px;font-size:20px;line-height:23px}.game-presentation .layout-card+.layout-card{margin-top:-13px}.game-presentation .layout-card.latest{transform:none}.large-index{display:none}
@media(max-width:700px){
/* One row: large overlapping cards with readable exposed corner indices. */
.game-presentation .hand.large-hand{--preview-card-width:clamp(76px,22vw,100px);display:grid;grid-template-columns:repeat(12,minmax(0,1fr)) var(--preview-card-width);grid-template-rows:1fr;gap:0;direction:ltr;align-items:end;width:calc(100% - 16px);height:calc(var(--preview-card-width)*1.45);left:50%;bottom:70px;transform:translateX(-50%)}
.game-presentation .hand.large-hand .card{position:relative;left:auto!important;top:auto!important;width:var(--preview-card-width);height:calc(var(--preview-card-width)*1.45);transform:none!important;translate:none;animation:none!important;transition:none!important;margin:0!important;border-radius:7px;z-index:auto}
.game-presentation .hand.large-hand .card.selected{outline:3px solid #0873a8;z-index:4;translate:0 -12px}
.game-presentation .large-index{display:flex;position:absolute;left:1px;top:3px;background:#fffdf7;color:#111;flex-direction:column;align-items:center;font:bold 20px/1 Georgia;min-width:19px;padding:0;border-radius:2px}
.game-presentation .card.red .large-index{color:#b31822}.large-index small{font-size:19px;line-height:1.1}
.game-presentation .south{bottom:calc(86px + clamp(76px,22vw,100px)*1.45)!important}.game-presentation .south .avatar,.game-presentation .south .count{display:none}.game-presentation .south strong{min-width:65px;font-size:11px;padding:2px 8px}
.game-presentation #trix-board{top:30%;width:60%;gap:5px}.game-presentation .layout-card{height:28px;font-size:17px;line-height:20px}.game-presentation .layout-card+.layout-card{margin-top:-13px}.game-presentation .trix-column>b{font-size:23px}
.learning-sheet{padding:16px}.learning-sheet h2{font-size:24px}.learning-sheet p{font-size:14px}.learning-cards{gap:9px;margin:14px auto}.learning-confirm{font-size:16px}
}
@media(max-height:590px){.learning-sheet{padding:12px}.learning-sheet p{margin:6px 0;font-size:13px}.learning-cards{margin:10px auto;max-width:240px}.learning-cards.count-4{grid-template-columns:repeat(2,66px)}.learning-cards.count-5{grid-template-columns:repeat(3,60px)}.learning-sheet h2{font-size:21px}.learning-clock{width:50px;height:50px}.learning-confirm{min-height:40px;padding:8px}}

@media(max-width:700px){.game-presentation #trix-board{top:27%}.game-presentation .layout-card{height:26px;font-size:17px;line-height:18px}.game-presentation .layout-card+.layout-card{margin-top:-14px}.game-presentation .large-index{z-index:3}}
@media(max-width:700px) and (max-height:590px){.game-presentation #trix-board{top:25%}.game-presentation .layout-card+.layout-card{margin-top:-16px}}

@media(max-width:700px){.game-presentation .layout-card+.layout-card{margin-top:-7px}.game-presentation .layout-card{line-height:19px}}
@media(max-width:700px) and (max-height:590px){.game-presentation .layout-card+.layout-card{margin-top:-9px}.game-presentation .layout-card{font-size:16px;line-height:17px}}

@media(max-width:700px) and (max-height:590px){.game-presentation #trix-board{top:28%}.game-presentation .north .count{display:none}}

/* Each overlapping card owns its marker; it must not paint over later cards. */
.game-presentation .hand.large-hand .card{isolation:isolate;overflow:hidden}
.game-presentation .hand.large-hand .double-glow{box-shadow:inset 0 0 7px #e7aa3270}
.game-presentation .hand.large-hand .double-glow b{left:0;min-width:18px;padding:2px 1px;font-size:10px}

/* Opaque corner lane prevents fragments of the face artwork showing between cards. */
@media(max-width:700px){
.game-presentation .hand.large-hand{--hand-gaps:12;--hand-lane:calc((100vw - 16px - var(--preview-card-width))/var(--hand-gaps))}
.game-presentation .hand.large-hand .large-index{left:0;top:0;bottom:0;width:min(100%,max(20px,var(--hand-lane)));min-width:0;padding:4px 0 0;border-radius:0;background:#fffdf7;font-size:20px;line-height:1;box-shadow:none;pointer-events:none;z-index:3}
.game-presentation .hand.large-hand .large-index small{font-size:18px;line-height:1.2}
.game-presentation .hand.large-hand .card:has(.double-glow) .large-index{background:#fff0bd}
.game-presentation .hand.large-hand .double-glow{border:0;box-shadow:none;z-index:4}
.game-presentation .hand.large-hand .double-glow::before{display:none}
.game-presentation .hand.large-hand .card.selected .large-index,.game-presentation .hand.large-hand .card:last-child .large-index{bottom:auto;width:23px;padding-bottom:2px;border-radius:0 0 3px 0}
}

@media(max-width:700px){
.game-presentation .hand.large-hand{width:min(calc(100% - 16px),calc(var(--preview-card-width) + var(--hand-gaps,12)*var(--preview-card-width)*.65));--hand-lane:min(calc((100vw - 16px - var(--preview-card-width))/max(1,var(--hand-gaps,12))),calc(var(--preview-card-width)*.65))}
.game-presentation .hand.large-hand:has(.card:only-child){width:var(--preview-card-width)}
}

.game-presentation .table-label.trix-brand{opacity:.09!important;filter:none!important}

@media(max-width:700px){.game-presentation .hand.large-hand .card.selected .large-index,.game-presentation .hand.large-hand .card:last-child .large-index{display:none}}

/* Compact natural hand: avoid broad empty lanes as the hand gets shorter. */
@media(max-width:700px){
.game-presentation .hand.large-hand{width:min(calc(100% - 16px),calc(var(--preview-card-width) + var(--hand-gaps,12)*25px));--hand-lane:min(calc((100vw - 16px - var(--preview-card-width))/max(1,var(--hand-gaps,12))),25px)}
.game-presentation .hand.large-hand .card{background:#fffdf7;box-shadow:-2px 1px 4px #0003;transform:rotate(calc((var(--index) - var(--hand-gaps,12)/2)*.55deg))!important;transform-origin:center bottom}
.game-presentation .hand.large-hand .large-index{width:23px;bottom:auto;height:47px;padding-top:4px;justify-content:flex-start;font-size:20px;border-radius:4px;background:#fffdf7}
.game-presentation .hand.large-hand .card:not(.selected):not(:last-child) .card-art{clip-path:inset(0 0 0 25px)}
.game-presentation .hand.large-hand .card:has(.double-glow){background:#fffaf0}
.game-presentation .hand.large-hand .card:has(.double-glow) .large-index{background:#ffe4a0}
.game-presentation .hand.large-hand .card.selected{transform:rotate(0)!important}
}

@media(max-width:700px){
.game-presentation .hand.large-hand .card:has(.trump-glow) .large-index{background:#ffe4a0;color:#292012;box-shadow:inset 2px 0 #b98216}
.game-presentation .hand.large-hand .card.red:has(.trump-glow) .large-index{color:#b31822}
.game-presentation .hand.large-hand .trump-glow{border:0;box-shadow:inset 2px 0 #c1922c;z-index:2}
.game-presentation .hand.large-hand .trump-glow:after{display:none}
.game-presentation .hand.large-hand .card.selected .trump-glow,.game-presentation .hand.large-hand .card:last-child .trump-glow{border:2px solid #c1922c;box-shadow:inset 0 0 8px #e4b94655}
}

/* Identical index typography and baseline on every card, including the exposed card. */
@media(max-width:700px){
.game-presentation .hand.large-hand .card,.game-presentation .hand.large-hand .card.selected{transform:none!important}
.game-presentation .hand.large-hand .large-index,
.game-presentation .hand.large-hand .card.selected .large-index,
.game-presentation .hand.large-hand .card:last-child .large-index{display:flex;left:0;top:0;bottom:auto;width:24px;height:48px;padding:5px 0 0;border-radius:4px 0 3px 0;align-items:center;justify-content:flex-start;font:700 20px/20px Georgia,serif}
.game-presentation .hand.large-hand .large-index small{display:block;font:700 18px/21px Georgia,serif}
}

/* Uniform monospace ranks; suit glyphs sized independently for readability. */
@media(max-width:700px){
.game-presentation .hand.large-hand .large-index,
.game-presentation .hand.large-hand .card.selected .large-index,
.game-presentation .hand.large-hand .card:last-child .large-index{width:25px;height:58px;padding:5px 0 0;font-family:Consolas,'Courier New',monospace;font-size:22px;font-weight:700;line-height:25px;font-variant-numeric:lining-nums tabular-nums;letter-spacing:-1.5px;color:#101817;text-align:center}
.game-presentation .hand.large-hand .large-index small{font-family:Arial,'Segoe UI Symbol',sans-serif;font-size:24px;font-weight:700;line-height:26px;letter-spacing:0;min-height:26px}
.game-presentation .hand.large-hand .card.red .large-index{color:#b31822}
}

.clean-hand-face{display:none}
@media(max-width:700px){
.game-presentation .hand.large-hand .card-art,.game-presentation .hand.large-hand .card-fallback{visibility:hidden}
.game-presentation .hand.large-hand .large-index{z-index:4}
.game-presentation .hand.large-hand .large-index small svg{display:block;width:21px;height:23px;margin:0 auto;overflow:visible}
.game-presentation .hand.large-hand .clean-hand-face{display:block;position:absolute;left:29px;right:8px;top:57px;bottom:12px;color:#111;pointer-events:none;z-index:1}
.game-presentation .hand.large-hand .clean-hand-face svg{width:100%;height:100%}
.game-presentation .hand.large-hand .red .clean-hand-face{color:#b31822}
}

/* Revealed cards retain the original full card artwork. */
@media(max-width:700px){
.game-presentation .hand.large-hand .card.selected .card-art,
.game-presentation .hand.large-hand .card:last-child .card-art{visibility:visible;clip-path:none}
.game-presentation .hand.large-hand .card.selected .clean-hand-face,
.game-presentation .hand.large-hand .card:last-child .clean-hand-face,
.game-presentation .hand.large-hand .card.selected .large-index,
.game-presentation .hand.large-hand .card:last-child .large-index{display:none}
}

/* Preserve the original face while using the same corner index on revealed cards. */
@media(max-width:700px){
.game-presentation .hand.large-hand .card.selected .large-index,
.game-presentation .hand.large-hand .card:last-child .large-index{display:flex;width:25px;height:58px;background:#fffdf7;z-index:5}
.game-presentation .hand.large-hand .card:has(.trump-glow) .large-index,
.game-presentation .hand.large-hand .card:has(.double-glow) .large-index{background:#ffe4a0}
}

@media(max-width:700px){
.game-presentation .hand.large-hand .card.selected .card-art,
.game-presentation .hand.large-hand .card:last-child .card-art{left:20px;right:0;width:calc(100% - 20px);height:100%;clip-path:inset(0 0 0 12px);object-fit:fill}
}

/* Single SVG source: original centre artwork and consistent integrated corner. */
@media(max-width:700px){
.game-presentation .hand.large-hand .card .card-art,
.game-presentation .hand.large-hand .card.selected .card-art,
.game-presentation .hand.large-hand .card:last-child .card-art{visibility:visible;display:block;left:0;top:0;right:auto;bottom:auto;width:100%;height:100%;clip-path:none;object-fit:fill;border-radius:7px}
.game-presentation .hand.large-hand .card .large-index,
.game-presentation .hand.large-hand .card.selected .large-index,
.game-presentation .hand.large-hand .card:last-child .large-index,
.game-presentation .hand.large-hand .clean-hand-face{display:none!important}
.game-presentation .hand.large-hand .trump-glow{border-left:3px solid #c59525;box-shadow:inset 0 3px #c59525;z-index:3}
.game-presentation .hand.large-hand .double-glow{border-left:3px solid #c59525;z-index:3}
}

@media(max-width:700px){.game-presentation .hand.large-hand .card .card-art{clip-path:none!important;visibility:visible!important;left:0!important;width:100%!important;height:100%!important}}

/* A gentle preparation tilt pivots around the rank, keeping the original stack. */
.game-presentation{--prepared-card-color:#285663}
html[data-theme="3"] .game-presentation{--prepared-card-color:#205866}
.game-presentation #hand.large-hand .card.prepared{
 transform:translateY(-18px) rotate(3deg)!important;transform-origin:top left;
 translate:none;rotate:none;z-index:auto;
 outline:1px solid #fffdf8!important;outline-offset:1px;
 box-shadow:inset 0 0 0 1px var(--prepared-card-color)!important;
}
/* Reveal selected courts and the fully exposed front card, including a sole card. */
.game-presentation #hand.large-hand .court-index-art{
 display:block;position:absolute;inset:0;width:100%;height:100%;object-fit:fill;
 border-radius:inherit;pointer-events:none;
}
.game-presentation #hand.large-hand .court-card:not(.selected):not(:last-child) .card-art{visibility:hidden!important}
.game-presentation #hand.large-hand .court-card:last-child .card-art{visibility:visible!important}
.game-presentation #hand.large-hand .court-card.selected .court-index-art,
.game-presentation #hand.large-hand .court-card:last-child .court-index-art{display:none}
.game-presentation #hand.large-hand .card.prepared::after{
 content:'';position:absolute;inset:0;pointer-events:none;border-radius:inherit;
 box-shadow:inset 0 2px var(--prepared-card-color),inset 1px 0 var(--prepared-card-color);z-index:5;
}
.game-presentation #hand.large-hand .card.prepared:focus-visible{outline:1px solid #fffdf8!important;outline-offset:1px}

/* A number-only timer leaves a clear gap between every digit and the ring. */
.learning-clock{width:60px;height:60px;border-width:3px;display:grid;place-items:center;padding:4px}
.learning-clock b{display:block;font-size:28px;line-height:1;margin:0;padding:0;font-variant-numeric:tabular-nums}
@media(max-height:590px){.learning-clock{width:52px;height:52px}.learning-clock b{font-size:24px}}

/* Compact gameplay screens. */
.game-presentation .hand.large-hand{max-width:calc(100% - 16px)}
.game-presentation #auction.live-double{width:min(440px,calc(100% - 24px));max-height:calc(100dvh - 24px);z-index:15;left:50%;top:50%;transform:translate(-50%,-50%)}
.live-double .learning-clock{margin:0 auto 8px}.live-double .learning-cards{display:grid}.live-double .learning-card{padding:0;font-size:inherit}.live-double .learning-confirm{margin:0}.live-double .learning-cards:empty{display:none}.live-double .learning-card .card-art{object-fit:fill}
@media(min-width:701px){.game-presentation .hand.large-hand{display:flex;grid-template-columns:none!important}}

#auction.live-double .learning-confirm{color:#fff9e8!important;background:#123c33!important}#auction.live-double .learning-clock small{color:#fff9e8!important}html[data-theme="1"] #auction.live-double .learning-confirm{color:#142c23!important;background:#e8c879!important}

/* The light table uses a quiet, high-contrast clock matching its own palette. */
html[data-theme="3"] .learning-clock{background:#e7f0eb;color:#205966;border-color:#73928a}
html[data-theme="3"] .learning-clock b,
html[data-theme="3"] #auction.live-double .learning-clock small{color:#205966!important}
html[data-theme="3"] .learning-clock.urgent{background:#fff0eb;color:#872d23;border-color:#ca796b}
html[data-theme="3"] .learning-clock.urgent b,
html[data-theme="3"] #auction.live-double .learning-clock.urgent small{color:#872d23!important}

@media(max-width:700px) and (max-height:620px){
 .game-presentation .match-finish .finish-brand{gap:7px;margin-bottom:2px}
 .game-presentation .match-finish .finish-qr{width:60px;height:60px;flex:0 0 60px}
 .game-presentation .match-finish .finish-brand>img{width:44px;height:44px}
 .game-presentation .match-finish h2{font-size:18px;line-height:1.2;margin:3px}
 .game-presentation .match-finish .finish-winner{line-height:1.25;margin:3px 0}
 .game-presentation .match-finish .install-entry-finish{margin:5px 0 2px;padding-top:2px}
 .game-presentation .match-finish .install-entry-finish .install-card{min-height:44px!important;padding:5px 7px!important}
 .game-presentation .match-finish .install-card-action{min-height:28px!important}
}

/* Keep short-screen forms and all result actions inside the viewport. */
@media(max-width:700px) and (max-height:620px){
 .game-presentation #game-lobby .lobby-brand{margin-block:2px}
 .game-presentation #game-lobby h2{margin-block:4px}
 .game-presentation .match-finish .finish-scores{margin-block:2px}
 .game-presentation .match-finish .finish-brand{margin-bottom:0}
 .game-presentation dialog:has(#feedback-text){max-height:calc(100dvh - 24px)!important;padding:12px!important}
 .game-presentation dialog:has(#feedback-text) h2{margin-block:8px}
 .game-presentation dialog:has(#feedback-text) textarea{margin-block:8px!important}
 .game-presentation dialog:has(#feedback-text) p{margin-block:8px;line-height:1.4}
 .game-presentation dialog:has(#feedback-text) [role=status]:empty{display:none}
}
/* The production lobby includes invitation and install actions as well. */
@media(max-width:700px) and (max-height:620px){
 .game-presentation #game-lobby .lobby-fan{height:40px}
 .game-presentation #game-lobby .lobby-modes button{font-size:13px;min-height:40px;padding:5px 3px}
 .game-presentation #game-lobby .note{margin-block:5px}
 .game-presentation #game-lobby #lobby-note{margin-block:4px}
}

/* Keep the player's portrait and its existing turn ring visible above the hand. */
@media(max-width:700px){
 .game-presentation .seat.south{display:flex}
 .game-presentation .seat.south .avatar{display:block;width:42px;height:42px;margin-bottom:3px}
}
.game-presentation #hand.large-hand .two-glow{box-shadow:inset 0 0 7px #e7aa3270;border-color:#ffd66c}
.game-presentation #hand.large-hand .two-glow::before{display:block}

/* Keep a readable index until both card images have loaded, including failures. */
.game-presentation #hand.large-hand .card:not(.hand-art-ready) .large-index{
 display:flex!important;position:absolute;left:0;top:0;bottom:auto;width:22px;height:42px;
 padding:3px 0 0;align-items:center;justify-content:flex-start;flex-direction:column;
 background:#fffdf7;color:#101817;font:700 18px/19px Arial,sans-serif;letter-spacing:-1px;z-index:6;
}
.game-presentation #hand.large-hand .card.red:not(.hand-art-ready) .large-index{color:#b31822}
.game-presentation #hand.large-hand .card:not(.hand-art-ready) .large-index small{
 display:block;font:700 19px/20px Arial,'Segoe UI Symbol',sans-serif;letter-spacing:0;min-height:20px;
}

/* Keep the complete hand visible while choosing doubles. */
.game-presentation #auction.live-double{transition:none!important}

.game-presentation #auction.live-double{position:fixed!important;left:50%!important;top:auto;bottom:auto;transform:translateX(-50%)!important;width:calc(100% - 24px)!important;max-width:390px;max-height:none!important;padding:12px!important;border-radius:18px;display:grid!important;grid-template-columns:1fr 42px;gap:10px;align-items:center;box-shadow:0 8px 24px #0006}
#auction.live-double h2{grid-column:1;grid-row:1;text-align:start;font-size:22px!important;margin:0!important;line-height:1.25}
#auction.live-double .learning-clock{grid-column:2;grid-row:1;box-sizing:border-box;width:42px!important;height:42px!important;padding:0!important;margin:0!important;border-width:2px}
#auction.live-double .learning-clock b{font-size:22px!important}
#auction.live-double>p{display:none!important}
#auction.live-double .learning-cards{grid-column:1/-1;display:flex!important;justify-content:center;flex-wrap:nowrap;gap:8px!important;margin:0!important;max-width:none!important;width:100%}
#auction.live-double .learning-card{flex:0 1 52px!important;width:52px!important;max-width:52px!important;height:74px!important;min-height:0!important;aspect-ratio:auto;padding:0!important;border-radius:6px}
#auction.live-double .learning-card .card-art{border-radius:4px}
#auction.live-double .learning-confirm{grid-column:1/-1;min-height:44px!important;padding:8px!important;font-size:17px!important;margin:0!important}
#auction.live-double .card-check{width:20px;height:20px;line-height:20px;font-size:16px;top:-6px;right:-5px}
@media(max-width:320px){.game-presentation #auction.live-double{padding:10px!important;gap:8px;width:calc(100% - 16px)!important}#auction.live-double .learning-card{flex-basis:42px!important;width:42px!important;height:60px!important}#auction.live-double .learning-cards{gap:5px!important}#auction.live-double h2{font-size:20px!important}}


/* Scale artwork with its choice tile and available screen height; reserve its rotated bounds. */
#game-lobby .lobby-games>button{container-type:inline-size;--choice-card-width:clamp(32px,min(24cqw,8svh),77px)}
#game-lobby .lobby-games>button .lobby-fan{flex:none;width:calc(var(--choice-card-width)*2.6);height:calc(var(--choice-card-width)*1.9 + 8px)!important;margin:3px 0 0}
#game-lobby .lobby-games>button .lobby-fan img{width:var(--choice-card-width)!important;height:calc(var(--choice-card-width)*1.4)!important;top:5px!important}
#game-lobby .lobby-games>button strong{margin-top:4px!important;line-height:1.3}
/* Keep the emoji unchanged; an explicit close action belongs inside the popover. */
.game-presentation .reaction-panel,.game-presentation .reaction-panel.collapsed{width:46px!important;padding:0!important;border-radius:12px;backdrop-filter:none;filter:none;z-index:18}
.game-presentation #reaction-toggle{height:42px;padding:0;justify-content:center}
.game-presentation #reaction-toggle>span:first-child{font-size:0}
.game-presentation #reaction-toggle>span:first-child:before{content:'😄';font-size:23px}
.game-presentation #reaction-toggle .chevron{display:none}
.game-presentation #reactions{position:fixed;top:var(--reaction-top,100px);left:var(--reaction-left,8px);bottom:auto;width:min(280px,calc(100vw - 16px));display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;padding:8px;background:#0b1719f5;border:1px solid #829794;border-radius:12px;box-shadow:0 5px 20px #0006;z-index:16;direction:ltr}
.game-presentation #reactions[hidden]{display:none}
.game-presentation #reactions button{min-width:0;min-height:40px;height:auto;font-size:12px;padding:6px 3px;gap:3px;flex-direction:row}
.game-presentation #reactions .reaction-close{grid-column:1/-1;min-height:30px;background:transparent;border:0;box-shadow:none;justify-content:center;color:inherit;font-size:13px}
.game-presentation #reactions .reaction-close span{font-size:17px}
html[data-theme="3"] .game-presentation #reactions{background:#fffaf2;color:#153542;border-color:#167d8d66}
