:root {
    color-scheme: light;
    --paper: #f7efe3;
    --surface: #fffaf3;
    --ink: #193936;
    --muted: #4d5d51;
    --rust: #9b3d2b;
    --rust-dark: #792d20;
    --line: #ded0be;
    --blush: #f2dfce;
    --menu-pink: #f4e0db;
    --active: #eee0cb;
    --focus: #9b3d2b;
    --sans: "DM Sans", "Segoe UI", "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
    --serif: "Baskervville", Georgia, "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", serif;
}
* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 1rem/1.55 var(--sans); }
a { color: var(--rust-dark); text-underline-offset: .18em; }
a:hover { color: var(--rust); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--serif); line-height: 1.12; font-weight: 500; overflow-wrap: anywhere; }
h1 { font-size: clamp(2.35rem, 5vw, 3.35rem); }
h2 { font-size: clamp(2rem, 4vw, 2.65rem); }
h3 { font-size: 1.85rem; }
.shell { width: min(1130px, calc(100% - 64px)); margin-inline: auto; }
.skip { position: absolute; inset: 1rem auto auto 1rem; z-index: 2; transform: translateY(-200%); background: var(--surface); padding: .75rem; }
.skip:focus { transform: none; }
.top { border-bottom: 1px solid var(--line); background: var(--surface); }
.top-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 80px; }
.brand, .footer a { color: var(--ink); text-decoration: none; font: 500 2.1rem/1 var(--serif); }
.brand { display: inline-flex; align-items: center; gap: .7rem; }
.brand-badge {
    position: relative;
    display: grid;
    flex: none;
    place-items: center;
    width: 54px;
    height: 54px;
    border: 1px solid #d7a68b;
    border-radius: 17px;
    background: radial-gradient(circle at 30% 24%, #fff4e8, #edc2aa);
    box-shadow: inset 0 0 0 3px #fffaf378, 0 2px 4px #792d201a;
}
.brand-badge::before, .brand-badge::after {
    content: "";
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--rust);
    clip-path: polygon(50% 0, 63% 36%, 100% 50%, 63% 64%, 50% 100%, 36% 64%, 0 50%, 36% 36%);
}
.brand-badge::before { top: 8px; right: 8px; }
.brand-badge::after { bottom: 8px; left: 8px; opacity: .7; }
.mark { width: 32px; height: 28px; position: relative; display: inline-block; transform: scale(1.12); }
.mark::before, .mark::after { content: ""; position: absolute; border: 2px solid var(--rust); border-radius: 56% 56% 48% 48%; width: 17px; height: 24px; top: 2px; }
.mark::before { left: 4px; transform: rotate(-28deg); }
.mark::after { left: 11px; transform: rotate(28deg); }
.top nav { display: flex; align-items: center; gap: 1.5rem; }
.top-link { color: var(--ink); text-decoration: none; font-weight: 650; }
.top-link:hover { text-decoration: underline; }
.button { background: var(--rust); color: var(--surface); text-decoration: none; border: 1px solid transparent; border-radius: 8px; padding: .67rem 1rem; font: 650 .95rem/1.35 var(--sans); display: inline-flex; align-items: center; justify-content: center; gap: .65rem; cursor: pointer; }
.button:hover { background: var(--rust-dark); color: var(--surface); }
.hero { margin-top: 32px; min-height: 310px; border-radius: 22px; background: var(--blush); display: grid; grid-template-columns: 1.55fr 1fr; overflow: hidden; }
.hero-copy { align-self: center; padding: clamp(1.8rem, 5vw, 4rem); }
.hero h1 { max-width: 12ch; font-size: clamp(2.75rem, 5.4vw, 4.65rem); letter-spacing: -.045em; }
.hero p { margin-top: .85rem; color: var(--muted); }
.hero-button { margin-top: 1.4rem; }
.hero-art {
    position: relative;
    min-width: 0;
    display: grid;
    place-items: center;
    padding: 1rem;
    background: radial-gradient(ellipse at center, #e9b79a, transparent 72%);
}
.hero-art::before {
    content: "";
    position: absolute;
    width: 75%;
    height: 83%;
    inset: 8% 12.5%;
    border: 1px solid #a85a454a;
    border-radius: 50% 50% 47% 47%;
    transform: rotate(12deg);
    pointer-events: none;
}
.hero-spark { position: absolute; color: #9b3d2b; font: 1.7rem/1 Georgia, serif; }
.hero-spark-top { top: 14%; right: 15%; }
.hero-spark-bottom { bottom: 15%; left: 11%; font-size: 1.15rem; }
.hero-art img {
    display: block;
    width: min(100%, 360px);
    height: auto;
    filter: brightness(1.06) contrast(1.06);
    mix-blend-mode: multiply;
    opacity: .81;
}
.layout { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3rem); padding-block: 38px 58px; align-items: start; }
.categories { padding: .8rem; border: 1px solid var(--line); background: var(--surface); border-radius: 14px; display: grid; gap: .15rem; }
.categories p { padding: .55rem .75rem; font-weight: 700; }
.categories a { display: flex; align-items: center; gap: .55rem; color: var(--ink); text-decoration: none; border-radius: 7px; padding: .45rem .55rem; }
.category-icon {
    flex: 0 0 31px;
    display: grid;
    place-items: center;
    height: 27px;
    border-radius: 8px;
    background: var(--blush);
    color: var(--rust-dark);
    font: bold .86rem/1 "Segoe UI Symbol", sans-serif;
}
.categories a:hover { background: var(--paper); text-decoration: underline; }
.categories a[aria-current] { background: var(--active); font-weight: 700; box-shadow: inset 3px 0 var(--rust); }
.ad-search.categories { display: grid; gap: .65rem; margin-top: .9rem; background: #fbf3e8; }
.ad-search p { padding: 0 0 .25rem; color: var(--rust-dark); }
.ad-search label { display: grid; gap: .25rem; min-width: 0; font-size: .85rem; font-weight: 650; }
.ad-search :is(input, select) {
    width: 100%;
    min-width: 0;
    min-height: 40px;
    padding: .48rem .55rem;
    border: 1px solid #a88b75;
    border-radius: 8px;
    background: var(--surface);
    color: var(--ink);
    font: 400 1rem/1.2 var(--sans);
}
.ad-search select { color: var(--rust-dark); font-weight: 700; }
.ad-search input::placeholder { color: var(--muted); }
.search-ages { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .45rem; }
.search-actions { display: grid; justify-items: center; gap: .15rem; }
.search-actions .button { min-height: 36px; padding: .3rem .95rem; font-size: .85rem; }
.search-actions a { padding: .2rem .4rem; font-size: .85rem; text-decoration: underline; }
.aside-add {
    display: grid;
    justify-items: center;
    gap: .75rem;
    margin-top: .9rem;
    padding: 1.35rem .6rem .9rem;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--menu-pink);
    font-weight: 700;
}
.aside-add-image { display: block; width: min(100%, 128px); height: auto; mix-blend-mode: multiply; }
.envelope {
    position: relative;
    width: 66px;
    height: 43px;
    border: 1px solid #b67159;
    border-radius: 5px;
    background: #e8b79c;
    box-shadow: 0 5px 10px #792d202b;
    transform: rotate(-9deg);
}
.envelope::before, .envelope::after {
    content: "";
    position: absolute;
    inset: 0;
}
.envelope::before { background: #f4ceb7; clip-path: polygon(0 100%, 50% 31%, 100% 100%); }
.envelope::after { background: #f9dac5; clip-path: polygon(0 0, 100% 0, 50% 70%); }
.envelope i {
    position: absolute;
    z-index: 1;
    left: 50%;
    top: 57%;
    translate: -50% -50%;
    color: var(--rust);
    font: 1rem/1 "Segoe UI Symbol", sans-serif;
}
.list-head { margin-bottom: 1.1rem; display: flex; align-items: center; gap: .7rem; flex-wrap: wrap; }
.list-head .muted { margin-left: auto; }
.list-mark { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--blush); color: var(--rust-dark); font: 1.4rem/1 "Segoe UI Symbol", sans-serif; }
.category-intro { margin-bottom: 1.1rem; max-width: 65ch; color: var(--muted); }
.ad-list { display: grid; gap: .8rem; }
.ad { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: clamp(1rem, 3vw, 1.6rem); background: var(--surface); border: 1px solid var(--line); border-radius: 14px; }
.ad-copy { min-width: 0; }
.ad-meta { display: flex; align-items: center; flex-wrap: wrap; gap: .35rem .85rem; color: var(--muted); font-size: .85rem; margin-bottom: .65rem; }
time, .sms-code {
    white-space: nowrap;
    font-family: Arial, sans-serif;
    font-variant-numeric: proportional-nums;
    letter-spacing: 0;
    word-spacing: 0;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}
.sms-destination { white-space: nowrap; }
.tag { background: var(--blush); border-radius: 30px; color: var(--rust-dark); padding: .15rem .65rem; font-weight: 650; }
.ad h3 a { color: var(--ink); text-decoration: none; }
.ad h3 a:hover { text-decoration: underline; }
.place { color: var(--muted); margin-top: .3rem; font-size: .95rem; overflow-wrap: anywhere; }
.excerpt { margin-block: .55rem .65rem; overflow-wrap: anywhere; }
.read { font-size: .9rem; font-weight: 700; }
.card-photo { flex: 0 0 min(26%, 128px); }
.card-photo img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 9px; }
.card-placeholder img { height: auto; filter: grayscale(1); }
.back { margin-bottom: .8rem; }
.detail-back-mobile, .detail-footer-brand .brand-badge { display: none; }
.empty, .detail, .ad-form { border: 1px solid var(--line); background: var(--surface); padding: clamp(1rem, 4vw, 2rem); border-radius: 14px; }
.ad-form, .notice { margin-top: 1rem; }
.detail-photo { display: block; margin-top: 1rem; max-width: 100%; max-height: 550px; border-radius: 9px; }
.detail-photo-link { display: inline-block; max-width: 100%; }
[data-photo-caption] { cursor: zoom-in; }
.photo-viewer {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    margin: 0;
    border: 0;
    padding: 58px 16px 16px;
    background: transparent;
}
.photo-viewer[open] { display: grid; place-items: center; }
.photo-viewer::backdrop { background: rgb(0 0 0 / 80%); }
body:has(.photo-viewer[open]) { overflow: hidden; }
.photo-frame { margin: 0; padding: 10px; max-width: 100%; background: #fff; color: var(--ink); }
.photo-frame img {
    display: block;
    max-width: min(100%, calc(100vw - 52px));
    max-height: calc(100dvh - 155px);
    width: auto;
    height: auto;
    margin-inline: auto;
    object-fit: contain;
}
.photo-frame figcaption {
    max-width: calc(100vw - 52px);
    margin-top: .4rem;
    font-family: Arial, "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
    font-size: .9rem;
    font-variant-numeric: proportional-nums;
    letter-spacing: normal;
    word-spacing: normal;
    text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
    overflow-wrap: anywhere;
}
.photo-close {
    position: fixed;
    top: 12px;
    left: 12px;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 2px solid #111;
    border-radius: 50%;
    background: #fff;
    color: #111;
    font: bold 25px/1 Arial, sans-serif;
    cursor: pointer;
}
.photo-close:focus-visible { outline-color: #fff; }
.ad-text { margin-block: 1rem; white-space: pre-wrap; overflow-wrap: anywhere; }
.detail h2 { font-size: 1.6rem; }
.contacts { overflow-wrap: anywhere; }
.contacts dt { font-weight: 650; }
.contacts dd { margin: 0 0 .5rem; }
.sms-contact { width: fit-content; max-width: 100%; padding: .7rem .85rem; background: var(--blush); border: 1px solid var(--rust); border-radius: 2px; }
.sms-contact p { margin-block: .35rem; color: var(--muted); font-size: .875rem; }
.sms-button {
    display: inline-block;
    padding: 4px 6px;
    border: 1px solid var(--rust);
    border-radius: 2px;
    background: var(--surface);
    color: var(--rust-dark);
    font: bold 9px/13px Verdana, Arial, sans-serif;
    text-decoration: none;
    cursor: pointer;
}
.sms-button:hover { background: var(--blush); }
.sms-button:disabled { cursor: default; opacity: .75; }
.receipt-activation { margin-bottom: 1rem; }
.activation-sms { display: none; }
@media (max-width: 767px) {
    .ad-search.detail-search, .detail-back-desktop, .detail-footer-brand > span:first-child { display: none; }
    .detail-back-mobile { display: block; margin-top: .9rem; }
    .detail-footer-brand .brand-badge { display: grid; width: 43px; height: 43px; border-radius: 13px; }
    :root {
        --sans: Arial, "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
        --serif: var(--sans);
        -webkit-text-size-adjust: 100%;
        text-size-adjust: 100%;
    }
    body { text-align: start; letter-spacing: normal; word-spacing: -.04em; }
    :is(button, input, select, textarea) { letter-spacing: inherit; word-spacing: inherit; }
    .hero h1 { letter-spacing: -.025em; }
    .activation-sms { display: inline-block; margin-top: .45rem; }
    .sms-button, .activation-sms { font-family: var(--sans); word-spacing: inherit; }
    time, .sms-code, .photo-frame figcaption { font-family: var(--sans); word-spacing: inherit; }
    .ad-text { white-space: pre-line; }
    .sms-instruction > .sms-destination { display: block; }
    .sms-contact-intro { display: block; }
    .sms-contact .sms-code { white-space: normal; }
    .sms-contact .sms-code strong { white-space: nowrap; }
}
.form-illustration { width: min(100%, 190px); margin: 1rem auto 0; }
.form-illustration img { display: block; width: 100%; height: auto; object-fit: contain; mix-blend-mode: multiply; }
.muted { color: var(--muted); }
.ad-form { display: grid; gap: .7rem; padding: clamp(.9rem, 3vw, 1.5rem); }
.ad-form .button { appearance: none; -webkit-appearance: none; }
.ad-form-actions { display: flex; justify-content: flex-end; padding-top: .85rem; border-top: 1px solid var(--line); }
.ad-required-note { font-size: calc(1em - 2px); }
.ad-form label { display: grid; gap: .2rem; font-weight: 650; min-width: 0; }
.ad-form fieldset { margin: 0; border: 1px solid var(--line); border-radius: 8px; min-width: 0; }
.ad-form legend { font-weight: 700; }
.ad-form fieldset p { margin-bottom: .4rem; font-size: .9rem; }
.field-row { display: grid; grid-template-columns: 3fr 1fr; gap: .8rem; }
.contact-fields { grid-template-columns: 1fr 1fr; }
.ad-form :is(input, textarea, select) { width: 100%; border: 1px solid #8d8375; border-radius: 6px; padding: .55rem; background: #fffdf9; font: inherit; }
.ad-form :is(input, textarea, select, option, .photo-filename) { color: var(--rust-dark); font-weight: 700; }
.ad-form textarea { resize: vertical; }
.photo-field {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: .9rem;
    padding: .85rem;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fbf3e8;
}
.photo-preview-frame {
    position: relative;
    display: grid;
    place-items: center;
    width: clamp(110px, 18vw, 160px);
    aspect-ratio: 1;
    border: 1px dashed #a88b75;
    border-radius: 8px;
    background: var(--surface);
    overflow: hidden;
}
.photo-placeholder {
    position: relative;
    width: 28px;
    height: 20px;
    border: 2px solid var(--rust);
    border-radius: 4px;
}
.photo-placeholder::before {
    content: "";
    position: absolute;
    top: -6px;
    left: 6px;
    width: 10px;
    height: 4px;
    border-radius: 2px 2px 0 0;
    background: var(--rust);
}
.photo-placeholder::after {
    content: "";
    position: absolute;
    inset: 3px auto auto 7px;
    width: 7px;
    height: 7px;
    border: 2px solid var(--rust);
    border-radius: 50%;
}
.upload-preview { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: var(--surface); }
.photo-picker { position: relative; display: flex; align-items: center; gap: .65rem; min-width: 0; }
.photo-picker-button {
    flex: none;
    padding: .5rem .8rem;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: var(--blush);
    color: var(--rust-dark);
    font-size: .9rem;
    font-weight: 650;
    cursor: pointer;
}
.photo-picker:hover .photo-picker-button { background: var(--active); }
.photo-picker:focus-within .photo-picker-button { outline: 3px solid var(--focus); outline-offset: 3px; }
.ad-form .photo-picker input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.photo-filename { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.notice { background: #e5eddf; border-radius: 8px; padding: .8rem 1rem; }
.notice.receipt-activation { background: #fff; border: 1px solid var(--line); }
.error { background: #f5e1d7; color: var(--rust-dark); }
.error ul { margin: 0; padding-left: 1.2rem; }
.pagination { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1rem; }
.pagination a {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    padding: .5rem 1rem;
    border: 1px solid var(--rust);
    border-radius: 8px;
    background: var(--surface);
    color: var(--rust-dark);
    font-weight: 700;
    text-decoration: none;
}
.pagination a:hover { background: var(--blush); }
.footer { border-top: 1px solid var(--line); padding-block: 1.2rem 1.8rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; color: var(--muted); }
.footer a { font-size: 1.3rem; }
.footer nav { display: flex; flex-wrap: wrap; gap: .45rem 1rem; }
.footer nav a { font: inherit; color: var(--rust-dark); text-decoration: underline; }
.legal-copy { display: grid; gap: .75rem; margin-top: 1rem; overflow-wrap: anywhere; }
.legal-copy h2 { margin-top: .4rem; font-size: 1.5rem; }
.contact-form { max-width: 37rem; }
@media (max-width: 760px) {
    .photo-field { grid-template-columns: minmax(0, 1fr); }
    .photo-preview-frame { justify-self: center; }
    .ad-form-actions .button { width: 100%; }
    .form-illustration { width: clamp(130px, 38vw, 170px); }
    .aside-add { display: none; }
    .aside-add-home { display: flex; align-items: center; justify-content: center; padding: .6rem; }
    .aside-add-illustrated {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: .45rem .75rem;
    }
    .aside-add-image { width: 70px; }
    .shell { width: calc(100% - 36px); }
    .layout { grid-template-columns: 1fr; gap: 1.4rem; padding-top: 24px; }
    .categories { display: flex; flex-wrap: wrap; gap: .2rem; }
    .categories p { flex-basis: 100%; padding-block: .1rem; }
    .hero { margin-top: 18px; min-height: 245px; grid-template-columns: 1fr .65fr; }
    .hero-copy { padding-right: .3rem; }
}
@media (max-width: 540px) {
    .top-link { display: none; }
}
@media (max-width: 430px) {
    .categories a { gap: .35rem; padding-inline: .35rem; font-size: .9rem; }
    .category-icon { flex-basis: 26px; height: 24px; }
    .top-inner { min-height: 66px; }
    .brand { font-size: 1.65rem; gap: .35rem; }
    .brand-badge { width: 43px; height: 43px; border-radius: 13px; }
    .brand-badge::before { top: 5px; right: 5px; }
    .brand-badge::after { bottom: 5px; left: 5px; }
    .mark { transform: none; }
    .hero { grid-template-columns: 1fr; }
    .hero-copy { padding: 1.8rem 1.8rem .5rem; }
    .hero-art { padding: .3rem 1rem .75rem; }
    .hero-art img { width: min(60%, 180px); }
    .contact-fields { grid-template-columns: 1fr; }
    .ad { align-items: flex-start; }
}
