/* PATCH35 REVISED: layout only, existing SubMain.FM color palette retained. */
.sm-profile-hero{display:flex;align-items:center;justify-content:space-between;gap:12px 18px;padding:15px 19px!important;min-height:0!important;margin:0 0 11px!important}
.sm-profile-hero-main{display:flex;align-items:center;gap:13px;min-width:0;flex:1 1 440px}
.sm-profile-hero-avatar{display:block;flex:0 0 66px;width:66px;height:66px;object-fit:cover;border-radius:16px;border:1px solid rgba(255,255,255,.18);box-shadow:0 5px 18px rgba(0,0,0,.22)}
.sm-profile-hero-fallback{display:grid;place-items:center;font-weight:900;font-size:27px;background:linear-gradient(135deg,#9c51ba,#d38b55)}
.sm-profile-hero-copy{min-width:0}
.sm-profile-hero .sm-public-eyebrow{font-size:10px}
.sm-profile-hero h1{font-size:clamp(21px,2.3vw,29px);line-height:1.15;margin:3px 0 8px}
.sm-profile-hero-facts{display:flex;flex-wrap:wrap;align-items:center;gap:5px 11px;font-size:11px;color:#c6bacf}
.sm-profile-hero-level{font-weight:900;color:#ffe1ab}
.sm-profile-hero-vip{font-weight:850;color:#ffdfa0}
.sm-profile-hero-actions{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:7px;flex:0 1 auto}
.sm-profile-hero-actions .btn{padding:7px 10px;font-size:11px;min-height:33px;white-space:nowrap}
.sm-profile-hero-actions .sm-social-presence{font-size:11px;padding:6px 9px}
.sm-profile-hero-last-online{font-size:11px;color:#b7acc0}
.sm-social-profile .sm-public-vitals,.sm-profile-hero~.sm-public-vitals{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:0 0 11px}
.sm-profile-hero~.sm-public-vitals .sm-public-vital{padding:9px 12px}
.sm-profile-hero~.sm-public-vitals .sm-public-vital b{font-size:clamp(16px,1.6vw,20px);margin-top:2px}
.sm-profile-nav-revised{display:flex;align-items:center;gap:9px 14px;flex-wrap:wrap;padding:9px 11px;margin:0 0 16px;border:1px solid rgba(207,157,236,.22);border-radius:13px;background:linear-gradient(115deg,rgba(61,35,76,.23),rgba(19,17,30,.65))}
.sm-profile-nav-revised .sm-profile-nav-head{display:flex;align-items:baseline;gap:7px;flex:0 0 auto;margin:0}
.sm-profile-nav-revised .sm-profile-nav-head strong{font-size:12px;color:#e6ccea;font-weight:900}
.sm-profile-nav-revised .sm-profile-nav-head small{display:none}
.sm-profile-nav-revised .profile-tabs{display:flex!important;flex:1 1 680px;align-items:center;flex-wrap:wrap;gap:6px;margin:0;min-width:0}
.sm-profile-nav-revised .profile-tab-btn{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;min-height:35px;padding:7px 11px;border-radius:9px;line-height:1.2;font-size:12px;font-weight:850;white-space:nowrap;background:rgba(10,9,17,.35);border:1px solid rgba(255,255,255,.12);box-shadow:none}
.sm-profile-nav-revised .profile-tab-btn.active{border-color:rgba(255,168,100,.7);background:rgba(173,91,61,.18);box-shadow:inset 0 -2px 0 #ffb470}
.sm-profile-nav-revised .profile-tab-btn:hover,.sm-profile-nav-revised .profile-tab-btn:focus-visible{outline-offset:2px;border-color:rgba(255,177,105,.55)}
.sm-profile-nav-revised .profile-tab-btn.sm-profile-nav-drop{border-color:rgba(199,133,249,.58);background:linear-gradient(115deg,rgba(111,55,169,.3),rgba(21,28,52,.55));color:#f1d7ff}
.sm-profile-nav-revised .profile-tab-btn.sm-profile-nav-drop.active{border-color:#efb7ff;background:linear-gradient(115deg,rgba(117,52,170,.52),rgba(47,31,77,.7))}
.sm-social-profile .sm-profile-overview-main{display:grid;grid-template-columns:minmax(280px,.8fr) minmax(0,1.2fr);align-items:stretch;gap:12px}
.sm-social-profile .sm-profile-overview-main>.card{min-width:0;margin:0!important}
.sm-social-profile .sm-profile-overview-main .sm-status-editor-row{flex-wrap:wrap}
.sm-social-profile .sm-profile-overview-main .sm-own-games .sm-profile-game-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.sm-social-profile .sm-profile-overview-main .sm-own-games .sm-profile-game-card{min-height:95px;padding:10px}
.sm-social-profile .sm-profile-overview-main .sm-own-games .sm-profile-game-score{font-size:22px}
.sm-social-profile .sm-profile-info-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;align-items:start}
.sm-social-profile .sm-profile-info-grid>.card{min-width:0}
.sm-profile-meta-details{border:1px solid rgba(255,255,255,.10);border-radius:9px;padding:7px 10px;margin:4px 0 12px;font-size:11px;color:#c1b5c9}
.sm-profile-meta-details summary{cursor:pointer;font-weight:750}
.sm-profile-meta-details>div{margin:7px 0}
.sm-profile-public-facts{display:flex;gap:7px 12px;flex-wrap:wrap;color:#c9bed2;font-size:12px;margin:4px 0 9px}
.sm-drop-channel-help{margin:0 0 19px;display:block;border:1px solid rgba(193,156,233,.25);border-radius:12px;background:rgba(124,72,172,.085);font-size:12px;line-height:1.5;overflow:hidden}
.sm-drop-channel-help summary{display:flex;align-items:center;justify-content:space-between;gap:8px 15px;flex-wrap:wrap;padding:11px 14px;cursor:pointer;font-size:13px;font-weight:850;color:#f4dcff;list-style:none}
.sm-drop-channel-help summary::-webkit-details-marker{display:none}
.sm-drop-channel-help summary:focus-visible{outline:2px solid #e3b2f4;outline-offset:-3px}
.sm-drop-channel-help summary:after{content:'⌄';font-size:18px;opacity:.8}
.sm-drop-channel-help[open] summary:after{transform:rotate(180deg)}
.sm-drop-channel-help summary small{color:#cdbbd7;font-size:11px;font-weight:600;margin-left:auto}
.sm-drop-channel-details{padding:0 14px 12px}
.sm-drop-channel-details p{margin:0 0 9px;color:rgba(241,233,251,.87)}
.sm-drop-channel-details small{display:block;margin-top:8px;color:#bdb3c9;line-height:1.45}
.sm-drop-channel-list{display:flex;gap:6px;flex-wrap:wrap}
.sm-drop-channel-list a{display:inline-flex;padding:5px 9px;border-radius:999px;color:#ffe0ae;background:rgba(255,173,89,.08);border:1px solid rgba(255,173,89,.25);text-decoration:none;font-size:12px;font-weight:800}
.sm-drop-channel-list a:hover,.sm-drop-channel-list a:focus-visible{background:rgba(255,173,89,.2);text-decoration:underline}
.mydrop-editor>.sm-drop-channel-help{margin-bottom:19px}
@media(max-width:1150px){.sm-social-profile .sm-profile-overview-main{grid-template-columns:1fr}.sm-social-profile .sm-profile-overview-main .sm-own-games .sm-profile-game-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:840px){.sm-profile-hero-actions{justify-content:flex-start}.sm-social-profile .sm-profile-info-grid{grid-template-columns:1fr}}
@media(max-width:680px){.sm-profile-hero{padding:13px!important}.sm-profile-hero-main{flex-basis:100%}.sm-profile-hero-avatar{width:55px;height:55px;flex-basis:55px}.sm-profile-hero-actions{width:100%}.sm-profile-nav-revised .profile-tabs{flex:1 1 100%}.sm-profile-nav-revised .profile-tab-btn{padding:7px 9px;font-size:11px}.sm-social-profile .sm-profile-overview-main .sm-own-games .sm-profile-game-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.sm-profile-hero~.sm-public-vitals{grid-template-columns:repeat(3,minmax(0,1fr))}.sm-profile-hero~.sm-public-vitals .sm-public-vital{padding:8px}}
@media(max-width:390px){.sm-profile-nav-revised{padding:8px}.sm-profile-hero~.sm-public-vitals .sm-public-vital span{font-size:9px}.sm-profile-hero~.sm-public-vitals .sm-public-vital b{font-size:16px}}
.sm-drop-public-card{border:1px solid rgba(200,153,243,.25);border-radius:17px;padding:17px;background:linear-gradient(145deg,rgba(52,32,80,.7),rgba(17,20,37,.93));overflow:hidden}
.sm-drop-public-head{display:flex;gap:12px;justify-content:space-between;align-items:flex-start;flex-wrap:wrap;margin-bottom:14px}
.sm-drop-kicker{display:block;color:#d7b1f5;font-weight:900;letter-spacing:.06em;font-size:10px;margin-bottom:3px}
.sm-drop-public-head h2{font-size:19px;margin:0 0 4px;color:#ffe2b9}
.sm-drop-public-head p{font-size:12px;margin:0;color:#bdb4d3}
.sm-drop-public-state{display:inline-flex;border-radius:999px;padding:6px 9px;background:rgba(72,183,133,.1);border:1px solid rgba(77,201,147,.3);color:#b4edc8;font-size:11px;font-weight:850}
.sm-drop-public-content{display:grid;grid-template-columns:minmax(240px,.9fr) minmax(0,1.1fr);gap:14px;align-items:start}
.sm-drop-public-scene{height:268px;min-width:0;position:relative;overflow:hidden;border-radius:14px;background:radial-gradient(ellipse at 53% 19%,rgba(190,174,244,.23),transparent 65%),linear-gradient(180deg,#212e57,#10192e);border:1px solid rgba(255,255,255,.1)}
.sm-drop-public-scene canvas{position:absolute;inset:0;display:block;width:100%;height:100%;pointer-events:none;z-index:1}
.sm-drop-public-scene canvas[hidden]{display:none!important}
.sm-drop-public-flight{position:absolute;left:50%;top:4%;width:min(90%,310px);height:90%;transform:translateX(-50%);animation:sm-drop-public-float 6s ease-in-out infinite;z-index:2}
.sm-drop-public-flight img{position:absolute;display:block;left:50%;transform:translateX(-50%);object-fit:contain;filter:drop-shadow(0 5px 7px rgba(0,0,0,.24))}
.sm-drop-public-canopy{top:0;width:70%;height:39%;z-index:3}
.sm-drop-public-avatar{top:23%;width:42%;height:74%;z-index:2}
.sm-drop-look-parts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}
.sm-drop-look-parts>div{min-width:0;padding:10px 9px;border:1px solid rgba(255,255,255,.1);border-radius:10px;background:rgba(0,0,0,.19)}
.sm-drop-look-parts span{display:block;color:#b8accb;font-size:11px;margin-bottom:4px}
.sm-drop-look-parts strong{display:block;font-size:12px;line-height:1.4;overflow-wrap:anywhere}
.sm-drop-public-hint{font-size:12px;color:#bdb3ca;line-height:1.5;margin:12px 0 0}
@keyframes sm-drop-public-float{0%,100%{transform:translateX(-50%) translateY(0)}50%{transform:translateX(-50%) translateY(7px)}}
@media(prefers-reduced-motion:reduce){.sm-drop-public-flight{animation:none}}
@media(max-width:800px){.sm-drop-public-content{grid-template-columns:1fr}.sm-profile-nav .profile-tabs{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:560px){.sm-profile-nav{padding:11px}.sm-profile-nav .profile-tabs{grid-template-columns:repeat(2,minmax(0,1fr))}.sm-profile-nav .profile-tab-btn{min-height:55px}.sm-drop-look-parts{grid-template-columns:1fr 1fr}.sm-drop-public-scene{height:225px}}
