@import url('/style-mobile-product.css');
@import url('/zz-final-fix.css?v=final2');
/* Location/travel setup inputs must always sit above decorative or runtime layers and receive taps. */
#locationSetup,#travelSetup{position:relative;z-index:20;pointer-events:auto}
#locationSetup .mode-card,#travelSetup .mode-card{position:relative;z-index:21;pointer-events:auto}
#locationSetup input,#travelSetup input{position:relative;z-index:30;pointer-events:auto;touch-action:manipulation}
#locationSetup .autocomplete-wrap,#travelSetup .suggestions{position:relative;z-index:31;pointer-events:auto}
#countrySuggestions,#stateSuggestions,#trainSuggestions{position:relative;z-index:40;pointer-events:auto}
#countrySuggestions .suggestion,#stateSuggestions .suggestion,#trainSuggestions .suggestion{pointer-events:auto;touch-action:manipulation}*{box-sizing:border-box}html{min-height:100%;background:#f5f8fc}body{margin:0;min-height:100dvh;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#172033;background:#f5f8fc;font-size:16px;-webkit-font-smoothing:antialiased}button,input,select{font:inherit}button{touch-action:manipulation}.site{width:min(1180px,calc(100% - 40px));margin:0 auto}.top{height:78px;border-bottom:1px solid #dce4ee;display:flex;align-items:center;position:sticky;top:0;z-index:100;background:rgba(245,248,252,.96);backdrop-filter:blur(14px)}.brand{font-size:28px;font-weight:900;letter-spacing:-1.5px;color:#172033;text-decoration:none}.identity{position:absolute;left:50%;transform:translateX(-50%);border:1px solid #cfe0ef;border-radius:24px;padding:9px 15px;background:#fff;box-shadow:0 8px 25px rgba(38,79,120,.07);color:#0d5b94;font-weight:850;white-space:nowrap;cursor:pointer;display:flex;gap:8px;align-items:center;max-width:min(46vw,300px)}.identity-name{overflow:hidden;text-overflow:ellipsis;max-width:130px}.identity-mask{letter-spacing:2px}.identity-dot{color:#9bb2c7}.hamb{margin-left:auto;width:48px;height:48px;border:1px solid #d9e2ec;border-radius:14px;background:#fff;font-size:22px;cursor:pointer;color:#172033}.menu{position:absolute;right:0;top:68px;z-index:180;width:250px;background:#fff;border:1px solid #dbe4ed;border-radius:17px;padding:8px;box-shadow:0 20px 50px rgba(24,42,70,.18);display:none}.menu.open{display:block}.menu a{display:block;padding:11px 12px;border-radius:10px;color:#172033;text-decoration:none;font-weight:750}.menu a:hover,.menu a:focus-visible{background:#f0f5fa;outline:none}.hero{padding:26px 0 30px}.hero h1{font-size:clamp(44px,6vw,72px);line-height:.96;letter-spacing:-3.6px;margin:16px 0}.hero p{max-width:820px;color:#657792;font-size:18px;line-height:1.5;font-weight:650;margin:0}.live-badge{display:inline-flex;margin-top:13px;padding:7px 10px;border:1px solid #d9e7df;border-radius:999px;background:#f7fcf9;color:#35765c;font-size:12px;font-weight:800}.pill{display:inline-flex;align-items:center;background:#eaf1f8;border-radius:18px;padding:7px 12px;font-weight:800;color:#243c59}.dashboard-main{padding-bottom:24px}.dashboard-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.grid{display:grid;gap:16px}.card{display:flex;align-items:flex-start;gap:15px;min-height:142px;background:#fff;border:1px solid #dce5ee;border-radius:20px;padding:22px;text-decoration:none;box-shadow:0 5px 20px rgba(42,74,110,.035);transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease}.card:hover{transform:translateY(-2px);box-shadow:0 12px 30px rgba(42,74,110,.08);border-color:#ccd9e6}.card-icon{width:46px;height:46px;flex:0 0 46px;display:grid;place-items:center;border-radius:14px;background:#f0f5f9;font-size:24px}.card h2{margin:2px 0 10px;font-size:24px;letter-spacing:-.8px;color:#172033}.card p{margin:0;font-size:15px}.footer{text-align:center;color:#73849a;font-size:12px;padding:18px 0 26px}.chat-shell{height:calc(100dvh - 78px);min-height:560px;display:flex;flex-direction:column;padding-bottom:max(8px,env(safe-area-inset-bottom));position:relative}.chat-head{display:flex;align-items:center;justify-content:space-between;padding:12px 0 12px;z-index:50;background:rgba(245,248,252,.96);backdrop-filter:blur(12px)}.chat-head h1{font-size:30px;line-height:1.1;margin:0;letter-spacing:-1px}.chat-context{font-size:13px;font-weight:700;color:#6a7c94;margin-top:5px;min-height:18px}.chat-head-actions{position:relative}.more{border:1px solid #dbe4ed;background:#fff;border-radius:13px;width:48px;height:48px;font-size:21px;cursor:pointer}.tools{position:absolute;right:0;top:56px;z-index:70;background:#fff;border:1px solid #dbe4ed;border-radius:16px;box-shadow:0 18px 45px rgba(23,38,59,.17);padding:8px;min-width:250px;display:none}.tools.open{display:block}.tools button{display:block;width:100%;text-align:left;border:0;background:#fff;padding:12px;border-radius:9px;cursor:pointer;color:#172033}.tools button:hover{background:#f1f5f8}.chat{position:relative;flex:1;min-height:0;background:#f5fbf8;border:1px solid #e0eee7;border-radius:18px;overflow:auto;padding:18px;background-image:radial-gradient(#dcefe5 1px,transparent 1px);background-size:16px 16px;overscroll-behavior:contain}.system-msg{margin:8px auto;padding:8px 11px;border-radius:999px;background:#eef4f7;color:#64778d;font-size:12px;font-weight:800;text-align:center;width:fit-content;max-width:90%}.msg{width:fit-content;max-width:min(72%,620px);padding:11px 14px;border-radius:15px;background:#fff;border:1px solid #e0e7ee;margin:8px 0;box-shadow:0 2px 7px rgba(30,55,80,.04);overflow-wrap:anywhere;word-break:break-word;line-height:1.45}.msg.mine{margin-left:auto;background:#dff7ea;border-color:#c5ebd9}.notice{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;text-align:center;background:transparent;color:#71839a;font-weight:800;font-size:16px;padding:25px;pointer-events:none}.chat-shell[data-state=connected] .notice{display:none}.composer{display:grid;grid-template-columns:minmax(0,1fr) auto;padding:10px 0;gap:9px;align-items:center;position:sticky;bottom:0;z-index:45;background:#f5f8fc}.composer-actions{display:flex;gap:7px}.field{width:100%;border:1px solid #d6e0ea;background:#fff;border-radius:13px;padding:12px 14px;font:inherit;color:#172033;outline:none;min-height:48px}.field:focus{border-color:#7fb0d5;box-shadow:0 0 0 3px #e6f2fb}.circle{width:48px;height:48px;flex:0 0 48px;border:0;border-radius:50%;font-size:20px;cursor:pointer}.game{background:#eef6f1}.unified-action{background:#e95d58;color:#fff;display:grid;place-items:center;box-shadow:0 7px 18px rgba(233,93,88,.17)}.unified-action.is-send{background:#0b6ea8}.unified-action.is-next{background:#e95d58}.action-arrow{font-size:25px;font-weight:900;line-height:1}.mode-panel{max-width:760px;margin:26px auto}.mode-card{background:#fff;border:1px solid #dce5ee;border-radius:22px;padding:26px;box-shadow:0 7px 26px rgba(42,74,110,.04)}.mode-card h1{margin:12px 0 8px;font-size:36px;letter-spacing:-1.4px}.mode-card p{color:#667893;font-weight:650;line-height:1.5}.mode-card label{display:block;font-size:13px;font-weight:800;color:#43556c;margin:14px 0 7px}.mode-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.btn{border:0;border-radius:12px;padding:12px 16px;background:#0b5e95;color:#fff;font-weight:800;cursor:pointer;min-height:48px}.btn:hover{filter:brightness(.97)}.btn.alt{background:#edf3f8;color:#24435f}.btn.full{width:100%}.inline-actions{display:flex;gap:9px;flex-wrap:wrap}.inline-actions .btn{flex:0 0 auto}.identity-summary{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:18px 0}.identity-summary>div,.code-preview{border:1px solid #dce5ee;border-radius:14px;padding:13px;background:#f9fbfd;text-align:left}.identity-summary small,.code-preview small{display:block;color:#708199;font-size:12px;font-weight:800;margin-bottom:5px}.identity-summary strong{font-size:19px}.code-preview{cursor:pointer;color:#0d5f97}.code-preview strong{font-size:21px;letter-spacing:2px}.divider{height:1px;background:#e8edf2;margin:20px 0}.availability-row{display:flex;justify-content:space-between;align-items:center;padding:12px 0;color:#667893;font-weight:700}.availability-row strong{color:#0b6ea8}.suggestions{display:grid;gap:5px;margin-top:6px}.suggestion{display:flex;gap:10px;align-items:center;text-align:left;border:1px solid #dce5ee;background:#fff;border-radius:10px;padding:10px 12px;cursor:pointer}.suggestion span{color:#657792}.error-text{color:#c33f38;font-weight:800;min-height:20px}.identity-popover,.onboarding,.topic-modal,.game-modal,.modal{position:fixed;inset:0;z-index:500;background:rgba(22,32,51,.28);display:none;align-items:center;justify-content:center;padding:18px}.identity-popover.open,.onboarding.open,.topic-modal.open,.game-modal.open,.modal.open{display:flex}.identity-dialog,.onboarding-card,.topic-dialog,.game-dialog{width:min(720px,100%);max-height:90dvh;overflow:auto;background:#fff;border:1px solid #dce5ee;border-radius:24px;padding:25px;box-shadow:0 25px 80px rgba(23,38,59,.22);position:relative}.identity-dialog{width:min(520px,100%)}.identity-dialog h2{font-size:30px;margin:16px 0 10px}.big-code{border:1px solid #d8e8f5;border-radius:16px;padding:17px;text-align:center;font-size:40px;font-weight:950;letter-spacing:5px;color:#0d5f97;background:#eef6fc;width:100%;cursor:pointer}.dialog-close{position:absolute;right:14px;top:12px;width:40px;height:40px;border:0;border-radius:50%;background:#edf3f8;color:#243c59;font-size:25px;cursor:pointer}.onboarding{background:#f5f8fc;z-index:700}.onboarding-card{width:min(560px,100%);padding:30px}.onboarding-mark{font-size:30px;font-weight:950;letter-spacing:-1px;margin-bottom:24px}.onboarding-step h2,.onboarding-blocked h2{font-size:32px;letter-spacing:-1.2px;margin:14px 0 8px}.onboarding-step .field{margin:10px 0 12px}.legal-note{font-size:12px;color:#7b8da3;text-align:center}.age-error{color:#c83a32;font-weight:800;min-height:20px}.topic-dialog{width:min(780px,100%);max-height:min(86dvh,780px);display:flex;flex-direction:column}.topic-top,.modal-head,.active-game-head{display:flex;justify-content:space-between;gap:18px}.topic-top h2,.modal-head h2{margin:13px 0 4px;font-size:28px}.topic-list{overflow:auto;display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:12px;padding-right:4px}.topic-item{border:1px solid #dce5ee;background:#fff;border-radius:12px;padding:11px 12px;text-align:left;font-weight:700;color:#253650;cursor:pointer}.topic-item:hover{background:#f0f6fa}.topic-item span{display:inline-grid;place-items:center;width:24px;height:24px;border-radius:50%;background:#eaf2f8;color:#0d5f97;font-size:12px;margin-right:8px}.game-dialog{width:min(820px,100%)}.game-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:16px}.game-card{border:1px solid #dce5ee;background:#fff;border-radius:16px;padding:15px;text-align:left;cursor:pointer;display:grid;grid-template-columns:42px 1fr;column-gap:11px;align-items:center}.game-card:hover{background:#f7fafc;border-color:#c9d8e5}.game-card-icon{grid-row:1/3;width:42px;height:42px;border-radius:12px;background:#eef4f7;display:grid;place-items:center;font-size:22px}.game-card strong{font-size:16px}.game-card small{color:#6a7c94;margin-top:3px}.small-btn{grid-column:2;margin-top:8px;min-height:38px;text-align:center;padding:8px}.active-game{margin-top:18px;border-top:1px solid #e6edf2;padding-top:16px}.game-play-area{display:flex;justify-content:center;padding:18px 0}.game-board.ttt{display:grid;grid-template-columns:repeat(3,78px);gap:7px}.game-board.ttt button{height:78px;border:1px solid #d8e2ea;border-radius:12px;background:#f8fbfd;font-size:34px;font-weight:900;color:#0b6ea8}.choice-row,.dir-row{display:flex;gap:9px;justify-content:center;flex-wrap:wrap}.choice{border:1px solid #d8e2ea;background:#fff;border-radius:13px;padding:12px 15px;display:flex;gap:8px;align-items:center;cursor:pointer}.connect-board{max-width:500px;width:100%}.connect-cols{display:grid;grid-template-columns:repeat(7,1fr);gap:4px;margin-bottom:5px}.connect-cols button,.dir-row button{border:1px solid #d8e2ea;background:#fff;border-radius:9px;padding:8px;cursor:pointer}.connect-cells{display:grid;grid-template-columns:repeat(7,1fr);gap:5px;background:#dcecf5;padding:8px;border-radius:14px}.disc{aspect-ratio:1;border-radius:50%;background:#f8fbfd;border:1px solid #cbd8e2}.disc.A{background:#2d80b3}.disc.B{background:#e95d58}.checkers-board{display:grid;grid-template-columns:repeat(8,34px);border:4px solid #243c59}.checker-cell{width:34px;height:34px;border:0;background:#f2f5f7;font-size:19px}.checker-cell.dark{background:#aebfcb}.checker-cell.selected{outline:3px solid #0b6ea8;outline-offset:-3px}.mini2048{display:grid;grid-template-columns:repeat(4,54px);gap:5px;padding:7px;background:#d9e0e4;border-radius:10px}.mini2048 span{width:54px;height:54px;display:grid;place-items:center;background:#f7fafb;border-radius:8px;font-weight:900;color:#29455e}.duel-score{text-align:center;margin-bottom:10px}.reaction{text-align:center}.reaction-status{font-size:18px;font-weight:800}.game-request-actions{margin-top:9px}.game-result{text-align:center;font-weight:900;font-size:20px;color:#0b6ea8;padding:10px}.star-btn{border:0;background:transparent;color:#e0a72b;font-size:32px;line-height:1;cursor:pointer;padding:3px}.toast{position:fixed;left:50%;bottom:22px;transform:translateX(-50%);background:#172033;color:#fff;padding:11px 16px;border-radius:10px;z-index:900;max-width:calc(100vw - 30px);text-align:center}.modal-open{overflow:hidden}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.global-tools{display:flex;align-items:center;gap:7px;margin-left:auto}.top #globalTools + .hamb{margin-left:8px}.rank-chip{display:inline-flex;align-items:center;height:40px;padding:0 10px;border:1px solid #dbe4ed;border-radius:12px;background:#fff;color:#516a84;font-size:12px;font-weight:850;white-space:nowrap}.header-icon{position:relative;width:40px;height:40px;border:1px solid #dbe4ed;border-radius:12px;background:#fff;color:#243c59;font-size:21px;cursor:pointer}.inbox-trigger b{position:absolute;right:-4px;top:-5px;min-width:18px;height:18px;padding:0 4px;border-radius:99px;background:#0b6ea8;color:#fff;font-size:10px;display:grid;place-items:center}.utility-dialog{width:min(620px,100%);max-height:88dvh;overflow:auto;background:#fff;border:1px solid #dce5ee;border-radius:22px;padding:24px;box-shadow:0 25px 80px rgba(23,38,59,.22);position:relative}.utility-dialog h2{margin:13px 0 6px;font-size:28px;letter-spacing:-1px}.privacy-toggle{display:flex;gap:9px;align-items:flex-start;padding:12px;border:1px solid #dce5ee;border-radius:13px;background:#f8fafc;color:#43556c;font-size:13px;font-weight:750;cursor:pointer}.privacy-toggle input{margin-top:2px}.search-result{margin-top:14px}.search-person{display:grid;gap:7px;border:1px solid #dce5ee;border-radius:14px;padding:15px;background:#f9fbfd}.search-person span{color:#6a7c94;font-size:13px}.inbox-dialog{width:min(700px,100%)}.inbox-head{display:flex;justify-content:space-between;gap:15px;align-items:flex-start}.inbox-list{display:grid;gap:7px;margin-top:16px;max-height:52dvh;overflow:auto}.inbox-item{display:flex;justify-content:space-between;gap:12px;text-align:left;border:1px solid #dce5ee;background:#fff;border-radius:13px;padding:12px;cursor:pointer}.inbox-item.unread{background:#f1f8fc;border-color:#bfd9e9}.inbox-item span{display:grid;gap:4px;min-width:0}.inbox-item small{color:#667893;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:390px}.inbox-item time{font-size:11px;color:#7a8ca0;white-space:nowrap}.inbox-composer{margin-top:14px;padding-top:14px;border-top:1px solid #e6edf2}.empty-state{padding:28px;text-align:center;color:#73849a;border:1px dashed #d8e2ea;border-radius:14px}@media(max-width:900px){.site{width:min(100% - 28px,1180px)}.hero h1{font-size:54px}.dashboard-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.chat-shell{height:calc(100dvh - 78px)}}@media(max-width:600px){.site{width:calc(100% - 24px)}.top{height:70px}.brand{font-size:25px}.identity{font-size:12px;padding:8px 9px;max-width:31vw}.identity-name{max-width:60px}.hamb{width:46px;height:46px}.global-tools{gap:4px}.rank-chip{display:none}.header-icon{width:38px;height:38px}.menu{top:63px;width:min(270px,calc(100vw - 24px));right:0}.hero{padding:18px 0 22px}.hero h1{font-size:43px;letter-spacing:-2.6px}.hero p{font-size:16px}.dashboard-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.card{min-height:126px;padding:15px;gap:10px;border-radius:16px}.card-icon{width:38px;height:38px;flex-basis:38px;font-size:20px;border-radius:11px}.card h2{font-size:17px;line-height:1.15;margin:1px 0 7px}.card p{font-size:12px;line-height:1.3}.chat-shell{height:calc(100dvh - 70px);min-height:0}.chat-head{padding:7px 0 9px}.chat-head h1{font-size:24px}.chat-context{font-size:12px}.chat{padding:11px;border-radius:15px}.msg{max-width:88%;font-size:15px}.composer{padding:8px 0;gap:6px}.field{min-height:46px;padding:10px 11px}.circle{width:44px;height:44px;flex-basis:44px;font-size:18px}.mode-panel{margin:16px auto}.mode-card{padding:19px;border-radius:18px}.mode-card h1{font-size:29px}.mode-grid,.identity-summary{grid-template-columns:1fr}.inline-actions{display:grid;grid-template-columns:1fr 1fr}.inline-actions .btn{width:100%}.identity-summary .code-preview{width:100%}.topic-list{grid-template-columns:1fr}.topic-dialog,.game-dialog,.identity-dialog,.onboarding-card{padding:20px;border-radius:20px}.big-code{font-size:31px}.game-grid{grid-template-columns:1fr}.game-board.ttt{grid-template-columns:repeat(3,70px)}.game-board.ttt button{height:70px}.checkers-board{grid-template-columns:repeat(8,30px)}.checker-cell{width:30px;height:30px;font-size:17px}.mini2048{grid-template-columns:repeat(4,48px)}.mini2048 span{width:48px;height:48px}.suggestion{font-size:14px}}@media(max-width:350px){.dashboard-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.card{min-height:108px;padding:12px}.card h2{font-size:15px}.card p{font-size:11px}.identity{max-width:31vw}.identity-name{max-width:48px}.global-tools{gap:4px}.rank-chip{display:none}.header-icon{width:36px;height:36px;font-size:18px}.top #globalTools + .hamb{margin-left:4px}}@media(min-width:1200px){.chat{min-height:0}.chat-shell{height:calc(100dvh - 78px)} }

/* v24 header: four independent, aligned surfaces */
.header-center{gap:10px;max-width:calc(100% - 150px)}
.header-center>.rank-chip{flex:0 0 auto;height:42px;padding:0 13px;border-radius:14px;background:#fff;border:1px solid #d9e3ed;box-shadow:0 6px 20px rgba(38,79,120,.055)}
.header-center>.identity{height:42px;max-width:260px;border-radius:14px;padding:8px 13px;background:#fff;border:1px solid #d9e3ed;box-shadow:0 6px 20px rgba(38,79,120,.055)}
.header-center>.identity-share-trigger{flex:0 0 42px;width:42px;height:42px;border-radius:14px;background:#fff;border:1px solid #d9e3ed;box-shadow:0 6px 20px rgba(38,79,120,.055);color:#4c5fe7}
.header-center>.global-tools{height:42px;padding:2px 4px;border:1px solid #d9e3ed;border-radius:14px;background:#fff;box-shadow:0 6px 20px rgba(38,79,120,.055);gap:3px}
.header-center>.global-tools .header-icon{border:0;background:transparent;box-shadow:none;width:38px;height:38px}
.header-center>.global-tools .header-icon:hover,.header-center>.identity-share-trigger:hover{background:#f1f4ff}

/* Connection Card editor — inspired by the supplied premium reference */
.share-editor{width:min(1180px,100%);max-height:94dvh;overflow:auto;background:linear-gradient(180deg,#fbfcff 0%,#f5f7ff 100%);border:1px solid rgba(126,111,241,.18);border-radius:30px;padding:22px;box-shadow:0 30px 100px rgba(38,43,100,.25);position:relative}
.share-editor-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:16px}.share-editor-head h2{margin:9px 0 5px;font-size:32px;letter-spacing:-1.4px}.share-editor-head p{margin:0;max-width:650px}
.share-editor-grid{display:grid;grid-template-columns:minmax(360px,1.02fr) minmax(330px,.98fr);gap:18px;align-items:start}
.share-preview-pane{position:sticky;top:0}.share-preview{width:min(100%,560px);margin:auto}.share-preview-card{position:relative;aspect-ratio:4/5;overflow:hidden;padding:32px;display:flex;flex-direction:column;justify-content:space-between;border:1px solid rgba(255,255,255,.55);box-shadow:0 22px 55px rgba(73,66,145,.18);isolation:isolate;background:#eef1ff}.share-preview-card::before,.share-preview-card::after{content:'';position:absolute;z-index:-1;border-radius:50%;filter:blur(1px);opacity:.75}.share-preview-card::before{width:55%;height:35%;left:-16%;top:12%;background:radial-gradient(circle,#8a7df7 0%,transparent 68%)}.share-preview-card::after{width:48%;height:32%;right:-13%;bottom:5%;background:radial-gradient(circle,#f5a4d9 0%,transparent 68%)}
.share-preview-brand{display:flex;align-items:center;gap:10px}.share-preview-logo{width:44px;height:44px;border-radius:14px;display:grid;place-items:center;background:linear-gradient(135deg,#9a4dff,#2d8cff);color:#fff;font-size:21px;box-shadow:0 10px 24px rgba(91,80,222,.22)}.share-preview-brand strong{font-size:24px;letter-spacing:-1px}.share-preview-kicker{display:inline-flex;align-items:center;gap:7px;font-size:10px;letter-spacing:1.5px;font-weight:900;opacity:.72}.share-preview-card h3{font-size:clamp(42px,5vw,70px);line-height:.95;letter-spacing:-3px;margin:10px 0 8px}.share-preview-code{display:inline-flex;padding:8px 12px;border-radius:999px;background:rgba(255,255,255,.68);border:1px solid rgba(255,255,255,.75);font-size:13px;font-weight:900;letter-spacing:1.5px}.share-preview-message{position:relative;padding:22px 22px 20px;border:1px solid rgba(255,255,255,.72);background:rgba(255,255,255,.48);backdrop-filter:blur(12px);border-radius:22px;box-shadow:0 12px 35px rgba(80,71,145,.08)}.share-preview-message::before{content:'“';position:absolute;left:17px;top:5px;font-size:42px;line-height:1;color:#765cf0;font-weight:950}.share-preview-message p{margin:24px 0 18px;font-size:clamp(16px,2vw,22px);line-height:1.42;font-weight:700}.share-preview-cta{display:inline-flex;align-items:center;gap:8px;padding:10px 14px;border-radius:999px;background:#18284f;color:#fff;text-decoration:none;font-weight:900;font-size:12px;box-shadow:0 8px 20px rgba(24,40,79,.15)}.share-preview-footer{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:10px;font-weight:800;opacity:.65}.share-preview-footer .spark{color:#7b55ed;font-size:18px}
.share-preview-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:10px}.share-status{text-align:center;min-height:18px;margin:7px 0 0;font-size:12px;font-weight:800;color:#5d6c82}
.share-controls{display:grid;gap:11px}.share-control{background:rgba(255,255,255,.82);border:1px solid #e2e5f4;border-radius:20px;padding:16px;box-shadow:0 8px 25px rgba(74,68,130,.045)}.share-control h3{margin:0;font-size:15px;letter-spacing:-.2px}.share-message-row{display:grid;grid-template-columns:minmax(0,1fr) 42px;gap:8px;align-items:center;margin-top:9px}.share-message-value{margin:0;padding:12px 13px;min-height:70px;border:1px solid #e3e5f2;border-radius:14px;background:#fafaff;color:#34405b;font-weight:700;line-height:1.45}.share-control-actions{display:flex;gap:7px;flex-wrap:wrap;margin-top:9px}.share-control-actions .btn{min-height:42px}.share-toggle{display:flex;align-items:center;gap:11px;margin-top:10px;padding:11px 12px;border:1px solid #e3e5f2;border-radius:14px;background:#fafaff;cursor:pointer}.share-toggle input{width:19px;height:19px;accent-color:#765cf0}.share-toggle strong{display:block;font-size:13px}.share-toggle small{display:block;color:#7b879a;font-size:10px;margin-top:2px}.share-textarea{min-height:88px;margin-top:9px;resize:none;border-color:#d9cffc}.share-counter{display:flex;justify-content:space-between;color:#8992a5;font-size:10px;margin-top:4px}.share-control-title{display:flex;align-items:center;justify-content:space-between;gap:10px}.share-control-title .btn{min-height:38px;padding:8px 11px}.share-theme-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:7px;margin-top:10px}.share-theme-option{border:1px solid #e0e3ef;background:#fff;border-radius:12px;padding:5px;cursor:pointer}.share-theme-option span{display:block;aspect-ratio:1.25;border-radius:8px}.share-theme-option small{display:block;margin-top:4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:9px;color:#657289}.share-theme-option.selected{border-color:#7a5cf1;box-shadow:0 0 0 2px #ebe6ff}

/* Community polls */
.poll-hero{position:relative;overflow:hidden;border:1px solid #dfe5f1;border-radius:26px;padding:26px 28px!important;margin:20px 0 14px;background:radial-gradient(circle at 90% 10%,#e7dcff,transparent 30%),linear-gradient(135deg,#ffffff,#f3f7ff)}.poll-hero::after{content:'?';position:absolute;right:34px;bottom:-30px;font-size:150px;font-weight:950;color:rgba(105,88,229,.06);pointer-events:none}.poll-hero h1{font-size:clamp(38px,6vw,58px)!important}.poll-hero .btn{position:relative;z-index:2;background:linear-gradient(135deg,#7555ed,#3b8ff4);box-shadow:0 12px 28px rgba(91,81,224,.22)}.poll-card{border-radius:22px!important;box-shadow:0 12px 35px rgba(42,74,110,.06)!important}.poll-card:hover{border-color:#c8c1f2;transform:translateY(-1px)}.poll-source{padding:5px 8px;border-radius:999px;background:#f0edff;color:#6d51db!important;width:max-content}.poll-option-row{min-height:62px;border-radius:15px!important}.poll-option-row.selected{box-shadow:inset 0 0 0 1px #87cba6,0 5px 14px rgba(35,155,96,.08)}.poll-bar i{background:linear-gradient(90deg,#7458ee,#4aa8ef)!important}.poll-share{border-radius:12px!important}.poll-dialog{border-radius:25px!important;box-shadow:0 30px 90px rgba(31,39,75,.2)}

/* Top chatter cards and permission controls */
.rank-permission,.instagramPermission,.rank-permission{background:linear-gradient(135deg,#fff,#f8f7ff)!important;border:1px solid #dddaf3!important;border-radius:20px!important;padding:17px 18px!important;box-shadow:0 9px 28px rgba(72,64,140,.055)!important}.rank-permission::before{content:'✓';width:34px;height:34px;display:grid;place-items:center;border-radius:11px;background:#ece8ff;color:#7256df;font-weight:950;flex:0 0 auto}.rank-permission>div{flex:1}.switch-label{padding:8px 10px;border-radius:12px;background:#fff;border:1px solid #e3e4ef}.switch-label input{accent-color:#6f58e8}.ranking-panel{border-radius:24px!important;padding:18px!important;box-shadow:0 12px 34px rgba(42,74,110,.055)!important}.ranking-head h2{font-size:28px!important}.ranking-card{grid-template-columns:58px minmax(0,1fr) auto!important;padding:14px!important;border-radius:17px!important;background:linear-gradient(135deg,#fff,#fafbff)!important}.rank-badge{width:44px;height:44px;display:grid;place-items:center;border-radius:14px;background:#eef1f8}.ranking-card:nth-child(1) .rank-badge{background:linear-gradient(135deg,#fff1b8,#ffd76b)}.ranking-card:nth-child(2) .rank-badge{background:linear-gradient(135deg,#edf2f7,#cfd8e4)}.ranking-card:nth-child(3) .rank-badge{background:linear-gradient(135deg,#ffe1d0,#efb68c)}.rank-person>span{display:inline-flex!important;margin-top:7px!important;padding:5px 8px;border-radius:999px;background:#f1f4f8;color:#53677f!important;font-size:11px!important;font-weight:800}.instagram-link{padding:5px 8px;border-radius:999px;background:#fff0fa;color:#b33182!important}.rank-message{background:#eef0ff!important;color:#5d4ad1!important}.rank-share{border-radius:11px!important}.rating-chip{display:inline-flex;align-items:center;margin-top:6px;padding:5px 8px;border-radius:999px;background:#fff7df;color:#a56c00;font-weight:900;font-size:11px}

.top20-strip{padding:18px;border-radius:24px;background:linear-gradient(135deg,#ffffff,#f6f8ff);border:1px solid #dfe5f0;box-shadow:0 12px 34px rgba(42,74,110,.045)}.top20-scroller{overflow:hidden!important;scroll-behavior:auto!important}.top20-card{flex-basis:205px!important;min-height:155px!important;border-radius:18px!important;background:rgba(255,255,255,.9)!important;box-shadow:0 9px 25px rgba(45,59,100,.06)!important}.top20-card strong{font-size:16px!important}.top20-card>a{padding:4px 7px;border-radius:999px;background:#fff0fa;width:max-content}.top20-message{border-radius:10px!important}

.survey-dialog{max-width:560px;text-align:center;border-radius:26px!important;padding:28px!important}.survey-mark{width:52px;height:52px;margin:0 auto 10px;border-radius:17px;display:grid;place-items:center;background:linear-gradient(135deg,#7958ee,#4f9df3);color:#fff;font-size:24px;box-shadow:0 12px 25px rgba(86,78,213,.2)}.survey-dialog h2{font-size:30px}.survey-dialog h3{margin:18px 0 12px}.survey-options{display:grid;gap:8px}.survey-option{width:100%;text-align:left}.survey-skip{margin-top:10px}
.rank-permission::before{display:none!important}.permission-icon{width:40px;height:40px;display:grid;place-items:center;flex:0 0 40px;border-radius:13px;background:#ece9ff;color:#6e56e8;font-weight:950;font-size:18px}.permission-icon.instagram-mark{background:#fff0fa;color:#c1398c}.rank-permission{display:grid!important;grid-template-columns:40px minmax(0,1fr) auto!important;align-items:center!important}.rank-permission p{line-height:1.4!important}

@media(max-width:900px){.header-center{max-width:calc(100% - 130px);gap:6px}.header-center>.rank-chip{height:38px}.header-center>.identity{height:38px;max-width:190px}.header-center>.identity-share-trigger{width:38px;height:38px}.header-center>.global-tools{height:38px}.share-editor-grid{grid-template-columns:1fr}.share-preview-pane{position:static}.share-preview{max-width:480px}.share-controls{max-width:720px;margin:auto;width:100%}.poll-hero{margin-top:14px}}
@media(max-width:600px){.header-center{max-width:calc(100% - 76px);gap:4px}.header-center>.rank-chip{height:34px;padding:0 7px;font-size:10px;border-radius:11px}.header-center>.identity{height:34px;max-width:112px;padding:6px 8px;font-size:10px;border-radius:11px}.header-center>.identity .identity-name{max-width:48px}.header-center>.identity .identity-mask{letter-spacing:1px}.header-center>.identity-share-trigger{width:34px;height:34px;border-radius:11px;font-size:18px}.header-center>.global-tools{height:34px;padding:1px;border-radius:11px}.header-center>.global-tools .header-icon{width:31px;height:31px;font-size:17px}.share-editor{padding:11px;border-radius:20px;max-height:98dvh}.share-editor-head{padding:4px 38px 0 2px}.share-editor-head h2{font-size:25px}.share-editor-grid{gap:10px}.share-preview-card{padding:20px;aspect-ratio:4/5}.share-preview-card h3{font-size:42px}.share-preview-message{padding:16px;border-radius:17px}.share-preview-message p{font-size:15px}.share-preview-actions{grid-template-columns:1fr}.share-theme-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.poll-hero{display:grid!important;grid-template-columns:1fr!important;padding:20px!important}.poll-hero .btn{width:100%}.rank-permission,.instagramPermission{align-items:flex-start!important}.ranking-card{grid-template-columns:46px minmax(0,1fr) auto!important}.rank-badge{width:38px;height:38px}.rank-person>span{font-size:10px!important;max-width:100%;white-space:normal}.rank-message{min-height:36px!important;padding:7px 9px!important}.top20-strip{padding:13px;border-radius:18px}.top20-card{flex-basis:180px!important}.survey-dialog{padding:22px 16px!important}}
@media(max-width:600px){.rank-permission{grid-template-columns:40px minmax(0,1fr)!important}.rank-permission>.switch-label,.rank-permission>.instagram-permission-controls{grid-column:1/-1;width:100%;justify-content:flex-start}.instagram-permission-controls{display:grid!important;grid-template-columns:auto minmax(0,1fr) auto;align-items:center}.instagram-permission-controls .field{width:100%!important}.permission-icon{align-self:start}}
@media(max-width:380px){.header-center{right:42px!important;max-width:calc(100% - 84px)}.header-center>.rank-chip{font-size:8px;padding:0 5px}.header-center>.identity{max-width:88px;font-size:9px}.header-center>.identity .identity-name{max-width:35px}.header-center>.global-tools .header-icon{width:28px;height:28px}.header-center>.identity-share-trigger{width:30px;height:30px}.share-preview-card{padding:17px}.share-preview-card h3{font-size:36px}.ranking-card{grid-template-columns:38px minmax(0,1fr) auto!important;padding:10px!important}}
/* Header alignment + responsive utility fixes */
.top{display:flex;position:sticky;gap:0;align-items:center}
.brand{margin-right:auto}
.header-center{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);display:flex;align-items:center;justify-content:center;gap:8px;max-width:calc(100% - 150px)}
.identity{position:static;left:auto;transform:none;max-width:220px;flex:0 1 auto}
.global-tools{margin-left:0;display:flex;align-items:center;gap:7px}
.top #globalTools + .hamb{margin-left:auto}
.hamb{margin-left:auto}
.private-title-row{display:flex;align-items:center;justify-content:space-between;gap:12px}.autocomplete-wrap{position:relative}
.autocomplete-list{position:absolute;left:0;right:0;top:calc(100% + 5px);z-index:120;display:grid;gap:5px;background:#fff;border:1px solid #dce5ee;border-radius:13px;padding:6px;box-shadow:0 18px 40px rgba(23,38,59,.14);max-height:270px;overflow:auto}
.autocomplete-list:empty{display:none}
.autocomplete-list .suggestion{width:100%;margin:0}
.autocomplete-list .suggestion strong{font-size:14px}
.autocomplete-list .suggestion span{font-size:12px}
.composer{grid-template-columns:minmax(0,1fr) auto;align-items:center}
.composer-actions{display:grid;grid-template-columns:48px 48px;align-items:center;gap:8px}
.composer .circle{width:48px;height:48px;min-width:48px;min-height:48px}
.unified-action{transition:background .16s ease,transform .12s ease}
.unified-action:active{transform:scale(.96)}
@media(max-width:900px){.top{grid-template-columns:auto auto minmax(0,auto) auto;gap:7px}.identity{justify-self:center;max-width:220px;min-width:0}.global-tools{justify-self:end}.global-tools .rank-chip{display:none}}
@media(max-width:600px){.top{grid-template-columns:auto minmax(0,1fr) auto auto;gap:5px}.identity{font-size:12px;padding:8px 9px;justify-content:center}.identity-name{max-width:62px}.global-tools{gap:4px}.global-tools .rank-chip{display:none}.header-icon{width:38px;height:38px}.hamb{width:44px;height:44px}.composer-actions{grid-template-columns:48px 48px;gap:6px}.composer .circle{width:48px;height:48px;min-width:48px;min-height:48px}.composer{grid-template-columns:minmax(0,1fr) auto;gap:6px}.composer .field{min-width:0}.autocomplete-list{max-height:240px}}
@media(max-width:350px){.brand{font-size:22px}.identity{padding:7px 6px}.identity-name{max-width:48px}.global-tools{gap:3px}.header-icon{width:35px;height:35px;font-size:17px}.hamb{width:40px;height:40px}.composer-actions{grid-template-columns:48px 48px;gap:5px}.composer .circle{width:48px;height:48px;min-width:48px;min-height:48px}}
/* Final responsive alignment pass */
.top{position:sticky;display:flex;align-items:center;min-width:0;overflow:visible}
.brand{flex:0 0 auto;z-index:2}
.header-center{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);display:flex;align-items:center;justify-content:center;gap:8px;min-width:0;max-width:calc(100% - 150px);z-index:3}
.identity{position:static;transform:none;min-width:0;max-width:220px;padding:8px 12px}
.identity-name,.identity-mask{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.global-tools{display:flex;align-items:center;gap:7px;flex:0 0 auto}
.hamb{position:relative;z-index:5;flex:0 0 auto}
.menu{z-index:600}
.dialog-close{z-index:4;right:12px;top:12px}
.utility-dialog,.identity-dialog,.topic-dialog,.game-dialog{padding-top:58px}
.inbox-head{padding-right:48px;position:relative}
.inbox-head .btn{min-width:84px}
.direct-thread{display:flex;flex-direction:column;gap:2px}
.direct-thread .msg small{display:block;margin-top:6px;color:#7a8ca0;font-size:10px;font-weight:600}.code-eye{font-size:13px;line-height:1;color:#6d8195;margin-left:-2px}.code-eye.is-public{color:#0b6ea8}.private-page-tools{display:flex;justify-content:flex-end;align-items:center;min-height:0}.private-info-float{margin-top:10px}.direct-composer{display:grid;grid-template-columns:minmax(0,1fr) 48px;gap:8px;align-items:center}
.autocomplete-list{z-index:700;touch-action:manipulation}
.suggestion{min-height:44px}
.composer{grid-template-columns:minmax(0,1fr) auto;min-width:0}
.composer-actions{grid-template-columns:48px 48px;gap:8px;flex:0 0 auto}
.composer .circle{width:48px;height:48px;min-width:48px;min-height:48px}
@media(max-width:900px){.site{width:min(100% - 24px,1180px)}.header-center{max-width:calc(100% - 128px)}.identity{max-width:190px}.global-tools{gap:5px}.rank-chip{display:inline-flex}.chat-shell{min-height:0}.chat{min-height:0}}
@media(max-width:700px){.top{height:70px}.brand{font-size:24px}.header-center{gap:4px;max-width:calc(100% - 112px)}.identity{font-size:12px;padding:7px 8px;max-width:150px}.identity-name{max-width:62px}.identity-mask{letter-spacing:1px}.rank-chip{display:none}.global-tools{gap:4px}.header-icon{width:38px;height:38px}.hamb{width:44px;height:44px}.menu{top:64px;right:0;width:min(290px,calc(100vw - 24px));max-height:calc(100dvh - 82px);overflow:auto}.composer{padding:8px 0;gap:6px}.composer-actions{grid-template-columns:48px 48px;gap:6px}.composer .circle{width:48px;height:48px;min-width:48px;min-height:48px}.utility-dialog{width:min(620px,calc(100vw - 24px));padding:58px 16px 18px;border-radius:18px}.inbox-dialog{width:calc(100vw - 16px)}.inbox-head{padding-right:44px;gap:8px}.inbox-head h2{font-size:23px}.inbox-list{max-height:46dvh}.inbox-item{padding:10px;gap:8px}.inbox-item small{max-width:55vw}.mode-panel{width:100%}.autocomplete-list{max-height:220px}}
@media(max-width:390px){.brand{font-size:22px}.header-center{max-width:calc(100% - 104px)}.identity{max-width:125px;padding:6px}.identity-name{max-width:50px}.global-tools{gap:3px}.header-icon{width:36px;height:36px;font-size:18px}.hamb{width:42px;height:42px}.composer-actions{grid-template-columns:48px 48px;gap:5px}.composer .circle{width:48px;height:48px;min-width:48px;min-height:48px}}
@media(max-width:340px){.brand{font-size:20px}.header-center{max-width:calc(100% - 96px)}.identity{max-width:108px;font-size:11px}.identity-name{max-width:43px}.header-icon{width:34px;height:34px}.hamb{width:40px;height:40px}.composer-actions{grid-template-columns:48px 48px;gap:4px}}
@media(min-width:901px){.rank-chip{display:inline-flex}}
.private-page-tools{display:flex;justify-content:flex-end;align-items:center;padding:10px 0 0}.private-page-tools .header-icon{width:44px;height:44px}
/* Product header: rank, identity, then a shared search/inbox surface */
.header-center{gap:6px;max-width:calc(100% - 150px)}
.header-center>.rank-chip{background:#fff;border-color:#dbe4ed}
.header-center>.identity{background:#fff;border-color:#cfe0ef;box-shadow:0 8px 25px rgba(38,79,120,.07)}
.header-center>.global-tools{background:#fff;border:1px solid #dbe4ed;border-radius:14px;padding:4px;gap:4px;box-shadow:0 8px 25px rgba(38,79,120,.05)}
.header-center>.global-tools .header-icon{border:0;background:transparent;width:40px;height:40px}
.code-eye{position:relative;display:inline-grid;place-items:center;width:17px;height:17px;margin-left:0;color:#647b90;flex:0 0 17px}
.code-eye svg{width:17px;height:13px;display:block;fill:none;stroke:currentColor;stroke-width:4;stroke-linecap:round;stroke-linejoin:round}
.code-eye svg circle{fill:currentColor;stroke:none}
.code-eye:not(.is-public)::after{content:"";position:absolute;width:22px;height:3px;border-radius:3px;background:currentColor;transform:rotate(-45deg);top:7px;left:-2px}
.code-eye.is-public{color:#0b6ea8}
.action-arrow{display:block;width:29px;height:29px;object-fit:contain}
.unified-action{padding:0;background:transparent!important;box-shadow:none!important}
.unified-action.is-send,.unified-action.is-next{background:transparent!important}
.unified-action:focus-visible{outline:3px solid #c9e1f0;outline-offset:2px}
.tools{width:min(270px,calc(100vw - 32px));max-width:calc(100vw - 24px);right:0}
.chat-head-actions{min-width:48px}
.autocomplete-list{overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
.inbox-dialog{width:min(760px,calc(100vw - 24px));max-height:min(88dvh,820px)}
.inbox-list{max-height:min(58dvh,520px)}
.inbox-item{min-height:64px;align-items:center;transition:background .14s ease,border-color .14s ease,transform .14s ease}
.inbox-item:hover{background:#f7fafc;border-color:#cddbe7;transform:translateY(-1px)}
.inbox-item strong{font-size:14px;color:#172033}.inbox-item small{font-size:13px;line-height:1.35}.inbox-item time{font-size:10px}.direct-thread{padding:4px 2px 8px}.direct-thread .msg{max-width:min(82%,620px)}
@media(max-width:700px){.header-center{gap:4px;max-width:calc(100% - 108px)}.header-center>.rank-chip{height:34px;padding:0 7px;font-size:10px;border-radius:10px}.header-center>.identity{max-width:142px;padding:7px 8px;font-size:11px;gap:5px}.header-center>.global-tools{padding:3px;border-radius:12px}.header-center>.global-tools .header-icon{width:34px;height:34px;font-size:18px}.tools{width:min(260px,calc(100vw - 24px));right:0}.inbox-dialog{width:calc(100vw - 14px);padding:58px 12px 14px}.inbox-list{max-height:48dvh}.inbox-item{padding:10px;min-height:58px}.inbox-item small{max-width:52vw}.inbox-item time{font-size:9px}.direct-thread .msg{max-width:88%}}
@media(max-width:390px){.brand{font-size:21px}.header-center{max-width:calc(100% - 94px);gap:3px}.header-center>.rank-chip{height:32px;padding:0 6px;font-size:9px}.header-center>.identity{max-width:112px;padding:6px;font-size:10px;gap:4px}.header-center>.identity .identity-name{max-width:43px}.header-center>.identity .identity-mask{letter-spacing:.5px}.header-center>.global-tools{padding:2px}.header-center>.global-tools .header-icon{width:32px;height:32px;font-size:17px}.hamb{width:42px;height:42px}.code-eye{width:15px;height:15px;flex-basis:15px}.code-eye svg{width:15px;height:11px}.code-eye:not(.is-public)::after{width:19px;top:6px}.action-arrow{width:27px;height:27px}}
@media(max-width:340px){.brand{font-size:19px}.header-center{max-width:calc(100% - 88px)}.header-center>.rank-chip{height:30px;padding:0 5px;font-size:8px}.header-center>.identity{max-width:96px;padding:5px;font-size:9px}.header-center>.identity .identity-name{max-width:34px}.header-center>.global-tools .header-icon{width:29px;height:29px;font-size:15px}.hamb{width:39px;height:39px}}
.dialog-actions{position:absolute;right:12px;top:12px;display:flex;align-items:center;gap:6px;z-index:5}.dialog-actions .dialog-close{position:static}.dialog-actions .header-icon{width:40px;height:40px}.private-inline-info{margin-top:16px;padding-top:16px;border-top:1px solid #e6edf2;animation:fadeIn .16s ease}.private-inline-info .code-preview{margin:0 0 10px}.private-link-text{margin:0 0 10px;padding:10px;border:1px solid #dce5ee;border-radius:11px;background:#f8fafc;color:#536b83;font-size:12px;word-break:break-all;line-height:1.4}@keyframes fadeIn{from{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:none}}
/* Final Chatly alignment and interaction pass */
.header-center{gap:7px;max-width:calc(100% - 150px);align-items:center}
.header-center>.rank-chip{height:40px;background:#fff;border:1px solid #cfe0ef;border-radius:24px;box-shadow:0 8px 25px rgba(38,79,120,.07);padding:0 11px}
.header-center>.identity{background:#fff;border:1px solid #cfe0ef;border-radius:24px;box-shadow:0 8px 25px rgba(38,79,120,.07);max-width:240px}
.header-center>.global-tools{background:#fff;border:1px solid #cfe0ef;border-radius:24px;box-shadow:0 8px 25px rgba(38,79,120,.07);padding:3px;gap:3px}
.header-center>.global-tools .header-icon{border:0;background:transparent;border-radius:20px}
.code-eye{width:18px;height:18px;flex:0 0 18px;color:#526a80}
.code-eye svg{width:18px;height:14px;stroke-width:4.5}
.code-eye .eye-slash{display:none;stroke:currentColor;stroke-width:8;stroke-linecap:round}.code-eye:not(.is-public) .eye-slash{display:block}
.inbox-dialog{padding-top:18px}
.inbox-dialog .inbox-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0;min-height:40px}
.inbox-dialog .inbox-head .dialog-close{position:static;flex:0 0 40px;width:40px;height:40px}
.inbox-dialog .inbox-list{margin-top:14px}
.inbox-item{position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto 24px;align-items:center;gap:10px}
.inbox-item-main{display:grid;grid-template-columns:auto auto;align-items:center;gap:3px 8px;min-width:0}
.inbox-item-main strong{grid-column:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.inbox-code{grid-column:2;font-size:11px!important;color:#7890a5!important;white-space:nowrap}
.inbox-preview{grid-column:1/-1;min-width:0;color:#667893;font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.inbox-item-more{display:grid;place-items:center;width:24px;height:32px;border-radius:8px;color:#70839a;font-size:20px}
.inbox-conversation-head{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.inbox-conversation-head>div:first-child{min-width:0}
.inbox-conversation-head strong{display:block;overflow-wrap:anywhere}
.inbox-thread-actions{justify-content:flex-end;display:flex!important;flex-wrap:wrap}
.inbox-thread-actions .btn{min-height:40px;padding:9px 12px}
.direct-thread{max-height:50dvh;overflow:auto}
.direct-composer{position:sticky;bottom:0;background:#fff;padding-top:10px}
.private-page-tools,.private-info-float{display:none!important}
.tools{width:min(290px,calc(100vw - 24px));max-height:min(70dvh,520px);overflow:auto}
.dialog-actions{display:flex;align-items:center;gap:6px}
.dialog-actions .header-icon,.dialog-actions .dialog-close{flex:0 0 40px}
@media(max-width:700px){
  .top{height:70px;padding:0;}
  .brand{display:none}
  .hamb{position:absolute;right:0;top:50%;transform:translateY(-50%);margin:0;width:42px;height:42px}
  .header-center{left:0;right:48px;top:50%;transform:translateY(-50%);width:auto;max-width:none;justify-content:center;gap:4px}
  .header-center>.rank-chip{display:inline-flex;height:34px;padding:0 8px;font-size:10px;border-radius:20px;flex:0 0 auto}
  .header-center>.identity{max-width:150px;padding:7px 9px;font-size:11px;gap:5px;flex:0 1 auto}
  .header-center>.identity .identity-name{max-width:60px}
  .header-center>.identity .identity-mask{letter-spacing:.8px}
  .header-center>.global-tools{padding:2px;border-radius:20px;gap:2px;flex:0 0 auto}
  .header-center>.global-tools .header-icon{width:34px;height:34px;font-size:17px}
  .code-eye{width:16px;height:16px;flex-basis:16px}
  .code-eye svg{width:16px;height:12px}
  .code-eye:not(.is-public)::after{width:20px;top:6px}
  .menu{top:64px;right:0;width:min(300px,calc(100vw - 16px));max-height:calc(100dvh - 76px);overflow:auto}
  .inbox-dialog{width:calc(100vw - 14px);padding:14px}
  .inbox-dialog .inbox-head{min-height:40px}
  .inbox-item{grid-template-columns:minmax(0,1fr) auto 22px;gap:6px;padding:10px}
  .inbox-code{font-size:10px!important}
  .inbox-preview{font-size:12px}
  .inbox-thread-actions{width:100%;display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px}
  .inbox-thread-actions .btn{width:100%;padding:8px 5px;font-size:11px;min-height:38px}
  .direct-thread{max-height:52dvh}
  .tools{width:min(280px,calc(100vw - 24px));right:0}
}
@media(max-width:390px){
  .header-center{right:44px;gap:3px}
  .header-center>.rank-chip{height:31px;padding:0 6px;font-size:9px}
  .header-center>.identity{max-width:120px;padding:6px 7px;font-size:10px;gap:4px}
  .header-center>.identity .identity-name{max-width:45px}
  .header-center>.global-tools .header-icon{width:31px;height:31px;font-size:16px}
  .hamb{width:40px;height:40px}
}
@media(max-width:340px){
  .header-center{right:42px;gap:2px}
  .header-center>.rank-chip{height:29px;padding:0 5px;font-size:8px}
  .header-center>.identity{max-width:105px;padding:5px;font-size:9px}
  .header-center>.identity .identity-name{max-width:37px}
  .header-center>.global-tools{padding:1px}
  .header-center>.global-tools .header-icon{width:29px;height:29px;font-size:15px}
  .hamb{width:38px;height:38px}
}
.admin-link{color:#0b6ea8;font-weight:800;text-decoration:none}.admin-link:hover{text-decoration:underline}.identity-cluster{display:flex;align-items:center;gap:2px;background:#fff;border:1px solid #cfe0ef;border-radius:24px;box-shadow:0 8px 25px rgba(38,79,120,.07);padding:3px;min-width:0;max-width:280px}.identity-cluster>.identity{border:0;box-shadow:none;background:transparent;max-width:240px}.identity-share-trigger{border:0;background:transparent;border-radius:20px;flex:0 0 40px}.identity-share-trigger:hover,.identity-share-trigger:focus-visible{background:#edf4f9;outline:none}@media(max-width:700px){.identity-cluster{max-width:155px;padding:2px}.identity-cluster>.identity{max-width:115px}.identity-share-trigger{width:34px;height:34px;flex-basis:34px;font-size:17px}}@media(max-width:390px){.identity-cluster{max-width:125px}.identity-cluster>.identity{max-width:92px}.identity-share-trigger{width:31px;height:31px;flex-basis:31px;font-size:15px}}
.share-editor{width:min(980px,calc(100vw - 24px));max-height:92dvh;overflow:auto;background:#fff;border:1px solid #dce5ee;border-radius:24px;padding:22px;box-shadow:0 30px 90px rgba(23,38,59,.24)}
.share-editor-head{display:flex;justify-content:space-between;gap:18px;align-items:flex-start}.share-editor-head h2{margin:12px 0 5px;font-size:30px;letter-spacing:-1.2px}.share-editor-head p{margin:0}.share-editor-grid{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(320px,.95fr);gap:22px;margin-top:18px}.share-preview-pane{min-width:0}.share-preview{width:min(100%,500px);aspect-ratio:4/5;margin:0 auto}.share-preview-card{width:100%;height:100%;padding:28px;display:flex;flex-direction:column;justify-content:space-between;overflow:hidden;box-shadow:0 22px 60px rgba(23,38,59,.18);border:1px solid;position:relative}.share-preview-card:after{content:"";position:absolute;width:190px;height:190px;right:-80px;top:-60px;border-radius:50%;background:rgba(255,255,255,.1)}.share-preview-card>div,.share-preview-card>small{position:relative;z-index:1}.share-preview-kicker{font-size:10px;letter-spacing:.14em;font-weight:900;opacity:.76}.share-preview-card h3{font-size:clamp(34px,6vw,58px);line-height:.95;letter-spacing:-.05em;margin:13px 0 9px;overflow-wrap:anywhere}.share-preview-code{font-size:11px;letter-spacing:.14em;font-weight:850;opacity:.78}.share-preview-card p{font-size:clamp(18px,3vw,28px);line-height:1.18;letter-spacing:-.025em;margin:0 0 18px;max-width:430px}.share-preview-cta{display:inline-flex;min-height:46px;align-items:center;padding:0 14px;border-radius:13px;background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.25);color:inherit;text-decoration:none;font-weight:900}.share-preview-card small{font-size:10px;font-weight:800;opacity:.72}.share-preview-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:12px}.share-status{text-align:center;min-height:18px;color:#4d657d;font-size:12px;font-weight:800;margin:8px 0 0}.share-controls{display:grid;gap:12px;align-content:start}.share-control{border:1px solid #dce5ee;border-radius:16px;padding:15px;background:#fbfcfd}.share-control h3{margin:0;font-size:15px}.share-message-row{display:grid;grid-template-columns:minmax(0,1fr) 40px;gap:8px;align-items:center;margin-top:10px}.share-message-value{margin:0;line-height:1.4;color:#40566c;font-weight:700;font-size:14px}.share-control-actions{display:flex;gap:7px;flex-wrap:wrap;margin-top:10px}.share-control-actions .btn{min-height:42px;padding:9px 12px}.share-textarea{min-height:90px;resize:vertical;margin-top:10px}.share-counter{display:flex;justify-content:space-between;color:#75879b;font-size:11px;font-weight:750;margin-top:4px}.share-toggle{display:flex;gap:10px;align-items:flex-start;margin-top:10px;cursor:pointer}.share-toggle input{margin-top:3px}.share-toggle span{display:grid;gap:3px}.share-toggle small{color:#718399;line-height:1.35}.share-control-title{display:flex;justify-content:space-between;align-items:center;gap:8px}.share-control-title .btn{min-height:38px;padding:8px 11px}.share-theme-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;margin-top:10px;max-height:210px;overflow:auto;padding-right:2px}.share-theme-option{border:1px solid #dce5ee;background:#fff;border-radius:11px;padding:4px;cursor:pointer;text-align:left}.share-theme-option span{display:block;aspect-ratio:4/3;border-radius:7px}.share-theme-option small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:5px 2px 2px;font-size:9px;color:#50667d}.share-theme-option.selected{border-color:#0b6ea8;box-shadow:0 0 0 2px #e2f0f8}
@media(max-width:760px){.share-editor{padding:15px;border-radius:20px}.share-editor-grid{grid-template-columns:1fr;gap:15px}.share-preview{width:min(100%,430px)}.share-controls{order:2}.share-preview-pane{order:1}.share-theme-grid{grid-template-columns:repeat(5,minmax(0,1fr))}}
@media(max-width:480px){.share-editor-head h2{font-size:24px}.share-preview-card{padding:22px}.share-preview-actions{grid-template-columns:1fr}.share-theme-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.share-control-actions{display:grid;grid-template-columns:1fr}.share-control-actions .btn{width:100%}}
@media(prefers-reduced-motion:reduce){.share-preview-card{transition:none!important}}

/* Top Chatter readability pass: keep the metadata clearly readable on every viewport. */
.top20-scroller{display:flex;align-items:stretch;gap:12px;overflow:hidden!important;scroll-snap-type:none!important;overscroll-behavior-x:contain}
.top20-card{flex:0 0 clamp(210px,22vw,250px)!important;min-height:168px!important;padding:16px!important;gap:7px!important}
.top20-card strong{font-size:18px!important;line-height:1.2!important}
.top20-card>span{font-size:14px!important;line-height:1.35!important;color:#53677f!important;font-weight:700}
.top20-card>a{font-size:13px!important;line-height:1.3!important}
.top20-rank{font-size:12px!important}
.top20-message{font-size:12px!important;min-height:38px!important}
.ranking-card .rank-person>span{font-size:14px!important;line-height:1.35!important;display:inline-block!important;padding:6px 10px!important;max-width:100%;white-space:normal}
.rating-chip{font-size:13px!important}
@media(max-width:700px){
  .top20-card{flex-basis:210px!important;min-height:158px!important;padding:14px!important}
  .top20-card strong{font-size:17px!important}
  .top20-card>span{font-size:13px!important}
  .top20-card>a{font-size:12px!important}
  .ranking-card .rank-person>span{font-size:13px!important;padding:6px 9px!important}
}
@media(max-width:390px){
  .top20-card{flex-basis:195px!important}
  .top20-card strong{font-size:16px!important}
  .top20-card>span{font-size:12px!important}
  .ranking-card .rank-person>span{font-size:12.5px!important}
}

/* Final all-device responsive guardrails — layout only, no feature changes. */
html,body{width:100%;max-width:100%;overflow-x:hidden}
img,svg,video,canvas{max-width:100%;height:auto}
button,.btn,.header-icon,.circle{max-width:100%;overflow:hidden;text-overflow:ellipsis}
input,textarea,select{max-width:100%;min-width:0}
.grid,.dashboard-grid,.mode-grid,.identity-summary,.game-grid,.ranking-list{min-width:0}
.card,.mode-card,.utility-dialog,.identity-dialog,.topic-dialog,.game-dialog,.ranking-panel,.ranking-card,.poll-card,.problem-card,.feedback-card,.share-editor{min-width:0}
.ranking-card .rank-person{overflow-wrap:anywhere}
.ranking-card .rank-actions{min-width:0;flex-wrap:wrap;justify-content:flex-end}
@media(max-width:1024px){
  .site{width:min(1180px,calc(100% - 28px))}
  .dashboard-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:700px){
  .site{width:calc(100% - 16px)}
  .dashboard-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .top20-head{align-items:flex-start}
  .top20-head .text-link{flex:0 0 auto}
  .ranking-head{align-items:flex-start}
  .ranking-card{grid-template-columns:42px minmax(0,1fr) auto!important}
  .rank-actions{gap:4px!important}
  .rank-message{min-width:70px}
  .utility-dialog,.identity-dialog,.topic-dialog,.game-dialog,.share-editor{max-height:calc(100svh - 16px);overflow:auto}
  .mode-grid{grid-template-columns:1fr}
  .inline-actions{grid-template-columns:1fr}
}
@media(max-width:480px){
  .site{width:calc(100% - 12px)}
  .top20-head{display:grid;grid-template-columns:minmax(0,1fr);gap:8px}
  .top20-head .text-link{justify-self:start}
  .top20-card{flex-basis:195px!important}
  .ranking-card{grid-template-columns:36px minmax(0,1fr) auto!important}
  .ranking-card .rank-person>span{display:block!important;width:fit-content;max-width:100%}
  .rank-actions .rank-message{padding:7px 8px!important}
}
@media(max-width:340px){
  .site{width:calc(100% - 8px)}
  .dashboard-grid{gap:6px}
  .card{padding:9px!important}
  .top20-card{flex-basis:185px!important}
  .ranking-card{grid-template-columns:32px minmax(0,1fr) auto!important;gap:5px!important}
  .ranking-card .rank-person>span{font-size:12px!important}
}
@media(orientation:landscape) and (max-height:520px){
  .modal,.identity-popover,.onboarding{align-items:flex-start;overflow:auto}
  .utility-dialog,.identity-dialog,.game-dialog,.topic-dialog{margin:8px auto}
  .menu{max-height:calc(100svh - 78px);overflow:auto}
}

/* v27 mobile-first header + touch-dismiss pass. The desktop header remains unchanged. */
.autocomplete-list,[role="listbox"]{
  background:rgba(255,255,255,.98)!important;
  border:1px solid #d7e2ec!important;
  border-radius:16px!important;
  padding:7px!important;
  box-shadow:0 18px 45px rgba(23,38,59,.16)!important;
  backdrop-filter:blur(14px);
}
.autocomplete-list .suggestion,[role="listbox"] .suggestion{
  min-height:46px!important;
  border:0!important;
  border-radius:11px!important;
  background:transparent!important;
  padding:10px 11px!important;
  color:#172033!important;
  transition:background .12s ease,transform .12s ease;
}
.autocomplete-list .suggestion:hover,.autocomplete-list .suggestion:focus-visible,
[role="listbox"] .suggestion:hover,[role="listbox"] .suggestion:focus-visible{
  background:#eef5fa!important;
  outline:none;
}
.autocomplete-list .suggestion strong,[role="listbox"] .suggestion strong{font-size:14px!important;font-weight:850!important}
.autocomplete-list .suggestion span,[role="listbox"] .suggestion span{font-size:12px!important;color:#71839a!important}
.inbox-trigger{overflow:visible!important}
.inbox-trigger b{
  right:-6px!important;top:-7px!important;min-width:21px!important;height:21px!important;
  padding:0 5px!important;border:2px solid #fff!important;
  box-shadow:0 5px 13px rgba(11,110,168,.25)!important;
  font-size:11px!important;font-weight:900!important;z-index:3;
}

@media(max-width:700px){
  /* Two compact rows prevent the brand and identity controls from fighting for width. */
  .top{
    height:108px!important;
    min-height:108px!important;
    padding:9px 0 8px!important;
    align-items:flex-start!important;
  }
  .brand{
    display:block!important;
    position:absolute!important;
    left:0!important;
    top:10px!important;
    margin:0!important;
    font-size:25px!important;
    line-height:1!important;
    letter-spacing:-1.3px!important;
    z-index:6!important;
  }
  .hamb{
    position:absolute!important;
    right:0!important;
    top:7px!important;
    transform:none!important;
    width:46px!important;
    height:46px!important;
    min-width:46px!important;
    border-radius:14px!important;
    font-size:23px!important;
    z-index:7!important;
  }
  .header-center{
    left:0!important;
    right:0!important;
    top:58px!important;
    transform:none!important;
    width:100%!important;
    max-width:none!important;
    justify-content:center!important;
    gap:6px!important;
    z-index:5!important;
  }
  .header-center>.rank-chip{
    display:inline-flex!important;
    height:42px!important;
    min-width:48px!important;
    padding:0 10px!important;
    border-radius:14px!important;
    font-size:12px!important;
  }
  .header-center>.identity{
    height:42px!important;
    max-width:145px!important;
    min-width:0!important;
    padding:8px 10px!important;
    border-radius:14px!important;
    font-size:12px!important;
    gap:6px!important;
  }
  .header-center>.identity .identity-name{max-width:62px!important}
  .header-center>.identity .identity-mask{letter-spacing:1px!important}
  .header-center>.identity-share-trigger{
    width:42px!important;height:42px!important;min-width:42px!important;flex-basis:42px!important;
    border-radius:14px!important;font-size:21px!important;
  }
  .header-center>.global-tools{
    height:42px!important;
    padding:3px!important;
    gap:3px!important;
    border-radius:14px!important;
  }
  .header-center>.global-tools .header-icon{
    width:36px!important;height:36px!important;min-width:36px!important;
    font-size:20px!important;border-radius:11px!important;
  }
  .code-eye{width:18px!important;height:18px!important;flex-basis:18px!important}
  .code-eye svg{width:18px!important;height:14px!important}
  .chat-shell{height:calc(100dvh - 108px)!important;min-height:0!important}
  .chat-head{padding-top:8px!important}
  .more{width:46px!important;height:46px!important;font-size:22px!important;border-radius:14px!important}
  .tools{top:54px!important;max-height:55dvh!important}
  .autocomplete-list{max-height:min(46dvh,280px)!important}
}
@media(max-width:380px){
  .top{height:112px!important;min-height:112px!important}
  .brand{font-size:23px!important;top:11px!important}
  .hamb{width:44px!important;height:44px!important;min-width:44px!important}
  .header-center{top:61px!important;gap:4px!important}
  .header-center>.rank-chip{height:40px!important;min-width:44px!important;padding:0 7px!important;font-size:11px!important}
  .header-center>.identity{height:40px!important;max-width:112px!important;padding:7px 8px!important;font-size:11px!important}
  .header-center>.identity .identity-name{max-width:44px!important}
  .header-center>.identity-share-trigger{width:40px!important;height:40px!important;min-width:40px!important;flex-basis:40px!important}
  .header-center>.global-tools{height:40px!important}
  .header-center>.global-tools .header-icon{width:34px!important;height:34px!important;min-width:34px!important;font-size:19px!important}
  .chat-shell{height:calc(100dvh - 112px)!important}
}
@media(max-width:340px){
  .brand{font-size:21px!important}
  .header-center{gap:3px!important}
  .header-center>.rank-chip{min-width:41px!important;padding:0 6px!important;font-size:10px!important}
  .header-center>.identity{max-width:99px!important;font-size:10px!important}
  .header-center>.identity .identity-name{max-width:37px!important}
  .header-center>.identity-share-trigger{width:38px!important;height:38px!important;min-width:38px!important;flex-basis:38px!important}
  .header-center>.global-tools{height:38px!important}
  .header-center>.global-tools .header-icon{width:32px!important;height:32px!important;min-width:32px!important;font-size:18px!important}
}

/* v28 product polish: independent header surfaces, readable mobile controls and richer spotlight cards. */
.header-center>.global-tools{background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important;gap:7px!important}
.header-center>.global-tools .header-icon{background:#fff!important;border:1px solid #cfe0ef!important;box-shadow:0 8px 25px rgba(38,79,120,.07)!important;width:42px!important;height:42px!important;border-radius:14px!important}
.header-center>.identity-share-trigger{background:#fff!important;border:1px solid #cfe0ef!important;box-shadow:0 8px 25px rgba(38,79,120,.07)!important}
.header-center>.rank-chip,.header-center>.identity{box-shadow:0 8px 25px rgba(38,79,120,.07)!important}
.inbox-trigger b{animation:inboxPulse 1.8s ease-in-out infinite}
@keyframes inboxPulse{0%,70%,100%{transform:scale(1)}78%{transform:scale(1.12)}}

/* Requested header/navigation behavior: the header scrolls with the document. */
.top{position:relative!important;top:auto!important}
.menu{max-height:min(78dvh,720px);overflow-y:auto;overscroll-behavior:contain}
.menu-group{padding:5px 0 7px}
.menu-group + .menu-group{border-top:1px solid #e8edf2;margin-top:4px;padding-top:9px}
.menu-group-title{width:100%;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 12px 7px;color:#7a8ca0;font-size:10px;line-height:1;text-transform:uppercase;letter-spacing:.08em;font-weight:900;border:0;background:transparent;text-align:left;cursor:pointer}.menu-group-title b{font-size:15px;line-height:1;color:#58708a;font-weight:900}.menu-group-title:hover,.menu-group-title:focus-visible{background:#f5f8fb;color:#294762;outline:none}.menu-group-links{display:grid;gap:2px;padding-bottom:3px}.menu-group-links[hidden]{display:none}
.menu-group a{display:block}
.site-footer-contact{display:inline-flex;align-items:center;margin-left:8px;padding-left:8px;border-left:1px solid #dce4ee;color:#516a84;text-decoration:none;font-weight:800}
.site-footer-contact:hover{color:#0b5e95}.admin-announcement{margin:8px auto 0;width:min(1180px,calc(100% - 40px));padding:9px 12px;border:1px solid #dce5ee;border-radius:12px;background:#fff;color:#43566d;display:flex;gap:8px;align-items:center;font-size:12px}.admin-announcement strong{color:#0b5e95}@media(max-width:600px){.admin-announcement{width:calc(100% - 24px);font-size:11px;align-items:flex-start;flex-direction:column;gap:2px}}
.top20-scroller{display:flex!important;gap:14px!important;align-items:stretch!important;overflow:hidden!important;padding:4px 2px 8px!important}
.top20-card{flex:0 0 clamp(230px,24vw,285px)!important;min-height:190px!important;padding:16px!important;display:flex!important;flex-direction:column!important;justify-content:flex-start!important;gap:9px!important;border:1px solid #dfe5f1!important;background:linear-gradient(145deg,#fff,#f7f8ff)!important;border-radius:20px!important;box-shadow:0 14px 34px rgba(47,58,112,.07)!important}
.top20-card-head{display:flex;align-items:center;justify-content:space-between;gap:8px}
.top20-rank{font-size:12px!important;font-weight:950!important;color:#6554d8!important;background:#eeeaff!important;padding:5px 8px!important;border-radius:999px!important}
.top20-rating{font-size:12px!important;font-weight:900!important;color:#9b6b00!important;background:#fff6dc!important;padding:5px 8px!important;border-radius:999px!important}
.top20-profile{display:flex;gap:10px;align-items:center;min-width:0}
.top20-avatar{width:44px;height:44px;flex:0 0 44px;display:grid;place-items:center;border-radius:15px;background:linear-gradient(135deg,#7b55ef,#3c9df2);color:#fff;font-weight:950;font-size:18px;box-shadow:0 10px 22px rgba(76,86,210,.2)}
.top20-profile>div{min-width:0;display:grid;gap:4px}
.top20-profile strong{font-size:18px!important;line-height:1.15!important;overflow-wrap:anywhere}
.top20-code{font-size:12px!important;color:#53677f!important;font-weight:800!important;line-height:1.25!important}
.top20-instagram{font-size:12px!important;color:#b33182!important;background:#fff0fa!important;padding:4px 7px!important;border-radius:999px!important;width:max-content!important;max-width:100%!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
.top20-meta{display:flex;flex-wrap:wrap;gap:6px;margin-top:auto}
.top20-meta span{font-size:11px!important;font-weight:800!important;color:#657792!important;background:#f0f3f8!important;border-radius:999px!important;padding:5px 7px!important}
.top20-message{width:100%!important;min-height:40px!important;border-radius:12px!important;font-size:12px!important;font-weight:900!important}
.top20-strip{overflow:hidden}

/* Standard page heading rhythm. */
.community-hero h1,.poll-hero h1,.top-hero h1,.mode-card h1{font-size:clamp(34px,4vw,46px)!important;line-height:1.05!important;letter-spacing:-1.8px!important}
main>section:not(.hero) h2,.section-title h2,.ranking-head h2{font-size:clamp(24px,3vw,32px)!important;line-height:1.15!important;letter-spacing:-1px!important}

/* Poll options: compact desktop controls without sacrificing touch size. */
.poll-option-row{min-height:52px!important;padding:9px 11px!important}
.poll-option-content{min-width:0!important;display:grid!important;gap:6px!important}
.poll-option-content strong{font-size:14px!important;line-height:1.25!important;overflow-wrap:anywhere}
.poll-bar{height:6px!important;border-radius:999px!important;overflow:hidden!important;background:#edf1f6!important}
.poll-bar i{display:block!important;height:100%!important;border-radius:inherit!important}
.poll-option-row>b{font-size:12px!important;min-width:24px!important;text-align:right}

@media(max-width:700px){
  .header-center>.global-tools{gap:5px!important}
  .header-center>.global-tools .header-icon{width:42px!important;height:42px!important;font-size:20px!important}
  .header-center>.identity-share-trigger{width:42px!important;height:42px!important;flex-basis:42px!important}
  .top20-card{flex-basis:230px!important;min-height:188px!important}
  .top20-profile strong{font-size:17px!important}
  .top20-code,.top20-instagram{font-size:12px!important}
  .poll-option-row{min-height:50px!important;padding:8px 10px!important}
  .poll-option-content strong{font-size:14px!important}
}
@media(max-width:390px){
  .header-center>.global-tools .header-icon{width:39px!important;height:39px!important;font-size:19px!important}
  .header-center>.identity-share-trigger{width:39px!important;height:39px!important;flex-basis:39px!important}
  .top20-card{flex-basis:210px!important;min-height:180px!important}
}
@media(prefers-reduced-motion:reduce){.inbox-trigger b{animation:none!important}}

/* Final responsive/header/top-chatter pass */
:root{--page-max:1240px}
body{overflow-x:hidden}
.site{width:min(calc(100% - 28px),var(--page-max));margin-inline:auto}
.top{min-height:68px!important;display:flex!important;align-items:center!important;gap:10px!important;position:sticky!important;top:0!important;z-index:80!important}
.brand{display:flex!important;align-items:center!important;flex:0 0 auto!important;min-width:max-content!important;font-size:clamp(20px,2.1vw,28px)!important;font-weight:950!important;letter-spacing:-.8px!important;visibility:visible!important;opacity:1!important}
.header-center{display:flex!important;align-items:center!important;gap:9px!important;min-width:0!important;flex:1 1 auto!important;justify-content:flex-end!important;position:static!important;transform:none!important}
.header-center>.rank-chip,.header-center>.identity,.header-center>.identity-share-trigger,.header-center>.global-tools{height:46px!important;box-sizing:border-box!important}
.header-center>.rank-chip{display:flex!important;align-items:center!important;justify-content:center!important;flex:0 0 auto!important;padding:0 14px!important;border:1px solid rgba(111,91,226,.2)!important;border-radius:14px!important;background:linear-gradient(135deg,#f3efff,#fff)!important;color:#5c4bd0!important;font-size:12px!important;font-weight:900!important;box-shadow:0 9px 24px rgba(70,70,150,.08)!important}
.header-center>.identity{display:flex!important;align-items:center!important;gap:7px!important;flex:0 1 210px!important;min-width:105px!important;max-width:220px!important;padding:0 13px!important;border:1px solid #e1e5ef!important;border-radius:14px!important;background:linear-gradient(135deg,#fff,#f7f8ff)!important;box-shadow:0 9px 24px rgba(46,63,100,.07)!important;color:#17243a!important;overflow:hidden!important}
.header-center>.identity .identity-name{font-size:14px!important;font-weight:900!important;max-width:90px!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
.header-center>.identity .identity-mask{font-size:13px!important;font-weight:850!important;letter-spacing:1.5px!important;color:#7658df!important;overflow:hidden!important;text-overflow:ellipsis!important}
.header-center>.identity-share-trigger{width:46px!important;flex:0 0 46px!important;display:grid!important;place-items:center!important;border:1px solid #e0e4ee!important;border-radius:14px!important;background:linear-gradient(135deg,#fff,#f5f7ff)!important;color:#654ddd!important;font-size:22px!important;box-shadow:0 9px 24px rgba(46,63,100,.07)!important}
.header-center>.global-tools{display:flex!important;align-items:center!important;gap:6px!important;padding:4px!important;border:1px solid #e0e4ee!important;border-radius:15px!important;background:linear-gradient(135deg,#fff,#f7f8ff)!important;box-shadow:0 9px 24px rgba(46,63,100,.07)!important}
.header-center>.global-tools .header-icon{width:38px!important;height:38px!important;border:0!important;border-radius:11px!important;background:#eef1ff!important;color:#5c4bd0!important;font-size:19px!important}
.hamb{width:44px!important;height:44px!important;flex:0 0 44px!important}
.menu{max-height:calc(100dvh - 90px);overflow:auto;scrollbar-width:none}.menu::-webkit-scrollbar{display:none}
.top20-strip{overflow:hidden!important;padding:22px!important;border-radius:26px!important;background:radial-gradient(circle at 100% 0%,rgba(117,89,240,.12),transparent 28%),linear-gradient(145deg,#fff,#f5f7ff)!important}
.top20-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:14px}.top20-head h2{font-size:clamp(24px,3vw,34px)!important;line-height:1.08!important;margin:7px 0 5px!important}.top20-head p{margin:0!important}.top20-scroller{position:relative!important;display:block!important;overflow:hidden!important;padding:5px 2px 9px!important;scrollbar-width:none!important}.top20-scroller::-webkit-scrollbar{display:none!important}.top20-track{display:flex!important;align-items:stretch!important;gap:14px!important;width:max-content!important;will-change:transform!important}
.top20-card{flex:0 0 clamp(245px,24vw,300px)!important;min-height:205px!important;padding:17px!important;display:flex!important;flex-direction:column!important;gap:10px!important;border:1px solid #dce3ef!important;border-radius:22px!important;background:linear-gradient(145deg,#fff,#f7f8ff)!important;box-shadow:0 14px 32px rgba(48,62,106,.08)!important}.top20-card-head{display:flex!important;align-items:center!important;justify-content:space-between!important}.top20-rank{font-size:12px!important;font-weight:950!important;color:#6554d8!important;background:#eeeaff!important;padding:6px 9px!important;border-radius:999px!important}.top20-rating{font-size:12px!important;font-weight:900!important;color:#9a6b00!important;background:#fff6dc!important;padding:6px 9px!important;border-radius:999px!important}.top20-profile{display:flex!important;gap:11px!important;align-items:center!important;min-width:0!important}.top20-avatar{width:48px!important;height:48px!important;flex:0 0 48px!important;display:grid!important;place-items:center!important;border-radius:16px!important;background:linear-gradient(135deg,#7657ed,#4ca5ef)!important;color:#fff!important;font-weight:950!important;font-size:20px!important;box-shadow:0 10px 22px rgba(81,77,202,.2)!important}.top20-profile-copy{min-width:0!important;display:grid!important;gap:5px!important}.top20-profile strong{font-size:18px!important;line-height:1.15!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}.top20-code,.top20-instagram{display:block!important;font-size:12px!important;line-height:1.25!important;font-weight:850!important;overflow-wrap:anywhere!important}.top20-code{color:#5f7187!important}.top20-instagram{color:#bd438f!important}.top20-meta{display:flex!important;flex-wrap:wrap!important;gap:6px!important;margin-top:auto!important}.top20-meta span{font-size:11px!important;font-weight:850!important;color:#65778c!important;background:#eff2f7!important;border-radius:999px!important;padding:6px 8px!important}.top20-message{width:100%!important;min-height:40px!important;border-radius:12px!important;font-size:12px!important;font-weight:900!important}
.ranking-card .rank-person>span{font-size:14px!important;line-height:1.35!important;padding:7px 10px!important;min-height:34px!important;display:inline-flex!important;align-items:center!important;background:#f0f3f8!important;border:1px solid #e0e5ec!important;border-radius:999px!important;color:#4e637b!important;font-weight:850!important;white-space:normal!important;overflow-wrap:anywhere!important}.rating-chip{font-size:13px!important;padding:6px 9px!important}.rank-badge{width:48px!important;height:48px!important;border-radius:15px!important}
.poll-option-row{min-height:50px!important;padding:8px 10px!important;border-radius:13px!important}.poll-option-content{gap:5px!important}.poll-option-content strong{font-size:14px!important;line-height:1.25!important}.poll-bar{height:6px!important}.poll-option-row>b{font-size:12px!important;min-width:25px!important}
.community-hero h1,.poll-hero h1,.top-hero h1,.mode-card h1,h1{font-size:clamp(30px,4vw,46px)!important;line-height:1.08!important;letter-spacing:-1.3px!important}
@media(max-width:900px){.site{width:calc(100% - 20px)}.top{gap:7px!important}.brand{font-size:22px!important}.header-center{gap:6px!important}.header-center>.rank-chip{height:42px!important;padding:0 10px!important;font-size:11px!important}.header-center>.identity{height:42px!important;max-width:170px!important;padding:0 10px!important}.header-center>.identity-share-trigger{width:42px!important;height:42px!important;flex-basis:42px!important}.header-center>.global-tools{height:42px!important}.header-center>.global-tools .header-icon{width:34px!important;height:34px!important}.top20-card{flex-basis:235px!important;min-height:198px!important}}
@media(max-width:700px){.site{width:calc(100% - 16px)}.top{min-height:64px!important}.brand{font-size:21px!important;display:flex!important}.header-center{gap:5px!important}.header-center>.rank-chip{height:40px!important;padding:0 8px!important;font-size:10px!important;border-radius:12px!important}.header-center>.identity{height:40px!important;max-width:130px!important;min-width:78px!important;padding:0 8px!important;border-radius:12px!important}.header-center>.identity .identity-name{font-size:11px!important;max-width:55px!important}.header-center>.identity .identity-mask{font-size:10px!important;letter-spacing:1px!important}.header-center>.identity-share-trigger{width:40px!important;height:40px!important;flex-basis:40px!important;border-radius:12px!important;font-size:20px!important}.header-center>.global-tools{height:40px!important;padding:3px!important;border-radius:12px!important}.header-center>.global-tools .header-icon{width:33px!important;height:33px!important;font-size:18px!important}.hamb{width:40px!important;height:40px!important;flex-basis:40px!important}.top20-strip{padding:16px!important;border-radius:20px!important}.top20-head{align-items:flex-start;display:grid;grid-template-columns:1fr;gap:6px}.top20-head .text-link{justify-self:start}.top20-card{flex-basis:220px!important;min-height:190px!important}.top20-profile strong{font-size:17px!important}.top20-code,.top20-instagram{font-size:12px!important}.poll-option-row{min-height:50px!important}}
@media(max-width:430px){.brand{font-size:20px!important}.header-center{gap:4px!important}.header-center>.rank-chip{padding:0 6px!important;font-size:9px!important}.header-center>.identity{max-width:105px!important;min-width:72px!important;padding:0 6px!important}.header-center>.identity .identity-name{max-width:42px!important;font-size:10px!important}.header-center>.identity .identity-mask{font-size:9px!important}.header-center>.identity-share-trigger{width:38px!important;height:38px!important;flex-basis:38px!important;font-size:18px!important}.header-center>.global-tools .header-icon{width:31px!important;height:31px!important;font-size:17px!important}.hamb{width:38px!important;height:38px!important;flex-basis:38px!important}.top20-card{flex-basis:205px!important;min-height:184px!important}.top20-avatar{width:44px!important;height:44px!important;flex-basis:44px!important}.top20-profile strong{font-size:16px!important}}
@media(max-width:370px){.brand{font-size:18px!important}.header-center>.rank-chip{display:none!important}.header-center>.identity{max-width:98px!important}.header-center>.global-tools .header-icon{width:29px!important;height:29px!important}.header-center>.identity-share-trigger{width:36px!important;height:36px!important;flex-basis:36px!important}}
@media(prefers-reduced-motion:reduce){.top20-track{will-change:transform}}

/* FINAL MOBILE NAVBAR STRUCTURE — intentional two-row layout. */
@media(max-width:700px){
  .top{
    width:100%!important;
    height:auto!important;
    min-height:0!important;
    padding:7px 6px 8px!important;
    display:flex!important;
    flex-wrap:wrap!important;
    align-items:center!important;
    align-content:flex-start!important;
    gap:5px!important;
    overflow:visible!important;
  }
  .top>.brand{
    order:1!important;
    display:flex!important;
    position:static!important;
    flex:0 1 auto!important;
    min-width:0!important;
    margin:0!important;
    font-size:clamp(18px,5vw,21px)!important;
    line-height:1!important;
    white-space:nowrap!important;
  }
  /* Flatten the wrapper so its controls become the actual row items. */
  .top>.header-center{display:contents!important;}
  .top>.header-center>.rank-chip{
    order:2!important;
    display:inline-flex!important;
    position:static!important;
    width:auto!important;
    min-width:34px!important;
    max-width:42px!important;
    height:38px!important;
    flex:0 0 auto!important;
    padding:0 6px!important;
    font-size:9px!important;
    border-radius:11px!important;
    transform:none!important;
  }
  .top>.header-center>.identity{
    order:3!important;
    position:static!important;
    transform:none!important;
    display:flex!important;
    width:auto!important;
    min-width:72px!important;
    max-width:108px!important;
    height:38px!important;
    flex:1 1 82px!important;
    padding:0 6px!important;
    gap:4px!important;
    font-size:9px!important;
    border-radius:11px!important;
    overflow:hidden!important;
  }
  .top>.header-center>.identity .identity-name{max-width:42px!important;font-size:9px!important;}
  .top>.header-center>.identity .identity-mask{max-width:48px!important;font-size:8px!important;letter-spacing:.7px!important;}
  .top>.header-center>.identity-share-trigger{
    order:4!important;
    position:static!important;
    transform:none!important;
    width:38px!important;
    height:38px!important;
    min-width:38px!important;
    flex:0 0 38px!important;
    border-radius:11px!important;
    font-size:18px!important;
  }
  .top>.hamb{
    order:5!important;
    position:static!important;
    transform:none!important;
    width:40px!important;
    height:40px!important;
    min-width:40px!important;
    flex:0 0 40px!important;
    margin-left:auto!important;
  }
  /* Row 2: ONLY Search + Inbox. */
  .top>.header-center>.global-tools{
    order:6!important;
    width:100%!important;
    flex:0 0 100%!important;
    height:40px!important;
    min-height:40px!important;
    margin:2px 0 0!important;
    padding:0!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:10px!important;
    background:transparent!important;
    border:0!important;
    box-shadow:none!important;
  }
  .top>.header-center>.global-tools .header-icon{
    width:40px!important;
    height:40px!important;
    min-width:40px!important;
    flex:0 0 40px!important;
    border:1px solid #cfe0ef!important;
    border-radius:11px!important;
    background:#fff!important;
    box-shadow:0 8px 20px rgba(38,79,120,.07)!important;
    font-size:19px!important;
  }
}
@media(max-width:360px){
  .top{gap:4px!important;padding-left:4px!important;padding-right:4px!important;}
  .top>.brand{font-size:17px!important;}
  .top>.header-center>.rank-chip{min-width:32px!important;max-width:36px!important;height:36px!important;padding:0 4px!important;font-size:8px!important;}
  .top>.header-center>.identity{min-width:68px!important;max-width:86px!important;height:36px!important;padding:0 4px!important;}
  .top>.header-center>.identity .identity-name{max-width:34px!important;font-size:8px!important;}
  .top>.header-center>.identity .identity-mask{max-width:40px!important;font-size:7px!important;}
  .top>.header-center>.identity-share-trigger{width:36px!important;height:36px!important;min-width:36px!important;flex-basis:36px!important;font-size:17px!important;}
  .top>.hamb{width:38px!important;height:38px!important;min-width:38px!important;flex-basis:38px!important;}
}

/* FINAL MOBILE NAVBAR — requested structure: row 1 = website name | rank | username | code | share-code | menu; row 2 = search | inbox. */
@media(max-width:700px){
  .top{display:flex!important;flex-wrap:wrap!important;align-content:flex-start!important;align-items:center!important;gap:0!important;height:auto!important;min-height:0!important;padding:6px 6px 7px!important;overflow:visible!important}
  .brand{order:1!important;flex:0 0 auto!important;width:auto!important;max-width:88px!important;font-size:clamp(17px,5.4vw,21px)!important;line-height:1!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
  /* On mobile the center wrapper must disappear from layout: its children become the actual navbar items. This guarantees the requested order in the same flex row. */
  .header-center{order:2!important;position:static!important;transform:none!important;display:contents!important}
  .header-center>.rank-chip{order:1!important;display:flex!important;flex:0 0 auto!important;width:34px!important;min-width:34px!important;max-width:34px!important;height:34px!important;padding:0 3px!important;justify-content:center!important;font-size:8px!important;line-height:1!important;border-radius:10px!important;overflow:hidden!important}
  .header-center>.mobile-name-chip{order:2!important;display:flex!important;align-items:center!important;justify-content:center!important;flex:1 1 42px!important;min-width:38px!important;max-width:62px!important;height:34px!important;padding:0 5px!important;border:1px solid #cfe0ef!important;border-radius:10px!important;background:#fff!important;color:#172033!important;font-size:10px!important;font-weight:850!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
  .header-center>.mobile-code-chip{order:3!important;display:flex!important;align-items:center!important;justify-content:center!important;flex:0 1 48px!important;width:48px!important;min-width:40px!important;max-width:52px!important;height:34px!important;padding:0 4px!important;border:1px solid #cfe0ef!important;border-radius:10px!important;background:#fff!important;color:#7658df!important;font-size:9px!important;font-weight:850!important;letter-spacing:1px!important;white-space:nowrap!important;overflow:hidden!important}
  .header-center>.identity-share-trigger{order:4!important;display:grid!important;flex:0 0 34px!important;width:34px!important;min-width:34px!important;height:34px!important;border-radius:10px!important;font-size:17px!important}
  .header-center>.global-tools{order:10!important;flex:0 0 100%!important;width:100%!important;height:38px!important;min-height:38px!important;margin-top:5px!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important;box-sizing:border-box!important}
  .header-center>.global-tools .header-icon{width:38px!important;height:38px!important;min-width:38px!important;flex:0 0 38px!important;border:1px solid #cfe0ef!important;border-radius:11px!important;background:#fff!important;box-shadow:0 6px 16px rgba(38,79,120,.08)!important;font-size:18px!important}
  .hamb{order:3!important;position:static!important;transform:none!important;flex:0 0 38px!important;width:38px!important;min-width:38px!important;height:38px!important;margin:0 0 0 4px!important;border-radius:11px!important;font-size:20px!important}
  .menu{top:calc(var(--st-nav-h,94px) + 5px)!important;right:6px!important;left:auto!important;width:min(290px,calc(100vw - 12px))!important;max-height:calc(100dvh - var(--st-nav-h,94px) - 12px)!important;overflow:auto!important}
}
@media(max-width:370px){
  .brand{max-width:72px!important;font-size:17px!important}
  .header-center{gap:3px!important}
  .header-center>.rank-chip{width:30px!important;min-width:30px!important;max-width:30px!important;height:32px!important;font-size:7px!important}
  .header-center>.mobile-name-chip{min-width:34px!important;max-width:52px!important;height:32px!important;font-size:9px!important}
  .header-center>.mobile-code-chip{width:43px!important;min-width:36px!important;max-width:46px!important;height:32px!important;font-size:8px!important;letter-spacing:.7px!important}
  .header-center>.identity-share-trigger{width:32px!important;min-width:32px!important;height:32px!important;font-size:16px!important}
  .hamb{width:34px!important;min-width:34px!important;height:34px!important;font-size:18px!important}
  .header-center>.global-tools{height:36px!important;min-height:36px!important;margin-top:4px!important}
  .header-center>.global-tools .header-icon{width:36px!important;height:36px!important;min-width:36px!important;font-size:17px!important}
}

/* 20 distinct connection-card layouts */
.share-preview-card[class*="layout-"]{position:relative;overflow:hidden;min-height:100%;display:flex!important;flex-direction:column!important;justify-content:space-between!important;gap:18px!important;transition:all .25s ease}
.share-preview-card .share-preview-brand strong{font-size:18px!important;letter-spacing:-.3px}.share-preview-card .share-preview-message{position:relative;z-index:2}.share-preview-card .share-preview-cta{display:inline-flex;align-items:center;gap:5px}
.share-preview-card.layout-center{text-align:center;align-items:center}.share-preview-card.layout-center .share-preview-brand{justify-content:center}.share-preview-card.layout-center .share-preview-message{width:100%}
.share-preview-card.layout-stack .share-preview-message{border-radius:24px 24px 8px 24px!important}.share-preview-card.layout-offset .share-preview-message{margin-left:14%;transform:rotate(-1deg)}
.share-preview-card.layout-hero h3{font-size:clamp(48px,8vw,78px)!important;letter-spacing:-4px!important}.share-preview-card.layout-hero .share-preview-message{background:rgba(255,255,255,.12);backdrop-filter:blur(12px);border:1px solid rgba(255,255,255,.2)}
.share-preview-card.layout-editorial{border-radius:4px!important;box-shadow:inset 0 0 0 8px rgba(0,0,0,.06)}.share-preview-card.layout-editorial .share-preview-kicker{letter-spacing:.2em}
.share-preview-card.layout-minimal{box-shadow:none!important;border-width:1px!important}.share-preview-card.layout-minimal .share-preview-message{background:transparent!important;border:1px solid currentColor!important;opacity:.88}
.share-preview-card.layout-glass .share-preview-message{background:rgba(255,255,255,.12)!important;backdrop-filter:blur(18px);border:1px solid rgba(255,255,255,.2)}
.share-preview-card.layout-orbit::before{content:'';position:absolute;width:220px;height:220px;border:1px solid currentColor;border-radius:50%;right:-100px;top:40px;opacity:.16}.share-preview-card.layout-orbit::after{content:'';position:absolute;width:140px;height:140px;border:1px solid currentColor;border-radius:50%;right:-60px;top:80px;opacity:.12}
.share-preview-card.layout-ticket{border-radius:18px!important;clip-path:polygon(0 0,100% 0,100% 100%,0 100%,0 0)}.share-preview-card.layout-ticket .share-preview-message{border-radius:12px;border-left:4px dashed currentColor}
.share-preview-card.layout-poster{text-align:center}.share-preview-card.layout-poster .share-preview-brand{justify-content:center}.share-preview-card.layout-poster .share-preview-message{border-radius:5px!important;text-transform:none}.share-preview-card.layout-poster h3{font-size:52px!important}
.share-preview-card.layout-polaroid{background:#f9f7f0!important;color:#172033!important;border-radius:8px!important;box-shadow:0 20px 45px rgba(0,0,0,.16)!important}.share-preview-card.layout-polaroid .share-preview-message{background:#fff!important;color:#172033!important;border-radius:3px!important}
.share-preview-card.layout-magazine .share-preview-message{border-radius:0 28px 0 28px!important}.share-preview-card.layout-magazine h3{font-family:Georgia,serif!important;font-style:italic}
.share-preview-card.layout-bubble .share-preview-message{border-radius:28px 28px 28px 8px!important;box-shadow:0 16px 35px rgba(0,0,0,.14)}
.share-preview-card.layout-focus{text-align:center;justify-content:center!important}.share-preview-card.layout-focus .share-preview-brand,.share-preview-card.layout-focus .share-preview-footer{position:absolute;left:20px;right:20px}.share-preview-card.layout-focus .share-preview-brand{top:20px}.share-preview-card.layout-focus .share-preview-footer{bottom:20px}.share-preview-card.layout-focus .share-preview-message{width:100%}
.share-preview-card.layout-diagonal::before{content:'';position:absolute;left:-30%;top:35%;width:160%;height:38%;background:rgba(255,255,255,.12);transform:rotate(-10deg);pointer-events:none}.share-preview-card.layout-frame{box-shadow:inset 0 0 0 2px currentColor,inset 0 0 0 8px transparent!important}.share-preview-card.layout-frame .share-preview-message{border:1px solid currentColor;background:transparent!important}
.share-preview-card.layout-duo{display:grid!important;grid-template-rows:auto 1fr auto!important}.share-preview-card.layout-duo .share-preview-message{align-self:center}.share-preview-card.layout-signal::before{content:'↗';position:absolute;right:18px;top:42px;font-size:120px;font-weight:950;opacity:.07}.share-preview-card.layout-signal .share-preview-message{border-left:5px solid currentColor;border-radius:8px 22px 22px 8px!important}
.share-preview-card.layout-spotlight::before{content:'';position:absolute;inset:-30% 25% 25% -25%;background:radial-gradient(circle,rgba(255,255,255,.24),transparent 58%);pointer-events:none}.share-preview-card.layout-spotlight h3{text-shadow:0 6px 22px rgba(0,0,0,.16)}
.share-preview-card.layout-hero,.share-preview-card.layout-poster,.share-preview-card.layout-focus{padding:28px!important}.share-preview-card.layout-editorial,.share-preview-card.layout-magazine{padding:26px!important}.share-preview-card.layout-ticket,.share-preview-card.layout-polaroid{padding:22px!important}
.share-theme-option{min-height:72px!important;border-radius:14px!important;overflow:hidden!important}.share-theme-option span{display:block!important;height:42px!important;border-radius:9px!important}.share-theme-option small{display:block!important;margin-top:5px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
@media(max-width:700px){.share-preview-card.layout-hero h3,.share-preview-card.layout-poster h3{font-size:42px!important;letter-spacing:-2px!important}.share-preview-card.layout-focus .share-preview-message{padding:14px!important}.share-theme-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
.share-design-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:10px}.share-design-actions .btn{min-height:42px}
.share-preview-card.layout-center{text-align:center}.share-preview-card.layout-center .share-preview-brand,.share-preview-card.layout-center .share-preview-footer{justify-content:center}.share-preview-card.layout-center .share-preview-message{margin-left:auto;margin-right:auto}.share-preview-card.layout-stack .share-preview-message{border-radius:28px}.share-preview-card.layout-stack{justify-content:flex-start;gap:22px}.share-preview-card.layout-stack .share-preview-footer{margin-top:auto}.share-preview-card.layout-offset .share-preview-message{margin-left:10%;width:90%}.share-preview-card.layout-offset h3{margin-left:5%}.share-preview-card.layout-split{justify-content:space-between}
@media(max-width:480px){.share-design-actions{grid-template-columns:1fr 1fr}.share-preview-card.layout-offset .share-preview-message{margin-left:0;width:100%}}
.share-action-btn{display:inline-flex!important;align-items:center;justify-content:center;gap:7px}.share-action-btn>span:first-child{font-size:18px;line-height:1}.share-design-actions small{font-size:10px;opacity:.7;font-weight:900}.share-design-actions .btn{display:flex;align-items:center;justify-content:center;gap:5px}
@media(max-width:480px){.share-action-btn>span:last-child{display:none}.share-action-btn{min-height:44px!important;padding:8px!important}.share-action-btn>span:first-child{font-size:19px}.share-design-actions small{font-size:9px}}

/* Final top-area correction: keep the brand visible, make touch targets readable, and let the page below scroll normally. */
html,body{width:100%;max-width:100%;overflow-x:hidden;scrollbar-width:none}html::-webkit-scrollbar,body::-webkit-scrollbar,*::-webkit-scrollbar{width:0;height:0}.top{position:sticky!important;top:0!important;z-index:1000!important;isolation:isolate;background:rgba(245,248,252,.97)!important;box-shadow:0 8px 24px rgba(33,58,88,.06)!important}.menu,.tools,.autocomplete-list,.inbox-list,.direct-thread,.topic-list,.game-dialog,.utility-dialog,.share-editor,.visual-frame-wrap,.table-wrap{scrollbar-width:none}.menu::-webkit-scrollbar,.tools::-webkit-scrollbar,.autocomplete-list::-webkit-scrollbar,.inbox-list::-webkit-scrollbar,.direct-thread::-webkit-scrollbar,.topic-list::-webkit-scrollbar,.game-dialog::-webkit-scrollbar,.utility-dialog::-webkit-scrollbar,.share-editor::-webkit-scrollbar,.visual-frame-wrap::-webkit-scrollbar,.table-wrap::-webkit-scrollbar{width:0;height:0}
@media(max-width:700px){
  .top{height:112px!important;min-height:112px!important;padding:8px 0!important;display:block!important;overflow:visible!important}
  .brand{display:flex!important;position:absolute!important;left:0!important;top:11px!important;z-index:8!important;font-size:25px!important;line-height:1!important;min-height:32px!important;align-items:center!important}
  .hamb{position:absolute!important;right:0!important;top:7px!important;width:46px!important;height:46px!important;min-width:46px!important;z-index:9!important;border-radius:14px!important;font-size:23px!important}
  .header-center{position:absolute!important;left:0!important;right:0!important;top:60px!important;transform:none!important;width:100%!important;max-width:none!important;min-width:0!important;height:44px!important;display:flex!important;justify-content:center!important;align-items:center!important;gap:5px!important;z-index:7!important;overflow:visible!important}
  .header-center>.rank-chip{display:flex!important;height:42px!important;min-width:44px!important;max-width:58px!important;padding:0 8px!important;border-radius:13px!important;font-size:11px!important;flex:0 0 auto!important}
  .header-center>.identity{height:42px!important;min-width:84px!important;max-width:122px!important;padding:0 8px!important;border-radius:13px!important;font-size:11px!important;gap:5px!important;flex:0 1 auto!important}
  .header-center>.identity .identity-name{max-width:48px!important;font-size:12px!important}.header-center>.identity .identity-mask{font-size:10px!important;letter-spacing:.8px!important}
  .header-center>.identity-share-trigger{width:42px!important;height:42px!important;min-width:42px!important;flex:0 0 42px!important;border-radius:13px!important;font-size:21px!important}
  .header-center>.global-tools{height:42px!important;display:flex!important;align-items:center!important;gap:4px!important;padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important;flex:0 0 auto!important}
  .header-center>.global-tools .header-icon{width:39px!important;height:39px!important;min-width:39px!important;flex:0 0 39px!important;border:1px solid #d7dfeb!important;border-radius:12px!important;background:#fff!important;box-shadow:0 7px 18px rgba(38,79,120,.08)!important;font-size:20px!important}
  .chat-shell{height:calc(100svh - 112px)!important}
  .menu{top:108px!important;right:0!important;max-height:calc(100svh - 116px)!important;overflow:auto!important}
}
@media(max-width:390px){
  .top{height:108px!important;min-height:108px!important}.brand{font-size:23px!important;top:10px!important}.hamb{width:43px!important;height:43px!important;min-width:43px!important}
  .header-center{top:57px!important;gap:3px!important}.header-center>.rank-chip{height:40px!important;min-width:40px!important;max-width:44px!important;padding:0 5px!important;font-size:9px!important}.header-center>.identity{height:40px!important;min-width:76px!important;max-width:104px!important;padding:0 6px!important;font-size:10px!important}.header-center>.identity .identity-name{max-width:42px!important;font-size:10px!important}.header-center>.identity-share-trigger{width:38px!important;height:38px!important;min-width:38px!important;flex-basis:38px!important}.header-center>.global-tools .header-icon{width:34px!important;height:34px!important;min-width:34px!important;flex-basis:34px!important;font-size:17px!important}.chat-shell{height:calc(100svh - 108px)!important}.menu{top:104px!important}
}
@media(max-width:340px){
  .top{height:104px!important;min-height:104px!important}.brand{font-size:21px!important}.hamb{width:40px!important;height:40px!important;min-width:40px!important}
  .header-center{top:55px!important;gap:2px!important}.header-center>.rank-chip{width:36px!important;min-width:36px!important;max-width:36px!important;height:36px!important;font-size:8px!important}.header-center>.identity{width:84px!important;min-width:68px!important;max-width:84px!important;height:36px!important;font-size:9px!important}.header-center>.identity .identity-name{max-width:35px!important;font-size:9px!important}.header-center>.identity .identity-mask{max-width:35px!important;font-size:7px!important}.header-center>.identity-share-trigger{width:34px!important;height:34px!important;min-width:34px!important;flex-basis:34px!important}.header-center>.global-tools .header-icon{width:31px!important;height:31px!important;min-width:31px!important;flex-basis:31px!important;font-size:16px!important}.chat-shell{height:calc(100svh - 104px)!important}.menu{top:100px!important}
}
@media(max-width:340px){
  .top{height:104px!important;min-height:104px!important}.brand{font-size:21px!important}.hamb{width:40px!important;height:40px!important;min-width:40px!important}.header-center{top:55px!important;gap:2px!important}.header-center>.rank-chip{min-width:38px!important;max-width:44px!important;height:38px!important;font-size:9px!important;padding:0 5px!important}.header-center>.identity{min-width:70px!important;max-width:96px!important;height:38px!important;font-size:9px!important}.header-center>.identity .identity-name{max-width:36px!important}.header-center>.identity-share-trigger{width:38px!important;height:38px!important;min-width:38px!important;flex-basis:38px!important}.header-center>.global-tools .header-icon{width:33px!important;height:33px!important;min-width:33px!important;flex-basis:33px!important;font-size:17px!important}.chat-shell{height:calc(100svh - 104px)!important}.menu{top:100px!important}
}

/* FINAL MOBILE NAVBAR FIX: two clean rows; menu opens below the entire navbar. */
@media(max-width:700px){
  .top{position:sticky!important;top:0!important;z-index:1000!important;width:100%!important;height:108px!important;min-height:108px!important;padding:0 8px!important;display:block!important;overflow:visible!important;box-sizing:border-box!important;}
  .brand{display:flex!important;position:absolute!important;left:8px!important;top:10px!important;width:auto!important;max-width:calc(100% - 62px)!important;height:40px!important;align-items:center!important;font-size:clamp(20px,6vw,25px)!important;line-height:1!important;white-space:nowrap!important;z-index:1002!important;}
  .hamb{position:absolute!important;right:8px!important;top:8px!important;width:42px!important;height:42px!important;min-width:42px!important;z-index:1003!important;margin:0!important;}
  /* Row 2: Rank | Username + Code | Share Code | Search | Inbox */
  .header-center{position:absolute!important;left:8px!important;right:8px!important;top:59px!important;transform:none!important;width:auto!important;max-width:none!important;height:40px!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:5px!important;margin:0!important;z-index:1001!important;overflow:visible!important;}
  .header-center>.rank-chip{display:flex!important;flex:0 0 40px!important;width:40px!important;min-width:40px!important;max-width:40px!important;height:38px!important;padding:0 5px!important;align-items:center!important;justify-content:center!important;font-size:9px!important;border-radius:11px!important;}
  .header-center>.identity{display:flex!important;flex:0 1 104px!important;width:auto!important;min-width:82px!important;max-width:112px!important;height:38px!important;padding:0 7px!important;align-items:center!important;gap:4px!important;border-radius:11px!important;font-size:10px!important;overflow:hidden!important;}
  .header-center>.identity .identity-name{max-width:48px!important;font-size:10px!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;}
  .header-center>.identity .identity-mask{max-width:48px!important;font-size:8px!important;letter-spacing:.7px!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;}
  .header-center>.identity-share-trigger{display:grid!important;place-items:center!important;flex:0 0 38px!important;width:38px!important;min-width:38px!important;height:38px!important;border-radius:11px!important;font-size:18px!important;}
  .header-center>.global-tools{display:flex!important;align-items:center!important;justify-content:center!important;flex:0 0 auto!important;width:auto!important;height:38px!important;padding:0!important;margin:0!important;gap:5px!important;background:transparent!important;border:0!important;box-shadow:none!important;border-radius:0!important;}
  .header-center>.global-tools .header-icon{display:flex!important;align-items:center!important;justify-content:center!important;flex:0 0 38px!important;width:38px!important;min-width:38px!important;height:38px!important;border:1px solid #cfe0ef!important;border-radius:11px!important;background:#fff!important;box-shadow:0 6px 16px rgba(38,79,120,.08)!important;font-size:18px!important;}
  /* Menu must never sit on top of the navbar. */
  .menu{position:fixed!important;top:108px!important;right:8px!important;left:auto!important;width:min(300px,calc(100vw - 16px))!important;max-height:calc(100dvh - 116px)!important;overflow:auto!important;z-index:2000!important;}
  .chat-shell{height:calc(100svh - 108px)!important;}
}
@media(max-width:390px){
  .top{height:104px!important;min-height:104px!important;}
  .brand{top:9px!important;font-size:22px!important;}
  .hamb{top:7px!important;width:40px!important;height:40px!important;min-width:40px!important;}
  .header-center{top:56px!important;gap:3px!important;}
  .header-center>.rank-chip{flex-basis:38px!important;width:38px!important;min-width:38px!important;height:36px!important;font-size:8px!important;}
  .header-center>.identity{flex-basis:96px!important;min-width:76px!important;max-width:102px!important;height:36px!important;}
  .header-center>.identity .identity-name{max-width:43px!important;font-size:9px!important;}
  .header-center>.identity .identity-mask{max-width:43px!important;font-size:7px!important;}
  .header-center>.identity-share-trigger{flex-basis:36px!important;width:36px!important;min-width:36px!important;height:36px!important;font-size:17px!important;}
  .header-center>.global-tools,.header-center>.global-tools .header-icon{height:36px!important;}
  .header-center>.global-tools .header-icon{flex-basis:36px!important;width:36px!important;min-width:36px!important;font-size:17px!important;}
  .menu{top:104px!important;max-height:calc(100dvh - 112px)!important;}
  .chat-shell{height:calc(100svh - 104px)!important;}
}
@media(max-width:340px){
  .top{height:100px!important;min-height:100px!important;}
  .brand{font-size:20px!important;}
  .header-center{top:54px!important;gap:2px!important;}
  .header-center>.rank-chip{flex-basis:34px!important;width:34px!important;min-width:34px!important;height:34px!important;font-size:7px!important;}
  .header-center>.identity{flex-basis:88px!important;min-width:68px!important;max-width:92px!important;height:34px!important;padding:0 5px!important;}
  .header-center>.identity .identity-name{max-width:38px!important;font-size:8px!important;}
  .header-center>.identity .identity-mask{max-width:38px!important;font-size:7px!important;}
  .header-center>.identity-share-trigger{flex-basis:34px!important;width:34px!important;min-width:34px!important;height:34px!important;}
  .header-center>.global-tools,.header-center>.global-tools .header-icon{height:34px!important;}
  .header-center>.global-tools .header-icon{flex-basis:34px!important;width:34px!important;min-width:34px!important;font-size:16px!important;}
  .hamb{width:38px!important;height:38px!important;min-width:38px!important;}
  .menu{top:100px!important;max-height:calc(100dvh - 108px)!important;}
  .chat-shell{height:calc(100svh - 100px)!important;}
}
.header-center>.identity{min-width:0!important}
.header-center>.global-tools{display:flex!important;align-items:center!important}
/* Scroll remains fully usable, but native scrollbar tracks stay visually hidden. */
html,body{scrollbar-width:none!important;-ms-overflow-style:none!important}
html::-webkit-scrollbar,body::-webkit-scrollbar,.top::-webkit-scrollbar,.header-center::-webkit-scrollbar,.menu::-webkit-scrollbar,.tools::-webkit-scrollbar,.autocomplete-list::-webkit-scrollbar,.inbox-list::-webkit-scrollbar,.direct-thread::-webkit-scrollbar,.topic-list::-webkit-scrollbar,.game-dialog::-webkit-scrollbar,.utility-dialog::-webkit-scrollbar,.share-editor::-webkit-scrollbar{display:none!important;width:0!important;height:0!important}

/* Poll option standard: compact enough for desktop, still a comfortable tap target. */
.poll-option-row{min-height:46px!important;padding:7px 10px!important;grid-template-columns:24px minmax(0,1fr) 28px!important;gap:7px!important;border-radius:12px!important}.poll-radio{width:20px!important;height:20px!important;font-size:11px!important}.poll-option-content{gap:4px!important}.poll-option-content strong{font-size:13px!important;line-height:1.2!important}.poll-bar{height:5px!important}.poll-option-row>b{font-size:11px!important;min-width:22px!important}
@media(max-width:700px){.poll-option-row{min-height:44px!important;padding:7px 9px!important;grid-template-columns:22px minmax(0,1fr) 25px!important;gap:6px!important}.poll-radio{width:19px!important;height:19px!important}.poll-option-content strong{font-size:12.5px!important}.poll-bar{height:5px!important}}
@media(max-width:390px){.poll-option-row{min-height:42px!important;padding:6px 8px!important;grid-template-columns:21px minmax(0,1fr) 23px!important}.poll-option-content strong{font-size:12px!important}}

/* Consistent page heading scale — keep feature pages visibly part of the same product. */
.hero h1,.community-hero h1,.poll-hero h1,.top-hero h1,.feedback-copy h1,.mode-card h1{font-size:clamp(32px,4.2vw,48px)!important;line-height:1.06!important;letter-spacing:-1.8px!important}
main>section:not(.hero) h2,.section-title h2,.feed-head h2,.ranking-head h2,.top20-head h2,.feedback-card h2{font-size:clamp(22px,2.8vw,32px)!important;line-height:1.14!important;letter-spacing:-.9px!important}
@media(max-width:700px){.hero h1,.community-hero h1,.poll-hero h1,.top-hero h1,.feedback-copy h1,.mode-card h1{font-size:clamp(28px,8.8vw,38px)!important;letter-spacing:-1.3px!important}.main>section:not(.hero) h2,main>section:not(.hero) h2,.section-title h2,.feed-head h2,.ranking-head h2,.top20-head h2,.feedback-card h2{font-size:clamp(20px,6vw,27px)!important}}

/* Targeted final pass: stable desktop header, slightly lowered mobile header, readable topics, and standard Top-20 speed. */
@media(min-width:701px){
  .site{padding-top:78px!important}
  .top{position:fixed!important;left:50%!important;top:0!important;right:auto!important;transform:translateX(-50%)!important;width:min(1180px,calc(100% - 40px))!important;margin:0 auto!important}
}
@media(max-width:700px){
  .top{position:sticky!important;top:6px!important;height:76px!important;min-height:76px!important}
  .header-center{top:50%!important}
  .chat-shell{height:calc(100svh - 76px)!important}
  .menu{top:72px!important;max-height:calc(100svh - 80px)!important}
}
.topic-item{display:grid!important;grid-template-columns:30px minmax(0,1fr)!important;align-items:start!important;gap:9px!important;width:100%!important;min-height:50px!important;padding:10px 11px!important;line-height:1.38!important;overflow-wrap:anywhere!important;word-break:break-word!important}
.topic-item span{display:grid!important;place-items:center!important;width:30px!important;height:30px!important;margin:0!important;flex:0 0 30px!important}
@media(max-width:700px){.topic-list{grid-template-columns:1fr!important;gap:7px!important}.topic-item{font-size:13px!important;min-height:48px!important;padding:9px 10px!important}}
.top20-track{animation:none!important}
/* Final targeted responsive pass */
.top{width:100vw;margin-left:calc(50% - 50vw);padding-inline:max(20px,calc((100vw - 1180px)/2));min-width:0;}
.header-center{min-width:0;}
.share-message-tools,.share-design-actions{display:flex;align-items:center;gap:6px}.share-design-actions .header-icon{flex:0 0 40px}.share-control-title{min-width:0}.share-message-value{overflow-wrap:anywhere}.share-editor{overflow-x:hidden}.share-theme-grid{display:none!important}
.ranking-head-actions{display:flex;align-items:center;gap:8px}.permission-settings-trigger{display:none}.permission-settings-modal{z-index:800}.permission-settings-dialog{max-width:560px}.permission-mobile-block{display:grid;gap:9px}.permission-mobile-block .switch-label{display:flex;align-items:flex-start;justify-content:space-between}.permission-mobile-block .field{margin-top:-3px}
.footer{display:none}.site>.footer{display:none}
body:has(.top20-strip) .footer{display:block}.top20-scroller{overflow:hidden!important;overscroll-behavior-x:none;touch-action:pan-y}.top20-track{transform:translate3d(0,0,0);}
@media(max-width:700px){
 .top{height:76px;top:6px;padding-inline:12px;}
 .brand{transform:translateY(5px)}
 .header-center{top:calc(50% + 5px);max-width:calc(100% - 104px)!important;}
 .hamb{transform:translateY(5px)}
 .menu{top:78px}
 .share-editor{width:calc(100vw - 14px);padding:12px;border-radius:20px;max-height:calc(100dvh - 18px)}
 .share-editor-head{margin-bottom:10px}.share-editor-head h2{font-size:23px}.share-editor-head p{font-size:12px;line-height:1.35}
 .share-editor-grid{grid-template-columns:1fr;gap:10px}.share-preview-pane{order:0}.share-controls{order:1}.share-preview-card{aspect-ratio:4/5;padding:18px}.share-preview-card h3{font-size:clamp(34px,11vw,48px);letter-spacing:-2px}.share-preview-message{padding:14px}.share-preview-message p{font-size:14px;margin-top:20px}.share-preview-actions{grid-template-columns:repeat(3,1fr)}.share-preview-actions .btn{min-height:42px;padding:9px 6px;font-size:11px}.share-control{padding:13px;border-radius:16px}.share-control-actions .btn{min-height:40px}.share-design-control{padding:12px}.share-design-actions .header-icon{width:38px;height:38px}
 .ranking-head{align-items:center}.permission-settings-trigger{display:grid}.rank-updated{font-size:10px}.rank-permission,.instagramPermission{display:none!important}.permission-settings-dialog{width:calc(100vw - 18px);max-height:88dvh;padding:48px 14px 14px;border-radius:20px}.permission-settings-dialog h2{font-size:23px;margin:12px 0 6px}.permission-mobile-block .switch-label{padding:10px}.permission-mobile-block .switch-label small{display:block;color:#728096;font-size:10px;margin-top:2px}.permission-mobile-block .field{min-height:42px}.top20-strip{padding:12px}.top20-head h2{font-size:24px!important}.top20-card{flex-basis:210px!important;min-height:188px!important;padding:14px!important}.top20-profile{align-items:flex-start!important}.top20-profile strong{white-space:normal!important;overflow:visible!important;text-overflow:clip!important;overflow-wrap:anywhere!important}.top20-code,.top20-instagram{font-size:11px!important;white-space:normal!important;overflow-wrap:anywhere!important}.top20-meta span{font-size:10px!important}.top20-message{min-height:38px!important}
}
@media(min-width:701px){.site>.footer{display:none}.top20-track{will-change:transform}}
@media(min-width:1200px){.top20-card{flex-basis:250px!important}.top20-track{gap:16px!important}}
@media(max-width:700px){.chat-shell{height:calc(100dvh - 82px)}}
@media(max-width:700px){.top20-strip{padding:14px!important}.top20-card{flex-basis:215px!important;min-height:188px!important}}
@media(max-width:430px){.top20-card{flex-basis:200px!important;min-height:182px!important}}

/* StrangerTalk navigation typography: every menu item and group control uses one consistent type scale. */
.menu a,.menu-group-title{font-family:inherit!important;font-size:15px!important;line-height:1.2!important;font-weight:800!important;letter-spacing:0!important;text-transform:none!important}
.menu-group-title{color:#172033!important}

/* StrangerTalk final mobile navigation architecture: two deliberate rows, no overlap. */
@media(max-width:700px){
  .top{
    height:118px!important;
    min-height:118px!important;
    top:0!important;
    padding:8px 12px!important;
    display:block!important;
    overflow:visible!important;
    box-shadow:0 8px 24px rgba(33,58,88,.08)!important;
  }
  .brand{
    position:absolute!important;
    left:12px!important;
    top:12px!important;
    height:42px!important;
    min-height:42px!important;
    transform:none!important;
    font-size:24px!important;
    line-height:1!important;
    z-index:12!important;
  }
  .hamb{
    position:absolute!important;
    right:12px!important;
    top:8px!important;
    width:44px!important;
    height:44px!important;
    min-width:44px!important;
    transform:none!important;
    z-index:13!important;
  }
  /* Mobile requirement: row 1 is ONLY brand + hamburger. Row 2 is Rank + Username/Code + Share Code + Search + Inbox. */
  .header-center{
    position:absolute!important;
    left:8px!important;
    right:8px!important;
    top:64px!important;
    width:auto!important;
    max-width:none!important;
    height:46px!important;
    min-width:0!important;
    transform:none!important;
    display:flex!important;
    justify-content:center!important;
    align-items:center!important;
    gap:5px!important;
    z-index:11!important;
    overflow:visible!important;
  }
  .header-center>.rank-chip{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:44px!important;
    min-width:44px!important;
    max-width:44px!important;
    height:40px!important;
    padding:0 6px!important;
    border-radius:12px!important;
    font-size:10px!important;
    line-height:1!important;
  }
  .header-center>.identity{
    width:104px!important;
    min-width:78px!important;
    max-width:104px!important;
    height:40px!important;
    padding:0 8px!important;
    border-radius:12px!important;
    font-size:11px!important;
    gap:5px!important;
  }
  .header-center>.identity .identity-name{max-width:44px!important;font-size:11px!important}
  .header-center>.identity .identity-mask{font-size:9px!important;letter-spacing:.7px!important}
  /* Keep all five row-2 controls visible even on narrow phones. */
  .header-center>.identity{flex:0 1 104px!important;overflow:hidden!important}
  .header-center>.identity .identity-name,.header-center>.identity .identity-mask{overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
  .header-center>.identity-share-trigger{
    width:40px!important;height:40px!important;min-width:40px!important;flex:0 0 40px!important;
    border-radius:12px!important;font-size:19px!important;
  }
  /* Search and Inbox remain individual controls on row 2, immediately after Share Code. */
  .header-center>.global-tools{
    display:flex!important;align-items:center!important;justify-content:center!important;gap:4px!important;height:40px!important;
    width:auto!important;min-width:0!important;padding:0!important;margin:0!important;
    background:transparent!important;border:0!important;box-shadow:none!important;flex:0 0 auto!important;
  }
  .header-center>.global-tools .header-icon{
    display:grid!important;place-items:center!important;
    width:38px!important;height:38px!important;min-width:38px!important;flex:0 0 38px!important;
    border:1px solid #d7dfeb!important;border-radius:12px!important;background:#fff!important;
    box-shadow:0 6px 16px rgba(38,79,120,.08)!important;font-size:18px!important;
  }
  .header-center>.global-tools .search-trigger,
  .header-center>.global-tools .inbox-trigger{display:grid!important;place-items:center!important;}
  /* Menu is a fixed second-level surface below the complete two-row header. */
  .menu{
    position:fixed!important;
    top:124px!important;
    right:12px!important;
    left:auto!important;
    width:min(320px,calc(100vw - 24px))!important;
    max-height:calc(100dvh - 136px)!important;
    overflow-y:auto!important;
    z-index:3000!important;
    padding:8px!important;
    border-radius:16px!important;
  }
  .menu a,
  .menu-group-title{
    font-family:inherit!important;
    font-size:15px!important;
    line-height:1.2!important;
    font-weight:800!important;
    letter-spacing:0!important;
    text-transform:none!important;
    color:#172033!important;
  }
  .menu a{padding:12px 13px!important}
  .menu-group-title{padding:12px 13px!important;color:#172033!important}
  .menu-group-title b{font-size:16px!important;font-weight:800!important}
  .menu-group-links{gap:2px!important}
}
@media(max-width:360px){
  .top{height:116px!important;min-height:116px!important}
  .brand{font-size:22px!important}
  .header-center{left:8px!important;right:8px!important;top:63px!important;gap:4px!important}
  .header-center>.rank-chip{width:40px!important;min-width:40px!important;max-width:40px!important;font-size:9px!important}
  .header-center>.identity{width:94px!important;max-width:94px!important;min-width:72px!important;padding:0 6px!important;font-size:10px!important}
  .header-center>.identity .identity-name{max-width:39px!important;font-size:10px!important}
  .header-center>.identity .identity-mask{font-size:8px!important}
  .header-center>.identity-share-trigger{width:36px!important;min-width:36px!important;height:36px!important;flex-basis:36px!important}
  .header-center>.global-tools{gap:3px!important}
  .header-center>.global-tools .header-icon{width:34px!important;height:34px!important;min-width:34px!important;font-size:17px!important}
  .menu{top:122px!important;right:8px!important;width:calc(100vw - 16px)!important;max-height:calc(100dvh - 132px)!important}
}

/* StrangerTalk navigation + connection-card final polish */
.top{width:100%!important;max-width:1180px!important;margin-left:auto!important;margin-right:auto!important;background:transparent!important;box-shadow:none!important;backdrop-filter:none!important;border-bottom:0!important;transition:background .28s ease,box-shadow .28s ease,backdrop-filter .28s ease}
.top.is-scrolled{background:color-mix(in srgb,var(--page-bg,#f7f9fc) 82%,transparent)!important;backdrop-filter:blur(12px) saturate(125%)!important;box-shadow:0 8px 24px rgba(33,58,88,.045)!important}
.site{--page-bg:#f7f9fc}
.menu-group{position:relative!important}
.menu-group-title b{display:none!important}
.menu-group-title:after{content:'›';font-size:18px;font-weight:900;line-height:1;transition:transform .18s ease;color:#7a8ca0}
.menu-group.open>.menu-group-title:after{transform:rotate(90deg)}
.menu-group-links{display:none!important;position:absolute!important;right:calc(100% + 10px)!important;top:0!important;width:230px!important;padding:8px!important;background:#fff!important;border:1px solid #dfe5ee!important;border-radius:15px!important;box-shadow:0 18px 45px rgba(23,38,59,.14)!important;z-index:3100!important}
.menu-group.open>.menu-group-links{display:grid!important}
.menu-group-links a{padding:10px 11px!important;border-radius:10px!important}
.menu-group-links a:hover{background:#f3f6fb!important}
@media(max-width:700px){
  /* Exact mobile navbar: row 1 = brand + rank + identity + share + menu; row 2 = search + inbox. */
  .top{width:100%!important;max-width:none!important;margin:0!important;display:flex!important;flex-wrap:wrap!important;align-content:flex-start!important;align-items:center!important;gap:5px!important;height:auto!important;min-height:0!important;padding:7px 8px 8px!important;}
  .brand{order:1!important;flex:0 1 auto!important;min-width:0!important;font-size:19px!important;line-height:1!important;white-space:nowrap!important;}
  .header-center{order:2!important;position:static!important;transform:none!important;display:contents!important;}
  .header-center>.rank-chip{order:2!important;width:36px!important;min-width:36px!important;max-width:36px!important;height:38px!important;padding:0 4px!important;font-size:9px!important;border-radius:11px!important;display:flex!important;align-items:center!important;justify-content:center!important;}
  /* Username + code are ONE combined identity element. */
  .header-center>.mobile-name-chip,.header-center>.mobile-code-chip{display:none!important;}
  .header-center>.identity{order:3!important;width:108px!important;min-width:82px!important;max-width:118px!important;height:38px!important;padding:0 7px!important;font-size:10px!important;border-radius:11px!important;gap:4px!important;}
  .header-center>.identity .identity-name{max-width:54px!important;font-size:10px!important}.header-center>.identity .identity-mask{font-size:8px!important;letter-spacing:.5px!important}
  .header-center>.identity-share-trigger{order:5!important;width:36px!important;height:36px!important;min-width:36px!important;flex:0 0 36px!important;border-radius:11px!important;font-size:17px!important;}
  .hamb{order:6!important;width:40px!important;height:40px!important;min-width:40px!important;flex:0 0 40px!important;margin-left:auto!important;position:static!important;transform:none!important;}
  /* Row 2 is ONLY the existing Search + Inbox controls. */
  .header-center>.global-tools{order:10!important;flex:0 0 100%!important;width:100%!important;height:40px!important;display:flex!important;justify-content:center!important;align-items:center!important;gap:8px!important;padding:0!important;margin-top:2px!important;background:transparent!important;border:0!important;box-shadow:none!important;}
  .header-center>.global-tools>*{display:none!important;}
  .header-center>.global-tools .search-btn,.header-center>.global-tools [aria-label*="Search" i],.header-center>.global-tools [title*="Search" i],.header-center>.global-tools .inbox-btn,.header-center>.global-tools [aria-label*="Inbox" i],.header-center>.global-tools [aria-label*="message" i],.header-center>.global-tools [title*="Inbox" i]{display:flex!important;align-items:center!important;justify-content:center!important;}
  .header-center>.global-tools .header-icon{width:40px!important;height:40px!important;min-width:40px!important;border:1px solid #d7dfeb!important;border-radius:11px!important;background:#fff!important;box-shadow:0 6px 16px rgba(38,79,120,.08)!important;font-size:19px!important;}
  .menu{position:fixed!important;top:calc(var(--st-nav-h,96px) + 6px)!important;right:8px!important;left:auto!important;width:min(300px,calc(100vw - 16px))!important;max-height:calc(100dvh - var(--st-nav-h,96px) - 14px)!important;overflow:auto!important;}
  .menu-group-links{position:fixed!important;right:8px!important;left:auto!important;top:calc(var(--st-nav-h,96px) + 6px)!important;width:min(290px,calc(100vw - 16px))!important;max-height:calc(100dvh - var(--st-nav-h,96px) - 14px)!important;overflow:auto!important}
  .menu-group.open>.menu-group-links{display:grid!important}
  .menu-group-title:after{font-size:17px}.menu-group-links a{font-size:15px!important}
}
@media(max-width:360px){.top{gap:3px!important;padding-left:5px!important;padding-right:5px!important}.brand{font-size:17px!important}.header-center>.rank-chip{width:32px!important;min-width:32px!important}.header-center>.identity{width:76px!important;min-width:68px!important;max-width:84px!important;padding:0 4px!important;font-size:9px!important}.header-center>.identity .identity-name{max-width:38px!important;font-size:9px!important}.header-center>.identity .identity-mask{font-size:7px!important}.header-center>.identity-share-trigger{width:34px!important;height:34px!important;min-width:34px!important;flex-basis:34px!important}.hamb{width:36px!important;height:36px!important;min-width:36px!important}.header-center>.global-tools .header-icon{width:38px!important;height:38px!important;min-width:38px!important}}
@media(min-width:701px){.menu{position:fixed!important;right:max(20px,calc((100vw - 1180px)/2 + 20px))!important}.menu-group-links{top:0!important}}

/* Connection cards: compact, high-contrast identity/code block with less empty space. */
.share-preview{width:min(100%,520px)!important}
.share-preview-card{padding:24px!important;gap:12px!important;aspect-ratio:5/6!important;justify-content:space-between!important}
.share-preview-card h3{font-size:clamp(40px,5.3vw,62px)!important;letter-spacing:-2.5px!important;margin:8px 0 7px!important;max-width:100%!important;overflow-wrap:anywhere!important}
.share-preview-code{display:inline-flex!important;align-items:center!important;min-height:34px!important;padding:7px 12px!important;font-size:14px!important;letter-spacing:1.4px!important;font-weight:950!important;color:inherit!important;background:rgba(255,255,255,.78)!important;border:1px solid rgba(255,255,255,.9)!important;box-shadow:0 5px 16px rgba(0,0,0,.06)!important}
.share-preview-message{padding:16px 18px!important;border-radius:18px!important}
.share-preview-message p{font-size:clamp(15px,1.9vw,20px)!important;line-height:1.32!important;margin:20px 0 12px!important}
.share-preview-footer{font-size:10px!important}
.share-preview-actions{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important}
.share-preview-actions .btn{min-height:44px!important}
@media(max-width:700px){.share-preview{width:min(100%,390px)!important}.share-preview-card{aspect-ratio:4/5!important;padding:18px!important}.share-preview-card h3{font-size:clamp(34px,11vw,48px)!important}.share-preview-code{font-size:13px!important}.share-preview-message{padding:14px!important}.share-preview-message p{font-size:14px!important}.share-preview-actions{grid-template-columns:repeat(3,minmax(0,1fr))!important}}

/* Remove the old inline announcement strip; announcements are now modal-first. */
.admin-announcement{display:none!important}
.announcement-dialog{max-width:620px!important;padding:24px!important}.announcement-dialog-top{display:flex;align-items:center;justify-content:space-between;gap:12px}.announcement-dialog h2{font-size:28px!important;margin:14px 0 8px!important}.announcement-body{font-size:15px!important;line-height:1.65!important;white-space:pre-wrap!important}.announcement-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:22px}.announcement-actions .btn{min-height:46px}

/* Top Chatter: compact mobile-safe cards and a single settings entry point. */
.rank-permission#instagramPermission{display:none!important}
.ranking-card{min-width:0!important;grid-template-columns:48px minmax(0,1fr) auto!important;gap:10px!important}
.rank-person{min-width:0!important;overflow:hidden!important}.rank-person strong,.rank-person span,.rank-person a{overflow-wrap:anywhere!important;word-break:break-word!important}
.rank-actions{min-width:74px!important;display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:5px!important}
@media(max-width:600px){.ranking-card{grid-template-columns:40px minmax(0,1fr) 70px!important;padding:10px!important;gap:7px!important}.rank-badge{width:38px!important;height:38px!important}.rank-person strong{font-size:14px!important}.rank-person span{font-size:10px!important;line-height:1.35!important}.rank-actions{min-width:70px!important}.rank-actions .btn{font-size:10px!important;padding:7px 8px!important}.rank-share{width:34px!important;height:34px!important}}

/* AUTHORITATIVE MOBILE VIEWPORT LAYOUT — this is intentionally last so older responsive overrides cannot win. */
@media(max-width:700px){
  :root{--st-mobile-nav-h:0px;--st-mobile-vh:100dvh}
  html{height:100%;min-height:100%;overflow-x:hidden}
  body{min-height:var(--st-mobile-vh);overflow-x:hidden}
  .top,.top.st-nav-overhaul{
    position:fixed!important;
    top:0!important;
    left:0!important;
    right:auto!important;
    width:100vw!important;
    max-width:none!important;
    height:var(--st-mobile-nav-h)!important;
    min-height:var(--st-mobile-nav-h)!important;
    margin:0!important;
    z-index:10000!important;
    transform:none!important;
    border-radius:0!important;
    box-sizing:border-box!important;
  }
  .site{width:min(calc(100vw - 16px),1180px)!important;max-width:none!important;margin-inline:auto!important;padding-top:calc(var(--st-mobile-nav-h) + 12px)!important;box-sizing:border-box!important}
  .top>.menu{position:fixed!important;top:calc(var(--st-mobile-nav-h) + 8px)!important;right:8px!important;left:auto!important;width:min(310px,calc(100vw - 16px))!important;max-height:calc(var(--st-mobile-vh) - var(--st-mobile-nav-h) - 16px)!important;z-index:10001!important}
  .top .header-center{max-width:none!important}

  body.chat-page .site{height:var(--st-mobile-vh)!important;min-height:var(--st-mobile-vh)!important;overflow:hidden!important;padding-top:var(--st-mobile-nav-h)!important}
  body.chat-page .chat-shell{height:calc(var(--st-mobile-vh) - var(--st-mobile-nav-h))!important;min-height:0!important;max-height:calc(var(--st-mobile-vh) - var(--st-mobile-nav-h))!important;padding-bottom:env(safe-area-inset-bottom)!important;overflow:hidden!important;box-sizing:border-box!important}
  body.chat-page .chat-head{flex:0 0 auto!important}
  body.chat-page .chat{flex:1 1 auto!important;min-height:0!important;height:auto!important;max-height:none!important;overflow-y:auto!important;overflow-x:hidden!important;scrollbar-width:none!important;-ms-overflow-style:none!important;overscroll-behavior:contain!important}
  body.chat-page .chat::-webkit-scrollbar{display:none!important;width:0!important;height:0!important}
  body.chat-page .composer{flex:0 0 auto!important;position:relative!important;bottom:auto!important;min-height:0!important;padding-bottom:max(8px,env(safe-area-inset-bottom))!important}
  body.chat-page .chat-shell .tools{position:absolute!important;z-index:10002!important}
}
@media(max-width:360px){
  .site{width:min(calc(100vw - 10px),1180px)!important}
}

/* Authoritative fixed top-center StrangerTalk navigation */
.top,.top.st-nav-overhaul{
  position:fixed!important;
  top:10px!important;
  left:50%!important;
  right:auto!important;
  width:min(1380px,calc(100vw - 32px))!important;
  max-width:1380px!important;
  height:72px!important;
  min-height:72px!important;
  margin:0!important;
  transform:translateX(-50%)!important;
  z-index:5000!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  padding:0 18px!important;
  gap:14px!important;
  border:1px solid rgba(198,210,226,.9)!important;
  border-radius:22px!important;
  background:rgba(248,250,253,.94)!important;
  box-shadow:0 14px 38px rgba(35,55,82,.12)!important;
  backdrop-filter:blur(18px) saturate(135%)!important;
  -webkit-backdrop-filter:blur(18px) saturate(135%)!important;
  overflow:visible!important;
}
.top>.brand{margin:0 auto 0 0!important;flex:0 0 auto!important}
.top>.header-center{position:static!important;transform:none!important;flex:0 1 auto!important;min-width:0!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:9px!important;margin:0!important}
.top>.hamb{position:static!important;transform:none!important;flex:0 0 50px!important;margin:0 0 0 2px!important}
.top>.menu{position:fixed!important;top:90px!important;left:auto!important;right:max(16px,calc((100vw - 1380px)/2))!important;width:min(420px,calc(100vw - 32px))!important;max-height:calc(100dvh - 108px)!important;z-index:5100!important}

@media(min-width:901px){
  .top{height:76px!important;min-height:76px!important;width:min(1460px,calc(100vw - 40px))!important;max-width:1460px!important;padding-inline:24px!important;border-radius:24px!important;gap:16px!important}
  .top>.header-center{gap:10px!important}
  .top>.header-center>.rank-chip{height:52px!important;min-width:74px!important;padding-inline:18px!important;font-size:13px!important}
  .top>.header-center>.identity{height:52px!important;max-width:330px!important;padding-inline:17px!important}
  .top>.header-center>.identity-share-trigger{width:52px!important;height:52px!important;flex-basis:52px!important}
  .top>.header-center>.global-tools{height:52px!important}
  .top>.header-center>.global-tools .header-icon{width:44px!important;height:46px!important}
  .top>.hamb{width:52px!important;height:52px!important;flex-basis:52px!important}
}

@media(max-width:900px){
  .top,.top.st-nav-overhaul{
    top:8px!important;
    width:calc(100vw - 20px)!important;
    max-width:none!important;
    height:64px!important;
    min-height:64px!important;
    padding:0 10px!important;
    border-radius:18px!important;
    gap:5px!important;
  }
  .site{padding-top:82px!important}
  .top>.brand{font-size:21px!important;letter-spacing:-1px!important;padding-left:25px!important}
  .top>.header-center{gap:4px!important;max-width:calc(100vw - 138px)!important;overflow:visible!important}
  .top>.header-center>.rank-chip{height:40px!important;min-width:42px!important;padding-inline:8px!important;font-size:10px!important}
  .top>.header-center>.identity{height:40px!important;max-width:190px!important;min-width:92px!important;padding-inline:9px!important;font-size:11px!important}
  .top>.header-center>.identity-share-trigger{width:40px!important;height:40px!important;flex-basis:40px!important}
  .top>.header-center>.global-tools{height:40px!important;padding:1px 2px!important}
  .top>.header-center>.global-tools .header-icon{width:34px!important;height:36px!important;font-size:18px!important}
  .top>.hamb{width:42px!important;height:42px!important;flex-basis:42px!important}
  .top>.menu{top:78px!important;right:10px!important;left:auto!important;width:calc(100vw - 20px)!important;max-width:none!important}
}

@media(max-width:600px){
  .top,.top.st-nav-overhaul{top:6px!important;width:calc(100vw - 12px)!important;height:58px!important;min-height:58px!important;padding:0 7px!important;border-radius:16px!important}
  .site{padding-top:72px!important}
  .top>.brand{font-size:18px!important;padding-left:22px!important;flex:0 0 auto!important}
  .top>.brand:before{width:19px!important;height:28px!important}
  .top>.header-center{gap:3px!important;max-width:none!important;flex:1 1 auto!important;justify-content:flex-end!important}
  .top>.header-center>.rank-chip{height:36px!important;min-width:36px!important;width:36px!important;padding:0!important;font-size:9px!important}
  .top>.header-center>.identity{height:36px!important;min-width:78px!important;max-width:118px!important;padding:0 6px!important;font-size:10px!important}
  .top>.header-center>.identity .identity-name{max-width:38px!important}
  .top>.header-center>.identity-share-trigger{width:36px!important;height:36px!important;flex-basis:36px!important;font-size:18px!important}
  .top>.header-center>.global-tools{height:36px!important;width:auto!important;padding:0 1px!important;gap:0!important}
  .top>.header-center>.global-tools .header-icon{width:30px!important;height:32px!important;font-size:16px!important}
  .top>.hamb{width:38px!important;height:38px!important;flex-basis:38px!important;font-size:21px!important}
  .top>.menu{top:70px!important;right:6px!important;width:calc(100vw - 12px)!important;max-height:calc(100dvh - 82px)!important}
}

@media(max-width:380px){
  .top{width:calc(100vw - 8px)!important;padding-inline:5px!important}
  .top>.brand{font-size:16px!important;padding-left:21px!important}
  .top>.header-center>.rank-chip{display:none!important}
  .top>.header-center>.identity{min-width:72px!important;max-width:94px!important}
  .top>.header-center>.identity-share-trigger{width:34px!important;height:34px!important;flex-basis:34px!important}
  .top>.header-center>.global-tools .header-icon{width:28px!important}
  .top>.hamb{width:36px!important;height:36px!important;flex-basis:36px!important}
}

/* === Mobile fixed centered navigation === */
@media(max-width:700px){
  :root{--st-mobile-nav-h:62px}
  .site{padding-top:calc(var(--st-mobile-nav-h) + 14px)!important}
  .top,.top.st-nav-overhaul{
    position:fixed!important;
    top:8px!important;
    left:50%!important;
    right:auto!important;
    transform:translateX(-50%)!important;
    width:calc(100vw - 16px)!important;
    max-width:430px!important;
    height:var(--st-mobile-nav-h)!important;
    min-height:var(--st-mobile-nav-h)!important;
    margin:0!important;
    padding:7px 8px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:5px!important;
    overflow:visible!important;
    border:1px solid rgba(208,218,232,.9)!important;
    border-radius:18px!important;
    background:rgba(255,255,255,.94)!important;
    box-shadow:0 10px 32px rgba(35,55,82,.14)!important;
    backdrop-filter:blur(18px) saturate(140%)!important;
    -webkit-backdrop-filter:blur(18px) saturate(140%)!important;
    z-index:5000!important;
  }
  .top>.brand{display:none!important}
  .top>.header-center{
    position:static!important;
    transform:none!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    flex:1 1 auto!important;
    width:auto!important;
    min-width:0!important;
    max-width:none!important;
    margin:0!important;
    gap:4px!important;
    overflow:visible!important;
  }
  .top>.header-center>.rank-chip{
    display:flex!important;
    flex:0 0 40px!important;
    width:40px!important;
    min-width:40px!important;
    max-width:40px!important;
    height:42px!important;
    padding:0 5px!important;
    border-radius:12px!important;
    font-size:10px!important;
    line-height:1!important;
  }
  .top>.header-center>.identity{
    display:flex!important;
    flex:1 1 auto!important;
    width:auto!important;
    min-width:76px!important;
    max-width:none!important;
    height:42px!important;
    padding:0 8px!important;
    gap:4px!important;
    border-radius:12px!important;
    font-size:10px!important;
    overflow:hidden!important;
  }
  .top>.header-center>.identity .identity-name{max-width:46px!important;font-size:10px!important}
  .top>.header-center>.identity .identity-mask{font-size:9px!important;letter-spacing:1px!important}
  .top>.header-center>.identity .identity-eye{width:18px!important;min-width:18px!important;height:18px!important;display:inline-flex!important}
  .top>.header-center>.identity .identity-eye svg{width:18px!important;height:14px!important}
  .top>.header-center>.identity-share-trigger{
    display:inline-flex!important;
    flex:0 0 38px!important;
    width:38px!important;
    min-width:38px!important;
    height:42px!important;
    border-radius:12px!important;
    font-size:20px!important;
  }
  .top>.header-center>.global-tools{
    display:grid!important;
    grid-template-columns:36px 36px!important;
    flex:0 0 74px!important;
    width:74px!important;
    min-width:74px!important;
    height:42px!important;
    padding:2px!important;
    gap:0!important;
    border-radius:12px!important;
  }
  .top>.header-center>.global-tools .header-icon{width:36px!important;height:38px!important;font-size:18px!important;border-radius:10px!important}
  .top>.hamb{
    position:static!important;
    transform:none!important;
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    flex:0 0 42px!important;
    width:42px!important;
    min-width:42px!important;
    height:42px!important;
    margin:0!important;
    border-radius:12px!important;
    font-size:22px!important;
  }
  .top>.menu{
    position:fixed!important;
    top:calc(var(--st-mobile-nav-h) + 16px)!important;
    left:50%!important;
    right:auto!important;
    transform:translateX(-50%)!important;
    width:calc(100vw - 24px)!important;
    max-width:430px!important;
    max-height:calc(100dvh - var(--st-mobile-nav-h) - 28px)!important;
    overflow:auto!important;
    margin:0!important;
    padding:8px!important;
    border-radius:16px!important;
    box-shadow:0 18px 50px rgba(24,40,62,.22)!important;
    z-index:5100!important;
  }
}
@media(max-width:360px){
  .top,.top.st-nav-overhaul{width:calc(100vw - 12px)!important;padding-inline:6px!important;gap:3px!important}
  .top>.header-center{gap:3px!important}
  .top>.header-center>.rank-chip{flex-basis:36px!important;width:36px!important;min-width:36px!important;height:40px!important;font-size:9px!important}
  .top>.header-center>.identity{min-width:70px!important;height:40px!important;padding-inline:6px!important}
  .top>.header-center>.identity .identity-name{max-width:40px!important;font-size:9px!important}
  .top>.header-center>.identity .identity-mask{font-size:8px!important}
  .top>.header-center>.identity-share-trigger{flex-basis:36px!important;width:36px!important;min-width:36px!important;height:40px!important;font-size:18px!important}
  .top>.header-center>.global-tools{flex-basis:68px!important;width:68px!important;min-width:68px!important;grid-template-columns:33px 33px!important;height:40px!important}
  .top>.header-center>.global-tools .header-icon{width:33px!important;height:36px!important;font-size:17px!important}
  .top>.hamb{flex-basis:38px!important;width:38px!important;min-width:38px!important;height:40px!important;font-size:20px!important}
}
@media(max-width:320px){
  .top,.top.st-nav-overhaul{width:calc(100vw - 8px)!important;padding-inline:4px!important}
  .top>.header-center>.rank-chip{display:none!important}
  .top>.header-center>.identity{min-width:66px!important}
  .top>.header-center>.identity .identity-name{max-width:34px!important}
  .top>.header-center>.identity-share-trigger{display:none!important}
  .top>.header-center>.global-tools{flex-basis:66px!important;width:66px!important;min-width:66px!important;grid-template-columns:32px 32px!important}
  .top>.hamb{flex-basis:36px!important;width:36px!important;min-width:36px!important;font-size:19px!important}
}

/* === AUTHORITATIVE MOBILE NAVBAR: exact requested structure ===
   Row 1: StrangerTalk | hamburger
   Row 2: Rank | Username+Code | Share Code | Search | Inbox
*/
.st-mobile-row1,.st-mobile-row2{display:contents}
@media(max-width:700px){
  .top.st-mobile-navbar-structured,.top.st-nav-overhaul.st-mobile-navbar-structured{
    position:fixed!important;top:0!important;left:50%!important;transform:translateX(-50%)!important;
    width:100vw!important;max-width:none!important;height:110px!important;min-height:110px!important;
    margin:0!important;padding:0 8px!important;display:block!important;overflow:visible!important;
    border-radius:0 0 16px 16px!important;z-index:10000!important;box-sizing:border-box!important;
  }
  .top.st-mobile-navbar-structured .st-mobile-row1{
    display:flex!important;width:100%!important;height:52px!important;align-items:center!important;justify-content:space-between!important;
    gap:8px!important;box-sizing:border-box!important;
  }
  .top.st-mobile-navbar-structured .st-mobile-row1>.brand{
    display:flex!important;position:static!important;transform:none!important;order:1!important;
    flex:0 1 auto!important;min-width:0!important;max-width:calc(100% - 54px)!important;
    margin:0!important;padding:0!important;font-size:20px!important;line-height:1!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;
  }
  .top.st-mobile-navbar-structured .st-mobile-row1>.hamb{
    display:flex!important;align-items:center!important;justify-content:center!important;position:static!important;transform:none!important;order:2!important;
    flex:0 0 42px!important;width:42px!important;min-width:42px!important;height:42px!important;margin:0!important;border-radius:12px!important;
  }
  .top.st-mobile-navbar-structured .st-mobile-row2{
    display:grid!important;width:100%!important;height:58px!important;align-items:center!important;
    grid-template-columns:44px minmax(78px,1fr) 40px 85px!important;gap:5px!important;box-sizing:border-box!important;
  }
  .top.st-mobile-navbar-structured .st-mobile-row2>.rank-chip{
    display:flex!important;align-items:center!important;justify-content:center!important;position:static!important;transform:none!important;
    width:44px!important;min-width:44px!important;height:40px!important;margin:0!important;padding:0 5px!important;font-size:9px!important;border-radius:12px!important;overflow:hidden!important;
  }
  .top.st-mobile-navbar-structured .st-mobile-row2>.identity{
    display:flex!important;align-items:center!important;position:static!important;transform:none!important;
    width:auto!important;min-width:78px!important;max-width:none!important;height:40px!important;margin:0!important;padding:0 7px!important;
    border-radius:12px!important;gap:4px!important;overflow:hidden!important;white-space:nowrap!important;
  }
  .top.st-mobile-navbar-structured .st-mobile-row2>.identity .identity-name{max-width:52px!important;font-size:10px!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
  .top.st-mobile-navbar-structured .st-mobile-row2>.identity .identity-mask{max-width:48px!important;font-size:8px!important;letter-spacing:.6px!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
  .top.st-mobile-navbar-structured .st-mobile-row2>.identity-share-trigger{
    display:flex!important;align-items:center!important;justify-content:center!important;position:static!important;transform:none!important;
    width:40px!important;min-width:40px!important;height:40px!important;flex:0 0 40px!important;margin:0!important;border-radius:12px!important;font-size:18px!important;
  }
  .top.st-mobile-navbar-structured .st-mobile-row2>.global-tools{
    display:grid!important;grid-template-columns:40px 40px!important;gap:5px!important;align-items:center!important;justify-content:stretch!important;
    width:85px!important;min-width:85px!important;height:40px!important;margin:0!important;padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important;
  }
  .top.st-mobile-navbar-structured .st-mobile-row2>.global-tools .header-icon{
    display:flex!important;align-items:center!important;justify-content:center!important;width:40px!important;min-width:40px!important;height:40px!important;margin:0!important;border-radius:12px!important;font-size:18px!important;
  }
  .top.st-mobile-navbar-structured>.menu{position:fixed!important;top:110px!important;right:8px!important;left:auto!important;width:min(300px,calc(100vw - 16px))!important;max-height:calc(100svh - 118px)!important;z-index:10001!important}
  body:not(.chat-page) .site{padding-top:110px!important}
  body.chat-page .site{padding-top:110px!important}
  body.chat-page .chat-shell{height:calc(100svh - 110px)!important}
}
@media(max-width:360px){
  .top.st-mobile-navbar-structured{height:108px!important;min-height:108px!important}
  .top.st-mobile-navbar-structured .st-mobile-row1{height:50px!important}
  .top.st-mobile-navbar-structured .st-mobile-row2{height:58px!important;grid-template-columns:40px minmax(68px,1fr) 36px 75px!important;gap:3px!important}
  .top.st-mobile-navbar-structured .st-mobile-row2>.rank-chip{width:40px!important;min-width:40px!important;height:36px!important;font-size:8px!important}
  .top.st-mobile-navbar-structured .st-mobile-row2>.identity{min-width:68px!important;height:36px!important;padding:0 5px!important}
  .top.st-mobile-navbar-structured .st-mobile-row2>.identity .identity-name{max-width:38px!important;font-size:9px!important}
  .top.st-mobile-navbar-structured .st-mobile-row2>.identity .identity-mask{max-width:34px!important;font-size:7px!important}
  .top.st-mobile-navbar-structured .st-mobile-row2>.identity-share-trigger{width:36px!important;min-width:36px!important;height:36px!important;font-size:16px!important}
  .top.st-mobile-navbar-structured .st-mobile-row2>.global-tools{grid-template-columns:36px 36px!important;gap:3px!important;width:75px!important;min-width:75px!important;height:36px!important}
  .top.st-mobile-navbar-structured .st-mobile-row2>.global-tools .header-icon{width:36px!important;min-width:36px!important;height:36px!important;font-size:16px!important}
  .top.st-mobile-navbar-structured>.menu{top:108px!important}
  body:not(.chat-page) .site,body.chat-page .site{padding-top:108px!important}
  body.chat-page .chat-shell{height:calc(100svh - 108px)!important}
}

.rank-social-summary{margin:10px 0!important}.rank-social-link{display:grid!important;grid-template-columns:42px minmax(0,1fr) auto 18px!important;align-items:center!important;gap:10px!important;padding:12px 14px!important;border:1px solid #dfe5ee!important;border-radius:15px!important;background:#fff!important;color:#172033!important;text-decoration:none!important;box-shadow:0 8px 22px rgba(23,38,59,.05)!important}.rank-social-icon{width:38px;height:38px;border-radius:12px;display:grid;place-items:center;background:#f1edff;color:#6b55e9;font-weight:950}.rank-social-link strong{display:block;font-size:13px}.rank-social-link small{display:block;color:#7a8798;font-size:10px;margin-top:3px}.rank-social-checks{display:flex;gap:4px;flex-wrap:wrap;justify-content:flex-end}.rank-social-mini{min-width:22px;height:22px;padding:0 5px;display:grid;place-items:center;border-radius:8px;background:#f1f4f8;color:#9aa6b5;font-size:10px;font-weight:900}.rank-social-mini.is-set{background:#e8f8f1;color:#07865d}.rank-social-mini.is-set::first-letter{font-weight:950}@media(max-width:600px){.rank-social-link{grid-template-columns:38px minmax(0,1fr) auto 12px;padding:10px!important}.rank-social-link strong{font-size:12px}.rank-social-link small{font-size:9px}.rank-social-icon{width:34px;height:34px}.rank-social-checks{max-width:96px}}

/* FINAL RESPONSIVE AUTHORITY: page width, fixed mobile nav, working menu surface, and chat viewport. */
:root{--st-page-width:1180px;--st-mobile-nav-height:62px}
.site{width:min(var(--st-page-width),calc(100vw - 32px))!important;max-width:var(--st-page-width)!important;margin-inline:auto!important}
.top,.top.st-nav-overhaul{width:min(var(--st-page-width),calc(100vw - 32px))!important;max-width:var(--st-page-width)!important;margin-inline:auto!important}
@media(min-width:701px){
  .top,.top.st-nav-overhaul{position:fixed!important;top:8px!important;left:50%!important;right:auto!important;transform:translateX(-50%)!important;z-index:10000!important;height:76px!important;min-height:76px!important}
  .site{padding-top:92px!important}
  .top>.menu{position:fixed!important;top:92px!important;right:max(16px,calc((100vw - var(--st-page-width))/2 + 8px))!important;left:auto!important;width:min(320px,calc(100vw - 32px))!important;max-height:calc(100dvh - 108px)!important;overflow:auto!important}
}
@media(max-width:700px){
  html,body{width:100%!important;max-width:100%!important}
  body.chat-page{height:100svh!important;overflow:hidden!important}
  .site{width:calc(100vw - 12px)!important;max-width:none!important;margin-inline:auto!important;padding-top:76px!important}
  .top,.top.st-nav-overhaul{position:fixed!important;top:8px!important;left:50%!important;right:auto!important;transform:translateX(-50%)!important;width:calc(100vw - 12px)!important;max-width:none!important;height:62px!important;min-height:62px!important;margin:0!important;padding:0 8px!important;z-index:10000!important;border-radius:16px!important}
  .top>.brand{display:none!important}
  .top>.header-center{position:static!important;transform:none!important;flex:1 1 auto!important;min-width:0!important;max-width:none!important;width:auto!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:4px!important;margin:0!important}
  .top>.header-center>.rank-chip{display:flex!important;flex:0 0 38px!important;width:38px!important;min-width:38px!important;max-width:38px!important;height:40px!important;padding:0 5px!important;font-size:9px!important}
  .top>.header-center>.identity{display:flex!important;flex:1 1 auto!important;min-width:72px!important;max-width:118px!important;height:40px!important;padding:0 6px!important;font-size:10px!important}
  .top>.header-center>.identity .identity-name{max-width:42px!important;font-size:10px!important}
  .top>.header-center>.identity .identity-mask{font-size:8px!important;letter-spacing:.7px!important}
  .top>.header-center>.identity-share-trigger{display:inline-flex!important;flex:0 0 38px!important;width:38px!important;height:38px!important;min-width:38px!important}
  .top>.header-center>.global-tools{display:grid!important;grid-template-columns:32px 32px!important;gap:2px!important;flex:0 0 66px!important;width:66px!important;height:38px!important;padding:0!important}
  .top>.header-center>.global-tools .header-icon{width:32px!important;height:34px!important;min-width:32px!important;font-size:16px!important}
  .top>.hamb{position:relative!important;transform:none!important;flex:0 0 38px!important;width:38px!important;min-width:38px!important;height:40px!important;margin:0!important;font-size:20px!important}
  .top>.menu{position:fixed!important;top:calc(var(--st-mobile-nav-height) + 16px)!important;left:50%!important;right:auto!important;transform:translateX(-50%)!important;width:calc(100vw - 24px)!important;max-width:320px!important;max-height:calc(100svh - 88px)!important;overflow:auto!important;z-index:10001!important;scrollbar-width:none!important}
  .top>.menu::-webkit-scrollbar{display:none!important;width:0!important;height:0!important}
  .menu-group-links{position:relative!important;left:auto!important;right:auto!important;top:auto!important;width:100%!important;max-height:none!important;overflow:visible!important;display:none!important;box-shadow:none!important;border:0!important;padding:0 0 4px!important;background:transparent!important}
  .menu-group.open>.menu-group-links{display:grid!important}
  .menu-group:hover>.menu-group-links{display:none!important}
  .chat-page .site{height:100svh!important;min-height:100svh!important}
  .chat-page .chat-shell{height:calc(100svh - var(--st-mobile-nav-height) - 14px)!important;min-height:0!important;overflow:hidden!important;display:flex!important;flex-direction:column!important}
  .chat-page .chat-head{flex:0 0 auto!important}
  .chat-page .chat{flex:1 1 auto!important;min-height:0!important;height:auto!important;max-height:none!important;overflow-y:auto!important;overflow-x:hidden!important;scrollbar-width:none!important;-ms-overflow-style:none!important;overscroll-behavior:contain!important;touch-action:pan-y!important}
  .chat-page .chat::-webkit-scrollbar{display:none!important;width:0!important;height:0!important}
  .chat-page .composer{position:static!important;flex:0 0 auto!important;background:transparent!important}
}
@media(max-width:360px){.site{width:calc(100vw - 8px)!important}.top,.top.st-nav-overhaul{width:calc(100vw - 8px)!important}.top>.header-center>.identity{min-width:68px!important;max-width:100px!important}.top>.header-center>.identity-share-trigger{display:none!important}.top>.header-center>.global-tools{flex-basis:64px!important;width:64px!important;grid-template-columns:31px 31px!important}.top>.header-center>.global-tools .header-icon{width:31px!important}.top>.hamb{flex-basis:36px!important;width:36px!important;min-width:36px!important}}

/* === LAST CSS AUTHORITY: runtime-measured fixed public nav + runtime viewport chat === */
:root{--st-nav-h:0px;--st-vh:100dvh}
.top,.top.st-nav-overhaul{position:fixed!important;top:0!important;left:50%!important;right:auto!important;transform:translateX(-50%)!important;z-index:10000!important;width:min(var(--st-page-width,1180px),calc(100vw - 32px))!important;max-width:1180px!important;height:auto!important;min-height:0!important;margin:0!important}
.site{padding-top:var(--st-nav-h)!important}
.top>.menu{top:var(--st-nav-h)!important}
@media(max-width:700px){
  body{min-height:var(--st-vh)!important}
  body:not(.chat-page) .site{padding-top:var(--st-nav-h)!important}
  .top,.top.st-nav-overhaul{top:0!important;width:calc(100vw - 12px)!important;max-width:none!important;height:auto!important;min-height:0!important;border-radius:0 0 16px 16px!important}
  .top>.menu{position:fixed!important;top:var(--st-nav-h)!important;left:50%!important;right:auto!important;transform:translateX(-50%)!important;max-height:calc(var(--st-vh) - var(--st-nav-h))!important}
  body.chat-page{height:var(--st-vh)!important;min-height:var(--st-vh)!important;max-height:var(--st-vh)!important;overflow:hidden!important;padding:var(--st-nav-h) 0 0!important;box-sizing:border-box!important}
  body.chat-page .site{height:calc(var(--st-vh) - var(--st-nav-h))!important;min-height:0!important;max-height:none!important;padding-top:0!important;overflow:hidden!important}
  body.chat-page .chat-shell,body.chat-page .st-chat-viewport{height:calc(var(--st-vh) - var(--st-nav-h))!important;min-height:0!important;max-height:none!important;display:flex!important;flex-direction:column!important;overflow:hidden!important;box-sizing:border-box!important}
  body.chat-page .chat-head{flex:0 0 auto!important}
  body.chat-page #chatbox,body.chat-page .chat{flex:1 1 auto!important;min-height:0!important;height:auto!important;max-height:none!important;overflow-y:auto!important;overflow-x:hidden!important;scrollbar-width:none!important;-ms-overflow-style:none!important;overscroll-behavior:contain!important;-webkit-overflow-scrolling:touch!important}
  body.chat-page #chatbox::-webkit-scrollbar,body.chat-page .chat::-webkit-scrollbar{display:none!important;width:0!important;height:0!important}
  body.chat-page .composer{position:static!important;flex:0 0 auto!important;margin:0!important}
}
@media(max-width:360px){
  .top,.top.st-nav-overhaul{width:calc(100vw - 8px)!important}
}
/* Explicit mobile two-row navigation authority. Row 1 keeps the existing brand/identity/tools; row 2 exposes the four highest-use existing links. The same menu expands from the hamburger, so links are not duplicated. */
@media(max-width:700px){
  .top,.top.st-nav-overhaul{height:110px!important;min-height:110px!important;overflow:visible!important}
  .top>.menu{position:absolute!important;top:58px!important;left:0!important;right:0!important;transform:none!important;width:100%!important;max-width:none!important;height:44px!important;max-height:44px!important;display:flex!important;align-items:center!important;gap:4px!important;padding:0 6px!important;background:transparent!important;border:0!important;box-shadow:none!important;overflow:hidden!important;z-index:10001!important}
  .top>.menu>a{display:none!important;flex:1 1 0!important;min-width:0!important;height:38px!important;padding:0 4px!important;align-items:center!important;justify-content:center!important;text-align:center!important;white-space:nowrap!important;font-size:11px!important;line-height:1!important}
  .top>.menu>a:nth-of-type(-n+4){display:flex!important}
  .top>.menu.open{position:fixed!important;top:var(--st-nav-h)!important;left:50%!important;right:auto!important;transform:translateX(-50%)!important;width:calc(100vw - 24px)!important;max-width:360px!important;height:auto!important;max-height:calc(var(--st-vh) - var(--st-nav-h) - 8px)!important;display:grid!important;grid-template-columns:1fr 1fr!important;align-content:start!important;overflow:auto!important;padding:8px!important;background:var(--card,#fff)!important;border:1px solid rgba(0,0,0,.08)!important;border-radius:14px!important;box-shadow:0 12px 32px rgba(0,0,0,.12)!important}
  .top>.menu.open>a{display:flex!important}
}

/* FINAL TARGETED VIEWPORT/CHAT GEOMETRY AUTHORITY — do not use fixed phone heights. */
:root{--st-nav-h:0px;--st-vh:100dvh;--st-chat-h:0px}
.top,.top.st-nav-overhaul{position:fixed!important;top:env(safe-area-inset-top,0px)!important;left:50%!important;right:auto!important;transform:translateX(-50%)!important;z-index:2147483000!important;margin:0!important;overflow:visible!important}
@media(max-width:700px){
  .top,.top.st-nav-overhaul{width:calc(100vw - 12px)!important;max-width:none!important}
}
body.chat-page{overflow:hidden!important;height:var(--st-vh)!important;min-height:var(--st-vh)!important;max-height:var(--st-vh)!important}
body.chat-page .chat-shell{position:fixed!important;left:50%!important;transform:translateX(-50%)!important;top:var(--st-chat-top,0px)!important;bottom:env(safe-area-inset-bottom,0px)!important;width:min(var(--st-page-width,1180px),calc(100vw - 32px))!important;height:auto!important;min-height:0!important;max-height:none!important;display:flex!important;flex-direction:column!important;overflow:hidden!important;box-sizing:border-box!important}
body.chat-page .chat-shell .chat-head{flex:0 0 auto!important;position:relative!important}
body.chat-page .chat-shell .chat{flex:1 1 auto!important;min-height:0!important;height:auto!important;max-height:none!important;overflow-y:auto!important;overflow-x:hidden!important;scrollbar-width:none!important;-ms-overflow-style:none!important;overscroll-behavior:contain!important;-webkit-overflow-scrolling:touch!important}
body.chat-page .chat-shell .chat::-webkit-scrollbar{display:none!important;width:0!important;height:0!important}
body.chat-page .chat-shell .composer{position:relative!important;flex:0 0 auto!important;bottom:auto!important;margin:0!important}
@media(max-width:700px){
  body.chat-page .chat-shell{width:calc(100vw - 12px)!important}
}

/* FINAL MOBILE NAVBAR: exact requested two-row structure.
   Row 1 = brand | rank | username+code | share code | hamburger.
   Row 2 = search | inbox. */
@media(max-width:700px){
  :root{--st-mobile-final-h:110px!important}
  .site{padding-top:calc(var(--st-mobile-final-h) + 10px)!important}
  .top,.top.st-nav-overhaul{
    position:fixed!important;top:env(safe-area-inset-top,0px)!important;left:50%!important;right:auto!important;
    transform:translateX(-50%)!important;width:calc(100vw - 12px)!important;max-width:none!important;
    height:var(--st-mobile-final-h)!important;min-height:var(--st-mobile-final-h)!important;
    display:flex!important;flex-wrap:wrap!important;align-content:flex-start!important;align-items:center!important;
    justify-content:flex-start!important;gap:4px!important;padding:7px 6px 6px!important;overflow:visible!important;
    border-radius:0 0 16px 16px!important;z-index:2147483000!important;box-sizing:border-box!important;
  }
  .top>.brand{display:flex!important;order:1!important;flex:0 1 auto!important;min-width:0!important;max-width:none!important;
    margin:0!important;padding:0!important;font-size:18px!important;line-height:1!important;white-space:nowrap!important}
  .top>.header-center{display:contents!important;position:static!important;transform:none!important;margin:0!important;padding:0!important}
  /* Requested mobile order: row 1 ONLY brand + hamburger. Row 2 = rank + username/code + share code + search + inbox. */
  .top>.header-center>.rank-chip{order:10!important;display:flex!important;flex:0 0 34px!important;width:34px!important;min-width:34px!important;max-width:34px!important;
    height:36px!important;padding:0 3px!important;font-size:8px!important;justify-content:center!important;align-items:center!important}
  .top>.header-center>.mobile-name-chip,.top>.header-center>.mobile-code-chip{display:none!important}
  .top>.header-center>.identity{order:11!important;display:flex!important;flex:0 1 auto!important;width:92px!important;min-width:72px!important;max-width:108px!important;
    height:36px!important;padding:0 6px!important;gap:3px!important;font-size:9px!important;border-radius:10px!important;overflow:hidden!important}
  .top>.header-center>.identity .identity-name{max-width:43px!important;font-size:9px!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
  .top>.header-center>.identity .identity-mask{max-width:48px!important;font-size:8px!important;letter-spacing:.5px!important;overflow:hidden!important}
  .top>.header-center>.identity-share-trigger{order:12!important;display:grid!important;flex:0 0 34px!important;width:34px!important;min-width:34px!important;height:36px!important;border-radius:10px!important;font-size:17px!important}
  .top>.hamb{order:5!important;display:flex!important;flex:0 0 38px!important;width:38px!important;min-width:38px!important;height:38px!important;margin-left:auto!important;position:static!important;transform:none!important}
  /* Search + Inbox are the ONLY controls on row 2. */
  .top>.header-center>.global-tools{order:13!important;display:grid!important;grid-template-columns:40px 40px!important;flex:0 0 auto!important;width:auto!important;height:40px!important;
    min-width:0!important;align-items:center!important;justify-content:center!important;gap:6px!important;margin:0!important;padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important}
  .top>.header-center>.global-tools>*{display:none!important}
  .top>.header-center>.global-tools .header-icon:nth-child(1),
  .top>.header-center>.global-tools .header-icon:nth-child(2){display:grid!important;width:40px!important;height:40px!important;min-width:40px!important;flex:0 0 40px!important;
    align-items:center!important;justify-content:center!important;border:1px solid #d7dfeb!important;border-radius:11px!important;background:#fff!important;box-shadow:0 6px 16px rgba(38,79,120,.08)!important;font-size:19px!important}
  .top>.menu{top:calc(var(--st-mobile-final-h) + 8px)!important;right:8px!important;left:auto!important;width:min(310px,calc(100vw - 16px))!important;max-height:calc(100dvh - var(--st-mobile-final-h) - 16px)!important}
}
@media(max-width:380px){
  .top,.top.st-nav-overhaul{width:calc(100vw - 8px)!important;padding-inline:4px!important;gap:3px!important}
  .top>.brand{font-size:16px!important}
  .top>.header-center>.rank-chip{flex-basis:30px!important;width:30px!important;min-width:30px!important;max-width:30px!important;height:34px!important;font-size:7px!important}
  .top>.header-center>.identity{width:76px!important;min-width:64px!important;max-width:82px!important;height:34px!important;padding-inline:4px!important}
  .top>.header-center>.identity .identity-name{max-width:35px!important;font-size:8px!important}
  .top>.header-center>.identity .identity-mask{max-width:36px!important;font-size:7px!important}
  .top>.header-center>.identity-share-trigger{width:30px!important;min-width:30px!important;flex-basis:30px!important;height:34px!important;font-size:15px!important}
  .top>.hamb{width:34px!important;min-width:34px!important;flex-basis:34px!important;height:36px!important;font-size:19px!important}
}
@media(max-width:330px){
  .top>.brand{font-size:15px!important}
  .top>.header-center>.rank-chip{width:28px!important;min-width:28px!important;flex-basis:28px!important;font-size:7px!important}
  .top>.header-center>.identity{width:70px!important;min-width:60px!important;max-width:74px!important}
  .top>.header-center>.identity .identity-name{max-width:31px!important}
  .top>.header-center>.identity .identity-mask{max-width:31px!important}
  .top>.header-center>.identity-share-trigger{width:28px!important;min-width:28px!important;flex-basis:28px!important}
  .top>.hamb{width:32px!important;min-width:32px!important;flex-basis:32px!important}
}

/* MOBILE NAVBAR — FINAL USER-SPECIFIED STRUCTURE.
   Row 1: StrangerTalk                                      ☰
   Row 2: Rank | Username + Code | Share Code | Search | Inbox
*/
@media(max-width:700px){
  .top,.top.st-nav-overhaul{
    display:flex!important;
    flex-wrap:wrap!important;
    align-items:center!important;
    align-content:flex-start!important;
    width:100%!important;
    height:112px!important;
    min-height:112px!important;
    padding:7px 8px 8px!important;
    gap:0!important;
    overflow:visible!important;
    box-sizing:border-box!important;
  }
  .top>.brand{
    order:1!important;
    display:flex!important;
    align-items:center!important;
    justify-content:flex-start!important;
    flex:1 1 auto!important;
    width:auto!important;
    max-width:none!important;
    min-width:0!important;
    height:42px!important;
    margin:0!important;
    font-size:clamp(18px,5.5vw,22px)!important;
    line-height:1!important;
    white-space:nowrap!important;
  }
  .top>.hamb{
    order:2!important;
    position:static!important;
    flex:0 0 42px!important;
    width:42px!important;
    min-width:42px!important;
    height:42px!important;
    margin:0!important;
    transform:none!important;
    z-index:20!important;
  }
  /* The whole second row is one flex item. */
  .top>.header-center{
    order:3!important;
    position:static!important;
    transform:none!important;
    display:flex!important;
    flex:0 0 100%!important;
    width:100%!important;
    max-width:none!important;
    min-width:0!important;
    height:48px!important;
    margin:4px 0 0!important;
    padding:0!important;
    align-items:center!important;
    justify-content:center!important;
    flex-wrap:nowrap!important;
    gap:5px!important;
    overflow:hidden!important;
    box-sizing:border-box!important;
  }
  .top>.header-center>.rank-chip{
    order:1!important;
    display:flex!important;
    flex:0 0 40px!important;
    width:40px!important;
    min-width:40px!important;
    max-width:40px!important;
    height:38px!important;
    padding:0 4px!important;
    align-items:center!important;
    justify-content:center!important;
    font-size:9px!important;
    border-radius:11px!important;
    overflow:hidden!important;
  }
  .top>.header-center>.identity{
    order:2!important;
    display:flex!important;
    flex:0 1 112px!important;
    width:112px!important;
    min-width:82px!important;
    max-width:118px!important;
    height:38px!important;
    padding:0 7px!important;
    align-items:center!important;
    justify-content:center!important;
    gap:4px!important;
    font-size:10px!important;
    border-radius:11px!important;
    overflow:hidden!important;
  }
  .top>.header-center>.identity .identity-name{max-width:52px!important;font-size:10px!important}
  .top>.header-center>.identity .identity-mask{max-width:48px!important;font-size:8px!important;letter-spacing:.7px!important}
  .top>.header-center>.identity-share-trigger{
    order:3!important;
    display:grid!important;
    place-items:center!important;
    flex:0 0 38px!important;
    width:38px!important;
    min-width:38px!important;
    height:38px!important;
    border-radius:11px!important;
    font-size:18px!important;
  }
  /* Search and Inbox are separate controls, not a merged surface. */
  .top>.header-center>.global-tools{
    order:4!important;
    display:contents!important;
  }
  .top>.header-center>.global-tools #searchUserBtn,
  .top>.header-center>.global-tools #inboxBtn{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    flex:0 0 38px!important;
    width:38px!important;
    min-width:38px!important;
    height:38px!important;
    margin:0!important;
    padding:0!important;
    border-radius:11px!important;
    font-size:18px!important;
  }
}
@media(max-width:380px){
  .top,.top.st-nav-overhaul{height:108px!important;min-height:108px!important;padding-inline:4px!important}
  .top>.brand{font-size:17px!important}
  .top>.hamb{flex-basis:38px!important;width:38px!important;min-width:38px!important;height:38px!important}
  .top>.header-center{gap:3px!important;height:44px!important}
  .top>.header-center>.rank-chip{flex-basis:34px!important;width:34px!important;min-width:34px!important;height:34px!important;font-size:8px!important}
  .top>.header-center>.identity{flex-basis:88px!important;width:88px!important;min-width:70px!important;max-width:94px!important;height:34px!important;font-size:9px!important}
  .top>.header-center>.identity .identity-name{max-width:40px!important;font-size:9px!important}
  .top>.header-center>.identity .identity-mask{max-width:38px!important;font-size:7px!important}
  .top>.header-center>.identity-share-trigger,.top>.header-center>.global-tools #searchUserBtn,.top>.header-center>.global-tools #inboxBtn{flex-basis:34px!important;width:34px!important;min-width:34px!important;height:34px!important;font-size:16px!important}
}
@media(max-width:330px){
  .top>.brand{font-size:16px!important}
  .top>.hamb{flex-basis:36px!important;width:36px!important;min-width:36px!important;height:36px!important}
  .top>.header-center{gap:2px!important}
  .top>.header-center>.rank-chip{flex-basis:30px!important;width:30px!important;min-width:30px!important;font-size:7px!important}
  .top>.header-center>.identity{flex-basis:76px!important;width:76px!important;min-width:62px!important;max-width:80px!important}
  .top>.header-center>.identity .identity-name{max-width:34px!important}
  .top>.header-center>.identity .identity-mask{max-width:30px!important}
  .top>.header-center>.identity-share-trigger,.top>.header-center>.global-tools #searchUserBtn,.top>.header-center>.global-tools #inboxBtn{flex-basis:30px!important;width:30px!important;min-width:30px!important;height:32px!important;font-size:14px!important}
}
}