/* ==========================================================================
   FiAB 2026 — Event Gallery  ·  LIGHT THEME
   Bright, airy, editorial. Navy type, soft shadows, blue→green accents.
   ========================================================================== */

:root {
    --g-bg: #f5f8fc;
    --g-bg-2: #eaf1fa;
    --g-card: #ffffff;
    --g-ink: #0a1530;
    --g-text: #334155;
    --g-mute: #5b6b82;
    --g-faint: #8794a8;
    --g-line: rgba(15, 31, 71, 0.1);
    --g-line-2: rgba(15, 31, 71, 0.16);
    --g-tint: rgba(15, 31, 71, 0.045);
    --g-blue: #2563eb;
    --g-accent: #059669;
    --g-grad: linear-gradient(135deg, #3b82f6 0%, #10b981 100%);
    --g-grad-text: linear-gradient(100deg, #1d4ed8 0%, #2563eb 38%, #059669 100%);
    --g-sh-sm: 0 1px 2px rgba(15, 31, 71, 0.05), 0 6px 18px rgba(15, 31, 71, 0.06);
    --g-sh: 0 2px 6px rgba(15, 31, 71, 0.05), 0 18px 44px rgba(15, 31, 71, 0.1);
    --g-sh-lg: 0 6px 16px rgba(15, 31, 71, 0.08), 0 34px 80px rgba(15, 31, 71, 0.18);
    --g-ease: cubic-bezier(0.2, 0.7, 0.2, 1);
    --tb-top: 0px;
}

body.gal-page { background: var(--g-bg); color: var(--g-text); position: relative; }
body.gal-page::before {
    /* soft colour wash behind everything */
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        radial-gradient(900px 600px at 6% 8%, rgba(59, 130, 246, 0.09), transparent 62%),
        radial-gradient(800px 600px at 98% 34%, rgba(16, 185, 129, 0.08), transparent 62%),
        radial-gradient(700px 500px at 40% 100%, rgba(0, 212, 255, 0.06), transparent 60%);
}

/* The shared site header, kept light & legible over the pale hero */
body.gal-page .navbar { transition: transform 0.45s var(--g-ease), top 0.4s, background 0.3s; }
body.gal-page .navbar.gal-hide { transform: translateY(-125%); }
body.gal-page .navbar .navbar-inner { background: rgba(255, 255, 255, 0.88); border-color: rgba(226, 232, 240, 0.9); box-shadow: 0 8px 30px rgba(15, 31, 71, 0.08); }
body.gal-page .navbar .nav-link { color: var(--gray-700); }
body.gal-page .navbar .nav-link:hover { color: var(--navy); }
body.gal-page .navbar .nav-cta { background: var(--navy); border-color: var(--navy); color: #fff; }
body.gal-page .navbar .menu-btn { color: var(--navy); }
body.gal-page .navbar .logo-text { color: var(--navy) !important; }
body.gal-page .navbar .logo-sub { color: var(--gray-400) !important; }
body.gal-page .top-bar { position: relative; z-index: 3; }

.gal-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
.gtx { background: var(--g-grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Buttons ---------- */
.gbtn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 28px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.01em;
    text-decoration: none;
    cursor: pointer;
    border: 1px solid transparent;
    transition: transform 0.3s var(--g-ease), box-shadow 0.3s, background 0.3s, border-color 0.3s, color 0.3s;
}
.gbtn.primary { color: #fff; background: var(--g-grad); box-shadow: 0 12px 30px rgba(37, 99, 235, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.3); }
.gbtn.primary:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(37, 99, 235, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.35); }
.gbtn.ghost { color: var(--g-ink); background: #fff; border-color: var(--g-line-2); box-shadow: var(--g-sh-sm); }
.gbtn.ghost:hover { transform: translateY(-3px); border-color: rgba(37, 99, 235, 0.45); box-shadow: var(--g-sh); }
.gbtn:focus-visible { outline: 2px solid var(--g-blue); outline-offset: 3px; }
.gbtn i { font-size: 0.8em; transition: transform 0.3s var(--g-ease); }
.gbtn:hover i.fa-arrow-right { transform: translateX(4px); }

/* ==========================================================================
   HERO
   ========================================================================== */
.gh {
    position: relative;
    isolation: isolate;
    min-height: min(100vh, 900px);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 172px 24px 104px;
    text-align: center;
    background: linear-gradient(180deg, #fbfdff 0%, #f0f6fd 62%, var(--g-bg) 100%);
}
.gh-reel {
    position: absolute;
    inset: -18% -12%;
    z-index: -2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 18px;
    transform: rotate(-6deg) scale(1.08);
    opacity: 0.95;
    pointer-events: none;
}
.gh-row { overflow: hidden; }
.gh-track { display: flex; gap: 18px; width: max-content; animation: ghReel 110s linear infinite; will-change: transform; }
.gh-row.rev .gh-track { animation-direction: reverse; animation-duration: 130s; }
.gh-row:nth-child(2) .gh-track { animation-duration: 95s; }
.gh-track img { flex: none; height: 230px; width: calc(230px * var(--ar, 1.5)); object-fit: cover; border-radius: 18px; box-shadow: 0 14px 34px rgba(15, 31, 71, 0.2); }
@keyframes ghReel { to { transform: translateX(-50%); } }
.gh-veil {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(58% 56% at 50% 47%, rgba(247, 250, 254, 0.97) 0%, rgba(247, 250, 254, 0.9) 46%, rgba(247, 250, 254, 0.5) 78%, rgba(247, 250, 254, 0.2) 100%),
        linear-gradient(180deg, rgba(245, 248, 252, 0.95) 0%, rgba(245, 248, 252, 0) 24%, rgba(245, 248, 252, 0) 64%, var(--g-bg) 100%);
}
.gh-grain {
    position: absolute;
    inset: 0;
    z-index: -1;
    opacity: 0.55;
    background-image: radial-gradient(rgba(37, 99, 235, 0.12) 1px, transparent 1px);
    background-size: 26px 26px;
    -webkit-mask-image: radial-gradient(70% 60% at 50% 45%, #000, transparent 75%);
    mask-image: radial-gradient(70% 60% at 50% 45%, #000, transparent 75%);
}
.gh-inner { position: relative; max-width: 980px; margin: 0 auto; }
.gh-chip {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 9px 20px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--g-line);
    box-shadow: var(--g-sh-sm);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.74rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--g-mute);
}
.gh-chip .dot { width: 8px; height: 8px; border-radius: 50%; background: #10b981; box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.5); animation: ghPulse 2.2s infinite; }
@keyframes ghPulse { 0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.5); } 70% { box-shadow: 0 0 0 11px rgba(16, 185, 129, 0); } 100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); } }
.gh h1 {
    margin: 26px 0 0;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 800;
    font-size: clamp(3.2rem, 9.2vw, 7rem);
    line-height: 0.92;
    letter-spacing: -0.055em;
    color: var(--g-ink);
}
.gh h1 .grad { display: block; margin-top: 0.06em; background: var(--g-grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; font-weight: 300; letter-spacing: -0.045em; }
.gh-lead { max-width: 640px; margin: 22px auto 0; font-size: clamp(1rem, 1.6vw, 1.2rem); line-height: 1.7; color: var(--g-mute); }
.gh-lead b { color: var(--g-ink); font-weight: 600; }
.gh-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 30px; }
.gh-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; max-width: 760px; margin: 44px auto 0; }
.gh-stat { padding: 16px 14px 13px; border-radius: 20px; background: rgba(255, 255, 255, 0.92); border: 1px solid var(--g-line); box-shadow: var(--g-sh); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.gh-stat b { display: block; font-family: 'Plus Jakarta Sans', sans-serif; font-size: clamp(1.8rem, 3.6vw, 2.6rem); font-weight: 800; line-height: 1.05; letter-spacing: -0.03em; background: var(--g-grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.gh-stat span { display: block; margin-top: 6px; font-size: 0.68rem; letter-spacing: 0.17em; text-transform: uppercase; color: var(--g-faint); font-weight: 600; }
.gh-scroll { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); width: 30px; height: 50px; border-radius: 18px; border: 1.5px solid rgba(15, 31, 71, 0.3); display: flex; justify-content: center; padding-top: 9px; transition: border-color 0.3s; }
.gh-scroll:hover { border-color: var(--g-blue); }
.gh-scroll::after { content: ""; width: 4px; height: 9px; border-radius: 3px; background: var(--g-blue); animation: ghScroll 1.9s var(--g-ease) infinite; }
@keyframes ghScroll { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(16px); opacity: 0; } 100% { opacity: 0; } }

/* ==========================================================================
   TOOLBAR
   ========================================================================== */
.gt {
    position: sticky;
    top: var(--tb-top);
    z-index: 60;
    background: rgba(255, 255, 255, 0.84);
    backdrop-filter: blur(22px) saturate(180%);
    -webkit-backdrop-filter: blur(22px) saturate(180%);
    border-top: 1px solid var(--g-line);
    border-bottom: 1px solid var(--g-line);
    transition: top 0.45s var(--g-ease), box-shadow 0.3s;
}
.gt.stuck { box-shadow: 0 14px 40px rgba(15, 31, 71, 0.1); }
.gt-bar { max-width: 1360px; margin: 0 auto; padding: 12px 20px; display: flex; align-items: center; gap: 16px; }
.gt-tabs { position: relative; flex: 1 1 auto; min-width: 0; display: flex; gap: 2px; padding: 5px; border-radius: 18px; background: var(--g-tint); border: 1px solid var(--g-line); overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.gt-tabs::-webkit-scrollbar { display: none; }
.gt-pill { position: absolute; top: 5px; bottom: 5px; left: 0; width: 0; border-radius: 13px; background: var(--g-grad); box-shadow: 0 8px 22px rgba(37, 99, 235, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.3); transition: transform 0.5s var(--g-ease), width 0.5s var(--g-ease); pointer-events: none; }
.gt-tab { position: relative; z-index: 1; flex: 1 1 0; min-width: max-content; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; padding: 9px 22px; border-radius: 13px; background: transparent; border: 0; cursor: pointer; color: var(--g-mute); font: inherit; line-height: 1.15; white-space: nowrap; transition: color 0.25s; }
.gt-tab b { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700; font-size: 0.95rem; letter-spacing: -0.01em; }
.gt-tab small { font-size: 0.66rem; letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.8; font-weight: 600; }
.gt-tab:hover { color: var(--g-ink); }
.gt-tab.active, .gt-tab.active:hover { color: #fff; }
.gt-tab:focus-visible { outline: 2px solid var(--g-blue); outline-offset: -2px; }
.gt-tools { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.gt-count { font-family: 'JetBrains Mono', monospace; font-size: 0.74rem; letter-spacing: 0.08em; color: var(--g-faint); white-space: nowrap; }
.gt-count b { color: var(--g-ink); font-weight: 700; }
.gt-dens { display: flex; gap: 2px; padding: 4px; border-radius: 12px; background: var(--g-tint); border: 1px solid var(--g-line); }
.gt-dens button { width: 34px; height: 32px; border: 0; border-radius: 9px; background: transparent; color: var(--g-faint); cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background 0.2s, color 0.2s, box-shadow 0.2s; }
.gt-dens button:hover { color: var(--g-ink); }
.gt-dens button.on { background: #fff; color: var(--g-blue); box-shadow: var(--g-sh-sm); }
.gt-dens button:focus-visible { outline: 2px solid var(--g-blue); outline-offset: 1px; }
.gt-dens svg { width: 16px; height: 16px; fill: currentColor; }
.gt-moments { max-width: 1360px; margin: 0 auto; padding: 0 20px 12px; display: none; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.gt-moments.show { display: flex; }
.gt-moments::-webkit-scrollbar { display: none; }
.gt-chip { flex: 0 0 auto; padding: 7px 15px; border-radius: 999px; font-size: 0.78rem; font-weight: 600; color: var(--g-mute); background: #fff; border: 1px solid var(--g-line); text-decoration: none; white-space: nowrap; transition: background 0.25s, color 0.25s, border-color 0.25s, box-shadow 0.25s; }
.gt-chip:hover { color: var(--g-ink); border-color: var(--g-line-2); box-shadow: var(--g-sh-sm); }
.gt-chip.on { color: #fff; background: var(--g-grad); border-color: transparent; box-shadow: 0 6px 16px rgba(37, 99, 235, 0.28); }

/* ==========================================================================
   MAIN + shared section heads
   ========================================================================== */
.gm { max-width: 1360px; margin: 0 auto; padding: 56px 20px 110px; min-height: 70vh; }
.gm > * + * { margin-top: 84px; }
.sh { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px 24px; margin-bottom: 28px; }
.sh .k { font-family: 'JetBrains Mono', monospace; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--g-accent); }
.sh h3 { margin: 8px 0 0; font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; font-size: clamp(1.6rem, 3.2vw, 2.4rem); letter-spacing: -0.035em; line-height: 1.08; color: var(--g-ink); }
.sh p { margin: 10px 0 0; max-width: 60ch; color: var(--g-mute); line-height: 1.65; }
.sh .more { color: var(--g-blue); font-weight: 700; font-size: 0.9rem; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; cursor: pointer; background: none; border: 0; font-family: inherit; }
.sh .more:hover i { transform: translateX(4px); }
.sh .more i { transition: transform 0.3s var(--g-ease); }

/* ---------- reveal-on-scroll ---------- */
.rv { opacity: 0; transform: translateY(26px); transition: opacity 0.8s var(--g-ease), transform 0.8s var(--g-ease); }
.rv.in { opacity: 1; transform: none; }

/* ==========================================================================
   JUSTIFIED PHOTO GRID
   ========================================================================== */
.jg { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.jg li {
    position: relative;
    flex: 0 0 auto;
    overflow: hidden;
    border-radius: 12px;
    background: #e3eaf4;
    background: color-mix(in srgb, var(--c, #cbd5e1) 34%, #e9eff8);
    box-shadow: var(--g-sh-sm);
    opacity: 0;
    transform: translateY(18px) scale(0.985);
    transition: opacity 0.7s ease, transform 0.8s var(--g-ease), box-shadow 0.35s;
}
.jg li.in { opacity: 1; transform: none; }
.jg li::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, 0.75) 50%, transparent 70%); background-size: 220% 100%; animation: jgShim 1.5s linear infinite; }
.jg li.ok::before { display: none; }
@keyframes jgShim { from { background-position: 120% 0; } to { background-position: -120% 0; } }
.jg li a { position: absolute; inset: 0; display: block; cursor: zoom-in; z-index: 2; }
.jg li img { width: 100%; height: 100%; object-fit: cover; display: block; opacity: 0; transition: opacity 0.6s ease, transform 0.9s var(--g-ease); }
.jg li.ok img { opacity: 1; }
.jg li:hover { box-shadow: 0 4px 10px rgba(15, 31, 71, 0.1), 0 24px 54px rgba(15, 31, 71, 0.26); z-index: 3; }
.jg li:hover img { transform: scale(1.06); }
.jg li a::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 21, 48, 0.12) 0%, transparent 35%, rgba(10, 21, 48, 0.78) 100%); opacity: 0; transition: opacity 0.35s; }
.jg li:hover a::after, .jg li a:focus-visible::after { opacity: 1; }
.jg li a:focus-visible { outline: 3px solid var(--g-blue); outline-offset: -3px; }
.jg .cap { position: absolute; left: 12px; right: 12px; bottom: 10px; z-index: 3; display: flex; align-items: center; justify-content: space-between; gap: 10px; opacity: 0; transform: translateY(8px); transition: opacity 0.35s, transform 0.4s var(--g-ease); pointer-events: none; }
.jg .cap .t { font-family: 'JetBrains Mono', monospace; font-size: 0.7rem; letter-spacing: 0.06em; color: #fff; background: rgba(10, 21, 48, 0.55); padding: 3px 8px; border-radius: 6px; backdrop-filter: blur(6px); }
.jg .cap .w { font-size: 0.74rem; font-weight: 600; color: #fff; text-align: right; text-shadow: 0 1px 8px rgba(0, 0, 0, 0.6); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.jg li:hover .cap, .jg li a:focus-visible .cap { opacity: 1; transform: none; }
.jg .ex { position: absolute; top: 10px; right: 10px; z-index: 3; width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.72rem; color: var(--g-ink); background: rgba(255, 255, 255, 0.92); box-shadow: 0 4px 12px rgba(10, 21, 48, 0.25); opacity: 0; transform: scale(0.8); transition: opacity 0.3s, transform 0.4s var(--g-ease); pointer-events: none; }
.jg li:hover .ex { opacity: 1; transform: none; }

/* ==========================================================================
   HIGHLIGHTS VIEW
   ========================================================================== */
.fx { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 232px; gap: 12px; }
.fx a { position: relative; display: block; overflow: hidden; border-radius: 20px; background: #dfe7f2; box-shadow: var(--g-sh); }
.fx a.lead { grid-column: span 2; grid-row: span 2; border-radius: 26px; box-shadow: var(--g-sh-lg); }
.fx a.wide { grid-column: span 2; }
.fx img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1s var(--g-ease); }
.fx a:hover img { transform: scale(1.06); }
.fx a::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(10, 21, 48, 0.82) 100%); }
.fx .tx { position: absolute; left: 20px; right: 20px; bottom: 16px; z-index: 2; }
.fx .tx small { display: block; font-family: 'JetBrains Mono', monospace; font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; color: #7cf0c8; margin-bottom: 5px; }
.fx .tx b { display: block; font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700; font-size: 1rem; line-height: 1.25; color: #fff; letter-spacing: -0.01em; }
.fx a.lead .tx b { font-size: clamp(1.3rem, 2.4vw, 1.9rem); letter-spacing: -0.025em; }
.fx a.lead .tx { left: 28px; bottom: 24px; right: 28px; }
.fx a:focus-visible { outline: 3px solid var(--g-blue); outline-offset: 2px; }

.ch { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.ch a { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 380px; padding: 24px; border-radius: 24px; overflow: hidden; color: #fff; text-decoration: none; background: #dfe7f2; box-shadow: var(--g-sh); isolation: isolate; transition: transform 0.5s var(--g-ease), box-shadow 0.5s; }
.ch a:hover { transform: translateY(-8px); box-shadow: var(--g-sh-lg); }
.ch img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--g-ease); }
.ch a:hover img { transform: scale(1.08); }
.ch a::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10, 21, 48, 0.4) 0%, rgba(10, 21, 48, 0.1) 32%, rgba(10, 21, 48, 0.9) 100%); }
.ch .no { position: absolute; top: 14px; left: 22px; font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; font-size: 5.2rem; line-height: 1; letter-spacing: -0.06em; color: rgba(255, 255, 255, 0.16); -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.85); text-shadow: 0 4px 30px rgba(0, 0, 0, 0.3); }
.ch .mon { position: absolute; top: 24px; right: 22px; font-family: 'JetBrains Mono', monospace; font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255, 255, 255, 0.9); }
.ch .tr { align-self: flex-start; font-size: 0.66rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; padding: 5px 11px; border-radius: 999px; color: #fff; background: var(--g-grad); }
.ch h4 { margin: 12px 0 6px; font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; font-size: 1.5rem; line-height: 1.12; letter-spacing: -0.03em; }
.ch .mt { display: flex; align-items: center; justify-content: space-between; font-size: 0.82rem; color: rgba(255, 255, 255, 0.8); }
.ch .mt i { width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: rgba(255, 255, 255, 0.2); transition: background 0.3s, transform 0.4s var(--g-ease), color 0.3s; }
.ch a:hover .mt i { background: #fff; color: var(--g-blue); transform: rotate(-45deg); }
.ch a:focus-visible { outline: 3px solid var(--g-blue); outline-offset: 3px; }

.fc { display: flex; gap: 16px; overflow-x: auto; padding: 8px 4px 24px; scroll-snap-type: x proximity; scrollbar-width: thin; scrollbar-color: rgba(15, 31, 71, 0.25) transparent; }
.fc::-webkit-scrollbar { height: 6px; }
.fc::-webkit-scrollbar-thumb { background: rgba(15, 31, 71, 0.2); border-radius: 6px; }
.fc button { scroll-snap-align: start; flex: 0 0 168px; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 22px 12px 18px; border-radius: 22px; background: var(--g-card); border: 1px solid var(--g-line); box-shadow: var(--g-sh-sm); color: inherit; font: inherit; cursor: pointer; text-align: center; transition: transform 0.4s var(--g-ease), border-color 0.3s, box-shadow 0.4s; }
.fc button:hover { transform: translateY(-6px); border-color: rgba(37, 99, 235, 0.4); box-shadow: var(--g-sh); }
.fc button:focus-visible { outline: 2px solid var(--g-blue); outline-offset: 2px; }

/* ==========================================================================
   AVATARS / PEOPLE
   ========================================================================== */
.av { position: relative; width: 104px; height: 104px; border-radius: 50%; padding: 3px; background: conic-gradient(from 210deg, #3b82f6, #10b981, #fbbf24, #3b82f6); flex: 0 0 auto; transition: transform 0.5s var(--g-ease); }
.av img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; display: block; background: #e3eaf4; border: 3px solid #fff; }
.av.lg { width: 148px; height: 148px; padding: 4px; box-shadow: 0 16px 40px rgba(15, 31, 71, 0.18); }
.av.lg img { border-width: 4px; }
.nm { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700; font-size: 0.95rem; line-height: 1.25; color: var(--g-ink); letter-spacing: -0.01em; }
.rl { font-size: 0.74rem; line-height: 1.4; color: var(--g-faint); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.8em; }
.ct { margin-top: 2px; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.04em; padding: 4px 12px; border-radius: 999px; background: #e7f8f1; color: #047857; border: 1px solid #bfeedd; }

.pv-tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 8px; }
.seg { display: flex; flex-wrap: wrap; gap: 6px; }
.seg button { padding: 9px 18px; border-radius: 999px; background: #fff; border: 1px solid var(--g-line); color: var(--g-mute); font: inherit; font-size: 0.84rem; font-weight: 600; cursor: pointer; transition: background 0.25s, color 0.25s, border-color 0.25s, box-shadow 0.25s; }
.seg button em { font-style: normal; opacity: 0.6; margin-left: 6px; font-weight: 500; }
.seg button:hover { color: var(--g-ink); border-color: var(--g-line-2); box-shadow: var(--g-sh-sm); }
.seg button.on { color: #fff; background: var(--g-grad); border-color: transparent; box-shadow: 0 6px 16px rgba(37, 99, 235, 0.28); }
.seg button:focus-visible { outline: 2px solid var(--g-blue); outline-offset: 2px; }
.srch { position: relative; width: min(100%, 360px); }
.srch input { width: 100%; padding: 13px 16px 13px 46px; border-radius: 14px; background: #fff; border: 1px solid var(--g-line-2); color: var(--g-ink); font: inherit; font-size: 0.94rem; outline: none; box-shadow: var(--g-sh-sm); transition: border-color 0.25s, box-shadow 0.25s; }
.srch input::placeholder { color: var(--g-faint); }
.srch input:focus { border-color: var(--g-blue); box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12); }
.srch i { position: absolute; left: 17px; top: 50%; transform: translateY(-50%); color: var(--g-faint); pointer-events: none; }

.pg { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
.pc { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; padding: 28px 16px 22px; border-radius: 24px; background: var(--g-card); border: 1px solid var(--g-line); box-shadow: var(--g-sh-sm); color: inherit; font: inherit; cursor: pointer; transition: transform 0.45s var(--g-ease), border-color 0.3s, box-shadow 0.45s; }
.pc:hover { transform: translateY(-8px); border-color: rgba(37, 99, 235, 0.4); box-shadow: var(--g-sh-lg); }
.pc:hover .av { transform: scale(1.06) rotate(8deg); }
.pc:hover .av img { transform: rotate(-8deg); }
.pc .av img { transition: transform 0.5s var(--g-ease); }
.pc:focus-visible { outline: 2px solid var(--g-blue); outline-offset: 3px; }
.pc .go { margin-top: 4px; font-size: 0.74rem; font-weight: 700; color: var(--g-blue); opacity: 0; transform: translateY(6px); transition: opacity 0.3s, transform 0.4s var(--g-ease); }
.pc:hover .go { opacity: 1; transform: none; }
.grp { margin-top: 44px; }
.grp > h4 { display: flex; align-items: center; gap: 14px; margin: 0 0 18px; font-family: 'JetBrains Mono', monospace; font-size: 0.74rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--g-accent); }
.grp > h4::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, var(--g-line-2), transparent); }
.note { margin-top: 56px; padding: 20px 24px; border-radius: 18px; background: #fff; border: 1px dashed rgba(15, 31, 71, 0.22); color: var(--g-mute); font-size: 0.88rem; line-height: 1.7; }
.note a { color: var(--g-blue); font-weight: 600; }
.empty { padding: 70px 0; text-align: center; color: var(--g-faint); }

/* person page */
.pp { position: relative; isolation: isolate; overflow: hidden; border-radius: 30px; padding: 44px 44px 40px; border: 1px solid var(--g-line); background: #fff; box-shadow: var(--g-sh); }
.pp-bg { position: absolute; inset: -30%; z-index: -2; background-size: cover; background-position: center; filter: blur(60px) saturate(1.4); opacity: 0.4; transform: scale(1.1); }
.pp::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.72) 55%, rgba(255, 255, 255, 0.92) 100%); }
.pp-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 30px; }
.pp-row { display: flex; align-items: center; gap: 34px; flex-wrap: wrap; }
.pp h2 { margin: 8px 0 8px; font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; font-size: clamp(2rem, 4.6vw, 3.4rem); line-height: 1.02; letter-spacing: -0.045em; color: var(--g-ink); }
.pp .k { font-family: 'JetBrains Mono', monospace; font-size: 0.74rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--g-accent); }
.pp p { margin: 0; color: var(--g-mute); max-width: 56ch; line-height: 1.6; }
.pp .chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.pp .chips span { padding: 6px 14px; border-radius: 999px; font-size: 0.78rem; font-weight: 700; background: var(--g-tint); border: 1px solid var(--g-line); color: var(--g-ink); }
.pp .chips span.hi { background: #e7f8f1; color: #047857; border-color: #bfeedd; }
.pbtn { display: inline-flex; align-items: center; gap: 9px; padding: 10px 18px; border-radius: 999px; font: inherit; font-size: 0.84rem; font-weight: 700; color: var(--g-ink); cursor: pointer; background: #fff; border: 1px solid var(--g-line-2); box-shadow: var(--g-sh-sm); transition: box-shadow 0.25s, transform 0.3s var(--g-ease), border-color 0.25s; }
.pbtn:hover { transform: translateY(-2px); box-shadow: var(--g-sh); border-color: rgba(37, 99, 235, 0.4); }
.pbtn:focus-visible { outline: 2px solid var(--g-blue); outline-offset: 2px; }
.pnav { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.pnav button { display: flex; align-items: center; gap: 16px; padding: 16px 20px; border-radius: 20px; background: #fff; border: 1px solid var(--g-line); box-shadow: var(--g-sh-sm); color: inherit; font: inherit; cursor: pointer; text-align: left; transition: transform 0.4s var(--g-ease), border-color 0.3s, box-shadow 0.3s; }
.pnav button:last-child { flex-direction: row-reverse; text-align: right; }
.pnav button:hover { transform: translateY(-4px); border-color: rgba(37, 99, 235, 0.4); box-shadow: var(--g-sh); }
.pnav .av { width: 58px; height: 58px; padding: 2px; }
.pnav .av img { border-width: 2px; }
.pnav small { display: block; font-family: 'JetBrains Mono', monospace; font-size: 0.64rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--g-faint); margin-bottom: 3px; }

/* ==========================================================================
   DAY VIEW
   ========================================================================== */
.dh { position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 56px; align-items: center; padding: 56px; border-radius: 34px; border: 1px solid var(--g-line); background: linear-gradient(135deg, #ffffff 0%, #f1f6fd 100%); box-shadow: var(--g-sh); overflow: hidden; }
.dh::before { content: ""; position: absolute; z-index: -1; width: 520px; height: 520px; right: -140px; top: -160px; background: radial-gradient(circle, rgba(59, 130, 246, 0.16), transparent 65%); }
.dh::after { content: ""; position: absolute; z-index: -1; width: 420px; height: 420px; left: -120px; bottom: -200px; background: radial-gradient(circle, rgba(16, 185, 129, 0.13), transparent 65%); }
.dh-num { position: absolute; z-index: -1; left: 30px; bottom: -60px; font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; font-size: clamp(11rem, 24vw, 20rem); line-height: 0.8; letter-spacing: -0.07em; color: transparent; -webkit-text-stroke: 1.5px rgba(15, 31, 71, 0.09); user-select: none; pointer-events: none; }
.dh-kicker { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; font-family: 'JetBrains Mono', monospace; font-size: 0.74rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--g-mute); }
.dh-kicker .bd { font-family: 'Inter', sans-serif; font-weight: 700; letter-spacing: 0.14em; font-size: 0.66rem; padding: 5px 12px; border-radius: 999px; color: #fff; background: var(--g-grad); }
.dh h2 { margin: 18px 0 16px; font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; font-size: clamp(2.2rem, 5vw, 4rem); line-height: 1; letter-spacing: -0.05em; color: var(--g-ink); }
.dh p { margin: 0; max-width: 56ch; color: var(--g-mute); line-height: 1.75; font-size: 1.02rem; }
.dh dl { display: flex; flex-wrap: wrap; gap: 30px 44px; margin: 34px 0 0; }
.dh dt { font-size: 0.66rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--g-faint); font-weight: 600; }
.dh dd { margin: 5px 0 0; font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; font-size: 1.7rem; letter-spacing: -0.03em; color: var(--g-ink); font-variant-numeric: tabular-nums; }
.dh-cover { position: relative; margin: 0; aspect-ratio: 4 / 3; border-radius: 26px; overflow: hidden; box-shadow: var(--g-sh-lg), 0 0 0 6px #fff; transform: rotate(1.6deg); transition: transform 0.8s var(--g-ease); background: #dfe7f2; }
.dh:hover .dh-cover { transform: rotate(0deg) scale(1.015); }
.dh-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dh-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(10, 21, 48, 0.7)); }
.dh-cover figcaption { position: absolute; left: 20px; bottom: 16px; z-index: 2; font-family: 'JetBrains Mono', monospace; font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase; color: #fff; }

.tl { position: relative; }
.mo { position: relative; display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 36px; scroll-margin-top: 150px; padding-bottom: 8px; }
.mo + .mo { margin-top: 64px; }
.mo-rail { position: relative; padding-left: 26px; }
.mo-rail::before { content: ""; position: absolute; left: 5px; top: 8px; bottom: -72px; width: 1px; background: linear-gradient(180deg, rgba(37, 99, 235, 0.55), rgba(15, 31, 71, 0.12) 40%, rgba(15, 31, 71, 0.06)); }
.mo:last-child .mo-rail::before { bottom: 0; background: linear-gradient(180deg, rgba(37, 99, 235, 0.55), transparent); }
.mo-rail::after { content: ""; position: absolute; left: 0; top: 4px; width: 11px; height: 11px; border-radius: 50%; background: #fff; border: 2px solid var(--g-blue); box-shadow: 0 0 0 5px rgba(37, 99, 235, 0.12); }
.mo-rail .stk { position: sticky; top: calc(var(--tb-top) + 140px); }
.mo-time { font-family: 'JetBrains Mono', monospace; font-size: 0.74rem; font-weight: 600; letter-spacing: 0.1em; color: var(--g-accent); }
.mo-rail h3 { margin: 8px 0 10px; font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; font-size: 1.35rem; line-height: 1.18; letter-spacing: -0.03em; color: var(--g-ink); }
.mo-count { display: inline-block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.04em; padding: 4px 12px; border-radius: 999px; background: var(--g-tint); color: var(--g-mute); border: 1px solid var(--g-line); }

/* ==========================================================================
   CTA BAND
   ========================================================================== */
.gcta { position: relative; isolation: isolate; overflow: hidden; padding: 96px 24px; text-align: center; background: linear-gradient(180deg, var(--g-bg) 0%, #e6f0fa 100%); border-top: 1px solid var(--g-line); }
.gcta::before { content: ""; position: absolute; z-index: -1; left: 50%; top: 50%; width: 900px; height: 420px; transform: translate(-50%, -50%); background: radial-gradient(closest-side, rgba(16, 185, 129, 0.16), transparent); }
.gcta h3 { margin: 12px auto 14px; max-width: 18ch; font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; font-size: clamp(2rem, 4.8vw, 3.4rem); line-height: 1.04; letter-spacing: -0.045em; color: var(--g-ink); }
.gcta p { max-width: 56ch; margin: 0 auto; color: var(--g-mute); line-height: 1.7; }
.gcta .k { font-family: 'JetBrains Mono', monospace; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--g-accent); }
.gcta .row { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 34px; }

.gtop { position: fixed; right: 22px; bottom: 22px; z-index: 70; width: 50px; height: 50px; border-radius: 50%; border: 1px solid var(--g-line-2); background: rgba(255, 255, 255, 0.95); box-shadow: var(--g-sh); color: var(--g-ink); cursor: pointer; display: flex; align-items: center; justify-content: center; opacity: 0; transform: translateY(14px) scale(0.9); pointer-events: none; transition: opacity 0.3s, transform 0.4s var(--g-ease), background 0.3s, color 0.3s; }
.gtop.show { opacity: 1; transform: none; pointer-events: auto; }
.gtop:hover { background: var(--g-grad); color: #fff; border-color: transparent; }
.gtop:focus-visible { outline: 2px solid var(--g-blue); outline-offset: 3px; }

/* ==========================================================================
   LIGHTBOX (light, frosted)
   ========================================================================== */
.lb { position: fixed; inset: 0; z-index: 9999; display: none; flex-direction: column; background: #f4f7fc; color: var(--g-ink); overflow: hidden; }
.lb.open { display: flex; animation: lbIn 0.3s ease-out; }
@keyframes lbIn { from { opacity: 0; } to { opacity: 1; } }
.lb-bg { position: absolute; inset: -12%; z-index: 0; background-size: cover; background-position: center; filter: blur(80px) saturate(1.5) brightness(1.12); opacity: 0.6; transform: scale(1.1); transition: background-image 0.5s; }
.lb-bg::after { content: ""; position: absolute; inset: 0; background: rgba(247, 250, 254, 0.55); }
.lb > *:not(.lb-bg) { position: relative; z-index: 1; }
.lb-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 22px; }
.lb-title { min-width: 0; }
.lb-title b { display: block; font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; font-size: 1.05rem; letter-spacing: -0.02em; color: var(--g-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lb-title span { display: block; margin-top: 3px; font-family: 'JetBrains Mono', monospace; font-size: 0.72rem; letter-spacing: 0.08em; color: var(--g-mute); }
.lb-actions { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; }
.lb-count { margin-right: 8px; font-family: 'JetBrains Mono', monospace; font-size: 0.78rem; letter-spacing: 0.08em; color: var(--g-mute); font-variant-numeric: tabular-nums; }
.lb-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 44px; height: 44px; padding: 0 14px; border-radius: 999px; background: rgba(255, 255, 255, 0.9); border: 1px solid var(--g-line-2); box-shadow: var(--g-sh-sm); color: var(--g-ink); font: inherit; font-size: 0.84rem; font-weight: 700; cursor: pointer; text-decoration: none; transition: background 0.25s, box-shadow 0.25s, transform 0.3s var(--g-ease); }
.lb-btn:hover { background: #fff; box-shadow: var(--g-sh); transform: translateY(-1px); }
.lb-btn:focus-visible { outline: 2px solid var(--g-blue); outline-offset: 2px; }
.lb-btn.on { background: var(--g-grad); color: #fff; border-color: transparent; }
.lb-stage { flex: 1 1 auto; min-height: 0; display: flex; align-items: center; justify-content: center; padding: 0 88px; }
.lb-stage figure { margin: 0; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.lb-stage img { flex: 0 1 auto; width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 8px; box-shadow: 0 0 0 6px #fff, 0 30px 80px rgba(15, 31, 71, 0.34); user-select: none; -webkit-user-drag: none; transition: opacity 0.35s, filter 0.35s; }
.lb-stage img.loading { opacity: 0.4; filter: blur(8px); }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 56px; height: 56px; border-radius: 50%; border: 1px solid var(--g-line-2); background: rgba(255, 255, 255, 0.94); box-shadow: var(--g-sh); color: var(--g-ink); font-size: 1rem; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background 0.25s, color 0.25s, transform 0.3s var(--g-ease); z-index: 2; }
.lb-nav:hover { background: var(--g-grad); color: #fff; border-color: transparent; }
.lb-nav.prev { left: 18px; } .lb-nav.prev:hover { transform: translateY(-50%) translateX(-3px); }
.lb-nav.next { right: 18px; } .lb-nav.next:hover { transform: translateY(-50%) translateX(3px); }
.lb-nav:focus-visible { outline: 2px solid var(--g-blue); outline-offset: 2px; }
.lb-bottom { padding: 8px 22px 16px; }
.lb-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; min-height: 8px; margin-bottom: 12px; }
.lb-tag { display: inline-flex; align-items: center; gap: 8px; padding: 4px 14px 4px 4px; border-radius: 999px; font: inherit; font-size: 0.78rem; font-weight: 700; color: var(--g-ink); background: #fff; border: 1px solid var(--g-line-2); box-shadow: var(--g-sh-sm); cursor: pointer; transition: background 0.25s, border-color 0.25s; }
.lb-tag:hover { background: #e7f8f1; border-color: #8fdcbf; }
.lb-tag img { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; }
.lb-strip { position: relative; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 8px 2px; justify-content: safe center; }
.lb-strip::-webkit-scrollbar { display: none; }
.lb-strip button { flex: 0 0 auto; width: 86px; height: 58px; padding: 0; border: 0; border-radius: 9px; overflow: hidden; cursor: pointer; opacity: 0.6; background: #dfe7f2; outline: 2px solid transparent; outline-offset: 2px; transition: opacity 0.25s, transform 0.3s var(--g-ease), outline-color 0.25s; }
.lb-strip button img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lb-strip button:hover { opacity: 0.95; }
.lb-strip button.on { opacity: 1; outline-color: var(--g-blue); transform: translateY(-3px); }
.lb-hint { margin-top: 8px; text-align: center; font-size: 0.7rem; letter-spacing: 0.06em; color: var(--g-faint); }
.lb-hint kbd { font-family: 'JetBrains Mono', monospace; font-size: 0.68rem; padding: 1px 6px; border-radius: 4px; background: #fff; border: 1px solid var(--g-line-2); color: var(--g-mute); }
.lb-progress { position: absolute !important; left: 0; right: 0; bottom: 0; height: 3px; background: transparent; z-index: 3 !important; }
.lb-progress i { display: block; height: 100%; width: 0; background: var(--g-grad); }
.lb-progress.run i { animation: lbProg var(--lb-ms, 4500ms) linear forwards; }
@keyframes lbProg { from { width: 0; } to { width: 100%; } }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1100px) {
    .dh { grid-template-columns: 1fr; padding: 40px 32px; gap: 38px; }
    .dh-cover { transform: none; max-width: 560px; }
    .ch { grid-template-columns: repeat(2, 1fr); }
    .fx { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 200px; }
    .fx a.wide { grid-column: span 1; }
    .mo { grid-template-columns: 210px minmax(0, 1fr); gap: 26px; }
    .gt-count { display: none; }
}
@media (max-width: 820px) {
    .gh { padding: 150px 18px 120px; min-height: 0; }
    .gh-track img { height: 150px; width: calc(150px * var(--ar, 1.5)); border-radius: 12px; }
    .gh-stats { grid-template-columns: repeat(2, 1fr); margin-top: 42px; }
    .gh-scroll { display: none; }
    .gt-bar { padding: 10px 12px; gap: 10px; }
    .gt-dens { display: none; }
    .gt-tab { padding: 8px 16px; }
    .gt-moments { padding: 0 12px 10px; }
    .gm { padding: 36px 14px 80px; }
    .gm > * + * { margin-top: 60px; }
    .fx { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 170px; gap: 8px; }
    .fx a, .fx a.lead { border-radius: 16px; }
    .fx a.lead { grid-column: span 2; grid-row: span 2; }
    .fx .tx b { font-size: 0.86rem; }
    .fx a.lead .tx { left: 18px; bottom: 16px; }
    .ch { grid-template-columns: 1fr 1fr; gap: 10px; }
    .ch a { min-height: 270px; padding: 16px; border-radius: 18px; }
    .ch .no { font-size: 3.6rem; left: 14px; }
    .ch .mon { right: 14px; top: 18px; font-size: 0.6rem; }
    .ch h4 { font-size: 1.1rem; }
    .mo { grid-template-columns: 1fr; gap: 16px; }
    .mo-rail .stk { position: static; }
    .mo-rail::before { bottom: -56px; }
    .mo-rail h3 { font-size: 1.15rem; margin: 6px 0 8px; }
    .jg { gap: 5px; }
    .jg li { border-radius: 9px; }
    .jg .cap, .jg .ex { display: none; }
    .dh { padding: 30px 22px; border-radius: 24px; }
    .dh dl { gap: 22px 32px; }
    .pp { padding: 28px 22px; border-radius: 24px; }
    .pp-row { gap: 22px; }
    .pg { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .pc { padding: 22px 10px 16px; border-radius: 18px; }
    .av { width: 88px; height: 88px; }
    .av.lg { width: 112px; height: 112px; }
    .pnav { grid-template-columns: 1fr; }
    .lb-stage { padding: 0 6px; }
    .lb-nav { width: 42px; height: 42px; }
    .lb-nav.prev { left: 6px; } .lb-nav.next { right: 6px; }
    .lb-btn .lbl, .lb-hint { display: none; }
    .lb-top { padding: 12px 14px; }
    .lb-strip button { width: 64px; height: 44px; }
    .gcta { padding: 72px 20px; }
    .gh-chip { font-size: 0.6rem; letter-spacing: 0.13em; padding: 8px 14px; gap: 9px; }
    .gh-lead { font-size: 1rem; }
    .gh-cta .gbtn { padding: 14px 24px; }
    .fx a:not(.lead) .tx small { display: none; }
    .fx a:not(.lead) .tx { left: 12px; right: 10px; bottom: 10px; }
    .fx a:not(.lead) .tx b { font-size: 0.78rem; line-height: 1.22; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
    body.gal-page .navbar .nav-cta { display: none !important; }
    .gtop { right: 14px; bottom: 14px; width: 44px; height: 44px; }
}
@media (max-width: 480px) {
    .gh-stat { padding: 16px 10px 13px; }
    .ch { grid-template-columns: 1fr; }
    .ch a { min-height: 230px; }
}
@media (prefers-reduced-motion: reduce) {
    .gh-track, .gh-chip .dot, .gh-scroll::after, .jg li::before { animation: none !important; }
    .rv, .jg li, .gt-pill, .gt, .navbar { transition: none !important; }
    .rv, .jg li { opacity: 1; transform: none; }
}
