/* Hub pages use only the palette and type already defined by styles.css. */
.hub-nav { border-bottom: 1px solid var(--line); }
.hub-nav-inner { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); min-height: 58px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.hub-brand, .hub-nav a { color: var(--ink); text-decoration: none; }
.hub-brand { font-family: var(--latin); font-size: 1.4rem; letter-spacing: .05em; }
.hub-nav-links { display: flex; gap: 1.2rem; font-size: .82rem; }
.hub-nav-links a { color: var(--ink-soft); }
.hub-nav-links a.active { color: var(--teal-deep); border-bottom: 1px solid var(--teal); }
.hub-intro { padding-bottom: clamp(48px, 8vw, 90px); }
.hub-intro .lede { margin-top: 1.4em; }
.filter-buttons { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: .55rem; margin-top: 2.2rem; }
.filter-button { display: flex; flex-direction: column; align-items: flex-start; gap: .15rem; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); color: var(--ink); cursor: pointer; font: inherit; text-align: left; padding: .6rem .85rem; }
.filter-button strong { font-size: .95rem; font-weight: 600; }
.filter-button small { color: var(--ink-soft); font-size: .72rem; line-height: 1.45; }
.filter-button.active, .filter-button:hover { border-color: var(--teal); background: var(--teal-tint); }
.filter-button.active strong, .filter-button:hover strong { color: var(--teal-deep); }
.hub-list-band, .member-sheets { padding-block: clamp(48px, 8vw, 90px); }
.update-item[hidden], .update-day[hidden] { display: none; }
.update-day + .update-day { margin-top: 3.6rem; }
.update-day h2 { font-family: var(--latin); font-size: 1.2rem; font-weight: 500; letter-spacing: .08em; color: var(--teal-deep); margin: 0 0 1rem; }
.update-list, .recent-list, .member-updates { display: grid; gap: .7rem; }
.update-item { display: grid; grid-template-columns: 42px 1fr; gap: .85rem; align-items: start; padding: .75rem 0; border-bottom: 1px solid var(--line-soft); }
.update-face { width: 42px; height: 42px; border-radius: 50%; overflow: hidden; background: var(--teal-tint); color: var(--teal-deep); display: grid; place-items: center; font-size: 1.1rem; }
.update-face img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.update-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem .65rem; color: var(--ink-soft); font-size: .78rem; }
.update-who { color: var(--teal-deep); font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--teal-line); }
.update-who:hover { border-bottom-color: var(--teal); }
.update-venue, .detail-venue-link { color: var(--ink-soft); text-decoration: underline; text-decoration-color: var(--teal-line); text-underline-offset: .2em; overflow-wrap: anywhere; }
.update-venue::before { content: "掲載先："; }
.hub-ticker .update-venue { display: none; }
.detail-venue { color: var(--ink-soft); margin: 0 0 1rem; }
.update-kind { border: 1px solid var(--teal-line); border-radius: 99px; color: var(--teal-deep); padding: .06rem .45rem; font-size: .68rem; }
.update-title { font-size: 1rem; line-height: 1.7; margin: .1rem 0 0; font-weight: 500; }
.update-title a { color: var(--ink); text-decoration-color: var(--teal-line); text-underline-offset: .22em; }
.update-summary { color: var(--ink-soft); font-size: .88rem; line-height: 1.75; margin: .2rem 0 0; }
.empty-state { color: var(--ink-soft); margin: 0; }
.stage-wrap { margin-top: 3.2rem; }
.sheet-stage { min-height: 640px; }
.sheet { display: grid; grid-template-columns: minmax(280px, 1fr) minmax(0, 1.25fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; scroll-margin-top: 1rem; }
.sheet[hidden] { display: none; }
.sheet-portrait { min-height: 560px; display: flex; align-items: end; justify-content: center; position: relative; isolation: isolate; }
.sheet-portrait::before { content: ""; position: absolute; inset: 12% 3% 6%; z-index: -2; border-radius: 50%; background: radial-gradient(ellipse, var(--teal-tint) 0%, var(--teal-tint) 48%, transparent 73%); filter: blur(5px); }
.sheet-portrait img { width: 100%; height: min(640px, 62vw); max-height: 640px; object-fit: contain; object-position: center bottom; position: relative; z-index: 1; }
.portrait-shadow { position: absolute; z-index: 0; bottom: 2%; width: 72%; height: 20px; border-radius: 50%; background: var(--teal-line); filter: blur(7px); }
.sheet-portrait .silhouette { width: 70%; height: 78%; margin: 0 0 4rem; position: relative; z-index: 1; }
.portrait-pending { position: absolute; bottom: 8%; left: 0; right: 0; z-index: 2; text-align: center; color: var(--ink-faint); font-size: .78rem; }
.sheet-copy h2 { font-family: var(--jp); font-size: clamp(2.4rem, 6vw, 3.4rem); font-weight: 500; line-height: 1.2; margin: 0; }
.member-reading { color: var(--teal-deep); font-size: .85rem; margin: .45rem 0 .65rem; }
.sheet-copy .tag { display: inline-block; border: 1px solid var(--teal-line); border-radius: 99px; color: var(--teal-deep); font-size: .75rem; line-height: 1.4; padding: .18rem .65rem; margin: 0; }
.status-table { margin-top: 2rem; border-top: 1px solid var(--line); }
.status-row { display: grid; grid-template-columns: 5.5em minmax(0, 1fr); gap: 1.3rem; padding: .85rem 0; border-bottom: 1px solid var(--line); }
.status-row h3 { color: var(--teal); font-family: var(--latin); font-size: .75rem; font-weight: 500; letter-spacing: .16em; margin: .25rem 0 0; }
.status-row p { margin: .15rem 0; line-height: 1.85; }
.status-row h4 { font-size: 1rem; font-weight: 600; margin: .1rem 0; }
.sheet-nav { display: flex; justify-content: center; gap: .6rem; margin-top: 1.4rem; }
.sheet-nav button { border: 1px solid var(--teal-line); border-radius: 99px; background: transparent; color: var(--teal-deep); cursor: pointer; font: inherit; padding: .45rem 1.1rem; }
.sheet-nav button:hover, .sheet-nav button:focus-visible { border-color: var(--teal); background: var(--teal-tint); }
.member-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: .9rem; margin-top: clamp(3.5rem, 8vw, 6rem); }
.member-card { color: var(--ink); text-decoration: none; aspect-ratio: 3 / 4; border: 2px solid transparent; background: var(--teal-tint); overflow: hidden; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.member-card:hover, .member-card:focus-visible, .member-card.selected { border-color: var(--teal); transform: translateY(-5px); box-shadow: 0 .7rem 1.4rem var(--teal-line); outline: none; }
.member-card-portrait { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; overflow: hidden; position: relative; background: var(--teal-tint); }
.member-card-portrait::after { content: ""; position: absolute; inset: 36% 0 0; background: linear-gradient(transparent, rgba(36,44,43,.78)); }
.member-card-portrait img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.member-card-portrait .silhouette { width: 82%; height: 72%; margin: 0; opacity: .78; }
.member-card-label { position: absolute; z-index: 1; right: .55rem; bottom: .55rem; left: .55rem; color: var(--bg); display: grid; gap: .05rem; }
.member-card-label strong { font-family: var(--jp); font-size: 1.05rem; font-weight: 500; }
.member-card-label span { font-size: .65rem; }
.member-card-label small { display: none; }
.project + .project { margin-top: 1.2rem; }
.project h4 { font-size: 1.05rem; margin: 0; }
.project-links { display: flex; flex-wrap: wrap; gap: .35rem .8rem; font-size: .82rem; }
.project-links a, .text-link { color: var(--teal-deep); }
.member-updates .update-item { grid-template-columns: 34px 1fr; padding-block: .4rem; }
.member-updates .update-face { width: 34px; height: 34px; font-size: .9rem; }
.member-updates .update-summary { display: none; }
.hub-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: 2.2rem; }
.hub-actions .btn { text-decoration: none; }
.hub-recent { padding-top: clamp(60px, 10vw, 110px); }
.footer-meta.hub-footer-meta { text-align: center; }
/* First view = compact brand + the whole group (owner 10-06: 管理者の集合をファーストビューに). */
.hero { min-height: auto; padding: clamp(18px, 4vh, 44px) 0 0; }
.hero .brand-logo { width: min(340px, 70vw); }
.hero .yomi { margin-top: .9em; }
.hero .tagline { margin-top: .7em; line-height: 1.8; }
[data-hero="a"] .hero .horizon { display: none; }
.update-item.has-thumb { grid-template-columns: 120px minmax(0, 1fr); }
.update-item.has-thumb .update-thumb { grid-row: auto; }
.update-face.mini { width: 22px; height: 22px; flex: 0 0 22px; }
/* Scroll scenes: the page wash follows the section in the middle of the screen (game-site feel, within the palette). */
body { transition: background-color .9s ease; }
body[data-scene="updates"] { background-color: #f6f9f8; }
body[data-scene="team"] { background-color: var(--teal-tint); }
body[data-scene="about"], body[data-scene="products"] { background-color: var(--bg); }
.hub-projects .project-card { background: rgba(255,255,255,.72); }
@media (max-width: 700px) {
  .member-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .55rem; }
  .sheet-stage { min-height: 0; }
  .sheet { grid-template-columns: 1fr; gap: 1.2rem; }
  .sheet-portrait { min-height: 420px; }
  .sheet-portrait img { height: min(420px, 100vw); }
  .sheet-copy { padding-bottom: 1rem; }
  .status-table { margin-top: 1.5rem; }
}
@media (min-width: 701px) and (max-width: 899px) {
  .member-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: no-preference) {
  .sheet-portrait img { animation: portrait-in .2s ease; }
}
@keyframes portrait-in { from { opacity: 0; } to { opacity: 1; } }

/* team: wider stage, white image grounds blend into the page */
.team-hub { padding-top: clamp(56px, 8vh, 96px); }
.team-hub .wrap { max-width: 1120px; }
.team-hub .lede { max-width: 36em; }
.team-hub .stage-wrap { margin-top: 1.6rem; }
.team-hub .sheet-stage { min-height: 0; }
.team-hub .sheet { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: start; }
.team-hub .sheet-portrait { min-height: 0; height: 680px; align-items: end; }
.team-hub .sheet-portrait::before { inset: 6% 6% 4%; background: radial-gradient(ellipse at 50% 55%, var(--teal-tint) 0%, var(--teal-tint) 45%, transparent 70%); filter: blur(8px); }
.team-hub .sheet-portrait img { width: 100%; height: 660px; max-height: none; mix-blend-mode: multiply; }
.team-hub .sheet-copy { padding-top: 3.2rem; }
.team-hub .member-grid { gap: .8rem; margin-top: 2.6rem; }
.team-hub .member-card { border-radius: 4px; }
.team-hub .member-card-portrait img { mix-blend-mode: multiply; object-position: center top; }
.team-hub .member-card-portrait::after { inset: 52% 0 0; background: linear-gradient(transparent, rgba(36,44,43,.86)); }
.team-hub .member-card-label { left: .6rem; bottom: .5rem; text-shadow: 0 1px 3px rgba(36,44,43,.6); }
.team-hub .member-card-label strong { font-size: 1.15rem; }
@media (max-width: 700px) {
  .team-hub .sheet { grid-template-columns: 1fr; }
  .team-hub .sheet-portrait { height: 440px; }
  .team-hub .sheet-portrait img { height: 430px; }
  .team-hub .sheet-copy { padding-top: 0; }
  .team-hub .member-card-label strong { font-size: .95rem; }
}
.team-hub .sheet-portrait img {
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 9%, #000 91%, transparent 100%), linear-gradient(to bottom, transparent 0, #000 7%, #000 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent 0, #000 9%, #000 91%, transparent 100%), linear-gradient(to bottom, transparent 0, #000 7%, #000 100%);
  mask-composite: intersect;
}
@media (max-width: 700px) {
  .team-hub .wrap { display: flex; flex-direction: column; }
  .team-hub .member-grid { order: 1; display: flex; gap: .5rem; overflow-x: auto; scroll-snap-type: x proximity; margin: 1.6rem calc(-1 * var(--gutter)) 0; padding: .5rem var(--gutter) .8rem; }
  .team-hub .member-card { flex: 0 0 26%; scroll-snap-align: start; }
  .team-hub .stage-wrap { order: 2; scroll-margin-top: .5rem; }
}
.team-hub .sheet-portrait img { width: auto; height: auto; max-width: 100%; max-height: 660px; }
@media (max-width: 700px) {
  .team-hub .sheet-portrait img { max-height: 430px; }
  .team-hub .member-grid { margin-inline: 0; padding-inline: 0; }
}
.team-hub .sheet-portrait { background: var(--bg); }
.update-where { color: var(--ink-faint); font-family: var(--latin); letter-spacing: .03em; }
.hub-recent .h-jp { margin-bottom: 1.6rem; }

/* Shared fixed navigation and the compact home hub. */
.hub-nav { position: sticky; top: 0; z-index: 20; min-height: 58px; background: transparent; border-bottom: 1px solid transparent; transition: background .4s ease, box-shadow .4s ease, border-color .4s ease; }
.hub-nav.scrolled { background: var(--bg); border-bottom-color: var(--line); box-shadow: 0 .35rem 1rem var(--line-soft); }
.hub-nav-inner { min-height: 58px; }
.hub-nav-links a { padding-block: .25rem; }
.hub-menu-button { display: none; border: 1px solid var(--teal-line); background: transparent; color: var(--teal-deep); font: inherit; padding: .35rem .7rem; }
.hub-lineup { padding: 0 var(--gutter); overflow: hidden; }
.lineup-stage { --stage-h: max(240px, min(calc((100vw + 276px) / 4.8), calc(100svh - 330px), 480px)); --step: min(calc((100vw - 2 * var(--gutter)) / 15.2), calc(var(--stage-h) * .3)); position: relative; height: calc(var(--stage-h) + 1.5rem); margin-inline: auto; }
.lineup-person { position: absolute; bottom: 0; left: calc(50% + var(--s) * var(--step)); width: 0; height: calc(var(--stage-h) * var(--person-height) * (1 + var(--over, 0)) / 196); color: var(--ink); text-decoration: none; transition: transform .25s ease; }
.lineup-person:hover, .lineup-person:focus-visible { z-index: 25 !important; transform: translateY(-8px); outline: none; }
.lineup-visual { position: absolute; bottom: 0; left: 0; height: 100%; display: block; transform: translateX(calc(var(--cx, .5) * -100%)); }
.lineup-visual img, .lineup-visual .silhouette { display: block; height: 100%; width: auto; max-width: none; }
.lineup-name { position: absolute; bottom: .3rem; left: 0; transform: translate(-50%, 120%); white-space: nowrap; padding: .2rem .6rem; border: 1px solid var(--teal); background: var(--bg); color: var(--teal-deep); font-family: var(--jp); opacity: 0; transition: opacity .2s ease, transform .2s ease; z-index: 30; }
.lineup-person:hover .lineup-name, .lineup-person:focus-visible .lineup-name { opacity: 1; transform: translate(-50%, 0); }
.hub-ticker { max-width: 1120px; margin: 0 auto; padding: .7rem var(--gutter); display: flex; align-items: center; gap: 1rem; border-block: 1px solid var(--line-soft); }
.ticker-list { flex: 1; min-width: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .8rem; }
.ticker-list .update-item { min-width: 0; }
.ticker-list .update-item { border: 0; padding: .15rem 0; grid-template-columns: 32px minmax(0, 1fr); }
.ticker-list .update-copy { min-width: 0; }
.ticker-list .update-face { width: 32px; height: 32px; }
.ticker-list .update-summary { display: none; }
.ticker-list .update-title { font-size: .82rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hub-ticker > a { white-space: nowrap; color: var(--teal-deep); font-size: .82rem; }

.update-thumb { width: 120px; height: 68px; object-fit: cover; border: 1px solid var(--teal-line); grid-row: span 2; }
.project-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr)); gap: 1rem; margin-top: 2rem; }
.project-card { min-width: 0; align-content: start; display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: .15rem .75rem; align-items: center; color: var(--ink); text-decoration: none; border: 1px solid var(--teal-line); padding: .7rem; background: var(--bg); }
.project-card:hover, .project-card:focus-within { border-color: var(--teal); transform: translateY(-3px); }
.project-card-link { display: contents; color: inherit; text-decoration: none; }
.project-card small { grid-column: 2; }
.project-card img { width: 72px; height: 96px; object-fit: cover; object-position: center top; grid-row: span 4; align-self: start; background: #fff; mix-blend-mode: multiply; }
.project-card strong { font-weight: 500; }
.project-card span { color: var(--teal-deep); font-size: .82rem; }
.project-card small { font-size: .7rem; min-width: 0; overflow-wrap: anywhere; }
.project-card small a { display: inline-block; max-width: 100%; color: var(--teal-deep); text-decoration-color: var(--teal-line); text-underline-offset: .2em; margin-right: .6em; }
.member-card-portrait { background: #fff; }
.member-card-portrait img { mix-blend-mode: multiply; }
.scene-section { opacity: 1; transform: none; }
.js .scene-section { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease, background .4s ease; }
.js .scene-section.is-visible { opacity: 1; transform: none; }
.update-detail { padding-block: clamp(72px, 12vw, 140px); }
.detail-date { color: var(--teal-deep); font-family: var(--latin); letter-spacing: .08em; }
.detail-byline { display: flex; flex-wrap: wrap; align-items: center; gap: .65rem; margin-block: 1.4rem; color: var(--ink-soft); }
.detail-thumb-link { display: block; }
.detail-thumb-link:hover .detail-thumb, .update-thumb-link:hover .update-thumb { opacity: .88; }
.detail-thumb { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border: 1px solid var(--teal-line); margin: 2rem 0; }
.detail-summary { font-size: 1.1rem; line-height: 2; }
.detail-actions, .detail-nav { display: flex; flex-wrap: wrap; gap: .8rem 1.3rem; margin-top: 2rem; }
.detail-actions a, .detail-nav a { color: var(--teal-deep); text-decoration: none; border-bottom: 1px solid var(--teal-line); }
.thumb-missing { color: var(--ink-faint); border: 1px solid var(--teal-line); padding: 4rem 1rem; text-align: center; }
@media (max-width: 700px) {
  .hub-menu-button { display: block; }
  .hub-nav-links { display: none; position: fixed; inset: 58px 0 0; background: var(--bg); padding: 2rem var(--gutter); flex-direction: column; align-items: stretch; gap: 0; }
  .hub-nav-links.open { display: flex; }
  .hub-nav-links a { padding: 1rem 0; border-bottom: 1px solid var(--line); }
  .hub-lineup { overflow-x: auto; padding: 0; scrollbar-width: none; }
  .lineup-stage { --stage-h: 340px; --step: 74px; width: calc(var(--step) * 16); }
  .hub-ticker { flex-wrap: wrap; gap: .4rem; }
  .ticker-list { display: flex; overflow-x: auto; flex-basis: 100%; }
  .hub-ticker > a { margin-left: auto; }
  .ticker-list .update-item { flex: 0 0 78%; }
  .project-grid { grid-template-columns: minmax(0, 1fr); }
  .update-item.has-thumb { grid-template-columns: 96px minmax(0, 1fr); gap: .7rem; }
  .update-item.has-thumb .update-thumb { width: 96px; height: 54px; }
  .project-card { grid-template-columns: 48px minmax(0, 1fr); }
  .project-card img { width: 48px; height: 70px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js .scene-section { opacity: 1; transform: none; }
}
.filter-buttons { grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); }
.filter-button { justify-content: flex-start; }
.filter-button small { color: var(--teal-deep); font-size: .78rem; }
.filter-note { color: var(--ink-soft); font-size: .7rem; line-height: 1.6; margin-top: .2rem; }
.project-note { display: block; color: var(--ink-soft); font-size: .72rem; font-style: normal; line-height: 1.65; margin-top: .15rem; }
@media (max-width: 700px) {
  .filter-buttons { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(-1 * var(--gutter)); padding: 0 var(--gutter) .4rem; scroll-padding-inline: var(--gutter); }
  .filter-button { flex: 0 0 72%; scroll-snap-align: start; }
}
.filter-note, .project-note { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
/* owner 10-06「概要は1行でね」「少し枠大きくしてもいい」: the duty cards break out of the text column so a one-line summary fits */
.filter-buttons, .project-grid { width: min(1000px, calc(100vw - 2 * var(--gutter))); margin-left: 50%; transform: translateX(-50%); }
.filter-buttons { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.project-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 440px), 1fr)); }
.filter-note, .project-note { letter-spacing: 0; }
@media (max-width: 700px) {
  .filter-buttons { width: auto; margin-left: calc(-1 * var(--gutter)); transform: none; }
  .project-grid { width: auto; margin-left: 0; transform: none; }
}
@media (max-width: 360px) {
  .project-card { grid-template-columns: 40px minmax(0, 1fr); padding: .6rem .55rem; gap: .15rem .6rem; }
  .project-card img { width: 40px; height: 58px; }
  .project-note { font-size: .64rem; }
}
/* owner 10-06「ソシャゲのガシャのバナーみたいな感じで背景にそれぞれの絵を」: filter buttons as gacha banners */
.filter-button.banner { padding: 0; gap: 0; align-items: stretch; overflow: hidden; border: 2px solid transparent; border-radius: 12px; background: #fff; box-shadow: 0 2px 10px rgba(20, 40, 45, .12); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.filter-button.banner:hover { transform: translateY(-3px); box-shadow: 0 8px 22px rgba(20, 40, 45, .2); background: #fff; }
.filter-button.banner.active { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(44, 90, 95, .22), 0 8px 22px rgba(20, 40, 45, .2); background: #fff; }
.banner-art { position: relative; display: block; aspect-ratio: 2 / 1; overflow: hidden; background: linear-gradient(135deg, #1f4a50, #0e2427); }
.banner-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease, filter .3s ease; }
.filter-button.banner:hover .banner-art > img { transform: scale(1.05); }
.banner-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6, 16, 20, .82) 0%, rgba(6, 16, 20, .5) 28%, rgba(6, 16, 20, 0) 50%); pointer-events: none; }
.banner-title { position: absolute; z-index: 1; left: .85rem; bottom: .7rem; max-width: 46%; display: flex; flex-direction: column; gap: .2rem; text-align: left; }
.filter-button.banner .banner-title strong { color: #fff; font-size: 1.35rem; font-weight: 700; letter-spacing: .06em; text-shadow: 0 2px 8px rgba(0, 0, 0, .55); }
.filter-button.banner .banner-title small { color: #dff1ee; font-size: .68rem; line-height: 1.4; text-shadow: 0 1px 4px rgba(0, 0, 0, .6); }
.banner-foot { display: flex; align-items: center; justify-content: space-between; gap: .6rem; padding: .5rem .8rem; background: #fff; }
.banner-foot .filter-note { margin: 0; flex: 1; min-width: 0; }
.banner-count { flex: none; color: var(--teal-deep); font-size: .7rem; font-family: var(--latin); border: 1px solid var(--teal-line); border-radius: 99px; padding: .02rem .5rem; }
.banner-all { background: radial-gradient(ellipse at 70% 40%, #3f7f84, #12302f 75%); }
.banner-all::after { background: linear-gradient(90deg, rgba(6, 16, 20, .6), rgba(6, 16, 20, 0) 55%); }
.banner-faces { position: absolute; right: .6rem; top: 50%; transform: translateY(-50%); width: 58%; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px; }
.banner-faces img { position: static; width: 30px; height: 30px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .85); background: #fff; object-fit: cover; }
.filter-buttons:has(.banner.active:not([data-filter="all"])) .banner:not(.active) .banner-art > img { filter: saturate(.55) brightness(.8); }
.banner-art .banner-count { position: absolute; z-index: 1; top: .55rem; left: .7rem; color: #fff; background: rgba(6, 16, 20, .55); border: 1px solid rgba(255, 255, 255, .45); border-radius: 99px; font-size: .66rem; padding: .05rem .5rem; backdrop-filter: blur(2px); }
.banner-foot { padding: .5rem .75rem; }
@media (max-width: 700px) { .filter-button.banner { flex: 0 0 80%; } }
@media (max-width: 700px) { .banner-faces img { width: 25px; height: 25px; } }
/* owner 10-06「高さがそれぞれあるからファーストビューで更新内容にいけない…高さもう少し削る・キャラをもうちょっと拡大」 */
.updates-intro { padding-top: clamp(84px, 11vh, 112px); padding-bottom: 26px; }
.updates-intro .lede { margin-top: .7em; }
.updates-intro .filter-buttons { margin-top: 1.3rem; width: min(1120px, calc(100vw - 2 * var(--gutter))); grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: .6rem; }
.updates-band { padding-top: 30px; }
.banner-art { aspect-ratio: 3 / 1; }
.filter-button.banner .banner-title strong { font-size: 1.15rem; }
.banner-title { bottom: .45rem; left: .75rem; gap: .05rem; }
.banner-art .banner-count { top: .4rem; left: .6rem; }
.banner-foot { padding: .38rem .7rem; }
.banner-faces { width: 64%; gap: 3px; }
.banner-faces img { width: 22px; height: 22px; border-width: 1.5px; }
@media (max-width: 700px) {
  .updates-intro { padding-top: 84px; padding-bottom: 22px; }
  .updates-intro .filter-buttons { width: auto; }
  .banner-faces img { width: 20px; height: 20px; }
}
/* one row of banners slid sideways (gacha-style carousel) so the update list starts in the first view at every width */
.banner-rail { position: relative; width: min(1120px, calc(100vw - 2 * var(--gutter))); margin-left: 50%; transform: translateX(-50%); margin-top: 1.3rem; }
.updates-intro .banner-rail .filter-buttons { display: flex; width: auto; margin: 0; transform: none; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 2px; gap: .6rem; padding: 4px 2px 10px; scrollbar-width: thin; }
.updates-intro .banner-rail .filter-button.banner { flex: 0 0 262px; scroll-snap-align: start; }
.rail-arrow { position: absolute; top: calc(50% - 22px); z-index: 2; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--teal-line); background: rgba(255, 255, 255, .92); color: var(--teal-deep); font-size: 1.4rem; line-height: 1; cursor: pointer; box-shadow: 0 2px 8px rgba(20, 40, 45, .18); }
.rail-arrow.prev { left: -19px; } .rail-arrow.next { right: -19px; }
.rail-arrow:hover { background: #fff; border-color: var(--teal); }
@media (max-width: 700px) {
  .banner-rail { width: auto; margin-left: calc(-1 * var(--gutter)); margin-right: calc(-1 * var(--gutter)); transform: none; }
  .updates-intro .banner-rail .filter-buttons { padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); }
  .updates-intro .banner-rail .filter-button.banner { flex-basis: 80%; }
  .rail-arrow { display: none; }
}
@media (max-width: 700px) {
  .updates-intro { padding-top: 76px; }
  .updates-intro .banner-rail .filter-button.banner { flex-basis: 76%; }
}
.updates-intro .banner-rail .filter-buttons { padding: 6px 4px 12px; }
.updates-intro .banner-rail .filter-button.banner { box-shadow: 0 1px 4px rgba(20, 40, 45, .14); }
.updates-intro .banner-rail .filter-button.banner:hover { transform: translateY(-2px); box-shadow: 0 3px 8px rgba(20, 40, 45, .2); }
.updates-intro .banner-rail .filter-button.banner.active { box-shadow: 0 0 0 2px rgba(44, 90, 95, .28); }
.rail-arrow[disabled] { opacity: 0; pointer-events: none; }
@media (max-width: 640px) {
  .updates-intro { padding-top: 58px; padding-bottom: 18px; }
  .updates-band { padding-top: 18px; }
}
/* 2026-10-06 owner: banners side by side in a grid, no sideways scrolling */
.updates-intro .banner-rail .filter-buttons { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); overflow: visible; scroll-snap-type: none; gap: .7rem; }
.updates-intro .banner-rail .filter-button.banner { flex: none; width: auto; min-width: 0; }
@media (max-width: 640px) {
  .banner-rail { width: auto; margin-left: 0; transform: none; }
  .updates-intro .banner-rail .filter-buttons { grid-template-columns: 1fr 1fr; gap: .5rem; padding: 4px 0 8px; }
}
@media (max-width: 640px) {
  .updates-intro .banner-rail .filter-buttons { grid-template-columns: 1fr; }
}
/* phones: two across; the one-line summary may wrap to two short lines instead of being cut */
@media (max-width: 640px) {
  .updates-intro .banner-rail .filter-buttons { grid-template-columns: 1fr 1fr; }
  .updates-intro .banner-rail .filter-button.banner .filter-note { white-space: normal; overflow: visible; text-overflow: clip; font-size: .68rem; line-height: 1.45; }
  .updates-intro .banner-rail .banner-title strong { font-size: 1rem; }
  .updates-intro .banner-rail .banner-title small { font-size: .62rem; }
  .updates-intro .banner-rail .banner-art .banner-count { font-size: .6rem; }
}
/* phones (two across): taller art so the count, name and duty don't collide; duty stays on one line */
@media (max-width: 640px) {
  .updates-intro .banner-rail .banner-art { aspect-ratio: 2 / 1; }
  .updates-intro .banner-rail .banner-art > img { object-position: 78% 30%; }
  .updates-intro .banner-rail .banner-title { max-width: 62%; left: .55rem; bottom: .4rem; }
  .updates-intro .banner-rail .banner-title small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .updates-intro .banner-rail .banner-art .banner-count { top: .35rem; left: .5rem; padding: 0 .4rem; }
  .updates-intro .banner-rail .banner-faces { width: 52%; right: .4rem; gap: 2px; }
  .updates-intro .banner-rail .banner-faces img { width: 15px; height: 15px; border-width: 1px; }
  .updates-intro .banner-rail .filter-buttons .filter-button.banner .banner-foot .filter-note { font-size: .7rem; line-height: 1.45; padding-top: .1rem; }
}
@media (max-width: 640px) {
  .updates-intro .banner-rail .banner-title { max-width: 74%; }
  .updates-intro .banner-rail .banner-title small { font-size: .6rem; letter-spacing: 0; }
}
/* very narrow phones: one across at the 3:1 shape so nothing overlaps */
@media (max-width: 360px) {
  .updates-intro .banner-rail .filter-buttons { grid-template-columns: 1fr; }
  .updates-intro .banner-rail .banner-art { aspect-ratio: 3 / 1; }
  .updates-intro .banner-rail .banner-title { max-width: 50%; }
}
