#friend-room-root{position:fixed;inset:0;z-index:150;overflow:auto;background:linear-gradient(140deg,#071c19f5,#102b25f7);padding:30px 20px;box-sizing:border-box;color:#eee5cb}#friend-room-root[hidden]{display:none}.friend-room-panel{width:min(860px,100%);margin:auto;padding:24px;border:1px solid #b59d625e;background:#091d17e8;border-radius:15px;box-sizing:border-box}.friend-room-panel header{display:flex;justify-content:space-between;align-items:center;gap:15px}.friend-room-panel h1{font-size:32px;margin:5px 0}.friend-room-panel small{font-size:12px;color:#c1cabb}.friend-room-panel button{min-height:44px;padding:10px 20px;border:1px solid #d0b875;background:#213c30;color:#f9e9bd;border-radius:7px;cursor:pointer;font-size:15px}.friend-room-panel button:disabled{opacity:.5;cursor:wait}.friend-room-panel button:focus-visible,.friend-room-panel input:focus-visible,.friend-room-panel select:focus-visible{outline:3px solid #e8d291;outline-offset:3px}.friend-room-intro{font-size:16px;line-height:1.6;color:#d0decb}.friend-entry{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin:24px 0}.friend-entry section{padding:22px;border:1px solid #bda26750;border-radius:10px;background:#193429}.friend-entry h2{font-size:22px;margin:0 0 12px}.friend-entry p{min-height:48px;line-height:1.5}.friend-entry input{display:block;width:100%;box-sizing:border-box;padding:10px;font-size:24px;letter-spacing:5px;margin:10px 0;background:#071c15;color:#f0ddb4;border:1px solid #a38c5d;border-radius:6px}.friend-code{display:flex;align-items:center;flex-wrap:wrap;gap:16px;padding:14px 0}.friend-code strong{font:36px Georgia;letter-spacing:6px;color:#f8d78e}.friend-seats{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin:20px 0}.friend-seats article{display:flex;flex-direction:column;align-items:center;gap:7px;padding:12px 8px;border:1px solid #bca97566;border-radius:12px;text-align:center}.friend-seats .bot{border-style:dashed;opacity:.75}.friend-seats img{width:60px;height:78px;object-fit:cover;border-radius:7px}.friend-seats strong{font-size:15px;overflow-wrap:anywhere}.friend-difficulty{display:flex;align-items:center;gap:16px;font-size:15px}.friend-difficulty select{padding:10px;background:#112b20;color:#ffe3a5;border:1px solid #a98c55;border-radius:6px;font-size:15px}.friend-actions{margin:20px 0}.friend-actions button{background:linear-gradient(100deg,#ccb779,#eddaa2);color:#24301b;min-width:200px}.friend-message{min-height:24px;color:#f1c88d;font-size:14px}.friend-room-panel footer{border-top:1px solid #82734d;padding-top:15px;font-size:13px;line-height:1.7;color:#bacbbb}.friend-room-panel a{color:#edcc88}.friend-wait{font-size:17px;color:#efdbab}.friend-mode-tag{font-size:12px;color:#efda9a}.home-actions{flex-wrap:wrap}
@media(max-width:600px){.friend-entry{grid-template-columns:1fr}.friend-seats{gap:5px}.friend-seats img{width:42px;height:60px}.friend-seats strong{font-size:12px}.friend-room-panel{padding:15px}#friend-room-root{padding:12px}.friend-room-panel h1{font-size:25px}}
@media(orientation:landscape) and (max-height:600px){#friend-room-root{padding:12px 20px}.friend-room-panel{padding:15px 22px}.friend-room-panel h1{font-size:25px}.friend-room-intro{font-size:14px;margin:8px 0}.friend-entry{margin:12px 0;gap:12px}.friend-entry section{padding:12px}.friend-seats{margin:10px 0}.friend-seats img{height:54px;width:42px}.friend-code{padding:5px 0}.friend-code strong{font-size:28px}.friend-actions{margin:12px 0}.home-actions button[data-action=friend-room]{grid-column:auto!important}}

@media(orientation:landscape) and (max-height:600px){.home-actions button:last-child{grid-column:auto!important;min-height:38px!important}}
