/* Forest, ivory and gold: supplied artwork with live, localized text. */
body.forest-ui {
  --popup-max-width: 560px;
  --forest: #103e20;
  --ivory: #f8f0df;
  --gold: #e4bc53;
  --lobby-section-gap: clamp(12px, 2.2dvh, 22px);
  --lobby-row-gap: 8px;
  background: #103e20 url("./assets/forest-ui/background/forest_green.webp") center / cover fixed;
  color: var(--ivory);
}
.forest-ui .shell { --match-gutter: 12px; max-width: 640px; padding-inline: max(12px, var(--ncq-left)) max(12px, var(--ncq-right)); }
.forest-ui .topbar { min-height: 64px; padding-block: 10px; border: 0; }
.forest-ui .brand { gap: 6px; color: #fffdf3; font-size: clamp(1.15rem, 5.5vw, 1.9rem); font-weight: 900; letter-spacing: -.04em; text-shadow: 0 2px 2px #001a0cb3; }
.forest-ui .mark { width: 35px; height: 35px; border-radius: 0; background: url("./assets/forest-ui/board/stones_pair.webp") center / contain no-repeat; }
.forest-ui .header-tools { gap: 10px; }
.forest-ui .lobby-wallet { color: #fffdf1; background: #1c4928; border: 1px solid #b5a65e; box-shadow: inset 0 1px 5px #d1eeb325, 0 2px 4px #001b0d66; padding: 4px 9px; min-height: 34px; }
.forest-ui .shop-coin { border: 0; background: url("./assets/forest-ui/icons/coin.webp") center / contain no-repeat; box-shadow: none; }
.forest-ui #show-options { width: 36px; min-height: 36px; padding: 8px; border: 1px solid #d1ba83; background: linear-gradient(#fffaf0, #ede1c6); box-shadow: 0 2px 3px #001b0d66; }
.forest-ui #show-options svg { width: 100%; }
.forest-ui #lobby {
  display: grid;
  grid-template: auto minmax(0, 1fr) auto auto / minmax(0, 1fr);
  gap: var(--lobby-section-gap);
  padding: 6px 0 var(--lobby-section-gap);
  position: relative;
}
#lobby-profile-slot { grid-area: 1 / 1; min-width: 0; }
.lobby-showcase { grid-area: 2 / 1; min-height: 0; display: grid; place-items: center; container-type: size; }
.lobby-board-art { position: relative; width: min(100cqw, calc(100cqh * 567 / 366)); aspect-ratio: 567 / 366; max-width: 520px; }
.lobby-board-image { display: block; width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 10px 8px #00170970); }
.lobby-art-stone { position: absolute; left: var(--x); top: var(--y); width: 5.2%; aspect-ratio: 1; transform: translate(-50%, -50%); background: url("./assets/forest-ui/board/stone_black.webp") center / contain no-repeat; filter: drop-shadow(0 2px 1px #21190066); }
.lobby-art-stone.white { background-image: url("./assets/forest-ui/board/stone_white.webp"); }
#lobby-mission-slot { grid-area: 2 / 1; align-self: start; justify-self: end; z-index: 1; margin-top: 4px; }
#lobby-championship-slot { grid-area: 3 / 1; }
#lobby-cta-slot { grid-area: 4 / 1; }
.forest-ui #show-missions { display: flex; flex-direction: column; gap: 2px; min-height: 0; width: 56px; padding: 7px 5px; border: 1px solid #d2b978; border-radius: 14px; background: linear-gradient(135deg, #fffaf0, #ece0c4); box-shadow: 0 3px 5px #001b0d55; color: #123b21; }
#show-missions .mission-shortcut-icon { width: 29px; height: 29px; background: url("./assets/forest-ui/icons/gift.webp") center / contain no-repeat; }
#show-missions .mission-shortcut-icon svg, #show-missions .mission-shortcut-content small, #daily-mission-steps, #daily-mission-action { display: none; }
#show-missions .mission-shortcut-heading { display: block; font-size: .8rem; }
#show-missions[data-ready]::after { content: ""; position: absolute; inset: -5px -5px auto auto; width: 13px; height: 13px; border-radius: 50%; border: 2px solid #fff8e8; background: #e83f30; box-shadow: 0 1px 3px #18321b66; }
#show-missions { position: relative; }
.forest-ui #show-tournament { display: grid; grid-template: auto / 37px minmax(0, 1fr) auto 10px; gap: 8px; align-items: center; width: 100%; min-height: 45px; padding: 6px 12px; border: 2px solid var(--gold); border-radius: 13px; background: linear-gradient(#286124, #0a351a); box-shadow: inset 0 1px 2px #d4f5ab66, 0 3px 5px #00170a66; color: #fff9e7; }
.forest-ui #show-tournament .tournament-icon { grid-area: 1 / 1; width: 37px; height: 30px; object-fit: contain; }
#show-tournament #lobby-championship { grid-area: 1 / 2; text-align: start; }
#show-tournament strong { font-size: clamp(.85rem, 3.9vw, 1.1rem); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#show-tournament small { display: none; }
.forest-ui #show-tournament time { grid-area: 1 / 3; white-space: nowrap; padding: 0; border: 0; color: #e3ee9c; font-size: .73rem; }
#show-tournament::before { content: "›"; grid-area: 1 / 4; color: #ffda55; font-size: 1.6rem; line-height: 1; }
.forest-ui .ranking-card.player-card { margin: 0; min-height: 65px; border: 1px solid #d1b981; border-radius: 15px; padding: 9px 11px; background: linear-gradient(140deg, #fffaf0, #eee0c4); box-shadow: inset 0 1px 1px #fff, 0 3px 6px #001a0c55; }
.forest-ui #lobby-profile-slot .player-card { width: 100%; grid-template-columns: auto minmax(0, 1fr) auto minmax(40px, .7fr); gap: 8px; }
.forest-ui .player-card .player-avatar { width: 40px; background: #ccdfba; border: 2px solid #fff5de; }
.forest-ui .player-summary { border-color: #c4af83; padding-inline-start: 7px; }
.forest-ui .player-name-line { font-size: clamp(.88rem, 4vw, 1.16rem); }
.forest-ui .player-card-badge { background: #dce8c4; border-color: #f9efd9; }
#lobby-profile-slot :is(.player-card-badge, #player-record, #player-card-detail) { display: none; }
.forest-ui #player-career strong, .forest-ui .ranking-card-score > strong { display: inline-block; padding: 3px 7px; color: #164921; background: #dbe8b7; border-radius: 10px; font-weight: 850; }
.forest-ui #player-rating-label { display: none; }
.lobby-rank-meter { height: 9px; overflow: hidden; border: 1px solid #cdb98f; border-radius: 99px; background: #ded2b9; box-shadow: inset 0 1px 2px #5144221f; }
.lobby-rank-meter > span { display: block; width: var(--rank-fill, 0%); height: 100%; border-radius: inherit; background: linear-gradient(#85b638, #40800e); }
.forest-ui .match-request { grid-template-columns: 1fr; margin: 0; padding: 0; }
.forest-ui .match-request .primary { display: flex; align-items: center; justify-content: center; gap: 11px; inset: auto; min-height: clamp(54px, 14vw, 76px); padding: 9px 16px; border: 2px solid #ffe27c; border-radius: 999px; background: linear-gradient(180deg, #fff09b 0%, #ffdc3d 18%, #ffc318 56%, #f0a20b 100%); box-shadow: inset 0 2px 2px #fff9d7, inset 0 -3px 2px #d88e1b, 0 2px 0 #b57b18, 0 6px 9px #00190c70; color: #382607; font-size: clamp(1.3rem, 6.5vw, 2rem); font-weight: 900; text-shadow: 0 1px #fff4b4; }
.forest-ui .match-request .primary:not(:disabled):hover { filter: brightness(1.06); }
#start img { width: 40px; height: 37px; object-fit: contain; }
.forest-ui .lobby-nav { flex: none; grid-template-columns: repeat(4, 1fr); gap: 0; margin-bottom: 7px; padding: 4px 3px; border: 1px solid #d5bf8f; border-radius: 16px; background: linear-gradient(140deg, #fffaf0, #ecdec2); box-shadow: inset 0 1px 1px #fff, 0 3px 6px #001a0c55; }
.forest-ui .lobby-nav button { position: relative; min-height: 53px; gap: 2px; color: #294321; font-size: .84rem; font-weight: 800; border-radius: 0; }
.forest-ui .lobby-nav button + button { border-inline-start: 1px solid #cbb98f; }
.forest-ui .lobby-nav img { width: 27px; height: 25px; object-fit: contain; }
.forest-ui .lobby-nav button::after { display: none; }
.forest-ui .lobby-nav button:hover { background: #dce5c499; }
.forest-ui dialog { color: #193821; background: linear-gradient(140deg, #fffaf2, #f1e5cf); border: 1px solid #d1b77e; box-shadow: 0 10px 35px #001b0b80; }
.forest-ui dialog::backdrop { background: #001408ad; }
/* Full-screen match and promotion effects sit above the dimmed game. */
.forest-ui dialog.match-intro { color: #fff5dc; background: transparent; border: 0; box-shadow: none; }
.forest-ui dialog.match-intro::backdrop { background: rgb(0 0 0 / 78%); }
.forest-ui dialog.result::backdrop { background: rgb(0 0 0 / 66%); }
.forest-ui .forest-page-dialog {
  position: fixed; inset-block: var(--ncq-top) var(--ncq-bottom); inset-inline: var(--ncq-left) var(--ncq-right);
  width: min(640px, calc(100vw - var(--ncq-left) - var(--ncq-right) - 16px));
  height: calc(100dvh - var(--ncq-top) - var(--ncq-bottom) - 16px);
  max-height: calc(100dvh - var(--ncq-top) - var(--ncq-bottom) - 16px);
  max-width: none; margin: auto; padding: clamp(10px, 3vw, 18px); overflow: hidden;
  border: 2px solid var(--gold); border-radius: 20px;
  background: #103e20 url("./assets/forest-ui/background/forest_green.webp") center / cover;
  color: var(--ivory); --lobby-card-radius: 12px;
}
.forest-window { display: flex; flex-direction: column; height: 100%; min-height: 0; }
.forest-ui .forest-close { flex: none; display: grid; place-items: center; width: 34px; height: 34px; min-height: 34px; padding: 0; border: 1px solid #d4bd8c; border-radius: 50%; background: linear-gradient(#fffaf1, #eddfc3); box-shadow: 0 2px 3px #001b0d44; color: #214428; font-size: 1.75rem; font-weight: 500; line-height: 1; }
.forest-ui > #watch-close { display: none; }
.forest-ui #tournament { height: auto; flex: 1; min-height: 0; padding: 0; color: #fff9e7; }
.forest-championship-meta { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-bottom: 10px; font-size: .73rem; color: #f7efc0; }
.forest-championship-meta > * { padding: 3px 9px; border: 1px solid #b1a25966; border-radius: 99px; background: #0b361c; }
.forest-ui .ranking-panel { gap: 9px; margin-top: 12px; }
.forest-ui :is(.ranking-summary, .ranking-dates) { display: none; }
.forest-ui .ranking-cards { gap: 8px; }
.forest-ui .ranking-card { border-color: #d6bf92; background: linear-gradient(125deg, #fffaf1, #f1e4cf); color: #16341f; box-shadow: 0 2px 3px #001b0d33; min-height: 53px; }
.forest-ui .ranking-card .player-card-record { color: #394c39; }
.forest-ui .ranking-card .player-avatar { background: #d3e4c4; }
.forest-ui .weekly-reward { border-color: #d0b987; background: linear-gradient(135deg, #fffcf5, #f0e0c5); color: #183a22; margin-bottom: 12px; padding: 9px; }
.forest-ui .weekly-reward-claim.primary { border-color: #bfad85; background: #d8cfb9; color: #676757; }
.forest-ui .weekly-reward-claim.primary:not([aria-disabled="true"]) { background: linear-gradient(#ffe56c, #efb016); color: #392909; }
.forest-ui #play-footer { flex: none; gap: 12px; margin-top: 12px; }
#rankings-dialog .lobby-rank-meter { display: none; }
#rankings-dialog #player-card-detail { display: none; }
#rankings-dialog .player-card { width: 100%; min-height: 65px; }
#rankings-dialog .match-request .primary { min-height: 48px; font-size: clamp(1.08rem, 5.5vw, 1.65rem); }
.forest-ui #tournament-attempts { color: #f5e9bd; }
.forest-ui #records { min-height: 0; padding: 0; }
.forest-ui .record-card { color: #193a23; background: linear-gradient(135deg, #fffaf2, #f0e4cf); }
#watch-dialog .lobby-feed { display: flex; flex: 1; flex-direction: column; min-height: 0; overflow: hidden; }
#watch-dialog #live-games { gap: 8px; }
#watch-dialog .live-game-entry { color: #193a23; background: linear-gradient(135deg, #fffaf0, #f0e4cd); border-radius: 12px; }
#watch-dialog .list-count { color: #e9e3c3; }
.forest-ui .shop-tab[aria-pressed="true"], .forest-ui .shop-tabs button[aria-pressed="true"] { background: linear-gradient(#3c762d, #1c5125); }
.forest-ui .mission-dialog { width: min(510px, calc(100vw - 20px)); background: linear-gradient(135deg, #fffaf2, #f0e1c7); border: 2px solid #dcb864; border-radius: 24px; }
.forest-ui .mission-dialog form { position: relative; padding: 15px; }
.forest-ui .mission-heading { padding-inline-end: 36px; }
.forest-ui .mission-heading h2 { color: #113b21; font-size: clamp(1.15rem, 5vw, 1.65rem); }
.forest-ui .mission-heading h2 svg { display: none; }
.forest-ui .mission-heading h2::before { content: ""; width: 33px; height: 37px; background: url("./assets/forest-ui/icons/gift.webp") center / contain no-repeat; }
.forest-ui .mission-heading .shop-wallet { padding-inline: 6px; }
.forest-ui .mission-heading .shop-wallet > [data-i18n="shopBalance"] { display: none; }
.mission-x { position: absolute; inset: 15px 12px auto auto; }
.forest-ui .mission-guide { color: #394c35; font-size: .75rem; }
.forest-ui .mission-overview { border: 1px solid #d6c198; border-radius: 15px; background: linear-gradient(#fffaf2, #f4ead8); box-shadow: 0 2px 3px #6b4f2017; }
.forest-ui .mission-row { border: 1px solid #d7c3a1; border-radius: 14px; background: linear-gradient(135deg, #fffaf2, #eee1cc); padding-block: 10px; }
.forest-ui .mission-row[data-state="ready"] { border-color: #a5ba70; background: linear-gradient(135deg, #f1f8db, #dfebbe); }
.forest-ui .mission-stones { background: url("./assets/forest-ui/board/stones_pair.webp") center / contain no-repeat; border-radius: 0; }
.forest-ui .mission-stones i { display: none; }
.forest-ui .mission-track { border-radius: 99px; background: #e1d6bf; }
.forest-ui .mission-track::before { background: linear-gradient(#7fba33, #3f7c13); }
.forest-ui .mission-claim { color: #382607; border: 1px solid #d5a727; border-radius: 12px; background: linear-gradient(#ffe66d, #f2b30f); font-weight: 850; box-shadow: inset 0 1px #fff2ae, 0 2px 2px #9e771833; }
.forest-ui .mission-eligibility { padding: 8px 10px; border: 1px solid #859a75; border-radius: 11px; color: #204528; font-size: .8rem; }
.forest-ui .mission-eligibility summary { cursor: pointer; text-align: center; font-weight: 750; }
.forest-ui #mission-close-footer { display: none; }
.forest-ui #missions #mission-close { min-height: 34px; border-color: #d4bd8c; }
.forest-ui .match-art-backdrop, .forest-ui.match-art-backdrop { background: #103e20 url("./assets/forest-ui/background/forest_green.webp") center / cover; }
.forest-ui .match-art-panel { color: #f0ead5; background: linear-gradient(135deg, #f4f0db24, #e5edda14); border-color: #d9e1bf33; box-shadow: 0 2px 5px #00180d18; }
.forest-ui .match-art-panel[data-active="true"] { color: #1e3e25; background: linear-gradient(135deg, #fff9e7, #e7edc9); border-color: #e8c053; box-shadow: 0 0 0 1px #e8c053, 0 0 10px #c9c75640; }
.forest-ui .match-identity .seat { color: #e5e7d1; }
.forest-ui .match-art-panel[data-active="true"] .seat { color: #52613f; }
.forest-ui .match-art-avatar { color: #246337; background: #d7e6c8; border: 2px solid #fff5dd; }
.forest-ui .match-art-panel[data-active="true"] .match-art-avatar { background: #d7e6c8; border-color: #ead279; }
.forest-ui .match-art-gauge { color: #586647; background: #ddd6c3; border-color: #c6b68d; }
.forest-ui .match-art-gauge[data-active="true"] { color: #fff9df; background: linear-gradient(#497c25, #24531c); border-color: #c6ae48; box-shadow: inset 0 1px #bdd08b80, 0 2px 5px #00210f44; }
.forest-ui .match-art-gauge-progress { color: #7a8e57; }
.forest-ui .match-art-gauge[data-active="true"] .match-art-gauge-progress { color: #f5d566; filter: drop-shadow(0 0 2px #f7e69a77); }
.forest-ui .match-art-action { color: #1c3d22; background: linear-gradient(#fff8e9, #e4d4b3); border-color: #c1a875; }
.forest-ui .match[data-playing] :is(#opponent-turn, #place-text) { font-size: clamp(.84rem, 3.7vw, 1.2rem); line-height: 1.1; white-space: nowrap; }
.forest-ui #opponent-turn { min-width: clamp(54px, 15vw, 72px); text-align: center; }
.forest-ui #place[data-placement-state="selecting"] {
  background: linear-gradient(#f8f5df, #dce7c7);
  color: #28552f;
  border-color: #a9ac65;
  box-shadow: inset 0 1px #fffbea, 0 2px 4px #00210f30;
}
.forest-ui #place[data-placement-state="selecting"] #place-text { opacity: 1; color: #526447; }
.forest-ui #place[data-placement-state="selecting"] .player-clock[data-urgent] { color: #b3261e; text-shadow: none; }
.forest-ui #place[data-placement-state="ready"]:not(:disabled) {
  border-color: #e8c053;
  box-shadow: inset 0 1px #d6e8a680, 0 0 7px #e6c45a66, 0 2px 4px #00210f44;
}
.forest-ui.in-review .review-header h1 { color: #fff9e7; }
.forest-ui.match-art-backdrop #review .review-controls { border-color: #c9b080; background: linear-gradient(#fff7e8, #eaddc0); box-shadow: 0 2px 5px #001a0c55; }
.forest-ui.match-art-backdrop #review .review-button { color: #214426; border-color: #c5ad7e; background: linear-gradient(#fff8eb, #e6d9bb); }
.forest-ui.match-art-backdrop #move-count { color: #234721; background: #f4ecd8; border-color: #8ca06d; }

/* Review surfaces carry their own text colors instead of inheriting the forest background's ivory. */
.forest-ui:is(.in-review, .match-art-backdrop) {
  --review-radius: 12px;
  --review-ink: #193e25;
  --review-muted: #426044;
  --review-surface: linear-gradient(#fff8eb, #eee3cc);
}
.forest-ui.in-review :is(.review-player, .review-controls, .review-result, .review-button, .placement-timing),
.forest-ui.match-art-backdrop .match-header-button {
  border-radius: var(--review-radius);
  border-color: #cdb990;
  background: var(--review-surface);
  color: var(--review-ink);
  box-shadow: inset 0 1px #fffdf580, 0 2px 4px #001a0c40;
}
.forest-ui.in-review :is(.review-player, .review-button):not(:disabled):hover,
.forest-ui.match-art-backdrop .match-header-button:not(:disabled):hover { background: #e9dec6; }
.forest-ui.in-review .review-player[data-turn] { box-shadow: 0 0 0 2px #829a50, 0 2px 4px #001a0c40; }
.forest-ui.in-review .review-button:disabled {
  opacity: 1;
  color: #67735f;
  background: #eee6d5;
  border-color: #cfc2a6;
  box-shadow: inset 0 1px #fff9e7;
}
.forest-ui.in-review #review-move-numbers { background: var(--review-surface); border-color: #cdb990; }
.forest-ui.in-review #review-move-numbers[aria-pressed="true"] { background: #dce8c4; color: #244b22; border-color: #91ab6b; }
.forest-ui.in-review #move-count {
  border-radius: var(--review-radius);
  border-color: #aab990;
  background: #e2ead4;
  color: var(--review-ink);
}
.forest-ui.in-review :is(.review-seat, #review-total, #review-passes, .placement-timing small) { color: var(--review-muted); }
.forest-ui.in-review #review-mode { border-radius: var(--review-radius); background: #e0e7d2; color: var(--review-muted); }
.forest-ui.in-review .review-turn { border-radius: var(--review-radius); background: #2f642d; color: #fff9e7; }
.forest-ui.in-review #review-share {
  border-radius: var(--review-radius);
  border-color: #cdb990;
  background: var(--review-surface);
  color: var(--review-ink);
}
.forest-ui.in-review #review-share:not(:disabled):hover { background: #e9dec6; }
.forest-ui.in-review :is(#review-room-action, #review-play) {
  border-radius: var(--review-radius);
  border-color: #769653;
  background: linear-gradient(#3b712e, #245428);
  color: #fff9e7;
  box-shadow: inset 0 1px #bdd08b80, 0 2px 4px #001a0c40;
}
.forest-ui.in-review :is(#review-room-action, #review-play):not(:disabled):hover { background: #2c612b; }
.forest-ui.in-review #review-room-action:disabled { opacity: 1; background: #d7e1ca; color: #4b6045; border-color: #acb998; }
.forest-ui.in-review :is(.review-button, .review-player, #review-share, #review-room-action, #review-play):focus-visible { outline-color: #e4bc53; }

/* The next game is the primary action after a completed regular match. */
.review-primary-surface, #review-room-action .review-action-stones { display: none; }
.review-own-status { display: flex; flex-direction: column; align-items: end; gap: 2px; min-width: 0; }
.forest-ui.in-review #review-room-action:is([data-action="next"], [data-action="rematch"]) {
  position: relative; flex: 1; display: grid; place-items: center; isolation: isolate;
  min-width: 0; min-height: 48px; padding: 0;
  border: 0; border-radius: 999px; background: none; box-shadow: none;
  color: #382605; font-size: clamp(16px, 4.8vw, 20px); font-weight: 800; line-height: 1.15;
  text-shadow: 0 1px #fff3ad;
}
.forest-ui.in-review #review-room-action:is([data-action="next"], [data-action="rematch"]) .review-primary-surface {
  position: absolute; inset: 0; display: block; pointer-events: none;
  filter: drop-shadow(0 3px 2px #00100699);
}
.forest-ui.in-review #review-room-action:is([data-action="next"], [data-action="rematch"]) .review-action-content {
  position: relative; z-index: 1; display: flex; align-items: center; justify-content: center;
  gap: 6px; padding: 3px 12px; transform: translateY(-1px);
}
.forest-ui.in-review #review-room-action:is([data-action="next"], [data-action="rematch"]) .review-action-stones {
  position: relative; inset: auto; order: -1; flex: none; display: block; width: 32px; height: 28px;
}
.forest-ui.in-review #review-room-action:is([data-action="next"], [data-action="rematch"]):not(:disabled):hover { background: none; filter: brightness(1.06); }
.forest-ui.in-review #review-room-action:is([data-action="next"], [data-action="rematch"]):disabled { background: none; filter: grayscale(.6) brightness(.92); color: #695a35; }

.forest-ui.in-review.post-match-review #review-room-action:is([data-action="next"], [data-action="rematch"]) {
  height: 44px; min-height: 44px; font-size: clamp(14px, 4vw, 18px);
}
.forest-ui.in-review.post-match-review #review-room-action .review-action-stones { display: none; }
.forest-ui.in-review.post-match-review #join-tournament {
  grid-area: 1 / 2; position: relative; isolation: isolate;
  display: flex; align-items: center; justify-content: center; gap: 7px;
  width: 100%; min-width: 0; height: 44px; min-height: 44px; padding: 0 10px;
  border: 0; border-radius: 999px; background: none; box-shadow: none;
  color: #2b2104; font-size: clamp(14px, 4vw, 18px); font-weight: 700; line-height: 1.15;
  text-shadow: 0 1px 1px #fff5b6;
}
.forest-ui.in-review.post-match-review #join-tournament .ranking-primary-surface {
  position: absolute; inset: 0; display: block; pointer-events: none;
  filter: drop-shadow(0 3px 2px #00100699);
}
.forest-ui.in-review.post-match-review #join-tournament > :not(.ranking-resource) { position: relative; z-index: 1; }
.forest-ui.in-review.post-match-review #join-tournament .tournament-coin-cost { flex: none; font-size: inherit; color: inherit; }
.forest-ui.in-review.post-match-review #join-tournament .shop-coin { width: 16px; height: 16px; }
.forest-ui.in-review.post-match-review #join-tournament:not(:disabled):hover { filter: brightness(1.06); }
.forest-ui.in-review.post-match-review #join-tournament:disabled { opacity: 1; filter: grayscale(.7) brightness(.92); color: #695a35; }
.forest-ui.in-review.post-match-review #join-tournament:focus-visible { outline-color: #e4bc53; }
@media (min-width: 0px) {
  .lobby-art-stone:nth-last-child(2) { animation: lobby-stone-drop 5s ease-out infinite; }
  .lobby-art-stone:last-child { animation: lobby-stone-drop 5s .6s ease-out infinite; }
}
@keyframes lobby-stone-drop {
  0%, 8% { opacity: 0; transform: translate(-50%, -110%) scale(1.12); }
  14%, 90% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
  100% { opacity: 0; transform: translate(-50%, -50%) scale(1); }
}
@media (max-height: 680px) {
  .forest-ui .topbar { min-height: 49px; padding-block: 5px; }
  .forest-ui #lobby { gap: 10px; padding-block: 4px 12px; }
  .forest-ui #lobby-profile-slot .player-card { min-height: 57px; padding-block: 6px; }
  .forest-ui .lobby-nav button { min-height: 47px; }
  .forest-ui .match-request .primary { min-height: 49px; }
  .forest-ui #show-tournament { min-height: 40px; padding-block: 3px; }
  .forest-ui .forest-page-dialog { padding: 10px; }
  .forest-ui .ranking-panel { margin-top: 9px; }
  .forest-ui .mission-row { padding-block: 6px; }
}
@media (max-width: 370px) {
  .forest-ui .brand { font-size: 1.12rem; }
  .forest-ui .header-tools { gap: 7px; }
  .forest-ui #lobby-profile-slot .player-card { gap: 6px; padding-inline: 8px; }
  .forest-ui #lobby-profile-slot .player-avatar { width: 33px; }
  .forest-ui #player-career strong { padding-inline: 5px; font-size: .8rem; }
  .forest-ui .mission-heading .shop-wallet { font-size: .7rem; }
}
