/* Approved Profile and Studio entrance layouts — isolated from Studio+. */
:root{
  --iwal-gold:#f1bd4e;
  --iwal-gold-deep:#a96f0b;
  --iwal-blue:#3e9cff;
  --iwal-ink:#020912;
  --iwal-panel:rgba(3,15,26,.86);
  --iwal-panel-soft:rgba(4,18,31,.74);
  --iwal-line:rgba(136,178,209,.23);
  --iwal-muted:#a9b7c3;
}

/* PROFILE */
#page-creator-profile.iwal-profile-page{
  position:relative!important;
  width:100%!important;
  max-width:none!important;
  min-height:calc(100vh - 72px)!important;
  margin:0!important;
  padding:0!important;
  overflow:visible!important;
  border:0!important;
  background:
    linear-gradient(180deg,rgba(1,7,13,.10),rgba(1,8,15,.36) 38%,rgba(1,8,15,.68) 100%),
    url('/assets/world/worlds-v26.2.0.6.jpg') center top/cover fixed no-repeat!important;
  color:#f7fafc!important;
}
#page-creator-profile.iwal-profile-page::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:0;
  pointer-events:none;
  background:linear-gradient(90deg,rgba(0,8,16,.30),transparent 22%,transparent 78%,rgba(0,8,16,.30));
}
.iwal-profile{
  position:relative;
  z-index:1;
  width:min(1180px,calc(100% - 40px));
  margin:0 auto;
  padding:26px 0 72px;
}
.iwal-profile [hidden]{display:none!important}
.iwal-profile button{font:inherit;color:inherit}
.iwal-profile-hero{
  display:grid;
  grid-template-columns:200px minmax(360px,1fr) auto;
  align-items:center;
  gap:26px;
  min-height:230px;
  padding:4px 12px 18px;
}
.iwal-profile-avatar{
  width:200px;
  height:200px;
  object-fit:cover;
  border:1px solid rgba(241,189,78,.85);
  border-radius:50%;
  box-shadow:0 18px 48px rgba(0,0,0,.52),0 0 0 4px rgba(1,10,18,.42);
}
.iwal-profile-copy{align-self:center;min-width:0}
.iwal-profile-copy h1{display:flex;align-items:center;gap:10px;margin:0 0 5px;font-size:34px;line-height:1.05;letter-spacing:-.035em}
.iwal-verified{display:grid;place-items:center;width:22px;height:22px;border-radius:50%;background:var(--iwal-gold);color:#09111a;font-size:12px;box-shadow:0 0 18px rgba(241,189,78,.28)}
.iwal-handle{display:flex;align-items:center;gap:11px;margin:0 0 11px;color:#ecf3f8;font-size:15px}
.iwal-online{display:inline-flex;align-items:center;gap:6px;color:#baf5ca;font-size:11px;font-weight:750;letter-spacing:.01em}
.iwal-online i{display:block;width:8px;height:8px;border-radius:50%;background:#43e276;box-shadow:0 0 0 3px rgba(67,226,118,.12),0 0 12px rgba(67,226,118,.72)}
.iwal-bio{max-width:520px;margin:0;color:#f2f6f9;font-size:14px;line-height:1.45}
.iwal-meta{display:flex;flex-wrap:wrap;gap:16px;margin-top:9px;color:#d0dce5;font-size:12px}
.iwal-meta a{color:inherit;text-decoration:none}
.iwal-counts{display:flex;gap:30px;margin-top:18px}
.iwal-count{display:grid;gap:4px;min-width:56px;text-align:left}
.iwal-count span{order:0;color:#d7e0e7;font-size:11px}
.iwal-count strong{order:1;color:#fff;font-size:23px;line-height:1}
.iwal-profile-actions{display:flex;align-items:center;justify-content:flex-end;gap:9px;align-self:end;padding-bottom:22px}
.iwal-profile-actions button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-height:42px;
  padding:0 20px;
  border:1px solid var(--iwal-line);
  border-radius:9px;
  background:rgba(7,23,37,.78);
  font-size:12px;
  font-weight:750;
  box-shadow:0 8px 24px rgba(0,0,0,.16);
  cursor:pointer;
}
.iwal-profile-actions svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.iwal-profile-actions button:hover{border-color:rgba(241,189,78,.72);transform:translateY(-1px)}
.iwal-profile-actions .primary{border-color:#ffd36c;background:linear-gradient(180deg,#ffd574,#e9ad35);color:#0a1119}
.iwal-profile-actions .more{width:44px;padding:0;font-size:18px}
.iwal-profile-tabs{
  display:flex;
  align-items:center;
  gap:10px;
  height:52px;
  padding:0 12px;
  overflow-x:auto;
  border-top:1px solid rgba(241,189,78,.11);
  border-bottom:1px solid var(--iwal-line);
  background:rgba(3,13,23,.38);
  scrollbar-width:none;
}
.iwal-profile-tabs::-webkit-scrollbar{display:none}
.iwal-profile-tabs button{
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-width:105px;
  height:100%;
  padding:0 12px;
  border:0;
  background:transparent;
  color:#d3dde5;
  font-size:12px;
  cursor:pointer;
}
.iwal-profile-tabs button::after{content:"";position:absolute;right:0;bottom:0;left:0;height:2px;background:transparent}
.iwal-profile-tabs button.active{color:#ffd167}
.iwal-profile-tabs button.active::after{background:#e9b43d}
.iwal-profile-overview{display:grid;gap:12px}
.iwal-panel{
  overflow:hidden;
  border:1px solid var(--iwal-line);
  border-radius:9px;
  background:linear-gradient(180deg,rgba(3,17,29,.89),rgba(2,13,23,.84));
  box-shadow:0 20px 45px rgba(0,0,0,.16);
  backdrop-filter:blur(13px);
}
.iwal-section-head{display:flex;align-items:center;justify-content:space-between;min-height:43px;padding:0 14px}
.iwal-section-head h2{display:flex;align-items:center;gap:8px;margin:0;font-size:15px}
.iwal-section-head h2 i{color:#f2bd43;font-style:normal}
.iwal-section-head button{border:0;background:none;color:#dbe5ec;font-size:11px;cursor:pointer}
.iwal-pinned-grid{display:grid;grid-template-columns:minmax(260px,340px);gap:10px;padding:0 12px 13px}
.iwal-world-card{position:relative;display:block;min-height:155px;overflow:hidden;border:1px solid rgba(241,189,78,.48);border-radius:9px;background:#071522;cursor:pointer;text-align:left}
.iwal-world-art{position:absolute;z-index:0;inset:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0}
.iwal-world-art span{background-repeat:no-repeat;background-size:103% auto;transform:none!important}
.iwal-world-art span:first-child{background-position:left center}
.iwal-world-art span:last-child{background-position:right center}
.iwal-world-art::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 26%,rgba(1,7,13,.94))}
.iwal-world-card>i{position:absolute;z-index:2;top:10px;right:10px;display:grid;place-items:center;width:28px;height:28px;border:1px solid rgba(241,189,78,.45);border-radius:50%;background:rgba(1,9,17,.78);color:#ffd060;font-style:normal}
.iwal-world-card>.iwal-world-copy{position:absolute;z-index:2;right:15px;bottom:13px;left:15px;display:grid;gap:4px}
.iwal-world-card small{color:#f1bd4e;font-size:9px;font-weight:800;letter-spacing:.13em}
.iwal-world-card strong{font-size:17px;line-height:1.1}
.iwal-world-card em{color:#c6d2dc;font-size:10px;font-style:normal}
.iwal-reels-track{display:grid;grid-template-columns:minmax(220px,330px);gap:8px;padding:0 12px 14px;overflow-x:auto;scrollbar-color:#2e4658 transparent}
.iwal-reel{position:relative;min-width:135px;aspect-ratio:.80;overflow:hidden;border:1px solid rgba(165,190,210,.28);border-radius:9px;background-position:center;background-size:cover;cursor:pointer}
.iwal-reel::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 50%,rgba(1,8,15,.90))}
.iwal-reel>.iwal-reel-art{position:absolute;inset:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0}
.iwal-reel>.iwal-reel-art i{display:block;background-repeat:no-repeat;background-size:auto 100%;transform:none!important}
.iwal-reel>.iwal-reel-art i:first-child{background-position:left center}
.iwal-reel>.iwal-reel-art i:last-child{background-position:right center}
.iwal-reel>.iwal-reel-label{position:absolute;z-index:1;right:9px;bottom:9px;left:9px;color:#fff;font-size:11px;font-weight:700}
.iwal-feed{padding-bottom:12px;border-width:1.5px;border-color:rgba(136,178,209,.31);border-radius:11px}
.iwal-post{margin:0 12px;border:1px solid rgba(159,185,205,.25);border-radius:9px;background:rgba(3,13,22,.48)}
.iwal-post-head{display:grid;grid-template-columns:34px 1fr auto;align-items:center;gap:9px;padding:12px 12px 8px}
.iwal-post-head img{width:34px;height:34px;border:1px solid rgba(241,189,78,.55);border-radius:50%}
.iwal-post-head span{display:grid}.iwal-post-head strong{font-size:11px}.iwal-post-head small{color:var(--iwal-muted);font-size:9px}.iwal-post-head b{letter-spacing:.18em}
.iwal-post>p{margin:0;padding:0 55px 12px;font-size:12px;line-height:1.48}
.iwal-approved-player-slot{position:relative;min-width:0;margin:0 12px;overflow:hidden;overflow-anchor:none;border-radius:26px;background:#020407;box-shadow:0 18px 40px rgba(0,0,0,.25)}
.iwal-approved-player-slot>#iwInlinePlayer{display:block!important;width:100%!important;min-width:0!important;margin:0!important}
.iwal-approved-player-loading{display:grid;min-height:150px;place-items:center;color:#9fb0bc;font-size:11px;letter-spacing:.03em}
.iwal-post-foot{display:flex;gap:22px;padding:10px 14px;color:#aebecb;font-size:10px}
.iwal-about-panel{padding:22px}.iwal-about-panel h2{margin:0 0 10px}.iwal-about-panel p{max-width:720px;color:#d7e1e8;line-height:1.6}.iwal-about-list{display:grid;grid-template-columns:150px 1fr;gap:10px 16px;margin-top:22px;color:#c7d4dd}.iwal-about-list b{color:#f2bd4e}

/* WORLD STUDIO ENTRANCE */
html.iw-world-studio-active.iwal-studio-entrance-active,
body.iw-world-studio-active.iwal-studio-entrance-active{height:auto!important;overflow:auto!important;background:#020a11!important}
body.iw-world-studio-active.iwal-studio-entrance-active .site-header{display:flex!important}
body.iw-world-studio-active.iwal-studio-entrance-active>main{position:relative!important;width:100%!important;max-width:none!important;height:auto!important;min-height:calc(100vh - 72px)!important;margin:0!important;padding:0!important;overflow:visible!important}
body.iw-world-studio-active.iwal-studio-entrance-active #page-world-studio.iwal-studio-mode{
  position:relative!important;
  z-index:auto!important;
  inset:auto!important;
  display:block!important;
  width:100%!important;
  max-width:none!important;
  min-height:calc(100vh - 72px)!important;
  height:auto!important;
  margin:0!important;
  padding:calc(var(--iw-docked-header-height,72px) + 24px) 0 0!important;
  place-items:initial!important;
  overflow:visible!important;
  overscroll-behavior:auto!important;
  border:0!important;
  background:radial-gradient(circle at 50% 12%,rgba(8,45,70,.34),transparent 38%),linear-gradient(145deg,#020a11,#03131e 55%,#020a10)!important;
  color:#f3f7fa!important;
}
#page-world-studio.iwal-studio-mode>.iw-ws90[hidden]{display:none!important}
.iwal-studio-entrance{width:min(1460px,calc(100% - 42px));margin:0 auto;padding:24px 0 48px}
.iwal-studio-title-row{display:flex;align-items:center;gap:15px;flex-wrap:wrap}
.iwal-studio-title-row h1{margin:0;font-size:34px;letter-spacing:-.025em}
.iwal-coming{padding:7px 12px;border:1px solid rgba(241,189,78,.45);border-radius:7px;background:rgba(112,69,4,.15);color:#f5be3e;font-size:9px;font-weight:850;letter-spacing:.13em}
/* Match Studio+'s fitted 1672 × 941 stage so its shared box keeps the same
   size and bottom-centre position at every viewport size. */
.iwal-world-notice-stage{
  position:fixed;inset:var(--iw-f80-top,72px) 0 0;z-index:10;
  display:grid;place-items:center;pointer-events:none;
}
.iwal-world-notice-frame{
  position:relative;
  width:min(100vw,calc((100dvh - var(--iw-f80-top,72px)) * 1672 / 941));
  aspect-ratio:1672 / 941;
}

.iwal-studio-lead{max-width:620px;margin:8px 0 18px;color:#c8d3dc;font-size:12px;line-height:1.5}
.iwal-studio-grid{display:grid;grid-template-columns:minmax(0,1fr) 244px;gap:22px;align-items:start}
.iwal-formats{display:grid;grid-template-columns:repeat(4,minmax(190px,1fr));gap:14px}
.iwal-format-card{overflow:hidden;border:1px solid var(--card-color);border-radius:9px;background:linear-gradient(180deg,rgba(5,21,34,.98),rgba(3,15,25,.98));box-shadow:0 18px 40px rgba(0,0,0,.18)}
.iwal-format-art{height:184px;background-position:center;background-size:cover;border-bottom:1px solid color-mix(in srgb,var(--card-color) 55%,transparent)}
.iwal-format-card[data-format="disk"] .iwal-format-art{background-position:center 48%}
.iwal-format-copy{display:flex;flex-direction:column;min-height:250px;padding:15px 14px 13px}
.iwal-format-name{display:flex;align-items:center;gap:10px;color:var(--card-color);font-size:19px;letter-spacing:.04em}.iwal-format-name i{font-size:22px;font-style:normal}
.iwal-format-copy>p{min-height:34px;margin:4px 0 8px;color:#c3ced7;font-size:11px;line-height:1.4}
.iwal-format-copy ul{display:grid;gap:7px;margin:0;padding:0;list-style:none;color:#cdd7df;font-size:10px}
.iwal-format-copy li::before{content:"✓";display:inline-grid;place-items:center;width:15px;height:15px;margin-right:7px;border-radius:50%;background:color-mix(in srgb,var(--card-color) 25%,transparent);color:var(--card-color);font-size:9px;font-weight:900}
.iwal-start{height:43px;margin-top:auto;border:1px solid color-mix(in srgb,var(--card-color) 75%,#fff);border-radius:7px;background:linear-gradient(110deg,color-mix(in srgb,var(--card-color) 65%,#04101a),color-mix(in srgb,var(--card-color) 38%,#04101a));color:#fff!important;font-size:12px;cursor:pointer}
.iwal-start:hover{filter:brightness(1.16)}
.iwal-preview{position:sticky;top:86px;padding:18px;border:1px solid var(--iwal-line);border-radius:9px;background:rgba(3,14,24,.86)}
.iwal-preview h2{margin:0 0 4px;font-size:16px}.iwal-preview h2 span{color:#3ea1ff}.iwal-preview>p{margin:0 0 18px;color:#b8c6d1;font-size:11px;line-height:1.5}
.iwal-preview ul{display:grid;gap:17px;margin:0;padding:0;list-style:none}.iwal-preview li{display:grid;grid-template-columns:31px 1fr;gap:9px;align-items:start}.iwal-preview li>i{display:grid;place-items:center;width:31px;height:31px;border:1px solid var(--iwal-line);border-radius:6px;background:#06131e;font-style:normal}.iwal-preview li span{display:grid;gap:3px}.iwal-preview li b{font-size:10px}.iwal-preview li small{color:#9fb0bd;font-size:9px;line-height:1.35}.iwal-preview button{width:100%;height:37px;margin-top:22px;border:1px solid var(--iwal-line);border-radius:6px;background:#07141f;color:#e7eef3;font-size:10px;cursor:pointer}
.iwal-drafts{grid-column:1;margin-top:4px;overflow:hidden;border:1px solid var(--iwal-line);border-radius:9px;background:rgba(2,13,22,.78)}
.iwal-drafts h2{margin:0;padding:13px 18px;border-bottom:1px solid rgba(138,170,195,.15);font-size:16px;font-weight:500}
.iwal-draft-head,.iwal-draft{display:grid;grid-template-columns:minmax(230px,1.6fr) 120px 165px 150px 110px 90px;align-items:center;gap:12px;padding:8px 16px}
.iwal-draft-head{color:#8899a6;font-size:8px;letter-spacing:.08em}.iwal-draft{min-height:58px;border-top:1px solid rgba(138,170,195,.13);font-size:10px}.iwal-project{display:grid;grid-template-columns:108px 1fr;align-items:center;gap:12px}.iwal-project img{width:108px;height:42px;object-fit:cover;border-radius:5px}.iwal-project span{display:grid;gap:3px}.iwal-project strong{font-size:11px}.iwal-project small{color:#899aa8;font-size:8px}.iwal-tag{justify-self:start;padding:6px 11px;border:1px solid currentColor;border-radius:5px;color:var(--tag-color);font-size:9px}.iwal-collabs{display:flex}.iwal-collabs i{display:grid;place-items:center;width:27px;height:27px;margin-left:-5px;border:1px solid #e5a947;border-radius:50%;background:#243645;color:#fff;font-size:8px;font-style:normal}.iwal-collabs i:first-child{margin-left:0}.iwal-status{color:#abb9c4}.iwal-status::before{content:"";display:inline-block;width:7px;height:7px;margin-right:7px;border-radius:50%;background:#428fff}.iwal-resume{height:31px;border:1px solid var(--iwal-line);border-radius:5px;background:#07141e;color:#f1f5f7;font-size:9px;cursor:pointer}.iwal-compare{grid-column:1;display:flex;justify-content:center;gap:10px;padding:14px;color:#aebbc5;font-size:10px}.iwal-compare button{border:0;background:transparent;color:#f1b638;cursor:pointer}

@media(max-width:1180px){
  .iwal-profile-hero{grid-template-columns:170px 1fr}.iwal-profile-avatar{width:170px;height:170px}.iwal-profile-actions{grid-column:2;justify-content:flex-start;padding:0 0 12px}.iwal-draft-head,.iwal-draft{grid-template-columns:minmax(230px,1fr) 100px 120px 110px 90px}.iwal-draft-head>*:nth-child(3),.iwal-draft>*:nth-child(3){display:none}
}
@media(min-width:940px) and (max-width:1180px){
  .iwal-studio-entrance{width:calc(100% - 24px)}
  .iwal-studio-grid{grid-template-columns:minmax(0,1fr) 210px;gap:12px}
  .iwal-formats{grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}
  .iwal-format-art{height:145px}
  .iwal-format-copy{min-height:260px;padding:12px 9px 11px}
  .iwal-format-name{gap:6px;font-size:15px}.iwal-format-name i{font-size:18px}
  .iwal-format-copy>p{min-height:31px;font-size:9px}
  .iwal-format-copy ul{gap:5px;font-size:8px}
  .iwal-format-copy li{display:flex;align-items:flex-start}
  .iwal-format-copy li::before{flex:0 0 13px;width:13px;height:13px;margin-right:5px;font-size:8px}
  .iwal-start{height:39px;font-size:10px}
  .iwal-preview{padding:14px}
}
@media(max-width:939px){
  .iwal-formats{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:760px){
  #page-creator-profile.iwal-profile-page{background-attachment:scroll!important}.iwal-profile{width:calc(100% - 18px);padding-top:14px}.iwal-profile-hero{grid-template-columns:96px 1fr;gap:14px;padding-inline:4px}.iwal-profile-avatar{width:96px;height:96px}.iwal-profile-copy h1{font-size:27px}.iwal-bio,.iwal-meta{grid-column:1/3}.iwal-counts{grid-column:1/3;gap:14px}.iwal-profile-actions{grid-column:1/3;display:grid;grid-template-columns:repeat(3,1fr);width:100%}.iwal-profile-actions button{padding:0 8px}.iwal-profile-actions .more{display:none}.iwal-profile-tabs{padding-inline:0}.iwal-profile-tabs button{min-width:92px}.iwal-reels-track{grid-template-columns:minmax(210px,1fr)}.iwal-post>p{padding-inline:14px}.iwal-approved-player-slot{margin-inline:0;border-radius:20px}.iwal-studio-entrance{width:calc(100% - 18px);padding-top:17px}.iwal-studio-grid{grid-template-columns:1fr}.iwal-preview{position:static;grid-row:2}.iwal-drafts{grid-column:1}.iwal-draft-head,.iwal-draft{grid-template-columns:1fr 70px}.iwal-draft-head>*:not(:first-child):not(:last-child),.iwal-draft>*:not(:first-child):not(:last-child){display:none}.iwal-project{grid-template-columns:74px 1fr}.iwal-project img{width:74px}.iwal-compare{grid-column:1}
}
@media(max-width:520px){.iwal-formats{grid-template-columns:1fr}.iwal-studio-title-row h1{font-size:29px}.iwal-profile-copy h1{font-size:23px}.iwal-counts{display:grid;grid-template-columns:repeat(4,1fr);width:100%;gap:4px}.iwal-count{min-width:0}.iwal-count strong{font-size:19px}}

/* Shared approved toolbar containment stays identical on every site page, including Studio+. */
html body .site-header.site-header{
  box-sizing:border-box!important;
  width:100%!important;
  max-width:100vw!important;
  padding-left:clamp(10px,1.4vw,22px)!important;
  padding-right:clamp(10px,1.4vw,22px)!important;
  gap:clamp(4px,.65vw,10px)!important;
  overflow:visible!important;
}
html body .site-header.site-header>*{box-sizing:border-box;min-width:0}
html body .site-header.site-header>.main-nav.main-nav{
  min-width:0!important;
  overflow:visible!important;
}
html body .site-header.site-header>.main-nav.main-nav .nav-btn{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  box-sizing:border-box!important;
  min-width:0!important;
  text-align:center!important;
  line-height:1!important;
}
html body .site-header.site-header>button.login-btn:last-of-type{
  flex:0 0 auto!important;
  min-width:max-content!important;
  margin-right:0!important;
  white-space:nowrap!important;
}

@media(min-width:1121px) and (max-width:1320px){
  html body .site-header.site-header{padding-inline:10px!important;gap:5px!important}
  html body .site-header.site-header>.brand.brand{gap:6px!important}
  html body .site-header.site-header>.brand.brand .brand-word{font-size:12px!important;letter-spacing:.07em!important}
  html body .site-header.site-header>.main-nav.main-nav{flex:0 1 auto!important;gap:0!important}
  html body .site-header.site-header>.main-nav.main-nav .nav-btn{padding-inline:6px!important;font-size:11px!important}
  html body .site-header.site-header>.header-spacer.header-spacer{flex:1 1 6px!important;min-width:0!important}
  html body .site-header.site-header>.header-search-shell.header-search-shell{flex:1 1 160px!important;width:auto!important;min-width:90px!important;max-width:210px!important}
  html body .site-header.site-header>.iw-head-action{width:38px!important;min-width:38px!important;padding-inline:8px!important}
  html body .site-header.site-header>.iw-head-action .label{display:none!important}
  html body .site-header.site-header>.icon-btn{width:38px!important;min-width:38px!important;padding:0!important}
  html body .site-header.site-header>#iwSubscribeBtn{padding-inline:9px!important}
  html body .site-header.site-header>button.login-btn:last-of-type{padding-inline:12px!important}
}

@media(max-width:1120px){
  html body .site-header.site-header{
    display:grid!important;
    grid-template-columns:auto minmax(0,1fr) repeat(5,auto)!important;
    grid-template-rows:46px 38px 42px!important;
    column-gap:7px!important;
    row-gap:5px!important;
    height:auto!important;
    min-height:141px!important;
    padding-top:4px!important;
    padding-bottom:6px!important;
    align-items:center!important;
  }
  html body .site-header.site-header>.brand.brand{grid-column:1!important;grid-row:1!important}
  html body .site-header.site-header>.header-spacer.header-spacer{display:block!important;grid-column:2!important;grid-row:1!important;min-width:0!important}
  html body .site-header.site-header>#iwMessagesBtn{grid-column:3!important;grid-row:1!important}
  html body .site-header.site-header>#iwCallBtn{grid-column:4!important;grid-row:1!important}
  html body .site-header.site-header>.icon-btn{grid-column:5!important;grid-row:1!important}
  html body .site-header.site-header>#iwSubscribeBtn{grid-column:6!important;grid-row:1!important}
  html body .site-header.site-header>button.login-btn:last-of-type{grid-column:7!important;grid-row:1!important}
  html body .site-header.site-header>.main-nav.main-nav{
    grid-column:1/-1!important;
    grid-row:2!important;
    display:grid!important;
    grid-template-columns:repeat(7,minmax(0,1fr))!important;
    width:100%!important;
    height:38px!important;
    gap:3px!important;
  }
  html body .site-header.site-header>.main-nav.main-nav .nav-btn{
    width:100%!important;
    height:34px!important;
    padding:0 3px!important;
    border-radius:999px!important;
    font-size:clamp(9px,1.3vw,11px)!important;
  }
  html body .site-header.site-header>.header-search-shell.header-search-shell{
    grid-column:1/-1!important;
    grid-row:3!important;
    width:100%!important;
    max-width:none!important;
    min-width:0!important;
    margin:0!important;
  }
}

@media(max-width:760px){
  .iwal-profile{width:calc(100% - 24px)}
  html body .site-header.site-header{
    grid-template-columns:auto minmax(0,1fr) repeat(4,auto)!important;
    padding-inline:7px!important;
  }
  html body .site-header.site-header>#iwMessagesBtn{grid-column:3!important}
  html body .site-header.site-header>#iwCallBtn{grid-column:4!important}
  html body .site-header.site-header>.icon-btn{grid-column:5!important}
  html body .site-header.site-header>#iwSubscribeBtn{display:none!important}
  html body .site-header.site-header>button.login-btn:last-of-type{grid-column:6!important;max-width:100%!important}
  html body .site-header.site-header>.main-nav.main-nav .nav-btn{padding-inline:1px!important;font-size:clamp(8px,2.25vw,10px)!important}
}

/* Restore the approved compact IW badge and keep Home visually separate. */
html body .site-header.site-header>.brand.brand{
  flex:0 0 auto!important;
  gap:8px!important;
  margin-right:12px!important;
  overflow:visible!important;
}
html body .site-header.site-header>.brand.brand .brand-mark{
  position:relative!important;
  display:grid!important;
  place-items:center!important;
  flex:0 0 34px!important;
  width:34px!important;
  height:34px!important;
  min-width:34px!important;
  overflow:hidden!important;
  border:1px solid rgba(241,189,78,.82)!important;
  border-radius:6px!important;
  background:linear-gradient(145deg,#071522,#02080e)!important;
  box-shadow:inset 0 0 0 2px rgba(241,189,78,.05)!important;
}
html body .site-header.site-header>.brand.brand .brand-mark img{display:none!important}
html body .site-header.site-header>.brand.brand .brand-mark::before{display:none!important}
html body .site-header.site-header>.brand.brand .brand-mark::after{
  content:"IW"!important;
  position:static!important;
  display:grid!important;
  place-items:center!important;
  width:auto!important;
  height:auto!important;
  border:0!important;
  border-radius:0!important;
  color:#f1bd4e!important;
  font:700 16px/1 Georgia,"Times New Roman",serif!important;
  letter-spacing:-.06em!important;
}
html body .site-header.site-header>.brand.brand .brand-word{
  min-width:max-content!important;
  white-space:nowrap!important;
}

/* Messages and Calls stay icon-only, preserving room for complete navigation labels. */
html body .site-header.site-header>#iwMessagesBtn,
html body .site-header.site-header>#iwCallBtn{
  display:inline-grid!important;
  place-items:center!important;
  flex:0 0 40px!important;
  width:40px!important;
  min-width:40px!important;
  height:40px!important;
  padding:0!important;
}
html body .site-header.site-header>#iwMessagesBtn>.label,
html body .site-header.site-header>#iwCallBtn>.label{display:none!important}
html body .site-header.site-header>#iwCallBtn svg{width:18px!important;height:18px!important}
html body .site-header.site-header>#iwMessagesBtn>span[aria-hidden="true"]{font-size:17px!important;line-height:1!important}
html body .site-header.site-header>.main-nav.main-nav{gap:3px!important}

@media(min-width:1121px) and (max-width:1320px){
  html body .site-header.site-header>.brand.brand{margin-right:9px!important}
  html body .site-header.site-header>.main-nav.main-nav .nav-btn{padding-inline:8px!important}
}

@media(max-width:1120px){
  html body .site-header.site-header>.brand.brand{margin-right:0!important}
}

@media(max-width:760px){
  html body .site-header.site-header>.brand.brand .brand-mark{flex-basis:30px!important;width:30px!important;height:30px!important;min-width:30px!important}
  html body .site-header.site-header>.brand.brand .brand-mark::after{font-size:14px!important}
  html body .site-header.site-header>#iwMessagesBtn,
  html body .site-header.site-header>#iwCallBtn{width:34px!important;min-width:34px!important;height:34px!important}
}
