*,
*::before,
*::after {
    box-sizing: border-box;
}

:root {
    --bg: #FFF8FB;
    --surface: #FFFFFF;
    --pink-soft: #FFF0F6;
    --purple-soft: #F7F3FF;
    --gray-pink: #F8F4F6;
    --title: #32262D;
    --text: #51444C;
    --muted: #7C6D76;
    --quiet: #A09199;
    --pink: #FF5D9E;
    --berry: #D94C83;
    --coral: #FF8EAC;
    --purple: #8C76E8;
    --deep-purple: #6753B5;
    --border: rgba(255, 93, 158, 0.15);
    --shadow: 0 14px 36px rgba(76, 48, 66, 0.08);
    --shadow-strong: 0 18px 46px rgba(217, 76, 131, 0.15);
    --footer: #30242B;
    --footer-text: #FFEAF2;
    --radius-lg: 26px;
    --radius-md: 20px;
    --radius-sm: 14px;
}

html {
    scroll-behavior: smooth;
    background: var(--bg);
}

body {
    margin: 0;
    color: var(--text);
    background:
        radial-gradient(circle at 7% 4%, rgba(255, 142, 172, 0.13), transparent 30rem),
        radial-gradient(circle at 92% 10%, rgba(140, 118, 232, 0.11), transparent 30rem),
        var(--bg);
    font-family: system-ui, -apple-system, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    line-height: 1.75;
    overflow-x: hidden;
}

body.menu-open {
    overflow: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea,
select {
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

p,
h1,
h2,
h3,
h4,
ul,
ol {
    margin-top: 0;
}

p:last-child,
ul:last-child,
ol:last-child {
    margin-bottom: 0;
}

ul,
ol {
    padding-left: 1.25rem;
}

.shell {
    width: min(1200px, calc(100% - 40px));
    margin-inline: auto;
}

.skip-link {
    position: fixed;
    z-index: 1000;
    left: 16px;
    top: 12px;
    transform: translateY(-160%);
    background: var(--title);
    color: #fff;
    padding: 10px 14px;
    border-radius: 10px;
}

.skip-link:focus {
    transform: translateY(0);
}

.notice-bar {
    background: rgba(255, 240, 246, 0.94);
    border-bottom: 1px solid var(--border);
    color: var(--muted);
    font-size: 0.9rem;
}

.notice-inner {
    min-height: 34px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.notice-inner p {
    margin: 0;
}

.notice-links {
    display: flex;
    align-items: center;
    gap: 16px;
    white-space: nowrap;
}

.notice-links a:hover {
    color: var(--berry);
}

.site-nav-wrap {
    position: sticky;
    top: 0;
    z-index: 120;
    background: rgba(255, 248, 251, 0.92);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(255, 93, 158, 0.1);
}

.site-nav {
    min-height: 68px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 28px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-width: max-content;
    font-weight: 850;
    color: var(--title);
    letter-spacing: -0.02em;
}

.brand img {
    width: auto;
    height: 42px;
    object-fit: contain;
}

.brand-mark {
    display: inline-grid;
    place-items: center;
    min-width: 38px;
    height: 38px;
    border-radius: 13px 13px 13px 7px;
    color: white;
    background: linear-gradient(135deg, #FF8EAC 0%, #FF5D9E 52%, #8C76E8 100%);
    box-shadow: 0 9px 22px rgba(217, 76, 131, 0.2);
    font-size: 0.95rem;
}

.brand-name {
    font-size: 1.18rem;
}

.desktop-main-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    min-width: 0;
    white-space: nowrap;
}

.desktop-main-nav a {
    position: relative;
    padding: 10px 13px;
    border-radius: 999px;
    color: var(--muted);
    font-weight: 700;
}

.desktop-main-nav a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 5px;
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: var(--pink);
    transform: translateX(-50%) scaleX(0);
    transform-origin: center;
    transition: transform 0.2s ease;
    pointer-events: none;
}

.desktop-main-nav a:hover,
.desktop-main-nav a.is-active {
    color: var(--title);
    background: rgba(255, 255, 255, 0.72);
}

.desktop-main-nav a.is-active::after {
    transform: translateX(-50%) scaleX(1);
}

.nav-actions {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: flex-end;
    white-space: nowrap;
}

.mobile-nav-left,
.mobile-nav-right {
    display: none;
}

.btn {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 18px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-weight: 800;
    line-height: 1.15;
    white-space: nowrap;
    cursor: pointer;
    position: relative;
    z-index: 1;
}

.btn-primary {
    color: #fff;
    background: linear-gradient(135deg, #FF8EAC 0%, #FF5D9E 52%, #8C76E8 100%);
    box-shadow: 0 10px 22px rgba(217, 76, 131, 0.2);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-strong);
}

.btn-soft {
    background: rgba(255, 255, 255, 0.82);
    border-color: var(--border);
    color: var(--title);
}

.btn-soft:hover {
    background: var(--pink-soft);
}

.btn.compact {
    min-height: 42px;
    padding: 9px 15px;
}

.plain-menu-btn {
    min-height: 44px;
    border: 0;
    background: transparent;
    color: var(--title);
    font-weight: 800;
    padding: 8px 4px;
}

:focus-visible {
    outline: 3px solid rgba(103, 83, 181, 0.4);
    outline-offset: 3px;
}

main {
    min-height: 60vh;
}

.section {
    padding: 82px 0;
}

.section-tight {
    padding: 58px 0;
}

.section-soft {
    background: linear-gradient(180deg, rgba(255, 240, 246, 0.8), rgba(247, 243, 255, 0.72));
    border-block: 1px solid rgba(255, 93, 158, 0.08);
}

.section-white {
    background: rgba(255, 255, 255, 0.78);
}

.section-heading {
    max-width: 760px;
    margin-bottom: 30px;
}

.section-heading.center {
    margin-inline: auto;
    text-align: center;
}

.eyebrow {
    margin-bottom: 8px;
    color: var(--berry);
    font-weight: 850;
    font-size: 0.84rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

h1,
h2,
h3,
h4 {
    color: var(--title);
    line-height: 1.22;
    letter-spacing: -0.025em;
}

h1 {
    font-size: clamp(2.45rem, 6vw, 5.5rem);
    margin-bottom: 22px;
}

h2 {
    font-size: clamp(1.8rem, 3vw, 2.9rem);
    margin-bottom: 14px;
}

h3 {
    font-size: 1.18rem;
    margin-bottom: 8px;
}

.lead {
    font-size: clamp(1.03rem, 1.8vw, 1.2rem);
    color: var(--muted);
}

.muted {
    color: var(--muted);
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--berry);
    font-weight: 800;
}

.text-link::after {
    content: "→";
}

.text-link:hover {
    color: var(--deep-purple);
}

.actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    margin-top: 26px;
}

.hero {
    padding: 68px 0 46px;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(260px, 0.72fr) minmax(230px, 0.65fr);
    gap: 28px;
    align-items: center;
}

.hero-copy {
    padding: 30px 0;
}

.hero-brand {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 18px;
    padding: 8px 12px;
    border-radius: 999px;
    background: white;
    border: 1px solid var(--border);
    color: var(--berry);
    font-weight: 850;
}

.hero-copy h1 {
    max-width: 8ch;
}

.hero-copy .lead {
    max-width: 660px;
}

.phone-stage {
    min-height: 560px;
    display: grid;
    place-items: center;
    position: relative;
}

.phone-stage::before,
.phone-stage::after {
    content: "";
    position: absolute;
    pointer-events: none;
    border-radius: 999px;
    filter: blur(2px);
}

.phone-stage::before {
    width: 320px;
    height: 320px;
    background: rgba(255, 142, 172, 0.16);
    top: 10%;
    left: 0;
}

.phone-stage::after {
    width: 240px;
    height: 240px;
    background: rgba(140, 118, 232, 0.14);
    right: 0;
    bottom: 8%;
}

.phone-mock {
    width: min(290px, 88%);
    aspect-ratio: 9 / 18.5;
    position: relative;
    z-index: 2;
    border-radius: 40px;
    border: 10px solid #3B2F36;
    background: linear-gradient(180deg, #FFF 0%, #FFF0F6 56%, #F7F3FF 100%);
    box-shadow: 0 28px 65px rgba(76, 48, 66, 0.18);
    overflow: hidden;
}

.phone-mock::before {
    content: "";
    position: absolute;
    top: 10px;
    left: 50%;
    width: 34%;
    height: 20px;
    border-radius: 999px;
    background: #3B2F36;
    transform: translateX(-50%);
}

.phone-screen {
    padding: 48px 18px 18px;
}

.mini-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.mini-logo {
    font-weight: 900;
    color: var(--title);
}

.mini-pill {
    width: 58px;
    height: 24px;
    border-radius: 999px;
    background: var(--pink-soft);
}

.mini-feature {
    padding: 18px;
    min-height: 160px;
    border-radius: 22px;
    color: white;
    background:
        radial-gradient(circle at 78% 22%, rgba(255,255,255,.27), transparent 6rem),
        linear-gradient(135deg, var(--coral), var(--pink) 52%, var(--purple));
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.mini-feature strong {
    font-size: 1.3rem;
}

.mini-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 14px 0;
}

.mini-chips span {
    height: 24px;
    flex: 1 0 28%;
    border-radius: 999px;
    background: rgba(217, 76, 131, 0.12);
}

.mini-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.mini-cards span {
    display: block;
    aspect-ratio: 1 / 0.8;
    border-radius: 16px;
    background: white;
    box-shadow: 0 8px 20px rgba(76, 48, 66, 0.08);
}

.hero-side {
    display: grid;
    gap: 16px;
}

.info-card,
.card {
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.info-card {
    padding: 25px;
}

.info-card:nth-child(2) {
    background: linear-gradient(145deg, rgba(247, 243, 255, 0.94), rgba(255,255,255,.9));
}

.info-card .icon-bubble {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    margin-bottom: 16px;
    border-radius: 14px;
    background: var(--pink-soft);
    color: var(--berry);
    font-weight: 900;
}

.topic-strip {
    display: grid;
    grid-template-columns: repeat(8, minmax(130px, 1fr));
    gap: 14px;
    overflow-x: auto;
    padding: 2px 2px 14px;
    scrollbar-width: thin;
    scroll-snap-type: x proximity;
}

.topic-tile {
    min-width: 142px;
    scroll-snap-align: start;
    padding: 18px 16px;
    border-radius: 20px;
    border: 1px solid var(--border);
    background: rgba(255,255,255,.85);
    box-shadow: 0 9px 24px rgba(76, 48, 66, 0.05);
}

.topic-tile h3 {
    font-size: 1rem;
}

.topic-tile p {
    font-size: 0.9rem;
    color: var(--muted);
    margin-bottom: 12px;
}

.topic-tile a {
    color: var(--berry);
    font-size: 0.88rem;
    font-weight: 800;
}

.magazine-grid {
    display: grid;
    grid-template-columns: 1.25fr 1fr 1fr;
    gap: 18px;
}

.story-card {
    overflow: hidden;
}

.story-card.large {
    grid-row: span 2;
}

.story-visual {
    min-height: 190px;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--border);
}

.story-card.large .story-visual {
    min-height: 360px;
}

.visual-dawn {
    background:
        radial-gradient(circle at 24% 18%, rgba(255,255,255,.72), transparent 8rem),
        linear-gradient(150deg, #F7C9D9, #FFE7D6 44%, #CFCAFA);
}
.visual-walk {
    background:
        linear-gradient(135deg, rgba(255,255,255,.42) 25%, transparent 25%) 0 0/45px 45px,
        linear-gradient(145deg, #D6E8DD, #F7D9E6);
}
.visual-travel {
    background:
        radial-gradient(circle at 75% 24%, #fff 0 8%, transparent 8.5%),
        linear-gradient(160deg, #CBD7FB 0 42%, #F5D7E6 42% 66%, #D9EAD8 66%);
}
.visual-food {
    background:
        radial-gradient(circle at 50% 50%, #FFF2E8 0 25%, #E5C0A6 26% 29%, transparent 30%),
        linear-gradient(135deg, #FCE2D7, #FFF4F1);
}
.visual-music {
    background:
        radial-gradient(circle at 70% 30%, rgba(255,255,255,.5), transparent 7rem),
        linear-gradient(135deg, #D7D1FA, #F7C9DD);
}

.story-visual::after {
    content: "";
    position: absolute;
    width: 110px;
    height: 110px;
    right: 10%;
    bottom: 10%;
    border: 14px solid rgba(255,255,255,.45);
    border-radius: 50%;
    pointer-events: none;
}

.story-body {
    padding: 22px;
}

.story-body p {
    color: var(--muted);
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 15px 0 14px;
}

.tag {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--pink-soft);
    color: var(--berry);
    font-size: 0.82rem;
    font-weight: 750;
}

.grid-2,
.grid-3,
.grid-4,
.grid-6 {
    display: grid;
    gap: 18px;
}

.grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.grid-6 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
    padding: 24px;
}

.card p {
    color: var(--muted);
}

.card-accent {
    background: linear-gradient(145deg, rgba(255, 240, 246, 0.94), rgba(255, 255, 255, 0.94));
}

.card-purple {
    background: linear-gradient(145deg, rgba(247, 243, 255, 0.96), rgba(255, 255, 255, 0.96));
}

.circle-card {
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.circle-symbol {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border-radius: 18px;
    margin-bottom: 18px;
    background: linear-gradient(135deg, var(--pink-soft), var(--purple-soft));
    color: var(--berry);
    font-weight: 900;
    font-size: 1.15rem;
}

.circle-card .text-link {
    margin-top: auto;
}

.timeline {
    display: grid;
    gap: 0;
    position: relative;
}

.timeline::before {
    content: "";
    position: absolute;
    left: 17px;
    top: 18px;
    bottom: 18px;
    width: 2px;
    background: linear-gradient(var(--coral), var(--purple));
    pointer-events: none;
}

.timeline-item {
    position: relative;
    padding: 0 0 28px 58px;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-dot {
    position: absolute;
    left: 7px;
    top: 3px;
    width: 22px;
    height: 22px;
    border: 6px solid var(--bg);
    border-radius: 50%;
    background: var(--pink);
    box-shadow: 0 0 0 1px rgba(255,93,158,.22);
}

.timeline-item p {
    margin-bottom: 8px;
    color: var(--muted);
}

.timeline-note {
    font-size: 0.9rem;
    color: var(--quiet);
}

.topic-list {
    display: grid;
    gap: 14px;
}

.discussion {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 16px;
    align-items: start;
    padding: 20px 22px;
    border-radius: 20px;
    background: rgba(255,255,255,.84);
    border: 1px solid var(--border);
}

.discussion-index {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: var(--pink-soft);
    color: var(--berry);
    font-weight: 900;
}

.discussion h3 {
    margin-bottom: 6px;
}

.discussion p {
    margin-bottom: 0;
    color: var(--muted);
}

.diary-feature {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 30px;
    align-items: center;
}

.diary-paper {
    min-height: 360px;
    border-radius: 26px;
    padding: 32px;
    background:
        repeating-linear-gradient(
            to bottom,
            rgba(217,76,131,.08) 0,
            rgba(217,76,131,.08) 1px,
            transparent 1px,
            transparent 36px
        ),
        linear-gradient(145deg, #fff, #FFF9FC);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.diary-paper strong {
    display: block;
    color: var(--title);
    font-size: 1.25rem;
    margin-bottom: 16px;
}

.app-showcase {
    display: grid;
    grid-template-columns: .82fr 1.18fr;
    gap: 46px;
    align-items: center;
}

.app-visual {
    min-height: 470px;
    display: grid;
    place-items: center;
    border-radius: 34px;
    background:
        radial-gradient(circle at 25% 20%, rgba(255,255,255,.72), transparent 9rem),
        linear-gradient(145deg, #FFD7E4, #F3EFFF 58%, #FFF);
    border: 1px solid var(--border);
    overflow: hidden;
}

.app-visual .phone-mock {
    width: 245px;
    transform: rotate(-4deg);
}

.service-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 26px;
}

.service-mini {
    padding: 18px;
    border-radius: 18px;
    background: rgba(255,255,255,.82);
    border: 1px solid var(--border);
}

.service-mini strong {
    display: block;
    color: var(--title);
    margin-bottom: 6px;
}

.dual-panel {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.safety-panel {
    padding: 30px;
    border-radius: var(--radius-lg);
    background: linear-gradient(145deg, rgba(255,255,255,.94), rgba(255,240,246,.86));
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.safety-panel:nth-child(2) {
    background: linear-gradient(145deg, rgba(255,255,255,.94), rgba(247,243,255,.92));
}

.check-list {
    list-style: none;
    padding: 0;
    margin: 18px 0 22px;
}

.check-list li {
    position: relative;
    padding: 7px 0 7px 28px;
}

.check-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--berry);
    font-weight: 900;
}

.feedback-grid {
    columns: 3;
    column-gap: 18px;
}

.feedback {
    break-inside: avoid;
    margin-bottom: 18px;
    padding: 22px;
    border-radius: 22px;
    border: 1px solid var(--border);
    background: rgba(255,255,255,.86);
    box-shadow: 0 10px 28px rgba(76, 48, 66, 0.05);
}

.feedback p {
    color: var(--muted);
}

.faq-list {
    display: grid;
    gap: 12px;
}

.faq-list details {
    border: 1px solid var(--border);
    border-radius: 18px;
    background: rgba(255,255,255,.88);
    overflow: clip;
}

.faq-list summary {
    min-height: 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 16px 20px;
    color: var(--title);
    font-weight: 820;
    cursor: pointer;
    list-style: none;
}

.faq-list summary::-webkit-details-marker {
    display: none;
}

.faq-list summary::after {
    content: "+";
    flex: 0 0 auto;
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--pink-soft);
    color: var(--berry);
}

.faq-list details[open] summary::after {
    content: "−";
}

.faq-answer {
    padding: 0 20px 18px;
    color: var(--muted);
}

.brand-band {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 30px;
    align-items: center;
    padding: 34px;
    border-radius: 30px;
    background:
        radial-gradient(circle at 88% 20%, rgba(140,118,232,.18), transparent 14rem),
        linear-gradient(145deg, #fff, #FFF0F6);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.brand-visual {
    min-height: 270px;
    display: grid;
    place-items: center;
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(255,142,172,.38), rgba(140,118,232,.28));
    position: relative;
    overflow: hidden;
}

.brand-visual::before,
.brand-visual::after {
    content: "";
    position: absolute;
    border-radius: 999px;
    pointer-events: none;
}

.brand-visual::before {
    width: 190px;
    height: 190px;
    border: 28px solid rgba(255,255,255,.55);
    top: -40px;
    right: -30px;
}

.brand-visual::after {
    width: 150px;
    height: 150px;
    background: rgba(255,255,255,.42);
    left: 28px;
    bottom: -56px;
}

.brand-visual span {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 110px;
    height: 110px;
    border-radius: 32px 32px 32px 12px;
    background: linear-gradient(135deg, var(--coral), var(--pink), var(--purple));
    color: white;
    font-size: 1.6rem;
    font-weight: 900;
    box-shadow: var(--shadow-strong);
}

/* Inner pages */
.page-hero {
    padding: 72px 0 46px;
}

.page-hero-box {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(240px, .85fr);
    align-items: center;
    gap: 34px;
    padding: clamp(28px, 5vw, 58px);
    border-radius: 34px;
    background: linear-gradient(145deg, rgba(255,255,255,.95), rgba(255,240,246,.86) 56%, rgba(247,243,255,.9));
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.page-hero-box::after {
    content: "";
    position: absolute;
    width: 330px;
    height: 330px;
    right: -120px;
    top: -130px;
    border-radius: 50%;
    border: 48px solid rgba(140,118,232,.08);
    pointer-events: none;
}

.page-hero h1 {
    font-size: clamp(2.4rem, 5vw, 4.6rem);
    max-width: 12ch;
}

.page-hero .lead {
    max-width: 720px;
}

.hero-orbit {
    min-height: 270px;
    position: relative;
    display: grid;
    place-items: center;
}

.orbit-core {
    width: 126px;
    height: 126px;
    display: grid;
    place-items: center;
    border-radius: 36px 36px 36px 14px;
    background: linear-gradient(135deg, var(--coral), var(--pink), var(--purple));
    color: white;
    font-size: 1.2rem;
    font-weight: 900;
    box-shadow: var(--shadow-strong);
}

.orbit-chip {
    position: absolute;
    padding: 9px 13px;
    border-radius: 999px;
    background: rgba(255,255,255,.92);
    border: 1px solid var(--border);
    color: var(--muted);
    font-weight: 760;
    box-shadow: 0 8px 20px rgba(76,48,66,.06);
}

.orbit-chip:nth-child(2) { top: 18%; left: 6%; }
.orbit-chip:nth-child(3) { top: 10%; right: 8%; }
.orbit-chip:nth-child(4) { bottom: 18%; left: 2%; }
.orbit-chip:nth-child(5) { bottom: 9%; right: 4%; }

.content-index {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 18px;
    border-radius: 20px;
    background: rgba(255,255,255,.82);
    border: 1px solid var(--border);
}

.content-index a {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    border-radius: 999px;
    background: var(--pink-soft);
    color: var(--berry);
    font-weight: 760;
}

.content-index a:hover {
    background: var(--purple-soft);
    color: var(--deep-purple);
}

.article-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(240px, 330px);
    gap: 28px;
    align-items: start;
}

.prose-card {
    padding: 30px;
    border-radius: 24px;
    background: rgba(255,255,255,.9);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.prose-card + .prose-card {
    margin-top: 18px;
}

.prose-card p {
    color: var(--muted);
}

.aside-stack {
    display: grid;
    gap: 18px;
    position: sticky;
    top: 92px;
}

.aside-card {
    padding: 22px;
    border-radius: 22px;
    background: linear-gradient(145deg, #fff, var(--pink-soft));
    border: 1px solid var(--border);
}

.aside-card.purple {
    background: linear-gradient(145deg, #fff, var(--purple-soft));
}

.link-list {
    display: grid;
    gap: 8px;
}

.link-list a {
    min-height: 42px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 9px 0;
    border-bottom: 1px solid rgba(255,93,158,.11);
    color: var(--title);
    font-weight: 740;
}

.link-list a:last-child {
    border-bottom: 0;
}

.link-list a::after {
    content: "→";
    color: var(--berry);
}

.steps {
    counter-reset: step;
    display: grid;
    gap: 14px;
}

.step {
    counter-increment: step;
    position: relative;
    padding: 22px 22px 22px 76px;
    border-radius: 20px;
    background: rgba(255,255,255,.88);
    border: 1px solid var(--border);
}

.step::before {
    content: counter(step);
    position: absolute;
    left: 22px;
    top: 22px;
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--coral), var(--pink), var(--purple));
    color: white;
    font-weight: 900;
}

.step p {
    color: var(--muted);
}

.note-box {
    padding: 24px;
    border-radius: 22px;
    background: var(--gray-pink);
    border: 1px solid rgba(81,68,76,.08);
}

.note-box strong {
    display: block;
    margin-bottom: 8px;
    color: var(--title);
}

.warning-box {
    padding: 24px;
    border-radius: 22px;
    background: linear-gradient(145deg, #FFF9F3, #FFF3F7);
    border: 1px solid rgba(217, 76, 131, 0.16);
}

.warning-box strong {
    color: var(--berry);
}

.flow {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.flow-item {
    position: relative;
    padding: 22px;
    border-radius: 20px;
    background: rgba(255,255,255,.9);
    border: 1px solid var(--border);
}

.flow-item:not(:last-child)::after {
    content: "→";
    position: absolute;
    right: -12px;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--pink-soft);
    color: var(--berry);
    z-index: 2;
}

.compare {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.compare > div {
    padding: 26px;
    border-radius: 22px;
    border: 1px solid var(--border);
    background: rgba(255,255,255,.9);
}

.compare > div:last-child {
    background: linear-gradient(145deg, #fff, var(--purple-soft));
}

.service-cta {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: center;
    padding: 28px 30px;
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(255,240,246,.98), rgba(247,243,255,.98));
    border: 1px solid var(--border);
}

.service-cta h2 {
    font-size: 1.6rem;
    margin-bottom: 8px;
}

.service-cta p {
    color: var(--muted);
    margin-bottom: 0;
}

.notice-cards {
    display: grid;
    gap: 14px;
}

.notice-card {
    display: grid;
    grid-template-columns: 130px 1fr;
    gap: 18px;
    padding: 22px;
    border-radius: 20px;
    background: rgba(255,255,255,.88);
    border: 1px solid var(--border);
}

.notice-type {
    color: var(--berry);
    font-weight: 850;
}

.topic-table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(255,255,255,.88);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border);
}

.topic-table th,
.topic-table td {
    text-align: left;
    vertical-align: top;
    padding: 16px 18px;
    border-bottom: 1px solid rgba(255,93,158,.1);
}

.topic-table th {
    color: var(--title);
    background: var(--pink-soft);
}

.topic-table tr:last-child td {
    border-bottom: 0;
}

.site-footer {
    background: var(--footer);
    color: var(--footer-text);
    margin-top: 70px;
}

.footer-top {
    display: grid;
    grid-template-columns: minmax(240px, .85fr) minmax(0, 2.15fr);
    gap: 54px;
    padding: 58px 0 42px;
}

.footer-brand .brand {
    color: white;
}

.footer-brand .brand-mark {
    box-shadow: none;
}

.footer-brand p {
    color: rgba(255,234,242,.72);
    max-width: 430px;
    margin-top: 18px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}

.footer-links section {
    display: grid;
    align-content: start;
    gap: 8px;
}

.footer-links h2 {
    font-size: .96rem;
    color: white;
    margin-bottom: 8px;
    letter-spacing: 0;
}

.footer-links a {
    color: rgba(255,234,242,.72);
    font-size: .92rem;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    padding: 20px 0 28px;
    border-top: 1px solid rgba(255,255,255,.1);
    color: rgba(255,234,242,.62);
    font-size: .88rem;
}

.footer-bottom p {
    margin: 0;
}

.channel-overlay {
    position: fixed;
    inset: 0;
    z-index: 80;
    background: rgba(50,38,45,.24);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .2s ease, visibility .2s ease;
}

.channel-overlay.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.channel-panel {
    position: fixed;
    z-index: 115;
    left: 50%;
    width: min(1200px, calc(100% - 40px));
    max-height: min(74vh, 690px);
    overflow: auto;
    transform: translate(-50%, -10px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    padding: 26px;
    border: 1px solid var(--border);
    border-radius: 0 0 28px 28px;
    background: rgba(255, 252, 253, 0.98);
    box-shadow: 0 28px 70px rgba(50,38,45,.18);
    transition: transform .2s ease, opacity .2s ease, visibility .2s ease;
}

.channel-panel.is-open {
    transform: translate(-50%, 0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.panel-head,
.sheet-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 18px;
}

.panel-head h2,
.sheet-head h2 {
    font-size: 1.45rem;
    margin-bottom: 0;
}

.icon-close {
    width: 44px;
    height: 44px;
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: white;
    color: var(--title);
    font-size: 1.45rem;
    cursor: pointer;
}

.channel-groups {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.channel-groups section {
    padding: 18px;
    border-radius: 20px;
    background: var(--gray-pink);
}

.channel-groups section:nth-child(2n) {
    background: var(--purple-soft);
}

.channel-groups h3 {
    font-size: .98rem;
    margin-bottom: 10px;
}

.channel-groups a {
    display: block;
    min-height: 58px;
    padding: 9px 0;
    border-bottom: 1px solid rgba(81,68,76,.08);
}

.channel-groups a:last-child {
    border-bottom: 0;
}

.channel-groups strong {
    display: block;
    color: var(--title);
    font-size: .93rem;
}

.channel-groups span {
    display: block;
    color: var(--muted);
    font-size: .8rem;
    line-height: 1.45;
    margin-top: 2px;
}

.mobile-sheet {
    display: none;
}

.mobile-bottom-nav {
    display: none;
}

@media (max-width: 1080px) {
    .site-nav {
        gap: 16px;
    }
    .desktop-main-nav {
        gap: 1px;
    }
    .desktop-main-nav a {
        padding-inline: 9px;
        font-size: .94rem;
    }
    .nav-actions .btn {
        padding-inline: 12px;
    }
    .hero-grid {
        grid-template-columns: minmax(0, 1fr) minmax(260px, .8fr);
    }
    .hero-side {
        grid-column: 1 / -1;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .magazine-grid {
        grid-template-columns: 1.2fr 1fr;
    }
    .story-card.large {
        grid-row: span 2;
    }
    .grid-4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .channel-groups {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 860px) {
    .desktop-main-nav {
        display: none;
    }
    .site-nav {
        grid-template-columns: auto 1fr;
    }
    .nav-actions {
        justify-self: end;
    }
    .hero-grid {
        grid-template-columns: 1fr;
    }
    .hero-copy {
        text-align: center;
    }
    .hero-copy h1,
    .hero-copy .lead {
        margin-inline: auto;
    }
    .hero-copy .actions {
        justify-content: center;
    }
    .phone-stage {
        min-height: 500px;
    }
    .hero-side {
        grid-column: auto;
    }
    .magazine-grid,
    .grid-3,
    .grid-6 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .diary-feature,
    .app-showcase,
    .brand-band,
    .page-hero-box,
    .article-grid {
        grid-template-columns: 1fr;
    }
    .aside-stack {
        position: static;
        grid-template-columns: repeat(2, minmax(0,1fr));
    }
    .footer-top {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    body {
        padding-bottom: calc(74px + env(safe-area-inset-bottom));
    }

    .shell {
        width: min(100% - 32px, 1200px);
    }

    .notice-inner {
        min-height: 32px;
    }

    .notice-links a:first-child {
        display: none;
    }

    .site-nav {
        min-height: 62px;
        grid-template-columns: 1fr auto 1fr;
        gap: 10px;
    }

    .site-nav > .brand {
        justify-self: center;
    }

    .site-nav > .brand .brand-mark {
        min-width: 34px;
        height: 34px;
        border-radius: 11px 11px 11px 6px;
    }

    .site-nav > .brand .brand-name {
        font-size: 1.02rem;
    }

    .nav-actions {
        display: none;
    }

    .mobile-nav-left,
    .mobile-nav-right {
        display: block;
    }

    .mobile-nav-right {
        justify-self: end;
    }

    .mobile-nav-right .btn {
        min-height: 44px;
        padding: 9px 14px;
    }

    .desktop-channel-button,
    .channel-panel {
        display: none;
    }

    .section {
        padding: 62px 0;
    }

    .section-tight {
        padding: 46px 0;
    }

    .hero {
        padding-top: 46px;
    }

    .hero-copy {
        text-align: left;
        padding-top: 0;
    }

    .hero-copy h1,
    .hero-copy .lead {
        margin-inline: 0;
    }

    .hero-copy .actions {
        justify-content: flex-start;
    }

    h1 {
        font-size: clamp(2.45rem, 12vw, 4rem);
    }

    .phone-stage {
        min-height: 470px;
    }

    .hero-side {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding-bottom: 10px;
    }

    .hero-side .info-card {
        min-width: min(82vw, 360px);
        scroll-snap-align: start;
    }

    .topic-strip {
        grid-template-columns: none;
        grid-auto-flow: column;
        grid-auto-columns: 150px;
    }

    .magazine-grid,
    .grid-2,
    .grid-3,
    .grid-4,
    .grid-6,
    .dual-panel,
    .compare,
    .service-list {
        grid-template-columns: 1fr;
    }

    .story-card.large {
        grid-row: auto;
    }

    .story-card.large .story-visual {
        min-height: 260px;
    }

    .discussion {
        grid-template-columns: auto 1fr;
    }

    .discussion .text-link {
        grid-column: 2;
    }

    .diary-paper {
        min-height: 300px;
    }

    .app-visual {
        min-height: 420px;
    }

    .feedback-grid {
        columns: 1;
    }

    .page-hero {
        padding: 48px 0 34px;
    }

    .page-hero-box {
        padding: 28px 22px;
        border-radius: 28px;
    }

    .page-hero h1 {
        max-width: none;
    }

    .hero-orbit {
        min-height: 230px;
    }

    .orbit-core {
        width: 108px;
        height: 108px;
        border-radius: 30px 30px 30px 12px;
    }

    .aside-stack {
        grid-template-columns: 1fr;
    }

    .flow {
        grid-template-columns: 1fr;
    }

    .flow-item:not(:last-child)::after {
        content: "↓";
        right: auto;
        left: 50%;
        top: auto;
        bottom: -19px;
        transform: translateX(-50%);
    }

    .notice-card {
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .topic-table {
        display: block;
        overflow-x: auto;
        white-space: normal;
    }

    .service-cta {
        align-items: flex-start;
        flex-direction: column;
    }

    .footer-top {
        padding-bottom: 30px;
    }

    .footer-links {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .footer-bottom {
        flex-direction: column;
    }

    .mobile-sheet {
        display: block;
        position: fixed;
        z-index: 150;
        left: 0;
        right: 0;
        bottom: 0;
        max-height: 85vh;
        overflow: auto;
        padding: 10px 16px calc(22px + env(safe-area-inset-bottom));
        border-radius: 28px 28px 0 0;
        background: #FFFCFD;
        box-shadow: 0 -22px 60px rgba(50,38,45,.2);
        transform: translateY(104%);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: transform .24s ease, opacity .2s ease, visibility .2s ease;
    }

    .mobile-sheet.is-open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .sheet-handle {
        width: 48px;
        height: 5px;
        margin: 2px auto 14px;
        border-radius: 999px;
        background: rgba(81,68,76,.18);
    }

    .sheet-head {
        position: sticky;
        top: 0;
        z-index: 2;
        padding: 4px 0 12px;
        background: linear-gradient(#FFFCFD 82%, rgba(255,252,253,0));
    }

    .mobile-channel-list {
        display: grid;
        grid-template-columns: repeat(2, minmax(0,1fr));
        gap: 10px;
    }

    .mobile-channel-list a {
        min-height: 64px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 11px 13px;
        border-radius: 16px;
        background: var(--gray-pink);
        border: 1px solid rgba(81,68,76,.06);
        color: var(--title);
        font-weight: 820;
    }

    .mobile-channel-list a:nth-child(3n) {
        background: var(--purple-soft);
    }

    .mobile-channel-list span {
        margin-top: 2px;
        color: var(--muted);
        font-size: .78rem;
        font-weight: 600;
        line-height: 1.4;
    }

    .mobile-bottom-nav {
        position: fixed;
        z-index: 130;
        left: 0;
        right: 0;
        bottom: 0;
        display: grid;
        grid-template-columns: repeat(5, minmax(0,1fr));
        padding: 7px 8px calc(7px + env(safe-area-inset-bottom));
        background: rgba(255,255,255,.96);
        border-top: 1px solid var(--border);
        box-shadow: 0 -10px 30px rgba(76,48,66,.08);
        backdrop-filter: blur(16px);
    }

    .mobile-bottom-nav a {
        min-height: 54px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2px;
        border-radius: 14px;
        color: var(--muted);
        font-size: .76rem;
        font-weight: 740;
    }

    .mobile-bottom-nav a.is-active {
        background: var(--pink-soft);
        color: var(--berry);
    }

    .bottom-icon {
        font-size: 1.12rem;
        line-height: 1;
    }

    .site-footer {
        margin-bottom: 0;
    }
}

@media (max-width: 430px) {
    .shell {
        width: calc(100% - 32px);
    }

    .notice-inner {
        font-size: .8rem;
    }

    .notice-links {
        gap: 8px;
    }

    .site-nav > .brand .brand-mark {
        display: none;
    }

    .plain-menu-btn {
        font-size: .86rem;
    }

    .mobile-nav-right .btn {
        padding-inline: 12px;
        font-size: .86rem;
    }

    .actions {
        align-items: stretch;
    }

    .actions .btn {
        width: 100%;
    }

    .actions .text-link {
        min-height: 44px;
        justify-content: center;
    }

    .mobile-channel-list {
        grid-template-columns: 1fr;
    }

    .footer-links {
        gap: 28px 18px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Current page state inside channel menus */
body[data-page="index"] .channel-panel a[href="/index.php"], body[data-page="index"] .mobile-sheet a[href="/index.php"] { background: rgba(255,93,158,.10); color: var(--berry); border-radius: 12px; padding-left: 10px; padding-right: 10px; }
body[data-page="moments"] .channel-panel a[href="/moments.php"], body[data-page="moments"] .mobile-sheet a[href="/moments.php"] { background: rgba(255,93,158,.10); color: var(--berry); border-radius: 12px; padding-left: 10px; padding-right: 10px; }
body[data-page="circles"] .channel-panel a[href="/circles.php"], body[data-page="circles"] .mobile-sheet a[href="/circles.php"] { background: rgba(255,93,158,.10); color: var(--berry); border-radius: 12px; padding-left: 10px; padding-right: 10px; }
body[data-page="city"] .channel-panel a[href="/city.php"], body[data-page="city"] .mobile-sheet a[href="/city.php"] { background: rgba(255,93,158,.10); color: var(--berry); border-radius: 12px; padding-left: 10px; padding-right: 10px; }
body[data-page="topics"] .channel-panel a[href="/topics.php"], body[data-page="topics"] .mobile-sheet a[href="/topics.php"] { background: rgba(255,93,158,.10); color: var(--berry); border-radius: 12px; padding-left: 10px; padding-right: 10px; }
body[data-page="diary"] .channel-panel a[href="/diary.php"], body[data-page="diary"] .mobile-sheet a[href="/diary.php"] { background: rgba(255,93,158,.10); color: var(--berry); border-radius: 12px; padding-left: 10px; padding-right: 10px; }
body[data-page="community-rules"] .channel-panel a[href="/community-rules.php"], body[data-page="community-rules"] .mobile-sheet a[href="/community-rules.php"] { background: rgba(255,93,158,.10); color: var(--berry); border-radius: 12px; padding-left: 10px; padding-right: 10px; }
body[data-page="app"] .channel-panel a[href="/app.php"], body[data-page="app"] .mobile-sheet a[href="/app.php"] { background: rgba(255,93,158,.10); color: var(--berry); border-radius: 12px; padding-left: 10px; padding-right: 10px; }
body[data-page="download"] .channel-panel a[href="/download.php"], body[data-page="download"] .mobile-sheet a[href="/download.php"] { background: rgba(255,93,158,.10); color: var(--berry); border-radius: 12px; padding-left: 10px; padding-right: 10px; }
body[data-page="guide"] .channel-panel a[href="/guide.php"], body[data-page="guide"] .mobile-sheet a[href="/guide.php"] { background: rgba(255,93,158,.10); color: var(--berry); border-radius: 12px; padding-left: 10px; padding-right: 10px; }
body[data-page="notice"] .channel-panel a[href="/notice.php"], body[data-page="notice"] .mobile-sheet a[href="/notice.php"] { background: rgba(255,93,158,.10); color: var(--berry); border-radius: 12px; padding-left: 10px; padding-right: 10px; }
body[data-page="safety"] .channel-panel a[href="/safety.php"], body[data-page="safety"] .mobile-sheet a[href="/safety.php"] { background: rgba(255,93,158,.10); color: var(--berry); border-radius: 12px; padding-left: 10px; padding-right: 10px; }
body[data-page="privacy"] .channel-panel a[href="/privacy.php"], body[data-page="privacy"] .mobile-sheet a[href="/privacy.php"] { background: rgba(255,93,158,.10); color: var(--berry); border-radius: 12px; padding-left: 10px; padding-right: 10px; }
body[data-page="help"] .channel-panel a[href="/help.php"], body[data-page="help"] .mobile-sheet a[href="/help.php"] { background: rgba(255,93,158,.10); color: var(--berry); border-radius: 12px; padding-left: 10px; padding-right: 10px; }
body[data-page="faq"] .channel-panel a[href="/faq.php"], body[data-page="faq"] .mobile-sheet a[href="/faq.php"] { background: rgba(255,93,158,.10); color: var(--berry); border-radius: 12px; padding-left: 10px; padding-right: 10px; }
body[data-page="service"] .channel-panel a[href="/service.php"], body[data-page="service"] .mobile-sheet a[href="/service.php"] { background: rgba(255,93,158,.10); color: var(--berry); border-radius: 12px; padding-left: 10px; padding-right: 10px; }
body[data-page="contact"] .channel-panel a[href="/contact.php"], body[data-page="contact"] .mobile-sheet a[href="/contact.php"] { background: rgba(255,93,158,.10); color: var(--berry); border-radius: 12px; padding-left: 10px; padding-right: 10px; }
body[data-page="about"] .channel-panel a[href="/about.php"], body[data-page="about"] .mobile-sheet a[href="/about.php"] { background: rgba(255,93,158,.10); color: var(--berry); border-radius: 12px; padding-left: 10px; padding-right: 10px; }
body[data-page="terms"] .channel-panel a[href="/terms.php"], body[data-page="terms"] .mobile-sheet a[href="/terms.php"] { background: rgba(255,93,158,.10); color: var(--berry); border-radius: 12px; padding-left: 10px; padding-right: 10px; }

.flow-item::after, .faq-list summary::after, .timeline::before { pointer-events: none; }
