:root{color-scheme:dark;--bg:#03111f;--panel:#061b32;--panel2:#091d35;--card:#08233e;--line:#183451;--softline:#274869;--white:#f0f5ff;--muted:#96a9c6;--blue:#0865ef;--blue2:#167bff;--cyan:#69b8ff;--green:#00df77;--orange:#ffab27;--red:#ff6371;font-family:Inter,"Segoe UI",Arial,system-ui,sans-serif;font-synthesis:none}*{box-sizing:border-box}body{margin:0;min-height:100vh;color:var(--white);background:radial-gradient(ellipse 1300px 420px at 30% -100px,#0037727f,transparent 75%),radial-gradient(ellipse 500px 570px at 100% 45%,#00306337,transparent 80%),#03111f}button,input,textarea,select{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.47}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid #99c6ff;outline-offset:3px}button{touch-action:manipulation}input,select,textarea{color:var(--white);width:100%;min-width:0;background:#0d2139;border:1px solid #294767;outline:0;border-radius:8px;padding:11px 12px;font-size:13px}input:focus,select:focus,textarea:focus{border-color:#367de8;box-shadow:0 0 0 3px #146afa18}input::placeholder,textarea::placeholder{color:#778ba8}textarea{resize:vertical;min-height:56px}a{color:#8abaff}.site-header{height:65px;display:flex;align-items:center;gap:16px;padding:0 clamp(13px,2.6vw,42px);background:linear-gradient(92deg,#002b61,#031d39 50%,#05172b);border-bottom:1px solid #173151;box-shadow:0 2px 30px #00152e8c;position:sticky;top:0;z-index:25}.brand{display:flex;gap:13px;align-items:center;flex-shrink:0;color:white;background:transparent;border:0;padding:0;white-space:nowrap}.brand-glyph{width:56px;height:43px;display:grid;place-items:center}.brand-glyph svg{width:43px;height:43px}.brand-label{font-size:clamp(19px,2.2vw,28px);font-weight:850;letter-spacing:.065em;line-height:1;text-shadow:0 0 18px #3977d942}.header-nav{display:flex;align-items:stretch;align-self:stretch;gap:4px;margin-left:28px}.nav-item{min-width:110px;padding:0 16px;font-size:14px;border:0;background:none;color:#d6e2fa;font-weight:700;border-radius:12px 12px 0 0;position:relative}.nav-item span{font-size:20px;vertical-align:-2px;margin-right:3px}.nav-item:hover,.nav-item.is-active{background:linear-gradient(180deg,#063574,#06448d54);color:white}.nav-item.is-active:after{content:'';height:3px;position:absolute;bottom:0;left:25%;right:25%;border-radius:6px;background:#2a8bff;box-shadow:0 0 14px 4px #1182ff99}.top-search{height:39px;border:1px solid #315174;background:#0c243f77;border-radius:9px;display:flex;align-items:center;gap:9px;padding:0 12px;width: min(306px,23vw);margin-left:auto;flex-shrink:1;color:#a4b7d5}.top-search input{font-size:12px;background:none;border:0;box-shadow:none;padding:0;min-height:unset;height:100%}.top-search input:focus{box-shadow:none}.bell-btn{border:0;background:none;color:#dfe9fa;position:relative;padding:8px}.notif-dot{position:absolute;right:8px;top:3px;width:9px;height:9px;border-radius:100%;background:#ff3253;box-shadow:0 0 0 3px #05203c}.notif-dot[hidden]{display:none}.top-profile{border:0;background:transparent;color:#e8efff;display:flex;align-items:center;gap:10px;padding:5px;font-weight:650;font-size:13px;max-width:205px}.top-profile img{border-radius:50%;width:39px;height:39px;object-fit:cover;border:2px solid #3687ff}.top-profile .chev{font-size:20px;color:#aabbd7;margin-left:6px}.workspace{display:grid;grid-template-columns:minmax(300px, .99fr) minmax(410px, 1.27fr) minmax(300px,.78fr);align-items:start;gap:17px;max-width:1900px;padding:10px 14px 0;margin:0 auto}.left-column,.center-column,.right-column{min-width:0}.left-column{background:linear-gradient(180deg,#06172a,#031423);border:1px solid #0e2a46;border-radius:13px;overflow:hidden;min-height:810px;padding:12px 14px 14px}.section-heading{height:37px;display:flex;align-items:center}.section-heading h1{font-size:22px;letter-spacing:-.03em;margin:0}.count-bubble{display:inline-block;font-size:11px;vertical-align:4px;background:#142b4c;border:1px solid #284462;border-radius:20px;padding:2px 8px;color:#cbdaf3;font-weight:500;margin-left:4px}.filter-line{display:flex;gap:9px;margin:7px 0 13px;align-items:center;justify-content:space-between}.filter-switch{display:flex;gap:9px;flex:1;min-width:0}.filter-tab{min-height:36px;min-width:0;flex:1;padding:5px 8px;border-radius:10px;background:linear-gradient(130deg,#112a46,#091c33);border:1px solid #183753;color:#b7c7e1;font-size:12px}.filter-tab:hover{border-color:#3475bc}.filter-tab.active{background:linear-gradient(120deg,#0571ff,#0755d2);color:white;border-color:#167dff}.filter-icon{width:37px;height:37px;border:1px solid #264867;border-radius:9px;background:#0a233b;color:#bbd1f0;display:grid;place-items:center;flex-shrink:0}.filter-icon.active{background:#17457d;color:#fff;border-color:#2b8aff}.room-list{display:flex;flex-direction:column;gap:2px}.room-list-card{background:transparent;border:1px solid transparent;border-radius:11px;min-height:130px;display:flex;gap:11px;padding:11px 9px;color:inherit;text-align:left;transition:.16s ease;position:relative}.room-list-card:not(:last-child){border-bottom-color:#132d48;border-bottom-right-radius:0;border-bottom-left-radius:0}.room-list-card:hover,.room-list-card.active{background:linear-gradient(110deg,#092d50,#06182c);border-color:#17507b;box-shadow:inset 3px 0 #167bff}.room-cover{width:101px;height:118px;object-fit:cover;border-radius:8px;background:#113d69;flex-shrink:0;box-shadow:0 4px 12px #0009}.room-list-content{display:flex;flex-direction:column;flex:1;min-width:0}.room-list-title{font-size:16px;line-height:1.28;font-weight:800;margin:3px 0 6px;overflow-wrap:anywhere}.room-list-owner{display:flex;align-items:center;gap:6px;font-size:12px;color:#d8e4f9;overflow:hidden;white-space:nowrap;min-width:0}.room-list-owner span.user-ellipsis{overflow:hidden;text-overflow:ellipsis}.owner-flag,.flag{font-size:17px;line-height:1}.room-tags{display:flex;flex-wrap:wrap;gap:4px;margin:7px 0 7px}.room-tags span{font-size:10px;background:#142b47;color:#a8c4e6;border:1px solid #183a60;padding:4px 7px;border-radius:5px;white-space:nowrap}.room-list-bottom{display:flex;align-items:center;justify-content:space-between;gap:9px;margin-top:auto}.mini-avatars{display:flex;align-items:center;flex:1;min-width:0}.mini-avatars img{width:29px;height:29px;border-radius:50%;border:2px solid #1c547e;object-fit:cover;margin-right:-6px;background:#173452}.empty-avatar{width:29px;height:29px;flex:none;border-radius:50%;background:#102642;border:1px solid #345879;color:#8fb8ef;display:grid;place-items:center;margin-left:4px;font-size:18px}.list-join{font-size:12px;min-width:93px;padding:9px 12px;border-radius:8px;border:0;background:linear-gradient(120deg,#0871ff,#0657d7);color:white;font-weight:700;box-shadow:0 4px 16px #0054c83b}.list-join.secondary{background:#163350;color:#c4d9f2;box-shadow:none}.list-count{position:absolute;right:12px;top:49px;display:flex;gap:4px;font-size:12px;color:#cbd6ed}.status-dot{position:absolute;top:14px;right:15px;border:1px solid #09cf6b;border-radius:50%;height:12px;width:12px}.status-dot.full{background:#ff9d14;border-color:#ff9d14}.status-dot.closed{background:#e75b6a;border-color:#e75b6a}.list-footnote{display:flex;align-items:center;justify-content:center;gap:6px;text-align:center;color:#7c97b9;font-size:10px;padding:13px 4px 2px}.online-spark{width:6px;height:6px;background:#13cd78;border-radius:50%;box-shadow:0 0 8px #21e88a}.demo-mark{color:#83aef0;font-size:9px}.center-column{display:flex;flex-direction:column;gap:10px}.hero{min-height:248px;border:1px solid #144370;background:#0b2f67;position:relative;border-radius:13px;overflow:hidden;box-shadow:0 8px 30px #001b3b4f}.hero-bg{position:absolute;inset:0;background-position:center 38%;background-size:cover}.hero::after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#041d4b50 0%,#041c443c 29%,transparent 82%),linear-gradient(0deg,#04162c 0%,#0310260a 70%);pointer-events:none}.hero-inner{position:relative;z-index:1;height:100%;min-height:248px;padding:14px 17px 16px;display:flex;flex-direction:column;align-items:stretch}.back-btn{align-self:flex-start;border:1px solid #476996;background:#071e46cc;color:#ecf4ff;padding:8px 13px;border-radius:8px;font-size:12px}.hero-bottom{margin-top:auto;display:flex;align-items:end;justify-content:space-between;gap:10px}.hero-info{min-width:0}.game-overline{font-size:11px;font-weight:700;text-transform:uppercase;color:#93bfff;letter-spacing:.12em;text-shadow:0 1px 4px #000a}.hero-title{font-size:clamp(20px,2.1vw,27px);font-weight:850;letter-spacing:-.025em;line-height:1.18;margin:7px 0 6px;text-shadow:0 2px 12px #000b}.hero-title .status-pill{font-size:12px;vertical-align:4px;letter-spacing:0;margin-left:5px}.status-pill{display:inline-flex;background:#063e31;color:#02e687;padding:5px 9px;border-radius:7px;border:1px solid #136f59;font-size:11px}.status-pill.full{background:#513216;color:#ffbd5e;border-color:#8a6029}.status-pill.closed{background:#4d1b26;color:#f995a1;border-color:#8d364b}.hero-byline{font-size:12px;color:#b5cce9;display:flex;align-items:center;gap:8px;margin-top:8px}.hero-actions{display:flex;align-items:flex-end;flex-direction:column;gap:8px;min-width:154px}.hero-num{display:flex;gap:7px;align-items:center;font-size:18px;font-weight:700}.hero-action{min-width:160px;max-width:210px;width:100%}.hero-tagline{display:flex;gap:6px;flex-wrap:wrap;margin-top:12px}.hero-tag{font-size:11px;color:#e8f1ff;padding:6px 9px;background:#081d37c7;border:1px solid #3e6791;border-radius:6px}.member-section{background:linear-gradient(170deg,#041b32,#06172b);border:1px solid #11385d;border-top:0;padding:12px 16px 16px;border-radius:0 0 14px 14px;margin-top:-13px;padding-top:19px}.member-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:5px 0 14px}.member-heading h2{font-size:18px;font-weight:750;margin:0}.members-grid{display:grid;grid-template-columns:1.6fr 1.6fr .8fr .8fr;gap:7px}.member-card{background:linear-gradient(130deg,#0b2645,#081b31);border:1px solid #25476b;border-radius:9px;min-width:0;min-height:90px;padding:10px 7px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;color:#e7f2ff}.member-card button{background:transparent;border:0;color:inherit}.member-card.member-present{display:flex;flex-direction:row;justify-content:flex-start;align-items:center;gap:8px;padding:7px}.member-card.member-present .member-avatar{height:56px;width:56px;flex-shrink:0;border-radius:14px;border:2px solid #237ae4;object-fit:cover}.member-text{display:flex;flex-direction:column;align-items:flex-start;min-width:0;gap:5px}.member-name{font-size:12px;font-weight:800;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.member-role{font-size:10px;color:#6cb7ff}.member-role.user{color:#95b3da}.member-empty{font-size:11px;color:#a5b8d3}.member-plus{width:41px;height:41px;border-radius:50%;background:#112d4b;display:grid;place-items:center;color:#bed4ee;font-size:24px}.member-manage{display:flex;gap:7px;align-items:center;flex-wrap:wrap;margin-top:12px}.member-manage button{font-size:11px}.chat-panel{background:linear-gradient(120deg,#051c32,#051525);border:1px solid #153757;border-radius:13px;padding:14px 16px 15px}.chat-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:13px;gap:10px}.chat-title h2{margin:0;font-size:16px}.chat-caption{font-size:11px;color:#75a1d0}.chat-stream{height:275px;overflow:auto;display:flex;flex-direction:column;gap:11px;padding:2px 7px 4px 0;scrollbar-color:#305678 transparent;scrollbar-width:thin}.chat-entry{display:flex;align-items:flex-end;gap:9px}.chat-entry.mine{justify-content:flex-start}.chat-entry img{width:36px;height:36px;border-radius:50%;border:2px solid #2069c8;object-fit:cover;flex-shrink:0}.chat-content{display:flex;flex-direction:column;gap:4px;min-width:0;max-width:calc(100% - 50px)}.chat-meta{font-size:11px;color:#b2c4df;display:flex;align-items:center;gap:5px;flex-wrap:wrap}.chat-meta time{margin-left:5px;color:#7794b6}.chat-bubble{font-size:12px;line-height:1.45;padding:9px 11px;border:1px solid #284464;background:#0e2a47;border-radius:4px 10px 10px 10px;max-width:100%;width:fit-content;overflow-wrap:anywhere;white-space:pre-wrap}.chat-entry.mine .chat-bubble{background:#093a83;border-color:#1765d6}.chat-form{display:flex;gap:10px;margin-top:10px}.chat-form input{height:43px;background:#0b223d;border-color:#254563}.send-btn{height:43px;width:49px;border-radius:10px;border:0;background:#086dfa;color:white;display:grid;place-items:center;font-size:21px;flex-shrink:0}.chat-locked{background:#0d2641;border:1px dashed #32587e;padding:18px;border-radius:10px;color:#a8c4e7;font-size:12px;line-height:1.5}.pending-panel{background:#21341a2e;border:1px solid #765c2e;padding:12px;border-radius:9px;margin:10px 0;font-size:12px;color:#f8d89c}.side-panel{background:linear-gradient(135deg,#071b31,#051627);border:1px solid #153856;border-radius:14px;padding:15px 16px 17px;box-shadow:0 8px 28px #0005}.right-column{display:flex;flex-direction:column;gap:11px}.panel-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}.panel-title h2{font-size:18px;margin:0;font-weight:750}.panel-icon{color:#9eb8da;font-size:23px}.field-label{display:block;font-size:12px;font-weight:700;color:#e4edfe;margin:13px 0 7px}.optional{color:#9aaac0;font-weight:400}.field-hint{font-size:10px;color:#718fb8;margin:10px 0 0;text-align:center}.input-search{display:flex;align-items:center;gap:10px;background:#0d2139;border:1px solid #294767;border-radius:8px;padding:0 11px}.input-search:focus-within{border-color:#367de8}.input-search span{font-size:21px;color:#8badcf}.input-search input{border:0;padding:10px 0;box-shadow:none;background:transparent}.game-search-container{position:relative}.game-results{position:absolute;z-index:15;top:calc(100% + 4px);left:0;right:0;max-height:285px;overflow:auto;background:#0b233e;border:1px solid #35608c;border-radius:9px;box-shadow:0 12px 30px #000a}.game-option{border:0;background:transparent;color:#dfebff;width:100%;display:flex;align-items:center;gap:9px;padding:9px;text-align:left;font-size:12px}.game-option:hover,.game-option:focus{background:#16477b}.game-option img{width:37px;height:41px;object-fit:cover;border-radius:5px}.game-option .game-sub{color:#8faed0;font-size:10px;margin-top:4px}.chosen-game{border:1px solid #1e436b;background:#0a2542;border-radius:10px;margin-top:8px;min-height:58px;display:flex;align-items:center;gap:8px;padding:7px;position:relative}.chosen-game img{width:47px;height:48px;object-fit:cover;border-radius:6px;flex-shrink:0}.chosen-game strong{font-size:12px}.chosen-game span{font-size:10px;color:#91abc9;display:block;margin-top:6px}.chosen-game .clear-game{margin-left:auto;border:0;background:#183251;color:#d7e9ff;border-radius:50%;height:23px;width:23px}.chosen-game.empty{font-size:11px;color:#88a5c7;border-style:dashed;justify-content:center}.mode-switch{display:flex;gap:5px;margin-top:13px;border-radius:9px}.mode-btn{flex:1;min-height:39px;padding:6px 5px;color:#b4c9e4;border:1px solid #26496d;background:#0b1d34;border-radius:8px;font-size:11px;white-space:nowrap}.mode-btn.active{background:linear-gradient(110deg,#103c86,#074fbd);border-color:#1881ff;color:white}.primary-button{background:linear-gradient(110deg,#076bfc,#0863ed);border:1px solid #0d7afa;color:white;border-radius:8px;padding:11px 15px;min-height:40px;font-size:13px;font-weight:750;box-shadow:0 4px 12px #035edf37}.primary-button:hover{filter:brightness(1.15)}.create-submit,.save-profile{width:100%;margin-top:12px}.api-config{margin-top:16px;border-top:1px solid #183653;padding-top:12px;font-size:11px;color:#87a5c9}.api-config summary{cursor:pointer;font-size:11px;color:#b4ccee}.api-config p{line-height:1.5}.api-config label{display:block;margin:10px 0 5px}.api-config .inline-api{display:flex;gap:6px}.api-config .inline-api input{flex:1;min-width:0}.outline-button{padding:8px 12px;font-size:11px;border:1px solid #34659b;background:#102c4f;border-radius:7px;color:#d8eaff}.api-config a{font-size:10px}.small-hint{font-size:11px;color:#92b3d6}.profile-preview{display:flex;align-items:center;gap:12px;margin-bottom:6px}.profile-preview img{width:50px;height:50px;border-radius:50%;object-fit:cover;border:2px solid #297bfa}.profile-preview strong{font-size:13px}.profile-preview small{display:block;font-size:11px;color:#8daacc;margin-top:4px}.subtle-link{color:#7eadff;background:none;border:0;font-size:11px}.save-feedback{color:#76daa5;min-height:13px;font-size:11px;text-align:center;margin-top:7px}.bottom-widgets{display:grid;grid-template-columns:minmax(0,1.9fr) minmax(260px,1fr);gap:10px;max-width:1900px;margin:11px auto 0;padding:0 14px}.avatar-strip,.country-strip{background:linear-gradient(120deg,#082443,#061b32);border:1px solid #163857;border-radius:13px;padding:11px 15px}.strip-heading{display:flex;justify-content:space-between;align-items:center;gap:10px}.bottom-widgets h3{font-size:13px;margin:0 0 8px}.strip-heading span{font-size:10px;color:#8eaed3}.avatar-picker,.quick-countries{display:flex;align-items:center;gap:8px;overflow-x:auto;scrollbar-width:thin;scrollbar-color:#254e7a transparent}.avatar-option{flex:0 0 auto;border-radius:15px;padding:3px;border:2px solid transparent;background:#0c2646;transition:.12s}.avatar-option img{height:50px;width:50px;object-fit:cover;border-radius:13px;display:block}.avatar-option.selected{border-color:#3698ff;background:#083a73;box-shadow:0 0 0 1px #6eb7ff,0 0 16px #007aff77}.flag-option{flex-shrink:0;width:41px;height:42px;border-radius:10px;border:1px solid transparent;background:#0a2745;color:white;font-size:25px}.flag-option:hover,.flag-option.selected{border-color:#2f90ff;background:#0a386e}.footer-note{text-align:center;font-size:10px;color:#6987a8;max-width:1500px;padding:13px 20px 85px;margin:auto}.mobile-footer{display:none}.modal-backdrop{position:fixed;inset:0;z-index:60;background:#020914d9;backdrop-filter:blur(6px);display:flex;align-items:center;justify-content:center;padding:15px}.modal-card{position:relative;width:min(460px,100%);max-height:88vh;overflow:auto;background:linear-gradient(148deg,#0c2e52,#07192f);border:1px solid #346299;border-radius:18px;box-shadow:0 18px 80px #000e;padding:22px}.modal-card .modal-close{position:absolute;right:16px;top:16px;background:#173755;color:#ddebff;border:1px solid #31547b;border-radius:8px;width:31px;height:31px}.modal-user{display:flex;gap:13px;align-items:center;padding-right:33px}.modal-user img{width:76px;height:76px;object-fit:cover;border-radius:17px;border:2px solid #378cfa}.modal-user h2{margin:0 0 6px;font-size:19px;overflow-wrap:anywhere}.modal-user p{font-size:12px;color:#93afcf;margin:0}.profile-badges{display:flex;flex-wrap:wrap;gap:7px;margin:18px 0}.profile-badges span{border-radius:6px;border:1px solid #345a88;background:#0f365d;padding:6px 9px;font-size:11px;color:#d0e7ff}.modal-copy{width:100%;margin-top:10px}.modal-info{color:#b0c5dd;font-size:12px;line-height:1.6;margin:14px 0}.modal-card hr{border:0;border-top:1px solid #2a4869;margin:13px 0}.profile-editor{display:grid;grid-template-columns:1fr 1fr;gap:10px}.profile-editor label{font-size:12px;color:#b4c9df;display:block;margin-bottom:6px}.profile-editor .span2{grid-column:1/-1}.profile-editor .checkboxes{display:flex;gap:5px;flex-wrap:wrap}.checkbox-label{display:flex;align-items:center;gap:5px;background:#0e3155;border:1px solid #2c5781;padding:7px;border-radius:7px;font-size:11px}.checkbox-label input{width:auto}.profile-editor .primary-button{grid-column:1/-1}.notif-panel{position:fixed;right:120px;top:62px;z-index:45;width:min(330px,calc(100vw - 30px));background:#0b2948;border:1px solid #315987;border-radius:12px;padding:14px;box-shadow:0 15px 40px #0009;font-size:12px}.notif-panel h3{margin:0 0 10px}.notif-panel button{color:#cce1ff;background:#133859;border:1px solid #39628a;border-radius:8px;padding:8px;width:100%;text-align:left;margin-top:5px}.notice-banner{font-size:12px;color:#aed1f6;background:#0c2a4c;border:1px solid #234d75;border-radius:9px;padding:10px;margin-top:10px}.mini-button{font-size:11px;color:#b9dcff;border:1px solid #2b5785;background:#0f3051;border-radius:7px;padding:7px 10px}.mini-button.danger{border-color:#794252;color:#ffc0c5;background:#3b1b2a}.approval-list{margin-top:12px;padding:10px;border-radius:10px;background:#0a2845;border:1px solid #315176}.approval-list h3{font-size:13px;margin:0 0 10px}.approval-row{display:flex;align-items:center;gap:8px;justify-content:space-between;flex-wrap:wrap;margin:9px 0}.approval-row .text-profile{display:flex;align-items:center;gap:8px;color:#cce2ff;background:transparent;border:0;padding:0}.approval-row .text-profile img{width:32px;height:32px;border-radius:9px}.approval-actions{display:flex;gap:5px}.empty-list{border:1px dashed #315b83;padding:40px 16px;border-radius:9px;text-align:center;color:#b2cce8;font-size:12px}.toast{position:fixed;bottom:32px;left:50%;transform:translateX(-50%);z-index:90;background:#10487c;color:#fff;border:1px solid #4298ff;box-shadow:0 8px 28px #000b;border-radius:10px;padding:12px 19px;font-size:12px;white-space:nowrap;max-width:92vw;overflow:hidden;text-overflow:ellipsis}
@media(min-width:1650px){.workspace{grid-template-columns:minmax(400px,1.02fr) minmax(570px,1.26fr) minmax(340px,.8fr)}.room-list-card{min-height:138px}.room-cover{height:120px}.hero,.hero-inner{min-height:275px}.chat-stream{height:307px}}
@media(max-width:1340px){.site-header{gap:11px}.header-nav{margin-left:4px}.nav-item{min-width:87px;padding:0 10px}.brand-glyph{width:40px}.brand-label{font-size:20px}.workspace{grid-template-columns:minmax(255px,.91fr) minmax(380px,1.21fr) minmax(270px,.87fr);gap:10px;padding:10px}.left-column{padding:11px 9px}.room-cover{width:79px;height:106px}.room-list-card{padding:9px 6px}.room-list-title{font-size:14px}.room-list-bottom{gap:3px}.list-join{min-width:77px;font-size:10px}.room-list-card{min-height:127px}.member-card.member-present{flex-direction:row}.member-text{align-items:flex-start}.member-name{font-size:10px}.member-role{font-size:9px}.bottom-widgets{padding:0 10px}}
@media(max-width:1070px){.workspace{grid-template-columns:minmax(280px, .8fr) minmax(410px,1.2fr)}.right-column{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr}.top-search{width:min(250px,20vw)}.bottom-widgets{grid-template-columns:1fr}.member-card.member-present{flex-direction:row}.left-column{min-height:unset}}
@media(max-width:790px){.site-header{height:59px;padding:0 13px;gap:9px}.brand-glyph{width:36px}.brand-glyph svg{width:32px}.brand-label{font-size:18px}.header-nav{display:none}.top-search{display:none}.top-profile{margin-left:auto}.top-profile #header-username{font-size:11px;max-width:87px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.top-profile img{width:33px;height:33px}.top-profile .chev{display:none}.bell-btn{padding:6px}.workspace{display:block;padding:9px 10px 0}.left-column{border-radius:12px;min-height:unset}.right-column{display:flex}.view-section{display:none!important}body[data-view="rooms"] #rooms-section,body[data-view="detail"] #details-section,body[data-view="create"] #tools-section,body[data-view="profile"] #tools-section{display:flex!important;flex-direction:column}body[data-view="rooms"] #rooms-section{display:block!important}body[data-view="create"] #tools-section #profile-section{display:none}body[data-view="profile"] #tools-section #create-section{display:none}.bottom-widgets{display:none}body[data-view="profile"] .bottom-widgets{display:flex;flex-direction:column;padding:0 10px;gap:9px}.room-cover{width:92px;height:105px}.room-list-card{min-height:127px}.room-list-title{font-size:15px}.list-join{min-width:90px;font-size:11px}.member-card.member-present{flex-direction:row}.hero,.hero-inner{min-height:250px}.hero-title{font-size:24px}.chat-stream{height:calc(100dvh - 500px);min-height:200px;max-height:430px}.mobile-footer{height:67px;display:flex;align-items:stretch;position:fixed;bottom:0;left:0;right:0;background:#06172ceb;border-top:1px solid #20517b;backdrop-filter:blur(16px);z-index:24;padding-bottom:env(safe-area-inset-bottom)}.mobile-nav{flex:1;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:3px;border:0;background:none;color:#9ab3d5;font-size:10px}.mobile-nav span{font-size:20px}.mobile-nav.active{color:#e8f4ff;background:#0b3a76;border-top:2px solid #1984ff}.footer-note{padding-bottom:95px}.notif-panel{right:12px;top:55px}}
@media(max-width:420px){.brand-label{font-size:16px}.top-profile{gap:5px}.top-profile #header-username{max-width:68px}.room-cover{width:76px;height:99px}.room-list-card{gap:9px;padding:9px 5px}.list-join{min-width:72px}.mini-avatars img{height:25px;width:25px}.empty-avatar{width:24px;height:24px}.member-card.member-present{flex-direction:column}.member-card.member-present .member-avatar{width:48px;height:48px}.hero-action{min-width:120px}.hero-actions{min-width:112px}.hero-inner{padding:11px}.hero-title{font-size:19px}.hero-tagline{gap:4px}.hero-tag{font-size:10px}.chat-panel{padding:12px 10px}}

@media(max-width:530px){.members-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* PLAYROOM V1.5 — Pages dédiées. La page Rooms ne comporte plus de panneau de droite. */
#rooms-workspace{display:none!important;grid-template-columns:minmax(310px,.88fr) minmax(0,1.5fr);max-width:1370px;gap:19px;padding:20px 18px 0;align-items:start;margin-inline:auto}
body[data-view="rooms"] #rooms-workspace,body[data-view="detail"] #rooms-workspace{display:grid!important}
#rooms-workspace .left-column{min-height:690px}
#rooms-workspace .center-column{min-width:0}
#rooms-workspace .hero,.hero-inner{min-height:280px}
#rooms-workspace .chat-stream{height:300px}
#rooms-workspace .room-list-card{min-height:132px}
#rooms-workspace .room-cover{width:96px;height:120px}
#rooms-workspace .member-card.member-present{flex-direction:row}
#rooms-workspace .member-text{align-items:flex-start}
#rooms-workspace .member-name{font-size:12px}
#rooms-workspace .member-role{font-size:10px}
#rooms-workspace .room-list-title{font-size:15px}
#rooms-workspace .list-join{min-width:89px;font-size:11px}
#profile-workspace,#create-workspace{display:none!important}
body[data-view="create"] #create-workspace,body[data-view="profile"] #profile-workspace{display:block!important}
.single-workspace{width:100%;max-width:1040px;margin:0 auto;padding:42px 22px 32px}
#create-workspace{max-width:810px}
.page-intro{margin:0 0 24px}
.page-intro .eyebrow{font-size:11px;letter-spacing:.2em;color:#70b8ff;font-weight:800}
.page-intro h1{font-size:clamp(28px,3vw,40px);letter-spacing:-.04em;margin:10px 0 7px;font-weight:850}
.page-intro p{font-size:14px;line-height:1.6;color:#92adc9;margin:0;max-width:650px}
.create-full-panel{padding:26px 28px 30px;border-color:#285076;background:linear-gradient(145deg,#082544,#05192f)}
.create-full-panel .panel-title h2{font-size:23px}
.create-full-panel .field-label{font-size:14px;margin:20px 0 9px}
.create-full-panel input,.create-full-panel textarea,.create-full-panel select{font-size:14px;min-height:45px}
.create-full-panel .chosen-game{min-height:77px}
.create-full-panel .mode-switch button{min-height:48px}
.create-full-panel .create-submit{min-height:51px;font-size:15px}
.profile-grid{display:grid;grid-template-columns:minmax(320px,.95fr) minmax(0,1.05fr);gap:18px;align-items:start}
.profile-grid .side-panel{padding:23px;border-color:#275076;min-height:500px}
.profile-grid .panel-title h2{font-size:20px}
.profile-grid .profile-preview{background:#092745;padding:14px 15px;margin:12px 0 18px;border:1px solid #23476a;border-radius:13px}
.profile-grid .profile-preview img{height:67px;width:67px}
.profile-grid .profile-preview strong{font-size:17px}
.profile-grid .profile-preview small{font-size:12px}
.avatar-profile-section{margin:18px 0 20px}
.avatar-profile-section h3{font-size:14px;margin:0 0 5px}
.profile-help{font-size:12px;color:#9ab1ce;line-height:1.6;margin:7px 0 16px}
.profile-avatar-picker{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;overflow:visible;margin:13px 0 0;justify-items:start}
.profile-avatar-picker .avatar-option{max-width:64px;width:100%;padding:3px}
.profile-avatar-picker .avatar-option img{width:100%;height:auto;aspect-ratio:1;object-fit:cover}
.profile-full-panel .field-label{font-size:13px}
.profile-full-panel #profile-psn,.profile-full-panel #profile-country{min-height:45px}
.profile-full-panel .save-profile{min-height:47px;margin-top:21px}
.profile-grid .inline-profile-editor{gap:17px 14px}
.profile-grid .inline-profile-editor label{font-size:13px}
.profile-grid .inline-profile-editor input,.profile-grid .inline-profile-editor select,.profile-grid .inline-profile-editor textarea{min-height:44px}
.profile-grid .inline-profile-editor textarea{min-height:110px}
.profile-grid .inline-profile-editor .checkboxes{gap:9px}
.profile-grid .inline-profile-editor .checkbox-label{margin:0;padding:10px 11px;font-size:12px}
.profile-grid .inline-profile-editor .checkbox-label input{min-height:unset}
.profile-grid .inline-profile-editor .primary-button{margin-top:8px;min-height:47px}
/* No footer avatar / flag widgets; their controls now live only inside Profil */
.bottom-widgets{display:none!important}
@media(max-width:1070px){
 #rooms-workspace{grid-template-columns:minmax(285px,.82fr) minmax(0,1.4fr);max-width:100%;gap:12px;padding:14px 12px 0}
 #rooms-workspace .room-cover{width:83px;height:110px}
 #rooms-workspace .room-list-card{min-height:127px}
 #rooms-workspace .left-column{padding:12px 10px}
}
@media(max-width:790px){
 #rooms-workspace{display:none!important;padding:10px 11px 0}
 body[data-view="rooms"] #rooms-workspace,body[data-view="detail"] #rooms-workspace{display:block!important}
 #rooms-workspace .view-section{display:none!important}
 body[data-view="rooms"] #rooms-workspace #rooms-section{display:block!important}
 body[data-view="detail"] #rooms-workspace #details-section{display:flex!important}
 #rooms-workspace .left-column{min-height:unset}
 #rooms-workspace .hero,.hero-inner{min-height:235px}
 #rooms-workspace .chat-stream{height:min(42vh,330px)}
 #rooms-workspace .room-cover{width:89px;height:111px}
 .single-workspace{padding:25px 13px 18px}
 .page-intro{margin-bottom:18px}
 .page-intro h1{font-size:28px}
 .page-intro p{font-size:12px}
 .create-full-panel{padding:20px 16px}
 .profile-grid{grid-template-columns:1fr;gap:13px}
 .profile-grid .side-panel{min-height:0;padding:20px 17px}
 .profile-avatar-picker{grid-template-columns:repeat(5,minmax(0,1fr))}
 .footer-note{padding-bottom:100px}
}
@media(max-width:440px){
 #rooms-workspace .room-cover{width:76px;height:98px}
 #rooms-workspace .room-list-title{font-size:14px}
 #rooms-workspace .list-join{min-width:70px;font-size:10px}
 .profile-grid .inline-profile-editor{grid-template-columns:1fr}
 .profile-grid .inline-profile-editor .span2{grid-column:1}
}

/* GAMEBUDD — plateformes */
.platform-block{margin:18px 0;padding:16px;border:1px solid #244b78;border-radius:15px;background:#081b32}
.platform-block h3{font-size:16px;margin:0 0 8px;color:#f2f7ff}
.platform-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:12px}
.platform-choice,.create-platform-option{background:#102743;border:1px solid #29466b;border-radius:12px;padding:12px;color:#e6f0ff}
.platform-choice label{display:flex;align-items:center;gap:8px;font-weight:650}
.platform-choice input.platform-id{width:100%;margin-top:10px}
.create-platform-option{display:flex;align-items:center;gap:9px;cursor:pointer}
.create-platform-option:has(input:checked){border-color:#288cff;background:#123b68}
.crossplay-row{display:flex;align-items:flex-start;gap:10px;margin-top:16px;font-size:13px;line-height:1.5;color:#d9e9fc}
.crossplay-row input{margin-top:4px}
.platform-filter-wrap{display:flex;align-items:center;gap:10px;padding:0 0 13px;color:#a9c7e7;font-size:13px}
.platform-filter-wrap select{max-width:250px;flex:1}
.platform-pills{display:inline-flex;gap:6px;flex-wrap:wrap}
.platform-pill{display:inline-flex;align-items:center;background:#163555;border:1px solid #2a537e;color:#d5e9ff;border-radius:7px;padding:4px 7px;font-size:11px}
.room-platform-info{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:13px 16px;background:#0b1d35;border:1px solid #1b3d64;border-radius:11px;margin:12px 0}
.crossplay-status{color:#a8c7e7;font-size:12px}
.modal-platforms{margin:10px 0}.modal-ids{display:grid;gap:7px;margin:12px 0;color:#e1f0ff;font-size:13px}
@media(max-width:650px){.platform-grid{grid-template-columns:1fr}.room-platform-info{align-items:flex-start}}

/* V1.8 platform logo fixes */
.platform-logo{display:inline-flex;align-items:center;justify-content:center;vertical-align:middle;flex:none;width:18px;height:18px}
.platform-logo svg{display:block;width:100%;height:100%;fill:currentColor}
.platform-logo-pc{color:#ffffff}
.platform-logo-ps{color:#0b74ff}
.platform-logo-xbox{color:#26c15f}
.platform-logo-nintendo{color:#ff3b45}
.platform-pill,.hero-tag,.platform-choice label span,.create-platform-option span,.modal-ids div{display:inline-flex;align-items:center;gap:6px}
.platform-choice label{display:flex;align-items:center;gap:8px}
.platform-choice label > span{display:inline-flex;align-items:center;gap:8px}
.create-platform-option > span{display:inline-flex;align-items:center;gap:8px}
.platform-pills{display:flex;gap:8px;flex-wrap:wrap}
.room-platform-info .crossplay-status{margin-left:auto}

/* V1.9 — Mes jeux dans le profil */
.profile-right-stack{min-width:0;display:flex;flex-direction:column;gap:18px}
.profile-right-stack>.side-panel{min-height:0}
.favorite-games-panel .panel-title{display:flex;justify-content:space-between;align-items:center;gap:12px}
.favorites-counter{font-size:12px;font-weight:700;color:#9bc9ff;border:1px solid #28537d;background:#0b2948;padding:6px 10px;border-radius:20px;white-space:nowrap}
.favorite-search-wrap{position:relative;margin:18px 0 14px}
.favorite-search-wrap input{height:44px;padding-left:13px}
.favorite-game-results{position:absolute;z-index:18;top:100%;left:0;right:0;max-height:310px;overflow-y:auto;border:1px solid #34638e;border-radius:12px;background:#09213c;box-shadow:0 14px 28px #0008;margin-top:5px;padding:5px}
.favorite-game-results[hidden]{display:none}
.favorite-result{width:100%;display:flex;align-items:center;gap:12px;text-align:left;border:0;border-radius:9px;background:transparent;color:#eef6ff;padding:7px;min-height:54px}
.favorite-result:hover:not(:disabled),.favorite-result:focus-visible{background:#153b65}
.favorite-result:disabled{opacity:.6;cursor:default}
.favorite-result img{height:42px;width:38px;flex:none;object-fit:cover;border-radius:6px}
.favorite-result>span:nth-child(2){flex:1;min-width:0;font-size:13px;font-weight:650}
.favorite-add-indicator{font-size:11px;color:#81bdff;white-space:nowrap}
.favorite-search-message{padding:15px;font-size:12px;color:#a9c6e5}
.favorite-games-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.favorite-game-card{display:flex;align-items:center;gap:10px;min-width:0;min-height:62px;border:1px solid #2a4c70;border-radius:12px;padding:8px;background:#102844}
.favorite-game-card img{width:42px;height:46px;object-fit:cover;border-radius:7px;flex:none}
.favorite-game-name{flex:1;min-width:0;overflow-wrap:anywhere;font-size:12px;font-weight:700}
.favorite-remove{flex:none;width:27px;height:27px;border-radius:8px;border:1px solid #385573;background:#172e49;color:#bfd6ee;padding:0}
.favorite-remove:hover{background:#4c233a;color:white}
.favorites-empty{grid-column:1/-1;color:#a6bfd9;font-size:12px;padding:20px 14px;text-align:center;border:1px dashed #2d5278;border-radius:12px}
.favorite-help{font-size:11px;color:#8faac9;margin-top:12px}
@media(max-width:560px){.favorite-games-list{grid-template-columns:1fr}}

/* GAMEBUDD V2.1 — account section */
.auth-section{max-width:1050px;margin:0 auto 22px}.auth-shell{background:linear-gradient(120deg,#0a2544,#07192f);border:1px solid #23517f;border-radius:16px;padding:22px}.auth-heading{display:flex;justify-content:space-between;gap:18px;align-items:flex-start}.auth-heading h2{margin:6px 0}.auth-heading p{font-size:13px;color:#a8c5e4}.auth-state-pill{border:1px solid #31659b;border-radius:100px;padding:6px 12px;white-space:nowrap;color:#bbd9f9;font-size:12px}.auth-form{display:grid;grid-template-columns:1fr 1fr;gap:10px 16px;max-width:780px}.auth-form label{font-size:13px;color:#c8dffc}.auth-form input{width:100%}.auth-actions{grid-column:1/-1;display:flex;gap:10px;flex-wrap:wrap}.auth-actions button{min-width:155px}.auth-hint{grid-column:1/-1;font-size:12px;color:#a2bcd7}.auth-feedback{font-size:13px;color:#8ee3b0;margin:10px 0 0}.auth-feedback.error{color:#ff9090}#auth-identity{color:#b8d8fa}#auth-signed-in[hidden],#auth-form[hidden]{display:none!important}@media(max-width:650px){.auth-form{grid-template-columns:1fr}.auth-heading{flex-wrap:wrap}}

/* GAMEBUDD V2.4 — accueil */
#home-workspace{display:none!important}
body[data-view="home"] #home-workspace{display:block!important}
.home-workspace{max-width:1370px;margin:0 auto;padding:26px 22px 60px}
.home-hero{min-height:390px;position:relative;overflow:hidden;display:flex;align-items:center;justify-content:space-between;border:1px solid #23527e;border-radius:22px;padding:46px clamp(24px,5vw,70px);background:radial-gradient(ellipse at 78% 45%,#1666be5c,transparent 47%),radial-gradient(ellipse at 15% 100%,#0750a73f,transparent 55%),linear-gradient(115deg,#07172b,#0a2c52 65%,#06152c);box-shadow:0 22px 70px #0005}
.home-hero-glow{position:absolute;width:410px;height:410px;border:1px solid #3987ff33;border-radius:50%;right:3%;top:-65px;box-shadow:0 0 0 55px #1672e408,0 0 0 105px #1672e407;pointer-events:none}
.home-hero-content{position:relative;z-index:1;max-width:670px}.home-eyebrow{font-size:11px;letter-spacing:.18em;color:#58b5ff;font-weight:800}.home-hero h1{font-size:clamp(42px,5.3vw,76px);line-height:1.06;letter-spacing:-.055em;margin:20px 0}.home-hero h1 em{font-style:normal;background:linear-gradient(100deg,#61bfff,#2782ff);background-clip:text;color:transparent}.home-hero p{font-size:16px;line-height:1.65;color:#bfd1e8;max-width:550px}.home-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:27px}.home-primary,.home-secondary{border:0;border-radius:10px;padding:15px 23px;font-weight:800;font-size:13px;color:white}.home-primary{background:linear-gradient(120deg,#1789ff,#0758d8);box-shadow:0 7px 28px #006efc48}.home-secondary{background:#ffffff0e;border:1px solid #5c8fbd}.home-primary:hover,.home-secondary:hover{filter:brightness(1.15)}.home-hero-side{position:relative;flex:0 1 290px;text-align:center;color:#b7dcff}.home-controller{width:245px;height:245px;border:1px solid #4eafff5c;border-radius:60px;display:flex;flex-direction:column;align-items:center;justify-content:center;font-size:40px;letter-spacing:.2em;transform:rotate(-9deg);box-shadow:inset 0 0 70px #096bc048,0 0 70px #1078e42b;text-shadow:0 0 25px #69c4ff}.home-controller span{font-size:27px;font-weight:900;letter-spacing:.05em}.home-side-caption{font-size:10px;letter-spacing:.16em;margin-top:26px}.home-section{margin-top:43px}.home-section-head{display:flex;justify-content:space-between;align-items:end;gap:16px;margin-bottom:22px}.home-section-head h2{font-size:clamp(23px,3vw,32px);margin:7px 0 5px;letter-spacing:-.035em}.home-section-head h2 span{color:#369aff}.home-section-head p{font-size:13px;color:#91abc9;margin:0}.home-text-link{background:transparent;border:0;color:#7abaff;font-size:12px;font-weight:750;white-space:nowrap}.home-games{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.home-game-card{border:1px solid #204467;background:linear-gradient(180deg,#0b2543,#071a30);border-radius:15px;overflow:hidden;min-width:0;transition:transform .2s,border-color .2s}.home-game-card:hover{transform:translateY(-4px);border-color:#418fe1}.home-game-art{height:220px;position:relative;overflow:hidden;background:radial-gradient(circle at 50% 40%,#5766b0,#16203e 75%)}.tone-gold .home-game-art{background:radial-gradient(circle at 50% 40%,#9e7336,#382616 75%)}.tone-cyan .home-game-art{background:radial-gradient(circle at 50% 40%,#237bb0,#102a50 75%)}.tone-red .home-game-art{background:radial-gradient(circle at 50% 40%,#954148,#2d1b2b 75%)}.home-game-art img{width:100%;height:100%;object-fit:cover;display:block}.home-game-art:after{content:'';position:absolute;inset:40% 0 0;background:linear-gradient(transparent,#06182d8f);pointer-events:none}.home-game-monogram{height:100%;display:grid;place-items:center;font-size:78px;font-weight:900;letter-spacing:-.06em;color:#ffffff42}.home-game-badge{position:absolute;top:12px;left:12px;z-index:1;background:#071b30dc;border:1px solid #77b4ff77;padding:7px 10px;border-radius:6px;font-size:9px;font-weight:900;letter-spacing:.12em}.home-game-info{padding:16px}.home-game-rank{font-size:9px;color:#64b1ff;font-weight:800;letter-spacing:.15em}.home-game-info h3{font-size:20px;line-height:1.18;margin:8px 0;min-height:48px}.home-game-info p{color:#9cb2cd;font-size:12px;margin:0 0 18px}.home-game-foot{border-top:1px solid #264361;padding-top:14px;display:flex;align-items:center;justify-content:space-between;gap:8px}.home-game-foot span{font-size:10px;color:#91b2d5}.home-game-foot button{border:0;background:#0b55b6;color:white;border-radius:7px;padding:9px 10px;font-size:10px;font-weight:750}.home-live-rooms{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.home-live-card{background:#0a2542;border:1px solid #265077;border-radius:12px;color:white;text-align:left;padding:19px;display:flex;align-items:center;gap:13px;min-width:0}.home-live-card:hover{border-color:#4295ff}.home-live-dot{width:9px;height:9px;border-radius:50%;background:#00e68b;box-shadow:0 0 13px #00e68b;flex-shrink:0}.home-live-card>span:nth-child(2){min-width:0;flex:1}.home-live-card strong,.home-live-card small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.home-live-card strong{font-size:14px}.home-live-card small{color:#93b0d2;font-size:11px;margin-top:5px}.home-live-arrow{color:#5eafff;font-size:22px}.home-live-empty{grid-column:1/-1;background:#0a2542;border:1px dashed #265077;border-radius:12px;padding:30px;color:#a5bdd7;text-align:center;font-size:13px}.home-cta{margin-top:44px;padding:34px 38px;background:linear-gradient(100deg,#102f55,#0b2343);border:1px solid #2a5583;border-radius:16px;display:flex;align-items:center;justify-content:space-between;gap:20px}.home-cta h2{font-size:26px;margin:9px 0}.home-cta p{font-size:13px;color:#a5c1dd;margin:0}
@media(max-width:1050px){.home-games{grid-template-columns:repeat(2,minmax(0,1fr))}.home-hero-side{display:none}.home-game-art{height:250px}}
@media(max-width:790px){.home-workspace{padding:15px 12px 95px}.home-hero{min-height:340px;padding:31px 24px}.home-hero h1{font-size:43px}.home-hero p{font-size:14px}.home-games{gap:10px}.home-game-art{height:185px}.home-game-info{padding:12px}.home-game-info h3{font-size:16px;min-height:39px}.home-game-foot{flex-wrap:wrap}.home-game-foot button{width:100%}.home-live-rooms{grid-template-columns:1fr}.home-cta{padding:24px;display:block}.home-cta button{margin-top:20px}.home-section-head{align-items:start}.home-text-link{margin-top:15px}}
@media(max-width:420px){.home-game-art{height:155px}.home-hero h1{font-size:38px}.home-game-info h3{font-size:15px}.home-game-badge{font-size:8px}.home-actions button{width:100%}}

/* GAMEBUDD V2.4.1 — identité visuelle & navigation premium */
.brand{gap:9px;min-width:0}
.brand-glyph{width:52px;height:48px;overflow:hidden;flex:none;border-radius:10px;background:#041629;box-shadow:0 0 0 1px #2486d944,0 0 18px #0577f533}
.brand-glyph img{display:block;width:100%;height:100%;object-fit:cover}
.brand-label{display:flex;align-items:baseline;letter-spacing:.025em;font-size:clamp(17px,1.8vw,24px);font-weight:900}
.brand-label span:first-child{color:#f5faff}.brand-label span:last-child{color:#26b7ff}
.header-nav{align-items:center;align-self:center;gap:9px;margin-left:clamp(8px,2vw,26px)}
.header-nav .nav-item{min-width:unset;min-height:41px;padding:0 clamp(11px,1.3vw,19px);border-radius:11px;border:1px solid #315c89;background:linear-gradient(180deg,#143453,#0a223c);box-shadow:inset 0 1px #ffffff0b,0 3px 8px #0004;color:#d6e9ff;display:inline-flex;align-items:center;justify-content:center;gap:7px;white-space:nowrap;font-weight:750;font-size:13px;transition:background .18s,box-shadow .18s,border-color .18s,transform .18s}
.header-nav .nav-item span{font-size:17px;margin:0;line-height:1}
.header-nav .nav-item:hover{transform:translateY(-1px);background:linear-gradient(180deg,#205184,#12395f);border-color:#4e9df1;box-shadow:0 5px 16px #007bff28}
.header-nav .nav-item.is-active{background:linear-gradient(120deg,#0875f8,#0352b8);border-color:#49a9ff;box-shadow:0 0 0 1px #0a83ff44,0 5px 19px #006cfc47;color:#fff}
.header-nav .nav-item.is-active:after{display:none}
.home-brand-art{width:min(100%,410px);display:block;object-fit:contain;border-radius:18px;box-shadow:0 15px 55px #001b4e66}
@media(max-width:1340px){.header-nav .nav-item{min-width:unset;padding:0 10px}.brand-glyph{width:44px;height:43px}.brand-label{font-size:19px}}
@media(max-width:1000px) and (min-width:791px){.header-nav{gap:5px;margin-left:4px}.header-nav .nav-item{padding:0 8px;font-size:12px}.top-search{width:160px}.brand-label{font-size:17px}}
@media(max-width:790px){.brand-glyph{width:39px;height:39px}.brand-label{font-size:18px}.mobile-nav{transition:background .18s,color .18s}.mobile-nav.active{background:linear-gradient(180deg,#0b4385,#092d55);color:white}}

/* GAMEBUDD V2.4.2 — Cartes plateformes et interrupteur crossplay */
.platform-block{padding:22px;border-radius:20px;background:linear-gradient(145deg,#0c213c,#08172c);border:1px solid #29476a;box-shadow:0 12px 35px #020c1b44}
.platform-block h3{font-size:18px;letter-spacing:.2px;margin-bottom:6px}
.platform-block .profile-help{color:#9fb9d6}
.platform-grid{gap:13px;margin-top:18px}
.create-platform-option{position:relative;display:flex;align-items:center;gap:14px;min-height:92px;padding:16px 18px;border-radius:16px;border:1px solid #355174;background:linear-gradient(135deg,#122a48,#0e2039);cursor:pointer;transition:transform .18s,border-color .18s,background .18s,box-shadow .18s;overflow:hidden}
.create-platform-option:hover{transform:translateY(-2px);border-color:#60aaff;background:#173555;box-shadow:0 7px 25px #007aff24}
.create-platform-option:focus-within{outline:2px solid #74c5ff;outline-offset:2px}
.create-platform-option:has(input:checked){border-color:#3d9fff;background:linear-gradient(130deg,#16457a,#102e56);box-shadow:inset 0 0 0 1px #3e9eff55,0 7px 25px #007bff25}
.create-platform-option input{position:absolute;opacity:0;width:1px;height:1px;pointer-events:none}
.create-platform-option .platform-card-icon{display:grid;place-items:center;flex:none;width:52px;height:52px;border-radius:13px;background:#071b31;border:1px solid #31547a}
.create-platform-option .platform-card-icon .platform-logo{display:flex;align-items:center;justify-content:center;width:30px;height:30px}
.create-platform-option .platform-card-icon svg{width:29px;height:29px}
.create-platform-option .platform-card-info{display:flex;flex-direction:column;align-items:flex-start;gap:5px;min-width:0}
.create-platform-option .platform-card-info strong{font-size:14px;color:#f5faff}
.create-platform-option .platform-card-info small{font-size:11px;color:#a8c4e0}
.create-platform-option .platform-card-check{display:grid;place-items:center;flex:none;margin-left:auto;width:25px;height:25px;border-radius:50%;border:1.5px solid #54718f;color:transparent;font-size:15px;font-weight:800;transition:all .18s}
.create-platform-option:has(input:checked) .platform-card-check{color:#061d33;border-color:#5ecaff;background:#5ecaff;box-shadow:0 0 16px #3aa8ff55}
.crossplay-row{display:flex;align-items:center;gap:14px;position:relative;margin-top:18px;padding:17px 18px;border:1px solid #305274;border-radius:16px;background:linear-gradient(100deg,#122d4b,#0d213b);cursor:pointer}
.crossplay-row .crossplay-orb{display:grid;place-items:center;flex:none;width:43px;height:43px;border-radius:12px;background:#153f68;color:#7bd7ff;font-size:25px}
.crossplay-row .crossplay-copy{display:flex;flex:1;flex-direction:column;gap:5px;min-width:0}
.crossplay-row .crossplay-copy strong{color:#f3f9ff;font-size:14px}
.crossplay-row .crossplay-copy em{font-size:10px;font-weight:600;font-style:normal;color:#9ec9f4;padding:3px 7px;border-radius:12px;background:#234465;margin-left:6px}
.crossplay-row .crossplay-copy small{color:#a6c2df;font-size:12px;line-height:1.45}
.crossplay-row input{position:absolute;opacity:0;width:1px;height:1px;pointer-events:none}
.crossplay-row .crossplay-switch{position:relative;flex:none;width:51px;height:29px;border-radius:99px;border:1px solid #5c7693;background:#30455d;transition:background .2s,border-color .2s}
.crossplay-row .crossplay-switch:before{content:'';position:absolute;left:3px;top:3px;width:21px;height:21px;border-radius:50%;background:#d9e4f0;box-shadow:0 2px 5px #0005;transition:transform .2s}
.crossplay-row:has(input:checked){border-color:#238dff;background:linear-gradient(100deg,#143d65,#102c51)}
.crossplay-row input:checked+.crossplay-switch{background:#1685ec;border-color:#55baff}
.crossplay-row input:checked+.crossplay-switch:before{transform:translateX(21px);background:white}
.crossplay-row:focus-within{outline:2px solid #74c5ff;outline-offset:2px}
@media(max-width:650px){.platform-grid{grid-template-columns:1fr}.create-platform-option{min-height:78px}.crossplay-row{gap:10px;padding:13px}.crossplay-row .crossplay-orb{width:35px;height:35px}.crossplay-row .crossplay-copy em{display:inline-block}}

/* GAMEBUDD V2.4.3 — Confidentialité et galerie d'avatars */
#auth-identity{display:inline-flex;align-items:center;gap:8px;padding:11px 15px;border:1px solid #295987;border-radius:11px;background:#091d34;font-weight:650;letter-spacing:.4px}#auth-identity::before{content:"🔒";font-size:16px}.avatar-filter-label{display:block;color:#aacbec;font-size:12px;margin:13px 0 5px;font-weight:650}.avatar-category-select{max-width:280px;width:100%;margin-bottom:12px;background:#102d4c;color:#f2f8ff;border:1px solid #3472ae;border-radius:9px;padding:9px}.profile-avatar-picker{grid-template-columns:repeat(auto-fill,minmax(62px,1fr));gap:9px;max-height:355px;overflow-y:auto;overflow-x:hidden;padding:9px;border:1px solid #244767;border-radius:13px;background:#06192e}.profile-avatar-picker .avatar-option{max-width:none;width:100%;cursor:pointer}.profile-avatar-picker .avatar-option:hover{border-color:#4faaff;transform:translateY(-2px)}.profile-avatar-picker .avatar-option[hidden]{display:none!important}.profile-avatar-picker .avatar-option img{aspect-ratio:1;width:100%;height:auto}.avatar-option:focus-visible{outline:3px solid #84c6ff;outline-offset:2px}


/* GAMEBUDD V2.5 — premium home refresh. Scope intentionally limited to home */
.home-workspace{max-width:1320px;padding:32px 28px 90px}
.home-hero{min-height:408px;padding:55px clamp(28px,5.2vw,76px);border-radius:24px;border:1px solid #296094;background:radial-gradient(ellipse at 82% 35%,#0d63bd40,transparent 47%),radial-gradient(ellipse at 13% 100%,#0664be28,transparent 50%),linear-gradient(116deg,#07182e 0%,#0a2a4e 54%,#06192f 100%);box-shadow:0 20px 65px #0004,inset 0 1px #a8d7ff14;isolation:isolate}
.home-hero:before{content:"";position:absolute;inset:0;pointer-events:none;opacity:.18;background-image:linear-gradient(#75baff12 1px,transparent 1px),linear-gradient(90deg,#75baff12 1px,transparent 1px);background-size:38px 38px;mask-image:linear-gradient(90deg,transparent 32%,black)}
.home-hero-glow{right:1%;top:-110px;width:490px;height:490px;opacity:.75}
.home-hero-content{max-width:610px}
.home-hero .home-eyebrow{display:inline-flex;align-items:center;gap:8px;background:#1362b129;border:1px solid #4e9bdb4d;border-radius:30px;padding:9px 14px;color:#9dd8ff;font-size:10px;letter-spacing:.15em}
.home-hero h1{font-size:clamp(47px,5.2vw,76px);line-height:1.03;margin:22px 0 19px;letter-spacing:-.055em;font-weight:850}
.home-hero h1 em{background:linear-gradient(95deg,#70d5ff,#3c98ff 66%,#85aaff);background-clip:text;color:transparent}
.home-hero p{max-width:515px;font-size:15px;line-height:1.8;color:#b9d0e7}
.home-actions{gap:12px;margin-top:27px}
.home-actions .home-primary,.home-actions .home-secondary{display:inline-flex;align-items:center;justify-content:center;gap:16px;min-height:49px;padding:13px 22px;border-radius:11px;font-size:13px;transition:transform .2s,box-shadow .2s,background .2s}
.home-actions .home-primary{background:linear-gradient(125deg,#1d9bff,#0860d7);box-shadow:0 9px 24px #0868dd4a}
.home-actions .home-secondary{background:#12375a99;border:1px solid #6594bf75}
.home-actions button:hover{transform:translateY(-2px)}
.home-trust{display:flex;flex-wrap:wrap;gap:20px;margin-top:31px;color:#a7c3de;font-size:11px;font-weight:650}
.home-trust span{display:inline-flex;align-items:center;gap:7px}
.home-trust i{width:7px;height:7px;background:#36d89c;border-radius:50%;box-shadow:0 0 12px #36d89c}
.home-hero-side{flex:0 1 360px;margin-left:24px;z-index:1}
.home-brand-art{max-width:100%;filter:drop-shadow(0 12px 28px #0086ff30);border-radius:16px}
.home-side-caption{margin-top:17px;letter-spacing:.16em;font-size:9px;color:#a4c9ec}
.home-side-caption b{color:#4f9bff;padding:0 5px}
.home-section{margin-top:53px}
.home-section-head{margin-bottom:22px}
.home-section-head .home-eyebrow{color:#62b9ff;font-size:10px;letter-spacing:.19em}
.home-section-head h2{font-size:clamp(25px,2.6vw,34px);letter-spacing:-.04em;margin:10px 0 7px}
.home-section-head p{font-size:13px;color:#9cb7d2}
.home-text-link{border:1px solid #32618a;border-radius:9px;padding:11px 15px;color:#b5ddff;background:#0b2947;font-size:11px;transition:background .2s,border-color .2s}
.home-text-link:hover{background:#123e69;border-color:#4e9ee8}
.home-games{gap:18px}
.home-game-card{border-radius:17px;border-color:#2a4b6d;background:linear-gradient(180deg,#0b2949,#07192d);box-shadow:0 10px 30px #0002;transition:transform .2s,border-color .2s,box-shadow .2s}
.home-game-card:hover{transform:translateY(-5px);border-color:#489ff4;box-shadow:0 14px 34px #0053ad25}
.home-game-art{height:228px}
.home-game-art img{transition:transform .35s ease}
.home-game-card:hover .home-game-art img{transform:scale(1.055)}
.home-game-art:after{inset:25% 0 0;background:linear-gradient(transparent 5%,#06182dc7)}
.home-game-badge{border-radius:7px;padding:7px 10px;background:#071b31e8}
.home-game-info{padding:18px}
.home-game-info h3{font-size:19px;min-height:46px;margin:10px 0}
.home-game-info p{font-size:12px;margin-bottom:18px;min-height:18px}
.home-game-foot{border-color:#244667;gap:10px}
.home-game-foot span{font-size:10px}
.home-game-foot button{border-radius:8px;background:linear-gradient(120deg,#177ce4,#0a55b5);padding:11px 12px;transition:filter .2s}
.home-game-foot button:hover{filter:brightness(1.2)}
.home-live-section{margin-top:62px}
.home-live-card{border-radius:14px;background:linear-gradient(115deg,#0c2949,#09213a);border-color:#2b5277;padding:22px;min-height:88px;transition:border-color .2s,transform .2s}
.home-live-card:hover{transform:translateY(-2px);border-color:#4b9be7}
.home-live-empty{border-radius:15px;padding:32px;background:#0b2440;border-color:#2c5277}
.home-cta{border-radius:20px;padding:35px 40px;background:radial-gradient(ellipse at 90% 50%,#1974c32d,transparent 55%),linear-gradient(110deg,#0e3157,#091e37);border-color:#2c6394}
.home-cta h2{font-size:27px;letter-spacing:-.03em}
@media(max-width:1120px){.home-hero-side{flex-basis:270px}.home-hero{padding:42px}.home-games{grid-template-columns:repeat(2,minmax(0,1fr))}.home-game-art{height:245px}}
@media(max-width:790px){.home-workspace{padding:16px 13px 95px}.home-hero{padding:32px 25px;min-height:0}.home-hero-side{display:none}.home-hero h1{font-size:clamp(41px,9vw,58px)}.home-hero p{font-size:13px}.home-trust{gap:12px;margin-top:24px}.home-section{margin-top:37px}.home-section-head{align-items:flex-start}.home-games{gap:12px}.home-game-art{height:195px}.home-game-info{padding:13px}.home-game-info h3{font-size:16px;min-height:40px}.home-game-foot{flex-wrap:wrap}.home-game-foot button{width:100%}.home-live-rooms{grid-template-columns:1fr}.home-cta{padding:27px 24px}.home-cta h2{font-size:23px}}
@media(max-width:420px){.home-hero{padding:26px 20px}.home-hero h1{font-size:40px}.home-trust{font-size:10px}.home-games{gap:9px}.home-game-art{height:150px}.home-game-info{padding:11px}.home-game-info h3{font-size:14px}.home-game-info p{font-size:11px}.home-game-badge{font-size:8px}.home-actions button{width:100%}.home-text-link{padding:9px 10px;font-size:10px}}
@media(prefers-reduced-motion:reduce){.home-game-card,.home-game-art img,.home-actions button,.home-live-card{transition:none}}

/* GAMEBUDD V2.5.2 — Aide à la création de mot de passe */
.password-rules{grid-column:1/-1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px 16px;padding:11px 13px;border:1px solid #2c4f72;border-radius:10px;background:#091d35;color:#aec3dc;font-size:12px}
.password-rules span.valid{color:#8ee3b0}
@media(max-width:650px){.password-rules{grid-template-columns:1fr}}

/* V2.6.0: formulaire de connexion seul pour les visiteurs */
#profile-workspace .profile-grid.guest-hidden { display:none !important; }

/* V2.6.1 : deux vues d'authentification distinctes */
.auth-view-tabs{display:flex;gap:8px;margin:18px 0 16px;flex-wrap:wrap}
.auth-view-tab{border:1px solid #315b85;background:#091d35;color:#c9def6;border-radius:10px;padding:11px 18px;cursor:pointer;font:inherit;font-weight:700}
.auth-view-tab.active{background:#2169ac;color:#fff;border-color:#4397de}
#auth-view-tabs[hidden],#password-rules[hidden],#signup-hint[hidden],#auth-login[hidden],#auth-signup[hidden]{display:none!important}

#auth-form [hidden], #auth-view-tabs[hidden], #signup-hint[hidden], #password-rules[hidden] { display: none !important; }
