#playdown-created-rooms{position:absolute;z-index:90;display:flex;flex-direction:column;box-sizing:border-box;overflow:hidden;background:linear-gradient(135deg,#1c1742,#0e102d);color:#f7f4ff;font:14px Arial,sans-serif;isolation:isolate}
#playdown-created-rooms[hidden]{display:none!important}#playdown-created-rooms *{box-sizing:border-box}#playdown-created-rooms button,#playdown-created-rooms input,#playdown-created-rooms select{font:inherit}#playdown-created-rooms button{min-height:44px;color:inherit;cursor:pointer}#playdown-created-rooms button:disabled{opacity:.5;cursor:default}#playdown-created-rooms button:focus-visible,#playdown-created-rooms input:focus-visible,#playdown-created-rooms select:focus-visible{outline:3px solid #72e4e4;outline-offset:2px}
#playdown-created-rooms .room-header{display:grid;grid-template-columns:44px minmax(0,1fr) 44px;align-items:center;gap:5px;padding:8px 12px;flex:none;min-height:62px}#playdown-created-rooms h1{font-size:19px;margin:0;text-align:center;overflow-wrap:anywhere}#playdown-created-rooms .room-back{width:44px;height:44px;border:0;padding:4px;background:transparent}#playdown-created-rooms .room-back svg{display:block;width:36px;height:36px}#playdown-created-rooms .room-scroll{flex:1;min-height:0;padding:8px 24px 18px;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;touch-action:pan-y;-webkit-overflow-scrolling:touch;scrollbar-width:none;scroll-padding:12px}#playdown-created-rooms .room-scroll::-webkit-scrollbar,#playdown-created-rooms input::-webkit-scrollbar{display:none;width:0;height:0}#playdown-created-rooms input{scrollbar-width:none}
#playdown-created-rooms .room-card{background:linear-gradient(135deg,#39316e,#211b48);border:1px solid #7669c2;border-radius:17px;padding:16px;margin:10px 0 20px}#playdown-created-rooms .room-type-card{display:block;width:100%;text-align:left;min-height:146px}#playdown-created-rooms .room-type-card:first-of-type{box-shadow:inset 0 0 0 2px #c477fc}#playdown-created-rooms .room-type-copy{display:flex;align-items:center;gap:16px}#playdown-created-rooms .room-type-copy img{width:58px;height:58px;object-fit:contain;flex:none}#playdown-created-rooms h2{font-size:18px;margin:0 0 6px;overflow-wrap:anywhere}#playdown-created-rooms p{line-height:1.45;margin:6px 0;overflow-wrap:anywhere}#playdown-created-rooms .room-limit{display:block;color:#ffe066;border:1px solid #b976ca;border-radius:12px;padding:9px 12px;margin-top:14px;font-size:13px}#playdown-created-rooms .room-secondary{width:100%;border:1px solid #aa9de6;border-radius:22px;padding:10px 12px;background:#211d45}#playdown-created-rooms .room-primary{width:100%;border:1.5px solid #d3b2ff;border-radius:25px;padding:12px 16px;background:linear-gradient(#c68fff,#8246fa 50%,#6928e4);font-weight:700;box-shadow:inset 0 0 0 2px #e8c7ff40}
#playdown-created-rooms .room-hero-icon{display:block;width:60px;height:60px;object-fit:contain;margin:2px auto 18px}#playdown-created-rooms label{display:block;font-size:13px;font-weight:700;margin:0 0 6px}#playdown-created-rooms .room-field{margin:0 0 13px;min-width:0}#playdown-created-rooms input,#playdown-created-rooms select{display:block;width:100%;min-width:0;min-height:44px;border:1px solid #7669c2;border-radius:10px;background:#302959;color:#f7f4ff;padding:9px 12px}#playdown-created-rooms input[aria-invalid=true],#playdown-created-rooms select[aria-invalid=true]{border-color:#ff91a5}#playdown-created-rooms .room-choice{display:flex;flex-wrap:wrap;gap:8px}#playdown-created-rooms .room-choice button{flex:1 1 120px;border:1.5px solid #a99de6;border-radius:22px;background:#211d45;padding:8px}#playdown-created-rooms .room-choice button[aria-pressed=true]{background:linear-gradient(#c68fff,#8246fa 50%,#6928e4);border-color:#d3b2ff}#playdown-created-rooms .room-pair{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:14px;border:1px solid #ca7ad9;border-radius:14px;padding:12px;margin:7px 0 14px}#playdown-created-rooms .room-pair .room-field{margin:0}#playdown-created-rooms .room-group-title{font-weight:700;margin:12px 0 6px}#playdown-created-rooms .room-members-note{display:flex;align-items:center;gap:12px;border:1px solid #9776c8;background:#302959;border-radius:12px;padding:12px;margin:10px 0}#playdown-created-rooms .room-members-note img{width:32px;height:32px}
#playdown-created-rooms .room-footer{flex:none;padding:10px 24px max(14px,env(safe-area-inset-bottom));background:#12112f}#playdown-created-rooms .room-status{margin:8px 0;font-size:13px;color:#d9c8ff;text-align:center}#playdown-created-rooms .room-error{color:#ffb4c4}#playdown-created-rooms .room-status button{margin:6px 0}#playdown-created-rooms .room-spinner{display:inline-block;width:15px;height:15px;border:2px solid #ffffff66;border-top-color:white;border-radius:50%;animation:room-pending-spin .8s linear infinite;vertical-align:middle;margin-right:8px}@keyframes room-pending-spin{to{transform:rotate(360deg)}}
#playdown-created-rooms .room-summary{display:flex;align-items:center;gap:16px}#playdown-created-rooms .room-summary img{width:60px;height:60px;object-fit:contain}#playdown-created-rooms .room-summary>div{min-width:0}#playdown-created-rooms .room-kind{display:inline-block;border:1px solid #c080d7;border-radius:20px;background:#7436a7;padding:5px 12px;font-size:12px}#playdown-created-rooms .room-detail-row{display:flex;align-items:center;gap:10px;min-height:44px;padding:10px 0;border-bottom:1px solid #ffffff22}#playdown-created-rooms .room-detail-row:last-child{border:0}#playdown-created-rooms .room-detail-row img{width:22px;height:22px;flex:none}#playdown-created-rooms .room-detail-row strong{font-size:13px}#playdown-created-rooms .room-detail-row span{margin-left:auto;text-align:right;min-width:0;overflow-wrap:anywhere;font-size:13px}#playdown-created-rooms .room-actions{display:flex;flex-direction:column;gap:10px}#playdown-created-rooms .room-link{font-size:12px;overflow-wrap:anywhere;user-select:all;background:#272249;border:1px solid #a596d0;border-radius:12px;padding:16px;margin:8px 0 16px}#playdown-created-rooms .room-share-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}#playdown-created-rooms .room-qr svg{display:block;max-width:180px;width:100%;margin:16px auto;background:#fff}#playdown-created-rooms .room-toast{position:absolute;bottom:20px;left:16px;right:16px;z-index:4;background:#361c3ff5;border:1px solid #b65b78;border-radius:12px;padding:12px;color:#ffb6c7;text-align:center;pointer-events:none;overflow-wrap:anywhere}#playdown-created-rooms .room-toast[data-success=true]{color:white;background:#302250f5;border-color:#a182d1}#playdown-created-rooms .room-confirm{border:1px solid #c090dd;border-radius:14px;padding:12px;margin:12px 0;background:#302452}#playdown-created-rooms .room-list-row{display:block;width:100%;text-align:left}#playdown-created-rooms .room-friend{display:flex;align-items:center;gap:10px;min-height:56px}#playdown-created-rooms .room-friend input{width:24px;height:24px;min-height:24px;flex:none;accent-color:#ab6afa}#playdown-created-rooms .room-friend img{width:36px;height:36px;border-radius:50%;object-fit:cover}#playdown-created-rooms .room-friend span{min-width:0;overflow-wrap:anywhere}
#playdown-created-rooms .room-money-field,#playdown-created-rooms .room-club-picker{position:relative}#playdown-created-rooms .room-money-field img{position:absolute;left:9px;top:13px;width:18px;height:18px;pointer-events:none}#playdown-created-rooms .room-money-field select{padding-left:33px}#playdown-created-rooms .room-club-picker img{position:absolute;left:10px;top:7px;width:30px;height:30px;pointer-events:none}#playdown-created-rooms .room-club-picker select{padding-left:49px}
@media(max-height:720px){#playdown-created-rooms .room-hero-icon{width:42px;height:42px;margin-bottom:12px}#playdown-created-rooms .room-field{margin-bottom:10px}}@media(max-width:350px){#playdown-created-rooms .room-scroll{padding-left:16px;padding-right:16px}#playdown-created-rooms .room-footer{padding-left:16px;padding-right:16px}#playdown-created-rooms h1{font-size:18px}}@media(prefers-reduced-motion:reduce){#playdown-created-rooms .room-spinner{animation:none;border-style:dotted}}
#playdown-created-rooms .room-detail-row .room-host-avatar{margin-left:0;width:28px;height:28px;flex:none;border-radius:50%;background:radial-gradient(circle at 50% 32%,#bda5ed 0 19%,transparent 20%),radial-gradient(ellipse at 50% 105%,#bda5ed 0 38%,transparent 39%),#443063;overflow:hidden}#playdown-created-rooms .room-host-avatar img{width:100%;height:100%;object-fit:cover}
#playdown-room-notice{position:absolute;z-index:120;left:18px;right:18px;bottom:max(24px,env(safe-area-inset-bottom));padding:12px 14px;color:#ffb6c7;background:#361c3ff5;border:1px solid #b65b78;border-radius:12px;pointer-events:none;text-align:center;font:14px/1.45 Arial,sans-serif;overflow-wrap:anywhere}#playdown-room-notice[hidden]{display:none}

/* Agreement layouts retain real controls and the existing overlay lifetime. */
#playdown-created-rooms{background:linear-gradient(135deg,#17143e,#0c0b2a)}
#playdown-created-rooms .room-header{padding-top:max(8px,env(safe-area-inset-top));grid-template-columns:44px minmax(0,1fr) 12px;gap:6px}
#playdown-created-rooms h1{text-align:left;font-size:22px}
#playdown-created-rooms .room-back svg circle{fill:transparent}
#playdown-created-rooms .room-scroll>label{margin-top:12px;font-size:15px;font-weight:500}
#playdown-created-rooms label{font-size:15px;font-weight:500}
#playdown-created-rooms input,#playdown-created-rooms select{border-radius:16px;background:linear-gradient(135deg,#353073,#211c56);border-color:#5851ca;font-size:16px;min-height:46px}
#playdown-created-rooms .room-choice{margin-bottom:14px}
#playdown-created-rooms .room-choice button{border-radius:14px;border-color:#9f79ff;background:linear-gradient(135deg,#353073,#211c56);flex:1 1 110px}
#playdown-created-rooms .room-primary,#playdown-created-rooms .room-choice button[aria-pressed=true]{background:linear-gradient(110deg,#d54df0,#783cff 50%,#3459fa);border-color:#9f79ff;border-radius:14px}
#playdown-created-rooms .room-secondary{border-radius:14px}
#playdown-created-rooms .room-card{background:linear-gradient(135deg,#353073,#211c56);border-color:#5851ca;margin:8px 0 14px}
#playdown-created-rooms .room-club-context{display:flex;align-items:center;gap:12px;margin:0 0 16px;min-width:0}
#playdown-created-rooms .room-club-context img{width:44px;height:44px;object-fit:contain}
#playdown-created-rooms .room-club-context strong{overflow-wrap:anywhere}
#playdown-created-rooms .room-preset-summary{padding:4px 0 12px;color:#eee6ff}
#playdown-created-rooms .room-fixed-hint,#playdown-created-rooms .room-code-help{font-size:12px;color:#e1daf8;line-height:1.5}
#playdown-created-rooms .room-form-nav{display:flex;gap:8px;margin:14px 0 4px}
#playdown-created-rooms .room-form-nav>*{flex:1;min-width:0}
#playdown-created-rooms .room-footer{background:#0c0b2a}
#playdown-created-rooms .room-details-card .room-kind{margin:4px 0 12px}
#playdown-created-rooms .room-footer [data-room-action=go]{background:linear-gradient(110deg,#53e6d8,#2278d6);border-color:#8de4e0;color:#fff;font-weight:700}
#playdown-created-rooms .room-footer .room-actions{gap:10px}
#playdown-created-rooms .room-auto-close{border:1px solid #5851ca;background:#211c56;border-radius:14px;padding:12px;margin:12px 0}
#playdown-created-rooms .room-auto-close h3{font-size:14px;margin:0 0 8px;color:#f5ddff}
#playdown-created-rooms .room-auto-close p{font-size:13px;line-height:1.5}
#playdown-created-rooms .room-auto-close .room-auto-close-note{font-size:12px;color:#d8cdec}
#playdown-created-rooms .room-auto-close-state{font-weight:700}
#playdown-created-rooms .room-auto-close-summary{display:block;margin-top:8px;line-height:1.5;color:#d8cdec;overflow-wrap:anywhere}
#playdown-created-rooms .room-detail-row{display:grid;grid-template-columns:28px minmax(0,.9fr) minmax(0,1.1fr);align-items:center;gap:8px}
#playdown-created-rooms .room-detail-row strong{min-width:0;white-space:normal;overflow-wrap:break-word}
#playdown-created-rooms .room-detail-row>span:last-child{margin-left:0;min-width:0;white-space:normal;overflow-wrap:anywhere;line-height:1.45}
#playdown-created-rooms .room-scroll{padding-bottom:calc(32px + env(safe-area-inset-bottom));scroll-padding-bottom:32px}
#playdown-created-rooms .room-form-nav{margin-bottom:12px;align-items:stretch}
#playdown-created-rooms .room-footer{position:relative;flex-shrink:0;z-index:1}
#playdown-created-rooms{max-width:100%;min-width:0}
#playdown-created-rooms .room-scroll,#playdown-created-rooms .room-footer{min-width:0}
#playdown-created-rooms .room-form-nav{flex-wrap:wrap}
#playdown-created-rooms .room-form-nav>button{flex:1 1 120px;max-width:100%;white-space:normal;overflow-wrap:anywhere}
#playdown-created-rooms .room-details-card{display:block;grid-template-columns:none}

#playdown-created-rooms .room-direct-preview{width:100%;max-width:100%;box-sizing:border-box;display:flex}
#playdown-created-rooms .room-direct-preview>div{flex:1;min-width:0}
#playdown-created-rooms .room-direct-preview h2{white-space:normal;overflow-wrap:anywhere}

/* Match the approved room creation and detail cards without changing game controls. */
#playdown-created-rooms{background:linear-gradient(135deg,#17143e,#0c0b2a);font:15px/1.4 Arial,sans-serif}
#playdown-created-rooms .room-header{padding:16px 20px 14px;padding-top:max(16px,env(safe-area-inset-top));gap:8px}
#playdown-created-rooms .room-header h1{text-align:left;font-size:22px;font-weight:700}
#playdown-created-rooms .room-header>span{width:8px}
#playdown-created-rooms .room-scroll{padding:8px 24px 20px;text-align:left}
#playdown-created-rooms label{font-size:15px;font-weight:500;text-align:left;margin:0 0 8px}
#playdown-created-rooms .room-choice{gap:12px;margin-bottom:16px}
#playdown-created-rooms .room-choice button{flex:1 1 0;min-width:0;min-height:44px;border:1px solid #9f79ff;border-radius:14px;background:linear-gradient(135deg,#353073,#211c56);color:#fff;font-weight:600}
#playdown-created-rooms .room-choice button[aria-pressed=true]:not(:disabled){background:linear-gradient(110deg,#d54df0,#783cff 50%,#3459fa);border-color:#d9b0ff;box-shadow:inset 0 0 0 1px #ffffff35;color:#fff}
#playdown-created-rooms .room-choice button:disabled{opacity:.4}
#playdown-created-rooms .room-choice button:focus-visible,#playdown-created-rooms select:focus-visible{outline:2px solid #d7b1ff;outline-offset:3px}
#playdown-created-rooms input,#playdown-created-rooms select{background:#29235b;color:#fff;border:1px solid #5851ca;border-radius:16px;min-height:46px;color-scheme:dark;font-size:16px}
#playdown-created-rooms select option{background:#29235b;color:#fff}
#playdown-created-rooms select option:checked{background:#783cff;color:#fff}
#playdown-created-rooms .room-preset-summary{display:flex;flex-wrap:wrap;justify-content:space-between;gap:4px 16px;margin-bottom:14px}
#playdown-created-rooms .room-preset-summary p{font-size:14px}
#playdown-created-rooms .room-auto-close{padding:12px 14px;background:linear-gradient(135deg,#353073,#211c56);border:1px solid #5851ca;border-radius:16px;margin:12px 0}
#playdown-created-rooms summary{cursor:pointer;min-height:32px;line-height:1.5;font-weight:600}
#playdown-created-rooms .room-auto-close p{font-size:13px}
#playdown-created-rooms .room-policy-disclosure{margin:10px 0 18px;border:1px solid #5851ca;border-radius:14px;padding:10px 14px;color:#c5bdeb}
#playdown-created-rooms .room-details-card{padding:18px 20px;margin-top:12px}
#playdown-created-rooms .room-details-card h2{font-size:21px;margin:0 0 12px;text-align:left}
#playdown-created-rooms .room-detail-row{min-height:42px;grid-template-columns:minmax(75px,.8fr) minmax(0,1.2fr);gap:10px;border:0;padding:8px 0}
#playdown-created-rooms .room-detail-row>img,#playdown-created-rooms .room-detail-row>.room-host-avatar{display:none}
#playdown-created-rooms .room-detail-row strong{font-size:15px;font-weight:500;text-align:left}
#playdown-created-rooms .room-detail-row>span{font-size:15px;color:#ddd6ff;text-align:right;overflow-wrap:anywhere}
#playdown-created-rooms .room-actions{display:flex;flex-direction:column;gap:12px;margin:0}
#playdown-created-rooms .room-primary,#playdown-created-rooms .room-secondary,#playdown-created-rooms .room-enter-primary{border-radius:14px;min-height:44px;padding:10px 14px;font-weight:700}
#playdown-created-rooms .room-primary{background:linear-gradient(110deg,#d54df0,#783cff 50%,#3459fa);border:1px solid #9f79ff;box-shadow:none}
#playdown-created-rooms .room-enter-primary{background:linear-gradient(110deg,#53e6d8,#2278d6);border:1px solid #9f79ff;width:100%;color:#fff}
#playdown-created-rooms .room-footer{background:#0c0b2a;padding:10px 24px max(14px,env(safe-area-inset-bottom))}
#playdown-created-rooms .room-fixed-hint{font-size:13px;color:#c5bdeb}
#playdown-created-rooms .room-player-card{display:flex;align-items:center;gap:12px;min-height:76px;background:linear-gradient(135deg,#353073,#211c56);border:1px solid #5851ca;border-radius:16px;padding:12px;margin:12px 0}
#playdown-created-rooms .room-player-card .room-friend{flex:1;display:flex;align-items:center;gap:10px;min-width:0;margin:0;padding:0;border:0;background:transparent;font-size:16px;overflow-wrap:anywhere}
#playdown-created-rooms .room-player-card .room-friend input{width:22px;height:24px;min-height:24px;flex:none;accent-color:#a653ff}
#playdown-created-rooms .room-player-card .room-friend img{width:34px;height:34px;border-radius:50%;object-fit:cover;flex:none}
#playdown-created-rooms .room-player-invite{background:linear-gradient(110deg,#d54df0,#783cff 50%,#3459fa);border:1px solid #9f79ff;border-radius:14px;color:#fff;min-height:44px;padding:8px 12px;font-weight:700;flex:none;max-width:40%;overflow-wrap:anywhere}
@media(max-width:350px){#playdown-created-rooms .room-scroll,#playdown-created-rooms .room-footer{padding-left:16px;padding-right:16px}#playdown-created-rooms .room-header h1{font-size:20px}#playdown-created-rooms .room-choice{gap:10px}#playdown-created-rooms .room-details-card{padding:16px}}

/* Keep the final disclosure clear of the measured action footer. */
#playdown-created-rooms .room-scroll{padding-bottom:calc(var(--room-footer-height,80px) + 24px + env(safe-area-inset-bottom));scroll-padding-bottom:24px}
#playdown-created-rooms .room-share-actions{display:grid;gap:12px;margin-top:20px}
#playdown-created-rooms .room-link-renew,#playdown-created-rooms .room-owner-actions{margin-top:24px;padding-top:20px;border-top:1px solid #5851ca}
#playdown-created-rooms .room-owner-actions h3{margin:0;font-size:16px}
#playdown-created-rooms .room-footer [data-room-action=go],#playdown-created-rooms .room-enter-primary{background:linear-gradient(110deg,#d54df0,#783cff 50%,#3459fa);border-color:#9f79ff}
#playdown-created-rooms [data-room-action=runSearch]{margin:0 0 20px;min-height:44px}
#playdown-created-rooms .room-confirm{display:flex;flex-direction:column;gap:12px}
#playdown-created-rooms .room-friend>span{flex:1;min-width:0}
#playdown-created-rooms .room-player-card{column-gap:12px}

/* Compact Room details, complete preset summaries and one invitation surface. */
#playdown-created-rooms .room-details-card{display:block;padding:22px;border-radius:18px;background:linear-gradient(120deg,#353073,#211c56);border:1.2px solid #5851ca}
#playdown-created-rooms .room-details-card h2{font-size:22px;line-height:1.35;margin:0 0 20px;overflow-wrap:anywhere;text-align:left}
#playdown-created-rooms .room-details-card .room-detail-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:14px;min-height:38px;margin:0;padding:8px 0}
#playdown-created-rooms .room-details-card .room-detail-row>img,#playdown-created-rooms .room-details-card .room-detail-row>.room-host-avatar{display:none}
#playdown-created-rooms .room-detail-row strong{font-size:15px;font-weight:500;text-align:left}
#playdown-created-rooms .room-detail-row span{font-size:15px;font-weight:700;color:#c5bdeb;text-align:right;overflow-wrap:anywhere}
#playdown-created-rooms .room-detail-actions{display:flex;flex-direction:column;gap:12px;width:100%}
#playdown-created-rooms .room-close-area{margin-top:24px;padding-top:16px;border-top:1px solid #40366f}
#playdown-created-rooms .room-close-area button{width:100%;color:#ffb4c4;border:1px solid #a36b94;background:transparent}
#playdown-created-rooms .room-code-secondary{font-size:14px;margin-top:16px;min-height:44px;background:transparent}
#playdown-created-rooms .room-selected-settings{margin:20px 0;display:flex;flex-direction:column;gap:10px}
#playdown-created-rooms .room-selected-settings p{display:flex;justify-content:space-between;gap:12px;margin:0;font-size:15px;line-height:1.5}
#playdown-created-rooms .room-selected-settings strong{text-align:right;overflow-wrap:anywhere}
#playdown-created-rooms .room-auto-close-brief{border:1px solid #7963eb;background:#252052;border-radius:16px;padding:12px 14px;margin-top:16px;text-align:left}
#playdown-created-rooms .room-auto-close-brief p{font-size:13px;line-height:1.5;margin:0 0 6px}
#playdown-created-rooms .room-auto-close-brief p:last-child{margin-bottom:0}
#playdown-created-rooms .room-player-list{display:flex;flex-direction:column;gap:12px;margin:18px 0}
#playdown-created-rooms .room-player-card{display:grid;grid-template-columns:36px minmax(0,1fr) auto;align-items:center;gap:12px;padding:16px;min-height:78px;border:1.2px solid #5851ca;border-radius:17px;background:linear-gradient(120deg,#353073,#211c56)}
#playdown-created-rooms .room-player-avatar{width:36px;height:36px;border-radius:50%;overflow:hidden;background:#39336e;display:block}
#playdown-created-rooms .room-player-avatar img{width:100%;height:100%;object-fit:cover}
#playdown-created-rooms .room-player-copy{display:flex;flex-direction:column;gap:6px;min-width:0;overflow-wrap:anywhere;text-align:left}
#playdown-created-rooms .room-player-copy strong{font-size:17px}
#playdown-created-rooms .room-player-copy small{font-size:12px;color:#c5bdeb}
#playdown-created-rooms .room-player-invite{width:auto;margin:0;min-height:44px;padding:10px 14px}
#playdown-created-rooms .room-invite-context{font-size:16px;text-align:left;overflow-wrap:anywhere}
#playdown-created-rooms .room-external-sharing{display:flex;flex-direction:column;gap:12px;margin-top:24px}
#playdown-created-rooms .room-external-sharing h2{font-size:18px;margin:0;text-align:left}
#playdown-created-rooms .room-share-actions{display:flex;flex-direction:column;gap:12px;margin:0}
#playdown-created-rooms .room-external-sharing button{width:100%;margin:0}
#playdown-created-rooms :is(input,textarea,select,.room-scroll){scrollbar-width:none}
#playdown-created-rooms :is(input,textarea,select,.room-scroll)::-webkit-scrollbar{display:none;width:0;height:0}
@media(max-width:350px){#playdown-created-rooms .room-details-card{padding:16px}#playdown-created-rooms .room-player-card{grid-template-columns:32px minmax(0,1fr) auto;padding:12px;gap:10px}#playdown-created-rooms .room-player-invite{font-size:14px;padding:10px}#playdown-created-rooms .room-selected-settings p{font-size:14px}}

#playdown-created-rooms .room-close-area button,#playdown-created-rooms .room-code-secondary{border-radius:14px;padding:12px 16px;min-height:44px}

#playdown-created-rooms .room-player-card{display:flex;flex-wrap:wrap}
#playdown-created-rooms .room-player-card>.room-player-avatar{flex:0 0 36px}
#playdown-created-rooms .room-player-card>.room-player-copy{flex:1 1 120px;max-width:100%;word-break:normal}
#playdown-created-rooms .room-player-card>.room-player-invite{flex:0 1 auto;max-width:100%;min-width:min-content;margin-inline-start:auto;white-space:normal;overflow-wrap:normal;word-break:normal;hyphens:none}

#playdown-created-rooms .room-player-card{margin:0}
#playdown-created-rooms .room-player-card>.room-player-copy{flex-basis:80px}
#playdown-created-rooms .room-player-state{flex:0 1 auto;margin-inline-start:auto;max-width:100%;padding:8px 10px;border:1px solid #8b80bd;border-radius:10px;background:#30294f;color:#f1edff;font-size:14px;line-height:1.4;overflow-wrap:normal;word-break:normal}
#playdown-created-rooms .room-player-copy small{color:#ddd4f7}
#playdown-created-rooms .room-player-card>.room-player-invite:disabled{opacity:1;background:#3b3568;color:#f1edff;border-color:#8b80bd}
#playdown-created-rooms .room-link-disclosure{order:2;min-width:0;text-align:left}
#playdown-created-rooms .room-link-disclosure summary{min-height:44px;display:flex;align-items:center;cursor:pointer;color:#ddd4f7}

#playdown-created-rooms .room-toast[data-neutral=true]{background:#30294ff5;border-color:#8b80bd;color:#f1edff}

#playdown-created-rooms .room-footer{display:flex;flex-direction:column;gap:12px}
#playdown-created-rooms .room-toast{bottom:calc(var(--room-footer-height,0px) + 12px)}

#playdown-room-notice{top:max(76px,env(safe-area-inset-top));bottom:auto}

#playdown-room-notice.room-notice-recovery{pointer-events:auto;display:flex;align-items:center;gap:12px}#playdown-room-notice.room-notice-recovery button{box-sizing:border-box;flex:0 0 auto;min-height:44px;max-width:55%;padding:10px 12px;border:1px solid #aa9de6;border-radius:22px;background:#211d45;color:#f7f4ff;font:inherit;font-weight:700;cursor:pointer;white-space:normal;word-break:normal;overflow-wrap:normal}#playdown-room-notice.room-notice-recovery button:focus-visible{outline:3px solid #72e4e4;outline-offset:2px}

#playdown-created-rooms .room-exit-status{padding:20px 0;display:grid;justify-items:start;gap:12px}
#playdown-created-rooms .room-exit-status .room-status{margin:0;text-align:start}
#playdown-created-rooms .room-exit-status button{min-height:44px;min-width:120px}

/* A single bounded content scroller keeps fixed actions and confirmation controls reachable. */
#playdown-created-rooms{touch-action:pan-y}
#playdown-created-rooms .room-scroll{flex:1 1 0%;min-height:0;padding-bottom:calc(var(--room-footer-height,80px) + 24px + env(safe-area-inset-bottom));scroll-padding-bottom:24px;user-select:text;-webkit-user-select:text}
#playdown-created-rooms button{user-select:none;-webkit-user-select:none}
#playdown-created-rooms.html-scroll-dragging{cursor:grabbing;user-select:none;-webkit-user-select:none}
#playdown-created-rooms .room-modal-backdrop{position:absolute;inset:0;z-index:10;display:flex;align-items:center;justify-content:center;padding:max(16px,env(safe-area-inset-top)) 16px max(16px,env(safe-area-inset-bottom));background:#08051dcc;touch-action:pan-y}
#playdown-created-rooms .room-modal{display:flex;flex-direction:column;gap:16px;width:100%;max-width:440px;max-height:100%;min-height:0;margin:0;padding:20px;background:linear-gradient(135deg,#353073,#211c56);border:1px solid #9f79ff;border-radius:20px;box-shadow:0 16px 48px #0008}
#playdown-created-rooms .room-modal h2{flex:none;margin:0}
#playdown-created-rooms .room-modal-content{min-height:0;overflow:auto;overscroll-behavior:contain;touch-action:pan-y;user-select:text;-webkit-user-select:text}
#playdown-created-rooms .room-modal-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;flex:none}
#playdown-created-rooms .room-scroll :is(div,p,span,strong,small,h2,h3){user-select:text;-webkit-user-select:text}
