.home .home-menus > .menu-card[data-view="battle-analysis"],
.menu-hub-card[data-view="recruit-text"] {
  position:relative;
  overflow:hidden;
  border:1px solid #d4a6bb;
  border-radius:9px;
  background:radial-gradient(ellipse at 0 100%,#ecc9e4 0,transparent 68%),linear-gradient(125deg,#fff8ed,#fae6ed 65%,#eddfef);
  box-shadow:inset 0 0 0 3px #fff9f077,0 5px 20px #150c1d40;
  color:#78455c;
  text-shadow:none;
}
.home .home-menus > .menu-card[data-view="battle-analysis"] {
  grid-template-columns:54px minmax(0,1fr);
  padding:8px 10px 8px 5px;
  gap:6px;
}
.diaochan-menu-art {display:block;flex:none;pointer-events:none;}
.home .menu-card[data-view="battle-analysis"] .diaochan-menu-art img {position:static;inset:auto;display:block;width:100%;height:100%;object-fit:contain;object-position:center;filter:none;transform:none;opacity:1;}
.home .menu-card[data-view="battle-analysis"] > .diaochan-menu-art {width:54px;height:64px;align-self:end;}
.home .menu-card[data-view="battle-analysis"] .menu-label strong,
.menu-hub-card[data-view="recruit-text"] strong {color:#64334b;text-shadow:none;}
.home .menu-card[data-view="battle-analysis"] .menu-label small,
.menu-hub-card[data-view="recruit-text"] small {color:#785669;text-shadow:none;}
.menu-hub-card[data-view="recruit-text"] {gap:16px;}
.menu-hub-card[data-view="recruit-text"] > .diaochan-menu-art {
  width:88px;height:93px;
  background:url('assets/cosplay/guide-mascot.webp') 0 0 / 200% 200% no-repeat;
  filter:drop-shadow(0 3px 3px #80506525);
}
.menu-hub-card[data-view="recruit-text"] > b {color:#995d79;}
.home .home-menus > .menu-card[data-view="battle-analysis"]:hover,
.menu-hub-card[data-view="recruit-text"]:not(:disabled):hover {
  border-color:#b8769c;
  background:radial-gradient(ellipse at 0 100%,#e8b6df 0,transparent 68%),linear-gradient(125deg,#fffaf0,#fbdce9 65%,#e7d7f1);
  box-shadow:inset 0 0 0 3px #fff9f090,0 7px 22px #150c1d50;
}
.home .home-menus > .menu-card[data-view="battle-analysis"]:focus-visible,
.menu-hub-card[data-view="recruit-text"]:focus-visible {outline:3px solid #c073a2;outline-offset:4px;}
@media(max-width:600px) {
  .home .home-menus > .menu-card[data-view="battle-analysis"] {grid-template-columns:43px minmax(0,1fr);padding:8px 7px 8px 3px;gap:4px;}
  .home .menu-card[data-view="battle-analysis"] > .diaochan-menu-art {width:43px;height:54px;}
  .menu-hub-card[data-view="recruit-text"] {gap:12px;}
  .menu-hub-card[data-view="recruit-text"] > .diaochan-menu-art {width:68px;height:72px;}
}

.home-footer .home-sound-toggle{position:relative;z-index:2;margin-left:auto;padding:6px 12px;color:#efe7da;border:1px solid #b5a781;background:#252c25dd;border-radius:6px;cursor:pointer;white-space:nowrap}

/* Size the title and action group from their content, not the old 130px action track. */
#app .shell > .topbar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px 20px;height:auto;min-height:72px;max-height:none;padding:12px 20px}
#app .shell > .topbar .top-title{position:static;flex:1 1 220px;min-width:0;width:auto;height:auto;margin:0;padding:0}
#app .shell > .topbar .top-actions{position:static;display:flex;flex:0 1 auto;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:8px;min-width:0;width:auto;max-width:100%;margin:0}
#app .shell > .topbar .quick-destinations{flex-wrap:wrap;justify-content:center;gap:8px;min-width:0}
#app .shell > .topbar .top-actions :is(.ghost,.back,.quick-destinations a){display:inline-flex;align-items:center;justify-content:center;width:auto;min-height:40px;height:auto;padding:8px 12px;margin:0;font-size:14px;line-height:1.3;white-space:normal;word-break:keep-all;text-align:center}
#app .shell:has(> .home) > .topbar{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto;gap:10px 24px}
#app .shell:has(> .home) > .topbar .top-title{grid-area:1/1;justify-content:center}
#app .shell:has(> .home) > .topbar .top-title h1{font-size:clamp(24px,2vw,32px);line-height:1.35;white-space:normal;text-align:center;justify-content:center;transform:none}
#app .shell:has(> .home) > .topbar .top-actions{grid-area:1/2;justify-self:end;justify-content:center}
.home .home-menus > .menu-card[data-view="battle-analysis"] > .diaochan-menu-art{position:relative;grid-area:1/1;justify-self:center;align-self:center;overflow:hidden}
.home .home-menus > .menu-card[data-view="battle-analysis"] > .menu-label{position:static;grid-area:1/2;min-width:0;align-self:center;display:flex;flex-direction:column;gap:5px}
.home .home-menus > .menu-card[data-view="battle-analysis"] .menu-label small{margin:0;letter-spacing:0;line-height:1.4}
@media(max-width:1500px){
 #app .shell:has(> .home) > .topbar{grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto;padding:10px 16px}
 #app .shell:has(> .home) > .topbar .top-title{grid-area:1/1}
 #app .shell:has(> .home) > .topbar .top-actions{grid-area:2/1;justify-self:center;max-width:100%;width:auto}
}
@media(max-width:600px){
 #app .shell > .topbar{padding:10px 12px;gap:8px}
 #app .shell:has(> .home) > .topbar .top-title h1{font-size:23px}
 #app .shell > .topbar .top-actions{justify-content:center;gap:6px}
 #app .shell > .topbar .quick-destinations{flex:1 0 100%;gap:6px}
 #app .shell > .topbar .top-actions :is(.ghost,.back,.quick-destinations a){font-size:12px;min-height:36px;padding:7px 9px}
}

/* Nine main destinations; mobile reveals the same grid with one button. */
#app .shell:has(> .home) > .topbar{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);grid-template-rows:auto;gap:10px 18px}
#app .shell:has(> .home) > .topbar .top-title{grid-area:1/2;justify-self:center}
#app .shell:has(> .home) > .topbar .top-actions{grid-area:1/3;justify-self:end;flex-wrap:nowrap}
#app .home .home-controls{width:100%;max-width:1120px;margin-inline:auto;padding:18px 24px 10px;box-sizing:border-box}
#app .home .home-menus{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-rows:minmax(80px,auto);gap:12px;width:100%;margin:0}
#app .home .home-menus>.menu-card{min-width:0;width:100%;height:auto;min-height:80px;box-sizing:border-box;text-decoration:none;cursor:pointer}
#app .home .home-menus>.menu-card:disabled{cursor:default}
#app .home .home-menus>.menu-card .menu-label{min-width:0}
#app .home .home-menus>.menu-card .menu-label strong{font-size:21px;line-height:1.3;word-break:keep-all}
#app .home .home-menus>.menu-card .menu-label small{font-size:12px;line-height:1.4;letter-spacing:0}
#app .home .home-drive{color:#d7f4e0;background:#28483d;border-color:#557864}
#app .home .home-kakao{color:#30281a;background:#f5dd63;border-color:#e1c244;text-shadow:none}
#app .home .home-kakao :is(strong,small,.menu-icon){color:#30281a;text-shadow:none}
#app .home .home-drive :is(strong,small,.menu-icon){color:#d7f4e0;text-shadow:none}
#app .home .home-menus a .menu-icon{font-style:normal;font-size:25px}
#app .home .home-menu-toggle{display:none}
#app .home .creator-credit{margin:22px 0 10px;text-align:center;font-size:17px}
@media(max-width:1450px){
 #app .shell:has(> .home) > .topbar{grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto}
 #app .shell:has(> .home) > .topbar .top-title{grid-area:1/1}
 #app .shell:has(> .home) > .topbar .top-actions{grid-area:2/1;justify-self:center}
}
@media(max-width:700px){
 #app .home .home-controls{padding:12px 12px 8px}
 #app .home .home-menu-toggle{display:flex;align-items:center;justify-content:space-between;width:100%;min-height:44px;padding:10px 14px;border:1px solid #ab945b;border-radius:6px;background:#283428;color:#ecd8a7;font:600 16px/1.3 var(--serif);cursor:pointer}
 #app .home .home-menu-toggle[aria-expanded="false"]+.home-menus{display:none}
 #app .home .home-menu-toggle[aria-expanded="true"]+.home-menus{margin-top:10px;animation:home-menu-open .18s ease-out}
 #app .home .home-menus{gap:7px}
 #app .home .home-menus>.menu-card{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;padding:9px 4px;min-height:88px}
 #app .home .home-menus>.menu-card .menu-label{position:static;display:block;text-align:center}
 #app .home .home-menus>.menu-card .menu-label strong{font-size:14px;line-height:1.4;letter-spacing:0}
 #app .home .home-menus>.menu-card .menu-label small{display:none}
 #app .home .home-menus>.menu-card>.menu-icon{position:static;display:block;width:25px;height:25px;line-height:25px;font-size:23px}
 #app .home .home-menus>.menu-card[data-view="battle-analysis"]>.diaochan-menu-art{position:static;display:block;width:30px;height:30px;align-self:center}
 #app .home .creator-credit{font-size:15px;margin-top:18px}
}
@keyframes home-menu-open{from{opacity:0;transform:translateY(-7px)}to{opacity:1;transform:translateY(0)}}
@media(prefers-reduced-motion:reduce){#app .home .home-menu-toggle[aria-expanded="true"]+.home-menus{animation:none}}

.site-renewal-notice{padding:8px 0 14px;line-height:1.85}
.site-renewal-notice time{display:block;font-size:14px;color:#cbbb96;margin-bottom:8px}
.site-renewal-notice h3{font-size:24px;color:#f0d49b;margin:0 0 16px}
.site-renewal-notice p{margin:0 0 18px;word-break:keep-all}
.site-renewal-notice .notice-feedback{display:inline-flex;align-items:center;gap:12px;text-decoration:none;font-size:16px;padding:10px 16px}

#app .home .home-link-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;min-width:0}
#app .home .home-link-pair .menu-card{display:grid;place-items:center;min-width:0;min-height:0;height:100%;padding:6px 2px;text-align:center;text-decoration:none}
#app .home .home-link-pair strong{font-size:clamp(11px,1.6vw,17px);line-height:1.3;overflow-wrap:anywhere;word-break:keep-all}
#app .home .home-link-pair .menu-card:focus-visible,#app .home .home-s27-assignment:focus-visible{outline:2px solid #fff;outline-offset:2px}
