/* Storyverse v36.57 — Yukio director shell */

.v3657-yukio-shell{
  --yk-bg:#f7f7f9;
  --yk-panel:#ffffff;
  --yk-text:#15161a;
  --yk-muted:#797b84;
  --yk-line:#e8e9ee;
  --yk-soft:#f1f2f5;
  --yk-accent:#6e63dc;
  position:fixed;inset:0;display:grid;
  grid-template-columns:248px minmax(0,1fr);
  background:var(--yk-bg);color:var(--yk-text);
  overflow:hidden;
  font-family:"Storyverse SF",-apple-system,BlinkMacSystemFont,"SF Pro Text","Helvetica Neue",Arial,sans-serif;
  color-scheme:light!important;
}
.v3657-yukio-shell *{box-sizing:border-box}
.v3657-yukio-shell button,.v3657-yukio-shell input,.v3657-yukio-shell select,.v3657-yukio-shell textarea{font:inherit}
.v3657-yukio-sidebar{
  min-width:0;min-height:0;
  display:flex;flex-direction:column;
  background:rgba(255,255,255,.97);
  border-right:1px solid var(--yk-line);
  padding:13px 11px 12px;
  overflow:auto;
  transition:width .18s ease,padding .18s ease;
  z-index:20;
}
.v3657-sidebar-brand{
  height:45px;display:grid;grid-template-columns:30px minmax(0,1fr) 28px;gap:8px;align-items:center;padding:0 4px 8px;
}
.v3657-sidebar-brand .device-logo{
  width:30px;height:30px;border-radius:10px;display:grid;place-items:center;
  background:#2f607a;color:#fff;font-size:12px;font-weight:900;
}
.v3657-sidebar-brand strong{font-size:13px;letter-spacing:-.025em}
.v3657-sidebar-brand>button{
  width:28px;height:28px;border:0;border-radius:9px;background:#f2f3f6;color:#666;cursor:pointer
}
.v3657-universe{position:relative;margin:4px 0 12px}
.v3657-universe>button{
  width:100%;min-height:50px;border:0;border-radius:15px;background:#f1f2f6;color:#222;
  display:grid;grid-template-columns:10px minmax(0,1fr) 18px;gap:8px;align-items:center;padding:8px 10px;text-align:left;cursor:pointer
}
.v3657-u-dot{width:8px;height:8px;border-radius:50%;background:#2f8fa7}
.v3657-universe strong,.v3657-universe small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.v3657-universe strong{font-size:9px}.v3657-universe small{font-size:6.5px;color:#8b8c93;margin-top:1px}
.v3657-universe i{font-style:normal;color:#888}
.v3657-universe .universe-menu{
  position:absolute;left:0;right:0;top:54px;z-index:50;background:#fff;border:1px solid #e4e5ea;border-radius:13px;
  padding:6px;box-shadow:0 15px 35px rgba(0,0,0,.12)
}
.v3657-universe .universe-menu.hidden{display:none}
.v3657-universe .universe-menu button{width:100%;border:0;background:transparent;border-radius:9px;padding:8px;text-align:left;font-size:8px;cursor:pointer}
.v3657-universe .universe-menu button:hover{background:#f3f3f5}
.v3657-nav-label{
  display:block;padding:0 8px 6px;font-size:6px;text-transform:uppercase;letter-spacing:.11em;color:#a0a1aa;font-weight:900
}
.v3657-director-nav{display:grid;gap:2px}
.v3657-director-nav button,.v3657-phone-home-link{
  width:100%;height:37px;border:0;border-radius:10px;background:transparent;color:#5d6069;
  display:grid;grid-template-columns:24px minmax(0,1fr) auto;gap:7px;align-items:center;padding:0 9px;text-align:left;cursor:pointer
}
.v3657-director-nav button i,.v3657-phone-home-link i{display:grid;place-items:center;font-style:normal}
.v3657-director-nav svg,.v3657-phone-home-link svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.8}
.v3657-director-nav button span,.v3657-phone-home-link span{font-size:8.7px;font-weight:720}
.v3657-director-nav button b{
  min-width:18px;height:18px;border-radius:9px;display:grid;place-items:center;background:#e8e8ed;color:#666;font-size:6px;padding:0 4px
}
.v3657-director-nav button:hover,.v3657-phone-home-link:hover{background:#f3f3f5;color:#222}
.v3657-director-nav button.active,.v3657-phone-home-link.active{background:#ececf2;color:#17171b}
.v3657-session{margin-top:18px;padding-top:13px;border-top:1px solid #eeeeef}
.v3657-session-card{
  width:100%;border:0;border-radius:13px;background:#f7f7f9;color:#222;
  display:grid;grid-template-columns:37px minmax(0,1fr) 12px;gap:8px;align-items:center;padding:8px;text-align:left;cursor:pointer;margin-bottom:6px
}
.v3657-session-card:hover{background:#efeff3}
.v3657-session-avatar{position:relative;width:37px;height:37px}
.v3657-session-avatar img{width:37px;height:37px;border-radius:50%;object-fit:cover}
.v3657-session-avatar i{position:absolute;right:-1px;bottom:0;width:9px;height:9px;border-radius:50%;background:#35ba72;border:2px solid #f7f7f9}
.v3657-session-card strong,.v3657-session-card small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.v3657-session-card strong{font-size:8.8px}.v3657-session-card small{font-size:6.3px;color:#8a8c94;margin-top:2px}
.v3657-session-card>b{font-size:10px;color:#999}
.v3657-char-apps{display:grid;gap:1px;margin-top:4px}
.v3657-char-apps .v3657-char-app{
  min-height:32px;border:0;border-radius:9px;background:transparent;color:#686a73;
  display:grid;grid-template-columns:24px minmax(0,1fr);gap:7px;align-items:center;padding:0 9px;text-align:left;cursor:pointer
}
.v3657-char-apps .v3657-char-app:hover,.v3657-char-apps .v3657-char-app.active{background:#f3f3f5;color:#222}
.v3657-char-apps .v3657-char-app .v3657-app-icon{
  width:22px;height:22px;border-radius:7px;display:grid;place-items:center;background:#ececf1
}
.v3657-char-apps .v3657-char-app .v3657-app-icon svg{width:12px;height:12px;fill:none;stroke:currentColor;stroke-width:1.8}
.v3657-char-apps .v3657-char-app .v3657-app-icon+small{display:block!important;font-size:7.8px!important}
.v3657-yukio-sidebar>footer{margin-top:auto;padding-top:12px}
.v3657-yukio-sidebar>footer button{
  width:100%;height:35px;border:0;border-radius:10px;background:transparent;color:#9a5656;display:flex;align-items:center;gap:7px;padding:0 9px;cursor:pointer
}
.v3657-yukio-sidebar>footer button:hover{background:#fff1f1}
.v3657-yukio-sidebar>footer svg{width:14px;height:14px;fill:none;stroke:currentColor}
.v3657-yukio-sidebar>footer span{font-size:8px}

/* collapsed director sidebar */
.v3657-yukio-shell.sidebar-collapsed{grid-template-columns:68px minmax(0,1fr)}
.v3657-yukio-shell.sidebar-collapsed .v3657-yukio-sidebar{padding-left:8px;padding-right:8px}
.v3657-yukio-shell.sidebar-collapsed .v3657-sidebar-brand{grid-template-columns:30px 1fr;height:48px}
.v3657-yukio-shell.sidebar-collapsed .v3657-sidebar-brand strong,
.v3657-yukio-shell.sidebar-collapsed .v3657-sidebar-brand>button,
.v3657-yukio-shell.sidebar-collapsed .v3657-universe>button>span:nth-child(2),
.v3657-yukio-shell.sidebar-collapsed .v3657-universe>button>i,
.v3657-yukio-shell.sidebar-collapsed .v3657-nav-label,
.v3657-yukio-shell.sidebar-collapsed .v3657-director-nav button>span,
.v3657-yukio-shell.sidebar-collapsed .v3657-director-nav button>b,
.v3657-yukio-shell.sidebar-collapsed .v3657-session-card>span:nth-child(2),
.v3657-yukio-shell.sidebar-collapsed .v3657-session-card>b,
.v3657-yukio-shell.sidebar-collapsed .v3657-phone-home-link>span,
.v3657-yukio-shell.sidebar-collapsed .v3657-char-apps small,
.v3657-yukio-shell.sidebar-collapsed .v3657-yukio-sidebar>footer span{display:none!important}
.v3657-yukio-shell.sidebar-collapsed .v3657-universe>button,
.v3657-yukio-shell.sidebar-collapsed .v3657-director-nav button,
.v3657-yukio-shell.sidebar-collapsed .v3657-session-card,
.v3657-yukio-shell.sidebar-collapsed .v3657-phone-home-link,
.v3657-yukio-shell.sidebar-collapsed .v3657-char-apps .v3657-char-app{
  display:grid;grid-template-columns:1fr!important;place-items:center;padding:0
}
.v3657-yukio-shell.sidebar-collapsed .v3657-session{margin-top:12px}
.v3657-yukio-shell.sidebar-collapsed .v3657-session-card{height:44px}
.v3657-yukio-shell.sidebar-collapsed .v3657-session-avatar{width:32px;height:32px}
.v3657-yukio-shell.sidebar-collapsed .v3657-session-avatar img{width:32px;height:32px}
.v3657-yukio-shell.sidebar-collapsed .v3657-universe>button{height:38px;min-height:38px}
.v3657-yukio-shell.sidebar-collapsed .v3657-universe .universe-menu{left:58px;top:0;width:210px}

/* main */
.v3657-yukio-main{min-width:0;min-height:0;display:grid;grid-template-rows:54px minmax(0,1fr);overflow:hidden}
.v3657-yukio-topbar{
  height:54px;border-bottom:1px solid var(--yk-line);background:rgba(255,255,255,.96);
  display:flex;align-items:center;justify-content:space-between;padding:0 18px;position:relative;z-index:18
}
.v3657-yukio-topbar>div:first-child{display:flex;align-items:center;gap:8px}
.v3657-yukio-topbar>div:first-child>span{font-size:9px;font-weight:850}
.v3657-mobile-menu{display:none}
.v3657-topbar-actions{display:flex;align-items:center;gap:7px}
.v3657-top-session{
  height:34px;border:1px solid #e2e3e8;border-radius:17px;background:#fff;color:#333;display:flex;align-items:center;gap:7px;padding:0 9px 0 5px;cursor:pointer
}
.v3657-top-session img{width:25px;height:25px;border-radius:50%;object-fit:cover}
.v3657-top-session span{font-size:7.5px;font-weight:750}.v3657-top-session i{font-style:normal;color:#999;font-size:8px}
.v3657-yukio-topbar .v31-dashboard-bell{
  position:relative;width:34px;height:34px;border:0;border-radius:50%;background:#f3f3f6;color:#555;display:grid;place-items:center;cursor:pointer
}
.v3657-yukio-topbar .v31-dashboard-bell svg{width:14px;height:14px;fill:none;stroke:currentColor}
.v3657-yukio-topbar .v31-dashboard-bell b{
  position:absolute;right:-2px;top:-3px;min-width:15px;height:15px;border-radius:8px;background:#ff4e4e;color:#fff;font-size:5.5px;display:grid;place-items:center;padding:0 3px
}
.v3657-yukio-content{min-width:0;min-height:0;overflow:auto;background:#f8f8fa}
.v3657-yukio-content>.admin-content{padding:18px 20px 28px;background:#fff;min-height:100%}
.v3657-loading{height:100%;display:grid;place-items:center;color:#888;font-size:9px}

/* central */
.v3657-central{width:min(1180px,100%);margin:0 auto;padding:24px 24px 34px}
.v3657-central-hero{
  min-height:170px;border-radius:24px;padding:25px;display:flex;align-items:flex-end;justify-content:space-between;gap:20px;
  background:
    radial-gradient(circle at 80% 15%,rgba(255,255,255,.25),transparent 28%),
    linear-gradient(135deg,#25262d,#3b3c49 68%,#555467);
  color:#fff;box-shadow:0 18px 44px rgba(24,24,31,.12)
}
.v3657-central-hero>div>span{font-size:7px;text-transform:uppercase;letter-spacing:.11em;opacity:.55;font-weight:850}
.v3657-central-hero h1{font-size:34px;letter-spacing:-.055em;margin:5px 0 7px}
.v3657-central-hero p{max-width:620px;margin:0;font-size:9px;line-height:1.5;opacity:.68}
.v3657-central-session{
  flex:0 0 250px;border:1px solid rgba(255,255,255,.15);border-radius:17px;background:rgba(255,255,255,.1);color:#fff;
  backdrop-filter:blur(14px);display:grid;grid-template-columns:44px minmax(0,1fr) auto;gap:10px;align-items:center;padding:9px;text-align:left;cursor:pointer
}
.v3657-central-session img{width:44px;height:44px;border-radius:50%;object-fit:cover}
.v3657-central-session span small,.v3657-central-session span strong{display:block}
.v3657-central-session small{font-size:6px;opacity:.55}.v3657-central-session strong{font-size:9.5px;margin-top:2px}
.v3657-central-session>b{font-size:7px;opacity:.7}
.v3657-central-session.empty{grid-template-columns:minmax(0,1fr) auto}
.v3657-now-strip{
  display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin:12px 0
}
.v3657-now-strip>div,.v3657-now-strip>button{
  min-height:66px;border:1px solid #e8e8ed;border-radius:15px;background:#fff;color:#111;padding:10px 12px;text-align:left
}
.v3657-now-strip>button{cursor:pointer}
.v3657-now-strip span,.v3657-now-strip strong{display:block}
.v3657-now-strip span{font-size:6.5px;color:#8d8f97}.v3657-now-strip strong{font-size:12px;margin-top:4px}
.v3657-now-strip>div{position:relative;padding-left:27px}
.v3657-now-strip>div>i{position:absolute;left:12px;top:14px;width:8px;height:8px;border-radius:50%;background:#aaa}
.v3657-now-strip>div.online>i{background:#35ba72;box-shadow:0 0 0 4px rgba(53,186,114,.12)}
.v3657-control-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.v3657-control-card{
  min-height:135px;border:1px solid #e7e8ed;border-radius:18px;background:#fff;color:#17171b;
  display:grid;grid-template-columns:37px minmax(0,1fr) 12px;gap:10px;align-items:start;padding:14px;text-align:left;cursor:pointer
}
.v3657-control-card:hover{background:#fafafa;border-color:#d9dae0;box-shadow:0 8px 24px rgba(0,0,0,.04)}
.v3657-control-card>i{width:36px;height:36px;border-radius:11px;background:#f1f1f5;display:grid;place-items:center;font-style:normal;color:#4d4f57}
.v3657-control-card>i svg{width:16px;height:16px;fill:none;stroke:currentColor}
.v3657-control-card>div>span{font-size:6px;text-transform:uppercase;letter-spacing:.08em;color:#94959d;font-weight:850}
.v3657-control-card h3{font-size:12px;margin:4px 0 5px}.v3657-control-card p{font-size:7.2px;line-height:1.45;color:#787a82;margin:0}
.v3657-control-card>b{color:#aaa;font-size:14px;padding-top:8px}
.v3657-control-card.phone>i{background:#ece9ff;color:#6f61d3}
.v3657-activity{
  margin-top:12px;border:1px solid #e7e8ed;border-radius:18px;background:#fff;overflow:hidden
}
.v3657-activity>header{padding:13px 14px;border-bottom:1px solid #eeeeef}
.v3657-activity>header span{display:block;font-size:6px;text-transform:uppercase;letter-spacing:.09em;color:#999;font-weight:850}
.v3657-activity>header h2{font-size:11px;margin:2px 0 0}
.v3657-activity>div{padding:3px 10px 10px}
.v3657-activity>div>button{
  width:100%;min-height:51px;border:0;border-bottom:1px solid #f0f0f2;background:#fff;color:#222;
  display:grid;grid-template-columns:34px minmax(0,1fr) auto;gap:9px;align-items:center;text-align:left;padding:7px 3px;cursor:pointer
}
.v3657-activity>div>button:hover{background:#fafafa}
.v3657-activity>div>button>i{width:32px;height:32px;border-radius:10px;background:#f1f1f4;display:grid;place-items:center;font-style:normal}
.v3657-activity>div>button>i svg{width:14px;height:14px;fill:none;stroke:currentColor}
.v3657-activity>div>button span strong,.v3657-activity>div>button span small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.v3657-activity>div>button span strong{font-size:8px}.v3657-activity>div>button span small{font-size:6.5px;color:#8c8e96;margin-top:2px}
.v3657-activity time{font-size:6px;color:#a0a1a8}
.v3657-empty{padding:25px;text-align:center;color:#92939b;font-size:8px}

/* character phone / desktop surface */
.v3657-character-home{
  position:relative;min-height:100%;overflow:hidden;padding:30px 30px 110px;
  background:linear-gradient(145deg,#d9dde8,#ececf4 48%,#d8d3e3);
  color:#fff
}
.v3657-character-home.has-wall{background-image:var(--v3657-wall);background-size:cover;background-position:center}
.v3657-character-home-scrim{
  position:absolute;inset:0;background:linear-gradient(180deg,rgba(12,13,17,.20),rgba(12,13,17,.48));backdrop-filter:blur(1px)
}
.v3657-character-home>header,.v3657-char-widgets,.v3657-character-app-grid,.v3657-character-dock,.v3657-char-notif{position:relative;z-index:2}
.v3657-character-home>header{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}
.v3657-char-clock strong,.v3657-char-clock span{display:block;text-shadow:0 1px 10px rgba(0,0,0,.18)}
.v3657-char-clock strong{font-size:33px;letter-spacing:-.055em}.v3657-char-clock span{font-size:8px;text-transform:capitalize;opacity:.82;margin-top:2px}
.v3657-char-owner{
  border:1px solid rgba(255,255,255,.22);border-radius:18px;background:rgba(24,24,30,.26);color:#fff;
  backdrop-filter:blur(18px);display:grid;grid-template-columns:37px minmax(0,1fr) 12px;gap:8px;align-items:center;padding:7px 9px;text-align:left;cursor:pointer
}
.v3657-char-owner img{width:37px;height:37px;border-radius:50%;object-fit:cover}
.v3657-char-owner span small,.v3657-char-owner span strong{display:block}
.v3657-char-owner small{font-size:6px;opacity:.6}.v3657-char-owner strong{font-size:9px;margin-top:1px}
.v3657-char-owner>b{font-size:9px}
.v3657-char-widgets{
  display:grid;grid-template-columns:1.3fr .85fr .85fr;gap:9px;margin-top:28px;max-width:720px
}
.v3657-char-widgets button{
  min-height:95px;border:1px solid rgba(255,255,255,.2);border-radius:19px;background:rgba(255,255,255,.18);color:#fff;
  backdrop-filter:blur(18px);padding:13px;text-align:left;cursor:pointer
}
.v3657-char-widgets span,.v3657-char-widgets strong,.v3657-char-widgets small{display:block}
.v3657-char-widgets span{font-size:6.5px;text-transform:uppercase;letter-spacing:.08em;opacity:.66}
.v3657-char-widgets strong{font-size:25px;letter-spacing:-.045em;margin-top:5px}.v3657-char-widgets small{font-size:6.5px;opacity:.7;margin-top:3px}
.v3657-character-app-grid{
  display:grid;grid-template-columns:repeat(6,78px);gap:22px 18px;margin-top:28px;align-content:start
}
.v3657-char-app{position:relative;border:0;background:transparent;color:inherit;display:grid;justify-items:center;gap:5px;cursor:pointer}
.v3657-character-app-grid .v3657-char-app small{font-size:7px;color:#fff;text-shadow:0 1px 8px rgba(0,0,0,.38)}
.v3657-app-icon{
  position:relative;width:54px;height:54px;border-radius:15px;display:grid;place-items:center;background:rgba(255,255,255,.92);color:#444;
  box-shadow:0 6px 18px rgba(0,0,0,.12)
}
.v3657-app-icon svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.65}
.v3657-app-icon>b{
  position:absolute;right:-5px;top:-5px;min-width:17px;height:17px;border-radius:9px;background:#ff4c4f;color:#fff;font-size:5.7px;display:grid;place-items:center;padding:0 4px
}
.v3657-app-icon.app-messages{background:#2ecf6f;color:#fff}
.v3657-app-icon.app-phone{background:#29c663;color:#fff}
.v3657-app-icon.app-instagram{background:linear-gradient(135deg,#8b4dd6,#e84682,#f0a63d);color:#fff}
.v3657-app-icon.app-feed{background:#1f2026;color:#fff}
.v3657-app-icon.app-mail{background:#fff;color:#53657a}
.v3657-app-icon.app-youtube{background:#fff;color:#f10000}
.v3657-app-icon.app-calendar{background:linear-gradient(180deg,#f05c65 0 28%,#fff 28%);color:#333}
.v3657-app-icon.app-wallet{background:#17181d;color:#fff}
.v3657-app-icon.app-gallery{background:linear-gradient(145deg,#ffb870,#f58bb6 50%,#8ea8ff);color:#fff}
.v3657-app-icon.app-maps{background:linear-gradient(145deg,#8bcda8,#8bbbe8);color:#fff}
.v3657-app-icon.app-music{background:#fff;color:#7b65dd}
.v3657-app-icon.app-news{background:#f0f0f2;color:#555}
.v3657-app-icon.app-character-profile{background:#ececf0;color:#5e5e68}
.v3657-character-dock{
  position:absolute;left:50%;bottom:24px;transform:translateX(-50%);
  min-width:290px;height:74px;border:1px solid rgba(255,255,255,.22);border-radius:23px;background:rgba(248,248,250,.28);
  backdrop-filter:blur(24px);display:flex;align-items:center;justify-content:center;gap:14px;padding:9px 14px
}
.v3657-character-dock .v3657-char-app{display:block}
.v3657-character-dock .v3657-app-icon{width:49px;height:49px;border-radius:14px}
.v3657-char-notif{
  position:absolute;right:26px;bottom:26px;padding:7px 10px;border-radius:13px;background:rgba(20,20,25,.35);backdrop-filter:blur(15px);font-size:6.5px
}

/* existing admin apps inside the new shell */
.v3657-yukio-shell .admin-content{max-width:none!important}
.v3657-yukio-shell .app-page{color:#111}
.v3657-yukio-shell .app-page-head{
  background:#fff!important;border-bottom:1px solid #ececf0!important;padding:19px 20px!important;margin:-18px -20px 18px!important
}
.v3657-yukio-shell .app-page-head h1{font-size:25px!important;letter-spacing:-.05em!important}
.v3657-yukio-shell .app-page-head .eyebrow{font-size:6.5px!important;color:#90929a!important}
.v3657-yukio-shell .app-page-head p{font-size:8px!important;color:#81838b!important}
.v3657-yukio-shell .dashboard-grid{max-width:1180px;margin:0 auto}
.v3657-yukio-shell .dash-card,.v3657-yukio-shell .v3620-admin-card{
  border:1px solid #e7e8ed!important;border-radius:17px!important;background:#fff!important;box-shadow:none!important
}
.v3657-yukio-shell .character-grid{
  grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:10px!important
}
.v3657-yukio-shell .character-card{
  border:1px solid #e7e8ed!important;border-radius:17px!important;background:#fff!important;box-shadow:none!important
}
.v3657-yukio-shell .character-card .btn{border-radius:11px!important}
.v3657-yukio-shell .v3620-collab-admin{max-width:1180px;margin:0 auto}
.v3657-yukio-shell .v3626-notes-page{height:100%!important}
.v3657-yukio-shell .v35-scenes-app{background:#fff!important;color:#111!important}
.v3657-yukio-shell .v35-scenes-intro{border-radius:15px!important;background:#f4f4f6!important;border:0!important}
.v3657-yukio-shell .v35-scene-card{border-radius:16px!important;border:1px solid #e7e8ed!important;background:#fff!important}
.v3657-character-content{padding:0!important}

/* mobile director */
.v3657-mobile-island,.v3657-mobile-director,.v3657-mobile-director-back{display:none}

@media(max-width:1180px) and (min-width:761px){
  .v3657-control-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .v3657-character-app-grid{grid-template-columns:repeat(5,74px)}
  .v3657-yukio-shell .character-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}

@media(max-width:760px){
  .v3657-yukio-shell{
    display:block!important;
    position:fixed;inset:0;background:#fff;
  }
  .v3657-yukio-sidebar{display:none!important}
  .v3657-yukio-main{
    display:block;height:100%;overflow:hidden
  }
  .v3657-yukio-topbar{display:none}
  .v3657-yukio-content{height:100%;overflow:auto;background:#fff;padding-top:0}
  .v3657-mobile-island{
    display:grid;position:fixed;z-index:2147481800;
    top:calc(env(safe-area-inset-top) + 7px);left:50%;transform:translateX(-50%);
    min-width:150px;max-width:72vw;height:36px;border:1px solid rgba(255,255,255,.2);border-radius:18px;
    background:rgba(22,22,27,.78);color:#fff;backdrop-filter:blur(18px);
    grid-template-columns:auto minmax(0,1fr) auto;gap:6px;align-items:center;padding:0 8px;box-shadow:0 8px 22px rgba(0,0,0,.12)
  }
  .v3657-mobile-island img{width:25px;height:25px;border-radius:50%;object-fit:cover}
  .v3657-mobile-island span{min-width:0;text-align:left}
  .v3657-mobile-island small,.v3657-mobile-island strong{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .v3657-mobile-island small{font-size:5.5px;opacity:.55}.v3657-mobile-island strong{font-size:7.5px;margin-top:1px}
  .v3657-mobile-island>b{font-size:7px}
  .v3657-mobile-director-back{
    position:fixed;inset:0;z-index:2147481801;background:rgba(10,10,14,.28);backdrop-filter:blur(4px)
  }
  .v3657-mobile-director-back.open{display:block}
  .v3657-mobile-director{
    position:fixed;z-index:2147481802;left:8px;right:8px;top:calc(env(safe-area-inset-top) + 50px);bottom:8px;
    border-radius:24px;background:#fff;box-shadow:0 26px 80px rgba(0,0,0,.28);overflow:hidden;
    grid-template-rows:54px minmax(0,1fr);transform:translateY(-8px);opacity:0;pointer-events:none
  }
  .v3657-mobile-director.open{display:grid;transform:none;opacity:1;pointer-events:auto}
  .v3657-mobile-director>header{display:flex;align-items:center;justify-content:space-between;padding:0 15px;border-bottom:1px solid #ededf0}
  .v3657-mobile-director>header span,.v3657-mobile-director>header strong{display:block}
  .v3657-mobile-director>header span{font-size:5.5px;text-transform:uppercase;letter-spacing:.1em;color:#999}
  .v3657-mobile-director>header strong{font-size:11px;margin-top:2px}
  .v3657-mobile-director>header button{width:31px;height:31px;border:0;border-radius:10px;background:#f2f2f5;color:#555}
  .v3657-mobile-director-scroll{overflow:auto;padding:11px 10px 20px}
  .v3657-mobile-director .v3657-universe{margin-bottom:14px}
  .v3657-mobile-director .v3657-director-nav{margin-bottom:16px}
  .v3657-mobile-char-switch,.v3657-mobile-char-app-list{margin-top:14px;padding-top:12px;border-top:1px solid #eee}
  .v3657-mobile-char-switch>div{display:grid;gap:5px}
  .v3657-mobile-char-switch>div>button{
    min-height:48px;border:0;border-radius:13px;background:#f7f7f9;color:#222;
    display:grid;grid-template-columns:38px minmax(0,1fr) auto;gap:8px;align-items:center;padding:6px 8px;text-align:left
  }
  .v3657-mobile-char-switch>div>button.active{background:#eeecff}
  .v3657-mobile-char-switch img{width:38px;height:38px;border-radius:50%;object-fit:cover}
  .v3657-mobile-char-switch strong,.v3657-mobile-char-switch small{display:block}
  .v3657-mobile-char-switch strong{font-size:9px}.v3657-mobile-char-switch small{font-size:6.5px;color:#888;margin-top:1px}
  .v3657-mobile-char-switch i{font-style:normal;font-size:6px;color:#6f62d3}
  .v3657-mobile-char-app-list{display:grid;grid-template-columns:repeat(2,1fr);gap:5px}
  .v3657-mobile-char-app-list>.v3657-nav-label{grid-column:1/-1}
  .v3657-mobile-char-app-list button{
    min-height:38px;border:0;border-radius:11px;background:#f5f5f7;color:#444;display:flex;align-items:center;gap:7px;padding:0 9px;text-align:left
  }
  .v3657-mobile-char-app-list button svg{width:14px;height:14px;fill:none;stroke:currentColor}
  .v3657-mobile-char-app-list button span{font-size:7.5px}

  .v3657-central{padding:62px 10px 24px}
  .v3657-central-hero{min-height:150px;border-radius:20px;padding:18px;display:block}
  .v3657-central-hero h1{font-size:28px}.v3657-central-hero p{font-size:8px}
  .v3657-central-session{margin-top:14px;width:100%;max-width:none}
  .v3657-now-strip{grid-template-columns:repeat(2,1fr);gap:6px}
  .v3657-control-grid{grid-template-columns:1fr;gap:7px}
  .v3657-control-card{min-height:105px}
  .v3657-activity>div>button{grid-template-columns:32px minmax(0,1fr)}
  .v3657-activity time{display:none}

  .v3657-character-home{
    height:100%;min-height:100%;padding:70px 14px 100px;overflow:auto
  }
  .v3657-character-home>header{align-items:center}
  .v3657-char-clock strong{font-size:28px}.v3657-char-clock span{font-size:7px}
  .v3657-char-owner{grid-template-columns:31px minmax(0,1fr) 10px;padding:5px 7px}
  .v3657-char-owner img{width:31px;height:31px}
  .v3657-char-owner span{display:none}
  .v3657-char-widgets{grid-template-columns:1.3fr .85fr;gap:6px;margin-top:20px}
  .v3657-char-widgets button{min-height:82px;border-radius:17px;padding:11px}
  .v3657-char-widgets button:nth-child(3){display:none}
  .v3657-character-app-grid{
    grid-template-columns:repeat(4,1fr);gap:19px 8px;margin-top:22px
  }
  .v3657-app-icon{width:50px;height:50px;border-radius:14px}
  .v3657-app-icon svg{width:21px;height:21px}
  .v3657-character-app-grid .v3657-char-app small{font-size:6.5px}
  .v3657-character-dock{
    position:fixed;bottom:calc(10px + env(safe-area-inset-bottom));min-width:242px;height:67px;border-radius:21px;gap:10px;padding:8px 11px
  }
  .v3657-character-dock .v3657-app-icon{width:46px;height:46px}
  .v3657-char-notif{right:12px;bottom:calc(85px + env(safe-area-inset-bottom))}
  .v3657-yukio-content>.admin-content{
    padding:62px 9px 22px!important;
  }
  .v3657-yukio-shell .app-page-head{
    margin:-62px -9px 12px!important;padding:62px 11px 12px!important;
  }
  .v3657-yukio-shell .character-grid{grid-template-columns:1fr!important}
  .v3657-yukio-shell .v3626-notes-page{padding-top:52px!important}
  .v3657-yukio-shell .v35-scenes-app{padding-top:52px!important}
}


/* v36.57.1 — character device library + collapsed sidebar reopen */
.v3657-yukio-shell.sidebar-collapsed .v3657-sidebar-brand{
  grid-template-columns:30px 24px!important;
  justify-content:center;
}
.v3657-yukio-shell.sidebar-collapsed .v3657-sidebar-brand>button{
  display:grid!important;
  place-items:center;
  width:24px!important;height:24px!important;
  transform:rotate(180deg);
  padding:0!important;
}
.v3657-yukio-shell.sidebar-collapsed .v3657-char-apps .v3657-char-app{
  height:31px;
}
.v3657-yukio-shell.sidebar-collapsed .v3657-char-apps .v3657-app-icon{
  width:23px;height:23px;
}

.v3657-characters-control{
  width:min(1180px,100%);margin:0 auto;
}
.v3657-section-head{
  display:flex;align-items:flex-end;justify-content:space-between;gap:18px;
  padding:3px 0 15px;border-bottom:1px solid #ececf0
}
.v3657-section-head>div>span{
  display:block;font-size:6px;text-transform:uppercase;letter-spacing:.1em;color:#999aa2;font-weight:900
}
.v3657-section-head h1{font-size:27px;letter-spacing:-.05em;margin:3px 0 4px}
.v3657-section-head p{font-size:8px;color:#81838b;margin:0}
.v3657-section-head>button{
  height:35px;border:0;border-radius:17px;background:#17181d;color:#fff;padding:0 12px;font-size:8px;font-weight:850;cursor:pointer
}
.v3657-filterbar{display:flex;gap:4px;padding:12px 0}
.v3657-filterbar button{
  height:31px;border:0;border-radius:15px;background:transparent;color:#777982;padding:0 10px;font-size:7.5px;font-weight:800;cursor:pointer
}
.v3657-filterbar button:hover{background:#f3f3f5;color:#222}
.v3657-filterbar button.active{background:#ececf1;color:#17171b}
.v3657-filterbar b{
  display:inline-grid;place-items:center;min-width:17px;height:17px;margin-left:4px;border-radius:9px;background:#dedee4;font-size:5.8px
}
.v3657-manage-grid{
  display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px
}
.v3657-manage-char{
  min-width:0;border:1px solid #e6e7ec;border-radius:17px;background:#fff;overflow:hidden
}
.v3657-manage-cover{
  height:82px;background:linear-gradient(135deg,#ececf0,#f7f7f9);background-size:cover;background-position:center
}
.v3657-manage-body{padding:0 11px 11px;position:relative}
.v3657-manage-body>img{
  width:50px;height:50px;border-radius:50%;object-fit:cover;border:4px solid #fff;background:#eee;
  margin-top:-25px;position:relative;z-index:2
}
.v3657-manage-title{margin-top:4px}
.v3657-manage-title span{
  display:block;font-size:5.5px;text-transform:uppercase;letter-spacing:.08em;color:#9697a0;font-weight:850
}
.v3657-manage-title strong,.v3657-manage-title small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.v3657-manage-title strong{font-size:11px;margin-top:2px}.v3657-manage-title small{font-size:6.5px;color:#898b93;margin-top:1px}
.v3657-manage-body>p{
  min-height:31px;margin:8px 0 10px;font-size:7px;line-height:1.45;color:#72747c;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden
}
.v3657-manage-body>p.muted{color:#aaa}
.v3657-manage-body>footer{
  display:flex;gap:5px;align-items:center;flex-wrap:wrap;padding-top:9px;border-top:1px solid #f0f0f2
}
.v3657-manage-body>footer button{
  height:29px;border:1px solid #e1e2e7;border-radius:10px;background:#fff;color:#444;padding:0 8px;font-size:6.5px;font-weight:800;cursor:pointer
}
.v3657-manage-body>footer button:hover{background:#f5f5f7}
.v3657-manage-body>footer button.primary{background:#17181d;color:#fff;border-color:#17181d}
.v3657-protected-label{
  height:29px;display:inline-flex;align-items:center;padding:0 8px;border-radius:10px;background:#f3f3f5;color:#92939a;font-size:6.5px;font-weight:800
}
.v3657-character-summary{
  display:flex;gap:14px;padding:14px 2px;color:#96979f;font-size:6.5px
}

@media(max-width:1100px) and (min-width:761px){
  .v3657-manage-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:880px) and (min-width:761px){
  .v3657-manage-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:760px){
  .v3657-characters-control{padding-top:5px}
  .v3657-section-head{align-items:center}
  .v3657-section-head h1{font-size:24px}
  .v3657-section-head p{display:none}
  .v3657-section-head>button{height:32px;font-size:7px}
  .v3657-filterbar{overflow:auto;scrollbar-width:none}
  .v3657-filterbar::-webkit-scrollbar{display:none}
  .v3657-filterbar button{flex:0 0 auto}
  .v3657-manage-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
  .v3657-manage-cover{height:72px}
  .v3657-manage-body{padding:0 8px 8px}
  .v3657-manage-body>img{width:44px;height:44px;margin-top:-22px}
  .v3657-manage-title strong{font-size:10px}
  .v3657-manage-body>p{font-size:6.7px}
  .v3657-manage-body>footer{gap:4px}
  .v3657-manage-body>footer button,.v3657-protected-label{height:27px;font-size:6px;padding:0 6px}
  .v3657-character-summary{display:none}
}


/* ===== v36.58 — shared immersive character apps ===== */
.v3658-yukio-character-app{
  width:100%;
  height:100%;
  min-height:0;
  overflow:hidden;
  background:#fff;
  color:#111;
  color-scheme:light!important;
}
.v3658-character-app-body{
  width:100%;
  height:100%;
  min-height:0;
  overflow:hidden;
  background:#fff!important;
  color:#111!important;
}
.v3658-character-app-body>.v3650-suite-app,
.v3658-character-app-body>.v34-mail-page,
.v3658-character-app-body>.v3642-phone-app,
.v3658-character-app-body>.v3646-youtube-app,
.v3658-character-app-body>.v3649-music-app,
.v3658-character-app-body>.julia-feed-app,
.v3658-character-app-body>.julia-instagram,
.v3658-character-app-body>.julia-news-app,
.v3658-character-app-body>.julia-messages-layout,
.v3658-character-app-body>.julia-mobile-messages-listview,
.v3658-character-app-body>.julia-mobile-chat{
  width:100%!important;
  height:100%!important;
  min-height:0!important;
}
.v3658-yukio-character-app.desktop .julia-window-content{
  padding:0!important;
  border:0!important;
  border-radius:0!important;
}
.v3658-yukio-character-app.desktop.app-feed .julia-feed-app,
.v3658-yukio-character-app.desktop.app-instagram .julia-instagram,
.v3658-yukio-character-app.desktop.app-news .julia-news-app{
  background:#fff!important;
}
.v3658-yukio-character-app.desktop.app-messages .julia-messages-layout{
  height:100%!important;
}
.v3658-yukio-character-app.desktop.app-mail .v34-mail-page,
.v3658-yukio-character-app.desktop.app-phone .v3642-phone-app,
.v3658-yukio-character-app.desktop.app-youtube .v3646-youtube-app,
.v3658-yukio-character-app.desktop.app-music .v3649-music-app{
  height:100%!important;
}
.v3657-yukio-shell.character-mode .v3657-yukio-content{
  background:#fff!important;
}
.v3657-yukio-shell.character-mode .v3657-yukio-topbar{
  background:rgba(255,255,255,.96)!important;
  border-bottom:1px solid #ececf0!important;
}

/* make shared Julia suite feel native inside Yukio's character pane */
.v3658-yukio-character-app .v3650-app-head{
  padding-left:22px!important;
  padding-right:22px!important;
}
.v3658-yukio-character-app .v3650-profile-app,
.v3658-yukio-character-app .v3656-wallet-app,
.v3658-yukio-character-app .v3650-calendar-app,
.v3658-yukio-character-app .v3650-maps-app,
.v3658-yukio-character-app .v3650-gallery-app{
  background:#fff!important;
}
.v3658-yukio-character-app .v3650-profile-ident>div>span{
  color:#888!important;
}

/* mobile: same clean app language as Júlia, with Yukio's direction island above */
.v3658-yukio-character-app.mobile{
  display:grid;
  grid-template-rows:calc(88px + env(safe-area-inset-top)) minmax(0,1fr);
  height:100%;
  background:#fff;
}
.v3658-mobile-appbar{
  min-height:calc(88px + env(safe-area-inset-top));
  padding:calc(49px + env(safe-area-inset-top)) 11px 8px;
  border-bottom:1px solid #ececf0;
  background:rgba(255,255,255,.97);
  display:grid;
  grid-template-columns:34px minmax(0,1fr) auto;
  align-items:center;
  gap:7px;
  position:relative;
  z-index:20;
}
.v3658-mobile-appbar>button{
  width:32px;height:32px;
  border:0;border-radius:11px;
  background:#f1f1f4;color:#333;
  display:grid;place-items:center;
  font-size:17px;line-height:1;
}
.v3658-mobile-appbar>strong{
  min-width:0;
  font-size:10px;
  text-align:center;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.v3658-mobile-appbar>span{
  font-size:6.5px;
  color:#999aa1;
  max-width:72px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.v3658-yukio-character-app.mobile .v3658-character-app-body{
  min-height:0;
  overflow:hidden;
  position:relative;
}
.v3658-yukio-character-app.mobile .julia-feed-app,
.v3658-yukio-character-app.mobile .julia-news-app,
.v3658-yukio-character-app.mobile .julia-instagram,
.v3658-yukio-character-app.mobile .julia-mobile-messages-listview,
.v3658-yukio-character-app.mobile .julia-mobile-chat,
.v3658-yukio-character-app.mobile .v3646-youtube-app,
.v3658-yukio-character-app.mobile .v3649-music-app,
.v3658-yukio-character-app.mobile .v34-mail-page,
.v3658-yukio-character-app.mobile .v3642-phone-app,
.v3658-yukio-character-app.mobile .v3650-suite-app{
  height:100%!important;
  min-height:0!important;
}
.v3658-yukio-character-app.mobile .julia-feed-scroll,
.v3658-yukio-character-app.mobile .julia-news-scroll,
.v3658-yukio-character-app.mobile .julia-messages-list,
.v3658-yukio-character-app.mobile .julia-mobile-conversation-list{
  -webkit-overflow-scrolling:touch;
}
.v3658-yukio-character-app.mobile.app-messages .v3658-character-app-body{
  overflow:hidden!important;
}
.v3658-yukio-character-app.mobile.app-feed .v3658-character-app-body,
.v3658-yukio-character-app.mobile.app-instagram .v3658-character-app-body,
.v3658-yukio-character-app.mobile.app-news .v3658-character-app-body,
.v3658-yukio-character-app.mobile.app-gallery .v3658-character-app-body,
.v3658-yukio-character-app.mobile.app-profile .v3658-character-app-body{
  overflow:auto!important;
}
.v3658-yukio-character-app.mobile .v3650-app-head{
  padding:12px 11px 10px!important;
}
.v3658-yukio-character-app.mobile .v3650-app-head h1{
  font-size:26px!important;
}
.v3658-yukio-character-app.mobile .v3650-app-head p{
  display:none!important;
}
.v3658-yukio-character-app.mobile .v3656-wallet-topbar{
  padding-left:11px!important;padding-right:11px!important;
}
.v3658-yukio-character-app.mobile .v3650-profile-banner{
  height:112px!important;
}

/* keep app-specific overlays above the director shell */
.v3657-yukio-shell.character-mode #overlay-root{
  position:relative;
  z-index:2147482000;
}


/* ===== v36.59 — Yukio mobile app viewport + fixed Messages composer ===== */
@media(max-width:760px){
  .v3658-yukio-character-app.mobile{
    min-height:0!important;
    overflow:hidden!important;
  }

  /* julia-ios-appcontent is absolute in Júlia's iPhone shell. Inside Yukio's
     character device it must participate in this grid instead. */
  .v3658-yukio-character-app.mobile>.v3658-character-app-body.julia-ios-appcontent{
    position:relative!important;
    inset:auto!important;
    top:auto!important;right:auto!important;bottom:auto!important;left:auto!important;
    width:100%!important;height:100%!important;
    min-width:0!important;min-height:0!important;
    overflow:hidden!important;
    background:#fff!important;
  }

  .v3658-yukio-character-app.mobile.app-messages .julia-mobile-chat{
    position:relative!important;
    width:100%!important;height:100%!important;max-height:100%!important;
    min-height:0!important;overflow:hidden!important;
    display:grid!important;
    grid-template-rows:50px minmax(0,1fr) auto auto auto!important;
    background:#fff!important;
  }
  .v3658-yukio-character-app.mobile.app-messages .julia-mobile-chatbar{
    position:relative!important;z-index:10!important;flex:none!important;
    background:rgba(255,255,255,.96)!important;
  }
  .v3658-yukio-character-app.mobile.app-messages .julia-message-stream{
    min-height:0!important;
    height:auto!important;
    overflow-y:auto!important;
    overflow-x:hidden!important;
    -webkit-overflow-scrolling:touch;
    padding:12px 10px 10px!important;
  }
  .v3658-yukio-character-app.mobile.app-messages .julia-compose-contexts,
  .v3658-yukio-character-app.mobile.app-messages .julia-typing-line{
    position:relative!important;z-index:20!important;background:#fff!important;
  }
  .v3658-yukio-character-app.mobile.app-messages .julia-message-compose{
    position:sticky!important;
    left:0!important;right:0!important;bottom:0!important;
    z-index:40!important;
    width:100%!important;min-width:0!important;
    margin:0!important;
    padding:7px 9px max(8px,env(safe-area-inset-bottom))!important;
    background:rgba(255,255,255,.98)!important;
    border-top:1px solid #e7e7eb!important;
    box-shadow:0 -8px 24px rgba(20,20,30,.035)!important;
  }
  .v3658-yukio-character-app.mobile.app-messages .julia-message-compose #message-text{
    min-width:0!important;width:100%!important;
    min-height:34px!important;height:34px!important;max-height:92px!important;
    font-size:16px!important;line-height:20px!important;
    background:#fff!important;color:#111!important;
  }
  .v3658-yukio-character-app.mobile.app-messages .julia-compose-add,
  .v3658-yukio-character-app.mobile.app-messages .julia-send-message{
    display:grid!important;visibility:visible!important;opacity:1!important;
    width:32px!important;min-width:32px!important;height:32px!important;min-height:32px!important;
  }
  .v3658-yukio-character-app.mobile.app-messages .julia-compose-add{
    background:#f0f0f3!important;color:#555!important;
  }
  .v3658-yukio-character-app.mobile.app-messages .julia-send-message{
    background:#0a84ff!important;color:#fff!important;
  }

  /* Other shared character apps should also use Yukio's real body viewport,
     not the absolute iPhone coordinates inherited from Júlia. */
  .v3658-yukio-character-app.mobile.app-music .v3658-character-app-body,
  .v3658-yukio-character-app.mobile.app-youtube .v3658-character-app-body,
  .v3658-yukio-character-app.mobile.app-mail .v3658-character-app-body,
  .v3658-yukio-character-app.mobile.app-phone .v3658-character-app-body{
    overflow:hidden!important;
  }
}


/* ===== v36.60 — Yukio cleanup + call typing ===== */
.storyverse-yukio-global-push,
[data-sv-yukio-global-push]{
  display:none!important;
}
#v3632-call-layer .v3645-call-compose,
#v3632-call-layer .v3645-call-compose textarea,
#v3632-call-layer .v3645-call-compose button{
  pointer-events:auto!important;
}
#v3632-call-layer #v35-call-speech-input{
  user-select:text!important;
  -webkit-user-select:text!important;
  touch-action:manipulation!important;
  opacity:1!important;
  cursor:text!important;
}
@media(max-width:760px){
  #v3632-call-layer #v35-call-speech-input{
    font-size:16px!important;
  }
}
