:root {
    --paper: #f7f1e8;
    --paper-2: #fffaf4;
    --ink: #251c1f;
    --muted: #74666a;
    --wine: #8b1e3f;
    --wine-dark: #5d142b;
    --rose: #d86f8c;
    --blush: #f1c8d2;
    --peach: #efb08e;
    --sage: #a6b39c;
    --line: rgba(93, 20, 43, .16);
    --shadow: 0 18px 50px rgba(65, 34, 43, .11);
    --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--ink);
    background:
        linear-gradient(rgba(139, 30, 63, .025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(139, 30, 63, .025) 1px, transparent 1px),
        var(--paper);
    background-size: 28px 28px;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.65;
}

a { color: inherit; }
button, input, select { font: inherit; }
button { cursor: pointer; }

.love-page { min-height: 100vh; }
.love-container { width: min(1160px, calc(100% - 36px)); margin: 0 auto; }

.love-topbar {
    position: sticky;
    top: 0;
    z-index: 40;
    border-bottom: 1px solid var(--line);
    background: rgba(247, 241, 232, .94);
    backdrop-filter: blur(16px);
}
.love-topbar-inner {
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.love-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -.02em;
}
.love-brand-mark {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: var(--paper-2);
    background: var(--wine);
    box-shadow: inset 0 0 0 5px rgba(255,255,255,.14);
}
.love-nav { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.love-nav a, .love-nav button {
    border: 0;
    background: transparent;
    text-decoration: none;
    color: var(--muted);
    padding: 9px 12px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
}
.love-nav a:hover, .love-nav a.is-active, .love-nav button:hover {
    background: var(--blush);
    color: var(--wine-dark);
}
.love-nav form { margin: 0; }

.love-main { padding: 48px 0 72px; }
.love-kicker {
    margin: 0 0 10px;
    color: var(--wine);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .16em;
    text-transform: uppercase;
}
.love-title {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(42px, 7vw, 88px);
    line-height: .98;
    letter-spacing: -.055em;
}
.love-subtitle {
    max-width: 720px;
    margin: 22px 0 0;
    color: var(--muted);
    font-size: clamp(16px, 2vw, 20px);
}

.love-hero {
    position: relative;
    overflow: hidden;
    padding: clamp(34px, 6vw, 74px);
    border: 1px solid var(--line);
    border-radius: 34px;
    background: var(--paper-2);
    box-shadow: var(--shadow);
}
.love-hero::after {
    content: "♥";
    position: absolute;
    right: -34px;
    bottom: -98px;
    color: rgba(139, 30, 63, .07);
    font-family: Georgia, serif;
    font-size: 340px;
    line-height: 1;
    transform: rotate(-8deg);
    pointer-events: none;
}
.love-hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.5fr .65fr;
    gap: 36px;
    align-items: end;
}
.love-score {
    width: min(230px, 100%);
    aspect-ratio: 1;
    margin-left: auto;
    border: 2px solid var(--wine);
    border-radius: 50%;
    display: grid;
    place-items: center;
    text-align: center;
    background: var(--paper);
    transform: rotate(2deg);
}
.love-score strong {
    display: block;
    color: var(--wine);
    font-family: Georgia, serif;
    font-size: clamp(54px, 8vw, 88px);
    line-height: .8;
}
.love-score span { display: block; margin-top: 10px; font-size: 13px; font-weight: 900; text-transform: uppercase; letter-spacing: .12em; }

.love-grid { display: grid; gap: 18px; }
.love-grid-4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
.love-grid-3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.love-grid-2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.love-section { margin-top: 54px; }
.love-section-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
.love-section h2 {
    margin: 0;
    font-family: Georgia, serif;
    font-size: clamp(28px, 4vw, 48px);
    line-height: 1.05;
    letter-spacing: -.035em;
}
.love-section-copy { max-width: 640px; color: var(--muted); margin: 8px 0 0; }

.love-card {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255,250,244,.92);
    box-shadow: 0 10px 30px rgba(65,34,43,.06);
}
.love-card-pad { padding: 24px; }
.love-stat { min-height: 148px; display: flex; flex-direction: column; justify-content: space-between; }
.love-stat-value { font-family: Georgia, serif; color: var(--wine-dark); font-size: clamp(32px,5vw,54px); line-height: 1; }
.love-stat-label { color: var(--muted); font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.love-stat-note { margin-top: 8px; color: var(--muted); font-size: 13px; }

.love-story-copy {
    padding: clamp(28px, 5vw, 54px);
    border-left: 6px solid var(--wine);
    background: var(--paper-2);
    font-family: Georgia, serif;
    font-size: clamp(19px, 2.4vw, 27px);
    line-height: 1.55;
}
.love-story-copy p { margin: 0 0 22px; }
.love-story-copy p:last-child { margin-bottom: 0; }

.love-splitbar { overflow: hidden; display: flex; height: 42px; border-radius: 999px; background: #eadfe0; }
.love-splitbar > div { display: flex; align-items: center; justify-content: center; color: #fff; font-size: 13px; font-weight: 900; }
.love-splitbar .omer { background: var(--wine); }
.love-splitbar .merve { background: var(--rose); }

.love-topic-list { display: grid; gap: 14px; }
.love-topic-row { display: grid; grid-template-columns: 150px 1fr 72px; gap: 12px; align-items: center; }
.love-topic-name { font-size: 14px; font-weight: 800; }
.love-bar { height: 9px; overflow: hidden; border-radius: 999px; background: #eadfe0; }
.love-bar > i { display: block; height: 100%; border-radius: inherit; background: var(--wine); }
.love-topic-value { color: var(--muted); text-align: right; font-variant-numeric: tabular-nums; font-size: 13px; }

.love-word-card { position: relative; min-height: 170px; overflow: hidden; }
.love-word-card::before { content: "“"; position: absolute; top: -18px; right: 16px; color: var(--blush); font-family: Georgia, serif; font-size: 110px; }
.love-word-card strong { position: relative; z-index: 1; display: block; font-family: Georgia, serif; color: var(--wine-dark); font-size: 34px; line-height: 1.05; }
.love-word-card span { position: relative; z-index: 1; display: block; margin-top: 18px; color: var(--muted); }

.love-link-card { display: block; padding: 26px; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.love-link-card:hover { transform: translateY(-4px) rotate(-.3deg); box-shadow: var(--shadow); }
.love-link-card b { display: block; margin-bottom: 9px; font-family: Georgia, serif; font-size: 28px; }
.love-link-card span { color: var(--muted); }
.love-link-arrow { display: inline-grid; width: 36px; height: 36px; margin-top: 20px; place-items: center; border-radius: 50%; background: var(--wine); color: white; }

.love-week-picker { display: grid; grid-template-columns: minmax(230px,.6fr) 1.4fr; gap: 24px; align-items: start; }
.love-picker-panel { position: sticky; top: 98px; }
.love-select-label { display: block; margin-bottom: 8px; color: var(--muted); font-size: 12px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.love-select {
    width: 100%;
    padding: 14px 44px 14px 15px;
    border: 1px solid var(--line);
    border-radius: 14px;
    color: var(--ink);
    background: var(--paper-2);
}
.love-picker-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.love-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 10px 16px;
    border: 1px solid var(--wine);
    border-radius: 999px;
    background: var(--wine);
    color: white;
    text-decoration: none;
    font-size: 14px;
    font-weight: 900;
}
.love-btn:hover { background: var(--wine-dark); }
.love-btn.is-light { color: var(--wine); background: transparent; }
.love-week-preview { transition: opacity .18s ease, transform .18s ease; }
.love-week-preview.is-swapping { opacity: 0; transform: translateX(12px); }
.love-week-head { display: flex; justify-content: space-between; gap: 20px; align-items: start; }
.love-week-number { display: inline-flex; min-width: 66px; height: 66px; align-items: center; justify-content: center; border-radius: 50%; color: white; background: var(--wine); font-family: Georgia, serif; font-size: 30px; }
.love-week-score { color: var(--wine); font-family: Georgia, serif; font-size: 38px; line-height: 1; }
.love-week-score small { display: block; margin-top: 7px; color: var(--muted); font-family: inherit; font-size: 11px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.love-chip-row { display: flex; gap: 8px; flex-wrap: wrap; }
.love-chip { display: inline-flex; padding: 7px 10px; border-radius: 999px; background: var(--blush); color: var(--wine-dark); font-size: 12px; font-weight: 800; }
.love-note-list { display: grid; gap: 12px; margin: 22px 0 0; }
.love-note { padding: 17px 18px; border-left: 3px solid var(--rose); background: rgba(241,200,210,.24); }
.love-note b { display: block; margin-bottom: 5px; }
.love-note p { margin: 0; color: var(--muted); }
.love-quote { margin: 0; padding: 22px; border-radius: 18px; background: var(--paper); font-family: Georgia, serif; font-size: 18px; }
.love-quote footer { margin-top: 12px; color: var(--muted); font-family: Inter, sans-serif; font-size: 12px; }

.love-week-cards { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 14px; }
.love-week-card { padding: 18px; text-decoration: none; }
.love-week-card:hover { border-color: var(--wine); }
.love-week-card-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.love-week-card strong { font-family: Georgia, serif; font-size: 22px; }
.love-week-card time { display: block; margin-top: 8px; color: var(--muted); font-size: 12px; }
.love-week-card p { margin: 12px 0 0; color: var(--muted); font-size: 13px; }

.love-page-head { margin-bottom: 32px; }
.love-page-title { margin: 0; font-family: Georgia, serif; font-size: clamp(42px, 7vw, 76px); line-height: 1; letter-spacing: -.05em; }
.love-page-intro { max-width: 720px; color: var(--muted); font-size: 18px; }

.love-week-nav { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 22px; }
.love-week-nav a { text-decoration: none; color: var(--wine); font-weight: 900; }
.love-daily-list { display: grid; gap: 10px; }
.love-daily-item { display: grid; grid-template-columns: 110px 92px 1fr; gap: 16px; align-items: start; padding: 16px 0; border-bottom: 1px solid var(--line); }
.love-daily-item:last-child { border-bottom: 0; }
.love-daily-date { font-weight: 900; }
.love-daily-count { color: var(--wine); font-family: Georgia, serif; font-size: 22px; }
.love-daily-text { color: var(--muted); }

.love-table { width: 100%; border-collapse: collapse; }
.love-table th, .love-table td { padding: 14px 12px; border-bottom: 1px solid var(--line); text-align: left; }
.love-table th { color: var(--muted); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.love-table td:last-child, .love-table th:last-child { text-align: right; }
.love-table td:last-child { color: var(--wine); font-weight: 900; }

.love-moment { position: relative; padding: 26px 26px 26px 78px; }
.love-moment-icon { position: absolute; left: 22px; top: 24px; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; color: white; background: var(--wine); font-family: Georgia, serif; font-size: 20px; }
.love-moment h3 { margin: 0 0 7px; font-family: Georgia, serif; font-size: 25px; }
.love-moment time { color: var(--rose); font-size: 12px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }
.love-moment p { color: var(--muted); }

.love-login-page { min-height: 100vh; display: grid; place-items: center; padding: 24px; background: var(--wine-dark); }
.love-login-card { width: min(470px, 100%); padding: clamp(30px,6vw,58px); border-radius: 28px; background: var(--paper-2); box-shadow: 0 40px 90px rgba(0,0,0,.28); text-align: center; }
.love-login-heart { width: 76px; height: 76px; margin: 0 auto 22px; display: grid; place-items: center; border-radius: 50%; color: white; background: var(--wine); font-size: 34px; transform: rotate(-4deg); }
.love-login-card h1 { margin: 0; font-family: Georgia, serif; font-size: 46px; letter-spacing: -.04em; }
.love-login-card p { color: var(--muted); }
.love-field { margin-top: 24px; text-align: left; }
.love-field label { display: block; margin-bottom: 7px; font-size: 12px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.love-password-wrap { display: flex; gap: 8px; }
.love-input { width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 13px; background: white; color: var(--ink); }
.love-toggle { min-width: 52px; border: 1px solid var(--line); border-radius: 13px; background: var(--paper); color: var(--wine); }
.love-error { margin-top: 8px; color: #9d173a; font-size: 13px; font-weight: 800; }
.love-login-card .love-btn { width: 100%; margin-top: 16px; }
.love-login-back { display: inline-block; margin-top: 20px; color: var(--muted); font-size: 13px; }

.love-footer { padding: 26px 0 44px; color: var(--muted); text-align: center; font-size: 12px; }
.love-fineprint { margin-top: 14px; color: var(--muted); font-size: 12px; }
.love-empty { padding: 24px; color: var(--muted); text-align: center; }

@media (max-width: 980px) {
    .love-hero-grid, .love-week-picker { grid-template-columns: 1fr; }
    .love-score { margin: 10px 0 0; width: 190px; }
    .love-grid-4, .love-week-cards { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .love-grid-3 { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .love-picker-panel { position: static; }
}

@media (max-width: 720px) {
    .love-container { width: min(100% - 24px, 1160px); }
    .love-topbar-inner { min-height: auto; padding: 12px 0; align-items: flex-start; }
    .love-brand span:last-child { display: none; }
    .love-nav { justify-content: flex-end; gap: 2px; }
    .love-nav a, .love-nav button { padding: 8px 9px; font-size: 12px; }
    .love-main { padding-top: 28px; }
    .love-hero { border-radius: 24px; }
    .love-grid-4, .love-grid-3, .love-grid-2, .love-week-cards { grid-template-columns: 1fr; }
    .love-section-head { align-items: start; flex-direction: column; }
    .love-topic-row { grid-template-columns: 112px 1fr 58px; }
    .love-daily-item { grid-template-columns: 1fr; gap: 4px; }
    .love-week-head { align-items: center; }
    .love-week-number { min-width: 52px; height: 52px; font-size: 24px; }
    .love-moment { padding-left: 24px; padding-top: 76px; }
    .love-moment-icon { top: 22px; }
}
