.lobby-screen {
  --lobby-ink: #60462e;
  --lobby-muted: #8a745a;
  --lobby-line: #ddc6a7;
  --lobby-orange: #b95d32;
  --lobby-green: #56774f;
  width: min(1280px, calc(100% - 48px));
  margin: 0 auto 70px;
  color: var(--lobby-ink);
  animation: lobby-arrive .45s ease both;
}
.lobby-screen[hidden], .lobby-screen [hidden] { display: none !important; }
.lobby-screen :where(button, input, select) { font: inherit; }
.lobby-screen :where(button, input, select):focus-visible { outline: 3px solid #b78b43; outline-offset: 4px; }
.lobby-screen button { cursor: pointer; }
.lobby-screen button:disabled { cursor: default; opacity: .55; }
.lobby-topbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 17px 0; }
.lobby-text-button { padding: 9px 0; border: 0; background: none; color: #855c3c; font-size: 12px !important; font-weight: 600 !important; }
.lobby-text-button:hover { color: #b25029; text-decoration: underline; text-underline-offset: 4px; }
.lobby-hero { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 20px 45px; padding: 20px 20px 30px; }
.lobby-eyebrow { margin: 0 0 12px; color: #9d7447; font-size: 9px; line-height: 1.5; font-weight: 750; letter-spacing: 1.9px; }
.lobby-hero h1 { max-width: 620px; margin: 14px 0 20px; font: 750 clamp(35px, 4.8vw, 58px)/1.08 var(--font-display, sans-serif); letter-spacing: -2px; color: #57432f; }
.lobby-hero h1 em { font-family: Georgia, serif; font-weight: 400; color: #b75b30; }
.lobby-hero > div > p:not(.lobby-eyebrow) { max-width: 470px; color: #8a745b; font-size: 14px; line-height: 1.8; }
.lobby-steps { display: flex; flex-wrap: wrap; gap: 9px 18px; margin-top: 25px; color: #8a7458; font-size: 10px; }
.lobby-steps span { padding: 7px 0; border-bottom: 1px solid #dac6a8; }
.lobby-scene { width: min(440px, 100%); margin: 0 auto; }
.lobby-scene svg { display: block; width: 100%; overflow: visible; }
.lobby-scene figcaption { margin-top: 0; text-align: center; font: italic 13px Georgia, serif; color: #8f7a56; }
.lobby-fox-player { transform-origin: 180px 185px; animation: lobby-fox-rock 5s ease-in-out infinite; }
.lobby-owl-player { transform-origin: 290px 180px; animation: lobby-owl-bob 4.5s ease-in-out infinite; }
.lobby-blink, .lobby-owl-eyes { transform-box: fill-box; transform-origin: center; animation: lobby-blink 6s infinite; }
.lobby-owl-eyes { animation-delay: -3s; }
.lobby-cloud { animation: lobby-cloud-float 5s ease-in-out infinite; }
.lobby-spark { transform-box: fill-box; transform-origin: center; animation: lobby-twinkle 4s ease-in-out infinite; }
.lobby-spark--late { animation-delay: -2s; }
.lobby-message { margin: 0 0 20px; padding: 14px 18px; border: 1px solid #d6bf9d; border-left: 4px solid #b68a51; border-radius: 8px; background: #fbf3e3; color: #765a39; font-size: 13px; line-height: 1.7; overflow-wrap: anywhere; }
.lobby-message[data-kind="error"] { border-color: #cda48f; border-left-color: #ae573c; background: #fcf0e8; color: #923f29; }
.lobby-message[data-kind="success"] { border-color: #bfcca8; border-left-color: #708554; background: #eff3e7; color: #52683f; }
.lobby-entry { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(220px, .8fr); gap: 0 40px; max-width: 1000px; margin: 15px auto 60px; padding: 30px 36px; border: 1px solid var(--lobby-line); border-radius: 22px; background: #fffaf1; box-shadow: 0 6px 0 -2px #e7d8c2, 0 25px 55px -38px #7c4a3640; }
.lobby-entry-tabs { grid-column: 1 / -1; display: flex; gap: 5px; margin-bottom: 30px; padding: 5px; width: fit-content; border: 1px solid #e2d0b4; border-radius: 10px; background: #f4ecde; }
.lobby-entry-tabs button { min-height: 40px; padding: 10px 18px; border: 0; border-radius: 7px; background: transparent; color: #8a7050; font-size: 12px; font-weight: 650; }
.lobby-entry-tabs button[aria-pressed="true"] { background: #fffaf0; color: #a14a25; box-shadow: 0 2px 6px #8b60331a; }
.lobby-entry-form h2 { margin: 8px 0 24px; font: 650 clamp(22px, 2.4vw, 30px)/1.2 var(--font-display, sans-serif); letter-spacing: -.8px; }
.lobby-entry-form label { display: block; margin: 0 0 10px; color: #7e6041; font-size: 13px; font-weight: 650; }
.lobby-entry-form input { box-sizing: border-box; width: 100%; min-height: 49px; padding: 13px 15px; border: 1px solid #d8bf9b; border-radius: 9px; background: #fffdf8; color: #64472e; font-size: 14px; }
.lobby-entry-form input::placeholder { color: #aa9478; }
.lobby-entry-form input[name="code"] { font-family: ui-monospace, monospace; letter-spacing: 1px; }
.lobby-entry-form > p:not(.lobby-eyebrow) { margin: 12px 0 24px; font-size: 12px; line-height: 1.8; color: #8f795d; }
.lobby-primary { display: inline-flex; justify-content: center; align-items: center; gap: 15px; min-height: 45px; padding: 12px 23px; border: 1px solid #a9502b; border-radius: 8px; background: #b95d32; color: #fff7e8; font-size: 13px !important; font-weight: 650 !important; box-shadow: 0 3px 0 #934b2520; transition: transform .18s, background .18s; }
.lobby-primary:hover:not(:disabled) { transform: translateY(-2px); background: #a64e29; }
.lobby-entry-note { align-self: center; padding: 23px 24px; border-left: 1px solid #e1cfb2; }
.lobby-entry-note > span { color: #aa925d; font-size: 36px; }
.lobby-entry-note h3 { margin: 12px 0; color: #78603f; font: 650 21px/1.35 var(--font-display, sans-serif); }
.lobby-entry-note p { color: #8b775d; font-size: 13px; line-height: 1.85; }
.lobby-entry-note small { display: block; color: #9b8569; font-size: 11px; line-height: 1.7; margin-top: 17px; }
.lobby-gathering { padding: 25px 28px 17px; border: 1px solid #d9c5a4; border-radius: 20px; background: linear-gradient(125deg, #fff9ec, #f6f2e4); box-shadow: 0 4px 0 -1px #e8ddc7; }
.lobby-room-heading { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-bottom: 20px; border-bottom: 1px solid #e6d7be; }
.lobby-room-heading h2 { font: 650 28px/1.2 var(--font-display, sans-serif); margin: 0; color: #6c5034; overflow-wrap: anywhere; }
.lobby-room-heading .lobby-eyebrow { margin-bottom: 8px; }
.lobby-invite { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 6px 13px; min-width: 0; max-width: 100%; padding: 10px 13px; border: 1px dashed #cba878; border-radius: 10px; background: #fff9ef; }
.lobby-invite > span { color: #9c7b53; font-size: 9px; letter-spacing: .9px; text-transform: uppercase; }
.lobby-invite > strong { grid-column: 1; grid-row: 2; font: 650 15px ui-monospace, monospace; color: #9a552e; letter-spacing: 1.2px; overflow-wrap: anywhere; }
.lobby-invite button { grid-column: 2; grid-row: 1 / span 2; padding: 8px 10px; border: 1px solid #d8bea0; border-radius: 6px; background: #f6e9d6; color: #8d5a31; font-size: 11px; }
.lobby-member-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); align-items: start; gap: 12px; margin: 23px 0 20px; }
.lobby-member { position: relative; min-width: 0; display: grid; grid-template-columns: 54px minmax(0, 1fr); gap: 5px 13px; align-items: center; padding: 16px; border: 1px solid #dfcfb4; border-radius: 12px; background: #fffaf0; transition: border-color .2s, background .2s; }
.lobby-member[data-ready="true"] { border-color: #a9bf94; background: #f0f5e8; }
.lobby-avatar { position: relative; display: grid; place-items: center; grid-row: 1 / span 2; width: 54px; height: 54px; overflow: hidden; border: 2px solid #e0c49b; border-radius: 17px; background: #e9ceb0; color: #a35d34; font: 650 22px var(--font-display, sans-serif); }
.lobby-avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.lobby-member[data-ready="true"] .lobby-avatar { border-color: #88a475; }
.lobby-member-copy { min-width: 0; padding-right: 15px; }
.lobby-member-copy strong { display: block; color: #674b31; font-size: 14px; overflow-wrap: anywhere; line-height: 1.4; }
.lobby-member-copy small { display: block; margin-top: 3px; color: #967d5c; font-size: 10px; }
.lobby-member-status { display: block; grid-column: 2; width: fit-content; margin-top: 4px; color: #a17a45; font-size: 11px; }
.lobby-member[data-ready="true"] .lobby-member-status { color: #547648; font-weight: 700; }
.lobby-member-menu { position: absolute; top: 8px; right: 8px; width: 28px; height: 24px; border: 0; border-radius: 5px; background: none; color: #a2845d; font-size: 12px; }
.lobby-member-menu:hover { background: #ebdfcb; }
.lobby-gathering-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; border-top: 1px solid #e1d4bc; padding-top: 10px; color: #8b785c; font-size: 11px; }
.lobby-ready-strip { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; margin: 28px 0 34px; padding: 22px 26px; border: 1px solid #d4d9bd; border-radius: 14px; background: #edf0e3; }
.lobby-ready-strip > div:first-child { display: flex; align-items: center; gap: 17px; flex: 1; min-width: 200px; }
.lobby-ready-orbit { display: grid; place-items: center; flex-shrink: 0; width: 42px; height: 42px; border: 1px solid #b7c297; border-radius: 50%; color: #8d9e62; font-size: 25px; }
.lobby-ready-strip strong { display: block; font: 650 17px/1.4 var(--font-display, sans-serif); color: #5c6949; }
.lobby-ready-strip p { font-size: 12px; line-height: 1.65; color: #7b8168; max-width: 700px; margin: 4px 0 0; }
.lobby-ready-actions { display: flex; align-items: center; gap: 16px; }
.lobby-ready-actions .lobby-primary[data-ready="true"] { background: #fffaf0; border-color: #adb98f; color: #5d7049; }
.lobby-preferences.preferences-layout { width: 100%; margin: 34px 0 0; padding: 0; }
.lobby-editor-heading { display: flex; justify-content: space-between; align-items: end; gap: 25px; padding: 0 5px 20px; }
.lobby-editor-heading h2 { margin: 0; font: 650 27px/1.25 var(--font-display, sans-serif); color: #674a30; }
.lobby-prefill-tools { display: grid; grid-template-columns: minmax(240px, 1fr) minmax(230px, 1fr); align-items: end; gap: 14px 22px; margin: 0 0 22px; padding: 17px 20px; border: 1px solid #d7d8bb; border-radius: 12px; background: #f0f1e5; }
.lobby-preload { display: grid; grid-template-columns: minmax(100px, 1fr) auto; gap: 7px 9px; }
.lobby-preload label { grid-column: 1 / -1; font-size: 13px; font-weight: 650; color: #8d714e; }
.lobby-preload select { min-width: 0; min-height: 39px; padding: 9px 12px; background: #fff9ef; border: 1px solid #d9c4a6; border-radius: 7px; color: #785c3e; font-size: 12px; }
.lobby-preload button, .lobby-suggestions > button { padding: 9px 12px; background: #f3e8d6; border: 1px solid #d5bd96; border-radius: 7px; color: #895d35; font-size: 12px; }
.lobby-suggestions { min-width: 0; margin: 0; }
.lobby-suggestions > button { display: inline-flex; width: 100%; min-height: 39px; align-items: center; justify-content: center; gap: 7px; color: #fff8eb; background: #b86432; border-color: #b36b3e; font-size: 13px; }
.lobby-suggestions > button > span:first-child { color: #ffe0ae; font-size: 20px; line-height: 1; }
.lobby-prefill-tools [data-suggestions-status] { grid-column: 1 / -1; padding: 12px 15px; border: 1px solid #d6c8ac; border-radius: 8px; font-size: 12px; line-height: 1.75; background: #fff7e8; color: #826d4c; }
.lobby-preferences .pref-workspace { grid-template-columns: 190px minmax(0, 1fr); width: 100%; min-width: 0; max-width: none; margin-inline: 0; }
.lobby-preferences .pref-panel { padding: 28px 32px; }
.lobby-preferences .pref-status { padding-inline: 5px; margin: 20px 0; min-height: 20px; }
.lobby-preferences .pref-status:empty { display: none; }
.lobby-preferences .pref-summary { position: static; margin: 25px 0 0; }
.lobby-preferences .pref-summary h3 { font: 650 20px/1.3 var(--font-display, sans-serif); color: #6b583e; }
.lobby-preferences .pref-choice { font-size: 14px !important; }
.lobby-preferences .preload-wishlist-label { display: block; margin: 23px 0 10px; font-size: 13px; font-weight: 650; }
.lobby-preferences .preload-wishlist-label + select { padding: 12px; font-size: 14px !important; min-height: 45px; }
.lobby-preferences .pref-option-copy strong, .lobby-preferences .pref-option-copy > label { font-size: 14px; }
.lobby-preferences .pref-option-copy small { font-size: 13px; }
.lobby-group-size { padding: 16px 19px; margin-top: 22px; border: 1px solid #c4cfad; border-radius: 10px; background: #f0f3e6; color: #60724c; }
.lobby-group-size strong { font-size: 15px; }
.lobby-group-size p { font-size: 12px; line-height: 1.7; margin: 7px 0 0; }
.lobby-results { padding-top: 22px; border-top: 1px solid #d7c2a5; }
.lobby-results-heading { display: flex; align-items: center; justify-content: space-between; gap: 25px; margin-bottom: 22px; }
.lobby-results-heading h2 { margin: 0; font: 650 clamp(26px, 3vw, 36px)/1.15 var(--font-display, sans-serif); letter-spacing: -1px; }
.lobby-results-heading p:not(.lobby-eyebrow) { max-width: 680px; font-size: 13px; color: #897455; line-height: 1.75; }
.lobby-results-clock { display: grid; gap: 7px; min-width: 125px; padding: 15px 18px; border: 1px solid #dac5a4; border-radius: 12px; text-align: center; background: #fff8eb; }
.lobby-results-clock span { font-size: 10px; text-transform: uppercase; letter-spacing: 1px; color: #96764e; }
.lobby-results-clock strong { font-size: 21px; font-variant-numeric: tabular-nums; color: #aa6539; white-space: nowrap; }
.lobby-results-progress { padding: 16px 20px; border: 1px solid #d5c8a9; border-radius: 12px; background: #f9f4e9; }
.lobby-results-progress > div { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 20px; align-items: center; color: #817357; font-size: 12px; }
.lobby-results-progress strong { color: #60754d; font-size: 14px; }
.lobby-results-progress progress { display: block; width: 100%; height: 7px; margin-top: 13px; accent-color: #6f8b5d; border: 0; border-radius: 4px; overflow: hidden; background: #e5decd; }
.lobby-results-progress progress::-webkit-progress-bar { background: #e5decd; }
.lobby-results-progress progress::-webkit-progress-value { background: #6f8b5d; transition: width .5s; }
.lobby-results-progress progress::-moz-progress-bar { background: #6f8b5d; }
.lobby-results-formula { display: flex; align-items: center; gap: 20px; padding: 20px 2px; }
.lobby-formula-ring { position: relative; flex-shrink: 0; width: 67px; height: 67px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(#bd7544 0 60%, #718c64 60% 100%); transform: rotate(-10deg); }
.lobby-formula-ring::before { content: ""; position: absolute; inset: 8px; background: #f8f2e6; border-radius: 50%; }
.lobby-formula-ring span { position: relative; transform: rotate(10deg); font-weight: 650; font-size: 11px; color: #77603d; }
.lobby-results-formula p { margin: 0; line-height: 1.65; font-size: 12px; }
.lobby-results-formula strong { display: block; font-size: 14px; margin-bottom: 4px; }
.lobby-results-formula p span { color: #8b7558; }
.lobby-results-error { margin: 10px 0 0; padding: 15px 18px; border: 1px solid #d3af91; border-radius: 9px; background: #fff0e4; color: #95573a; font-size: 13px; line-height: 1.7; }
.lobby-results-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin: 13px 0 22px; flex-wrap: wrap; }
.lobby-results-toolbar > div { display: flex; gap: 3px; padding: 4px; background: #ede5d5; border: 1px solid #dbc7a7; border-radius: 9px; }
.lobby-results-toolbar button { padding: 9px 20px; border: 0; border-radius: 6px; color: #8b7657; background: transparent; font-size: 12px; font-weight: 650; }
.lobby-results-toolbar button[aria-pressed="true"] { background: #fff9ee; color: #9b5932; box-shadow: 0 2px 4px #73523218; }
.lobby-results-toolbar > span { font-size: 12px; color: #8a775a; }
.lobby-result-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; gap: 20px; }
.lobby-result-grid > .lobby-game-card { align-self: stretch; }
.lobby-game-copy .solo-game-metadata { margin: 0 0 14px; }
.lobby-game-copy > .solo-result-status { display: inline-flex; margin-bottom: 14px; }
.lobby-game-copy .solo-result-actions { flex-wrap: wrap; }
.lobby-game-copy .solo-game-price-amount { font-size: 20px; }
.lobby-game-copy .solo-result-details { min-height: 38px; }
.lobby-game-copy .solo-result-details:disabled { opacity: .55; cursor: wait; }
.lobby-results-conflicts { padding: 24px; border: 1px solid #d7a585; border-left: 5px solid #bd7544; border-radius: 14px; background: #fff4e5; margin: 15px 0 24px; }
.lobby-results-conflicts h3 { margin: 0 0 10px; font-size: 22px; color: #795233; }
.lobby-results-conflicts p { font-size: 14px; line-height: 1.65; color: #80684b; }
.lobby-conflict-item { border-top: 1px solid #dfc4a6; margin-top: 16px; padding-top: 16px; }
.lobby-conflict-item > strong { font-size: 17px; }
.lobby-conflict-item p { margin: 7px 0 0; }
.lobby-result-grid[aria-busy="true"] { opacity: .72; transition: opacity .2s; }
.lobby-game-card { min-width: 0; overflow: hidden; border: 1px solid #d9c4a7; border-radius: 15px; background: #fffaf0; box-shadow: 0 4px 0 -1px #e8ddca; }
.lobby-game-card .solo-result-art { aspect-ratio: 460 / 215; }
.lobby-game-copy { padding: 19px; }
.lobby-game-copy h3 { min-height: 42px; margin: 0 0 12px; font: 650 18px/1.2 var(--font-display, sans-serif); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.lobby-game-summary { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; margin-bottom: 12px; }
.lobby-game-summary .solo-result-status { margin: 0; font-size: 12px !important; }
.lobby-game-summary .solo-result-points { font-size: 19px; max-width: 100%; overflow-wrap: anywhere; }
.lobby-game-copy .solo-game-rating { min-height: 36px; margin-bottom: 8px; }
.lobby-game-copy .solo-result-steam { font-size: 11px; }
.lobby-game-breakdown { margin-top: 15px; border-top: 1px solid #e4d6bf; padding-top: 12px; }
.lobby-game-breakdown > summary { font-size: 12px; font-weight: 650; color: #93613b; cursor: pointer; }
.lobby-breakdown-body { padding-top: 10px; }
.lobby-game-reason { font-size: 11px; line-height: 1.7; color: #8c785c; margin: 0 0 14px; overflow-wrap: anywhere; }
.lobby-breakdown-body h4 { margin: 10px 0; font-size: 15px; color: #6c583d; }
.lobby-mode-breakdown { padding: 10px 12px; margin: 9px 0 0; background: #f6f0e4; border: 1px solid #ddcbae; border-radius: 9px; }
.lobby-mode-breakdown > summary { font-size: 12px; color: #795e3f; font-weight: 650; cursor: pointer; line-height: 1.6; overflow-wrap: anywhere; }
.lobby-mode-must { font-size: 10px; color: #917758; margin: 10px 0; }
.lobby-mode-math { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 12px 0; }
.lobby-mode-math > div { padding: 9px; border-radius: 7px; background: #f5e6d3; border-left: 3px solid #bc794d; }
.lobby-mode-math > div + div { background: #eaf0df; border-color: #80966a; }
.lobby-mode-math span { display: block; font-size: 9px; line-height: 1.6; color: #8b7352; }
.lobby-mode-math strong { display: block; font-size: 12px; margin-top: 4px; overflow-wrap: anywhere; }
.lobby-score-track { height: 9px; display: flex; background: #e4decb; border-radius: 5px; overflow: hidden; }
.lobby-score-secure { background: #6e9273; }
.lobby-score-open { background: repeating-linear-gradient(135deg, #6e9273 0 3px, #e2e9d5 3px 6px); }
.lobby-member-scores { display: grid; gap: 14px; margin-top: 20px; }
.lobby-person-score { display: grid; grid-template-columns: 1fr auto; gap: 6px 8px; font-size: 11px; }
.lobby-person-score > strong { overflow-wrap: anywhere; }
.lobby-person-score > span { color: #807052; text-align: right; }
.lobby-person-score .lobby-score-track, .lobby-person-score > small { grid-column: 1 / -1; }
.lobby-person-score > small { font-size: 9px; color: #a08766; }
.lobby-score-note { font-size: 10px; line-height: 1.7; color: #8d795c; margin: 15px 0 0; }
.lobby-results-empty { padding: 30px; border: 1px dashed #d4c0a0; border-radius: 13px; background: #fff9ed; font-size: 13px; color: #8a7555; text-align: center; }
.lobby-results-pages { display: flex; justify-content: center; align-items: center; gap: 24px; padding: 28px 0 10px; }
.lobby-results-pages button { padding: 10px 15px; border: 1px solid #d2bb96; border-radius: 7px; color: #865d36; background: #f9edda; font-size: 12px; }
.lobby-results-pages span { color: #8f7857; font-size: 11px; }
.lobby-countdown { position: fixed; inset: 0; box-sizing: border-box; width: 100%; max-width: none; height: 100dvh; max-height: none; margin: 0; border: 0; display: grid; place-items: center; padding: 24px; background: transparent; color: var(--lobby-ink); overflow-y: auto; }
.lobby-countdown::backdrop { background: #46341fc9; backdrop-filter: blur(8px); }
.lobby-countdown:not([open]) { display: none; }
.lobby-countdown-card { box-sizing: border-box; width: min(520px, 100%); padding: 35px 25px; border: 1px solid #e4c18d; border-radius: 28px; text-align: center; background: radial-gradient(ellipse at 50% 55%, #fff5d9, #fffaf0 65%); box-shadow: 0 25px 100px #2c221770; animation: lobby-arrive .25s ease-out both; }
.lobby-countdown-card > p { color: #9d773f; margin: 20px 0 0; font-size: 10px; font-weight: 750; letter-spacing: 3px; }
.lobby-countdown-card > strong { display: block; height: 145px; font: 750 135px/1.06 var(--font-display, sans-serif); color: #bc6434; text-shadow: 0 6px 0 #efd8b6; }
.lobby-countdown-card h2 { font: 650 25px/1.2 var(--font-display, sans-serif); margin: 15px 0 12px; color: #715131; }
.lobby-countdown-card > span { display: block; color: #9b825e; font-size: 12px; line-height: 1.7; }
.lobby-countdown-card > button { display: block; padding: 11px 15px; margin: 23px auto 0; border: 1px solid #d9c3a1; border-radius: 8px; color: #8c6239; background: #fcf1df; font-size: 12px; }
.lobby-countdown-fox { position: relative; margin: 12px auto 0; width: 72px; height: 65px; border-radius: 12px 12px 40px 40px; background: #cb763b; transform: rotate(-7deg); animation: lobby-countdown-fox 1s ease-in-out infinite; }
.lobby-countdown-fox::before, .lobby-countdown-fox::after { content: ""; position: absolute; top: -19px; width: 27px; height: 38px; background: #cb763b; clip-path: polygon(0 0, 100% 100%, 0 100%); }
.lobby-countdown-fox::before { left: 0; transform: rotate(-7deg); }
.lobby-countdown-fox::after { right: 0; transform: scaleX(-1) rotate(-7deg); }
.lobby-countdown-fox i, .lobby-countdown-fox b { position: absolute; z-index: 1; top: 29px; width: 40px; height: 32px; background: #fff0d3; border-radius: 0 50% 50%; transform: rotate(15deg); }
.lobby-countdown-fox i { left: 1px; }
.lobby-countdown-fox b { right: 1px; transform: scaleX(-1) rotate(15deg); }
.lobby-countdown-fox > span { position: absolute; z-index: 2; left: 27px; bottom: 4px; font-size: 32px; line-height: 1; color: #66432d; }
.lobby-dialog { width: min(470px, calc(100% - 40px)); padding: 30px; border: 1px solid #c9a579; border-radius: 20px; background: #fffaf1; color: #705034; box-shadow: 0 25px 75px #3f281c3d; }
.lobby-dialog::backdrop { background: #4d392c88; backdrop-filter: blur(4px); }
.lobby-dialog h2 { font: 650 27px/1.2 var(--font-display, sans-serif); margin: 10px 0 16px; }
.lobby-dialog > p:not(.lobby-eyebrow) { color: #8c7558; line-height: 1.8; font-size: 13px; }
.lobby-dialog > div { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 12px; margin-top: 25px; }
.lobby-dialog [data-lobby-dialog-cancel] { border: 1px solid #dac4a7; padding: 10px 15px; border-radius: 8px; background: #f7ecdb; color: #86603e; font-size: 12px; }
@keyframes lobby-arrive { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@keyframes lobby-fox-rock { 0%, 100% { transform: rotate(-2deg); } 50% { transform: rotate(2deg); } }
@keyframes lobby-owl-bob { 0%, 100% { transform: translateY(0); } 45% { transform: translateY(-5px); } }
@keyframes lobby-blink { 0%, 42%, 46%, 100% { transform: scaleY(1); } 44% { transform: scaleY(.1); } }
@keyframes lobby-cloud-float { 0%, 100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-7px) rotate(3deg); } }
@keyframes lobby-twinkle { 0%, 100% { opacity: .4; transform: scale(.8); } 50% { opacity: 1; transform: scale(1.15); } }
@keyframes lobby-countdown-fox { 0%, 100% { transform: rotate(-7deg) translateY(0); } 50% { transform: rotate(7deg) translateY(-6px); } }
.lobby-motion-paused *, .lobby-motion-paused *::after, .lobby-motion-paused *::before { animation: none !important; transition: none !important; }
@media (max-width: 850px) {
  .lobby-result-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lobby-screen { width: calc(100% - 32px); }
  .lobby-hero { gap: 20px; padding: 15px 5px 30px; }
  .lobby-steps { gap: 5px 12px; }
  .lobby-entry { padding: 25px; gap: 0 20px; }
  .lobby-entry-note { padding-inline: 20px 0; }
  .lobby-room-heading { align-items: flex-start; }
  .lobby-room-heading h2 { font-size: 24px; }
  .lobby-editor-heading { flex-direction: column; align-items: stretch; }
  .lobby-prefill-tools { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .lobby-preload { grid-template-columns: minmax(100px, 1fr) auto; }
  .lobby-preferences .pref-workspace { grid-template-columns: 160px minmax(0, 1fr); }
  .lobby-preferences .pref-panel { padding: 22px; }
}
@media (max-width: 600px) {
  .lobby-result-grid { grid-template-columns: minmax(0, 1fr); }
  .lobby-results-heading { align-items: flex-start; flex-direction: column; gap: 10px; }
  .lobby-results-clock { display: flex; align-items: center; gap: 20px; padding: 10px 15px; }
  .lobby-results-pages { gap: 12px; }
  .lobby-results-pages button { padding-inline: 12px; }
  .lobby-hero { grid-template-columns: minmax(0, 1fr); text-align: center; }
  .lobby-hero h1 { font-size: 39px; }
  .lobby-hero > div > p:not(.lobby-eyebrow) { margin-inline: auto; }
  .lobby-steps { justify-content: center; }
  .lobby-scene { width: min(340px, 95%); }
  .lobby-entry { display: block; padding: 23px; }
  .lobby-entry-tabs { width: auto; }
  .lobby-entry-tabs button { flex: 1; padding-inline: 10px; }
  .lobby-entry-note { border-left: 0; border-top: 1px solid #e1cfb2; padding: 18px 0 0; margin-top: 30px; }
  .lobby-entry-note > span { display: none; }
  .lobby-entry-note h3 { font-size: 18px; }
  .lobby-gathering { padding: 20px 18px 12px; }
  .lobby-room-heading { flex-direction: column; }
  .lobby-invite { width: 100%; box-sizing: border-box; }
  .lobby-invite strong { font-size: 14px; overflow-wrap: anywhere; }
  .lobby-invite button { justify-self: end; }
  .lobby-ready-strip { padding: 17px; }
  .lobby-ready-actions { width: 100%; justify-content: flex-end; flex-wrap: wrap; }
  .lobby-ready-actions .lobby-primary { flex: 1; }
  .lobby-ready-orbit { display: none; }
  .lobby-preferences .pref-workspace { display: flex; flex-direction: column; gap: 15px; }
  .lobby-preferences .pref-navigation, .lobby-preferences .pref-panel { width: 100%; box-sizing: border-box; }
  .lobby-preferences .pref-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lobby-preferences .pref-nav-title { font-size: 13px; }
  .lobby-preferences .pref-panel { padding: 22px 17px; }
  .lobby-preferences .pref-option { gap: 10px; grid-template-columns: minmax(0, 1fr) 110px 34px; }
  .lobby-dialog { padding: 25px; }
  .lobby-countdown-card { padding-inline: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  .lobby-screen, .lobby-screen *, .lobby-screen *::before, .lobby-screen *::after { animation: none !important; transition: none !important; }
}

/* die methoden bleiben als eigener schritt über den wünschen sichtbar */
[data-lobby-algorithms] { margin: 1.5rem 0; }
.lobby-ranking-column[data-aggregation="TOPSIS"] { border-top: 3px solid #4c8993; background: #f5faf7; }
.lobby-ranking-column[data-aggregation="TOPSIS"] .lobby-ranking-heading > span { background: #e1efeb; color: #327383; }
.lobby-algorithm-tabs { display: flex; flex-wrap: wrap; gap: .65rem; padding: 1rem; margin: 1rem 0; border: 1px solid #dfc7a5; border-radius: 1rem; background: #fffaf0; }
.lobby-algorithm-tabs button { flex: 1 1 12rem; border: 1px solid #d3c3a9; border-radius: .75rem; padding: .85rem 1.1rem; background: #fffaf0; color: #715231; font: inherit; cursor: pointer; }
.lobby-algorithm-tabs button[aria-pressed="true"] { background: #edf3e5; border-color: #7b956b; color: #405f40; box-shadow: inset 0 0 0 1px #7b956b; }
.lobby-topsis-group-note { padding: 1rem 1.2rem; border-left: 4px solid #4c8993; background: #edf5f2; border-radius: .6rem; line-height: 1.6; }
.lobby-topsis-member-value { background: #edf4e8; border-radius: .65rem; padding: .75rem; display: grid; gap: .5rem; margin-block: .6rem; }
.lobby-topsis-member-value button { justify-self: start; border: 0; padding: 0; background: transparent; font: inherit; font-weight: 700; color: #496a52; cursor: pointer; }
