.room-space-select{display:grid;gap:2px;min-width:210px}.room-space-select>span{color:#77756f;font-size:.62rem;font-weight:800;letter-spacing:.08em}.room-space-select button{min-height:38px;padding:5px 12px;border:1px solid #d7d4cc;border-radius:999px;background:#fff;color:#171714;text-align:left;font:inherit;font-size:.74rem;font-weight:800;cursor:pointer}.room-space-select button::after{content:'⌄';float:right;margin-left:10px}
.room-choice-dialog{width:min(1120px,calc(100% - 32px));max-height:min(90dvh,860px);padding:0;border:1px solid #dedbd3;border-radius:24px;background:#f7f6f2;color:#171714;box-shadow:0 28px 90px #0005}.room-choice-dialog::backdrop{background:#171714b8;backdrop-filter:blur(7px)}
.room-choice-head{position:sticky;z-index:2;top:0;display:flex;justify-content:space-between;gap:24px;padding:26px 28px 18px;background:#f7f6f2eF;backdrop-filter:blur(14px)}.room-choice-head small{color:#ff5a38;font-weight:850;letter-spacing:.16em}.room-choice-head h2{margin:5px 0 4px;font-size:clamp(1.55rem,3vw,2.45rem);letter-spacing:-.035em}.room-choice-head p{margin:0;color:#6d6b64;line-height:1.55}.room-choice-close{flex:none;width:42px;height:42px;border:0;border-radius:50%;background:#e9e7e1;font:inherit;font-size:1.55rem;cursor:pointer}
.room-choice-filters{position:sticky;z-index:2;top:117px;display:flex;gap:7px;padding:0 28px 16px;background:#f7f6f2eF;backdrop-filter:blur(14px)}.room-choice-filters button{min-height:36px;padding:7px 15px;border:1px solid #d8d5cd;border-radius:999px;background:transparent;font:inherit;font-size:.72rem;font-weight:850;letter-spacing:.08em;cursor:pointer}.room-choice-filters button.active{border-color:#171714;background:#171714;color:#fff}
.room-choice-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;padding:4px 28px 30px}.room-choice-card{position:relative;overflow:hidden;display:grid;grid-template-rows:auto 1fr;padding:0;border:1px solid #dedbd3;border-radius:18px;background:#fff;color:inherit;text-align:left;box-shadow:0 7px 24px #2221;cursor:pointer;transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}.room-choice-card:hover{transform:translateY(-3px);box-shadow:0 14px 34px #2222}.room-choice-card.selected{border-color:#ff5a38;box-shadow:0 0 0 2px #ff5a3824}.room-choice-card[hidden]{display:none}.room-choice-image{position:relative;display:block;aspect-ratio:16/9;overflow:hidden;background:#dedbd3}.room-choice-image img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .35s ease}.room-choice-card:hover img{transform:scale(1.025)}.room-choice-image>span{position:absolute;top:10px;left:10px;display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#171714d9;color:#fff;font-size:.72rem;font-weight:850}
.room-choice-copy{display:grid;gap:5px;padding:16px 17px 18px}.room-choice-copy small{color:#ff5a38;font-size:.62rem;font-weight:850;letter-spacing:.14em}.room-choice-copy b{font-size:1rem}.room-choice-copy em{color:#6d6b64;font-size:.76rem;font-style:normal;line-height:1.55}.room-choice-card>strong{position:absolute;top:10px;right:10px;padding:6px 9px;border-radius:999px;background:#ff5a38;color:#fff;font-size:.65rem}
@media(max-width:800px){.room-space-select{flex:0 0 100%;min-width:0}.room-space-select>span{display:none}.room-space-select button{width:100%;text-align:center}.room-choice-dialog{width:100%;max-width:none;max-height:100dvh;height:100dvh;border:0;border-radius:0}.room-choice-head{padding:20px 18px 14px}.room-choice-head p{font-size:.8rem}.room-choice-filters{top:105px;padding:0 18px 13px;overflow-x:auto}.room-choice-grid{grid-template-columns:1fr 1fr;gap:10px;padding:2px 12px calc(22px + env(safe-area-inset-bottom,0px))}.room-choice-copy{padding:11px 12px 13px}.room-choice-copy b{font-size:.86rem}.room-choice-copy em{font-size:.68rem}.room-choice-image>span{top:7px;left:7px;width:29px;height:29px}.room-choice-card>strong{top:7px;right:7px;font-size:.58rem}}
@media(max-width:460px){.room-choice-grid{grid-template-columns:1fr}.room-choice-image{aspect-ratio:16/8.2}.room-choice-head p{max-width:270px}}

.room-choice-level{justify-self:start;padding:4px 9px;border:1px solid #dedbd3;border-radius:999px;background:#f7f6f2;color:#45443e;font-size:.72rem;font-weight:700;line-height:1.3;letter-spacing:0}

/* Quiet, accessible difficulty accents that complement MATO's warm neutrals. */
.room-choice-level[data-difficulty="初級者向け"]{background:#edf3eb;border-color:#cddbc9;color:#416247}
.room-choice-level[data-difficulty="中級者向け"]{background:#f4eee3;border-color:#dfd1b9;color:#7b6040}
.room-choice-level[data-difficulty="上級者向け"]{background:#f8ebe5;border-color:#e5c9bc;color:#9b4e39}
