:root {
    --paper: #fffdf8;
    --canvas: #f5eee4;
    --ink: #322520;
    --muted: #69554d;
    --line: #e8d9cd;
    --accent: #963b2c;
    --warm: #f5e4d8;
    --gold: #8b571c;
}

* { box-sizing: border-box; }
html { font-size: 1px; scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--ink);
    background: var(--canvas) radial-gradient(ellipse at center top, #fbdbc8 0, transparent 540rem) no-repeat;
    font: normal 15rem/1.65 "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
}
:focus-visible { outline: 2rem solid var(--accent); outline-offset: 3rem; }
p { margin: 0; }
time { font-variant-numeric: tabular-nums; }

.kivren { width: 100%; max-width: 750rem; margin: auto; padding: 10rem; }
.omzafi {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 22rem 19rem 17rem;
    border: 1rem solid #e5bdaa;
    border-radius: 28rem 28rem 17rem 17rem;
    background: linear-gradient(135deg, #fcebe1 5%, #f6d5c3 100%);
    box-shadow: 0 9rem 22rem #6d3a2220;
}
.omzafi::before {
    position: absolute;
    z-index: -1;
    content: "";
    width: 198rem;
    height: 198rem;
    right: -52rem;
    top: -89rem;
    border-radius: 50%;
    background: repeating-radial-gradient(circle, transparent 0 12rem, #a4533b19 13rem 14rem);
    pointer-events: none;
}
.wexulo { display: flex; align-items: center; gap: 16rem; }
.wexulo > div { min-width: 0; }
.wexulo h1 { margin: 0 0 5rem; font-size: 32rem; line-height: 1.2; overflow-wrap: anywhere; scroll-margin-top: 12rem; }
.pyzaro {
    flex: none;
    width: 79rem;
    height: 79rem;
    padding: 4rem;
    object-fit: contain;
    border: 1rem solid #e5bdaa;
    border-radius: 23rem;
    background: var(--paper);
}
.qelvix { display: flex; align-items: center; gap: 3rem; color: var(--gold); font-size: 15rem; line-height: 1; }
.jafnex { margin-top: 8rem; color: var(--muted); font-size: 12rem; }
.zomqer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8rem;
    min-height: 49rem;
    margin: 20rem 0 14rem;
    border-radius: 28rem;
    color: #fffaf4;
    background: var(--accent);
    box-shadow: 0 4rem 0 #70281d;
    font-size: 16rem;
    font-weight: bold;
    text-decoration: none;
}
.zomqer i { font-size: 19rem; }
.zomqer:hover { background: #7e3023; }
.zomqer:active { transform: translateY(2rem); box-shadow: 0 2rem 0 #70281d; }
.gytlor { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 5rem; }
.gytlor > div { padding: 7rem 1rem; border-radius: 11rem; background: #fffbf4ad; text-align: center; }
.gytlor span { display: block; font-size: 12rem; font-weight: bold; font-variant-numeric: tabular-nums; }
.gytlor span:first-child { color: var(--muted); font-size: 11rem; font-weight: normal; }

.vuxeri { margin-top: 12rem; padding: 17rem 16rem; background: var(--paper); border: 1rem solid var(--line); border-radius: 17rem; }
.xapmir { display: flex; align-items: center; gap: 8rem; margin-bottom: 13rem; font-size: 18rem; line-height: 1.35; font-weight: bold; }
.xapmir::before { content: ""; width: 5rem; height: 15rem; flex: none; transform: skew(-12deg); background: var(--accent); border-radius: 2rem; }
.zuvrel {
    display: flex;
    align-items: flex-start;
    gap: 9rem;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
}
.zuvrel::-webkit-scrollbar { display: none; }
.zuvrel img {
    display: block;
    width: calc(66% - 7rem);
    height: auto;
    flex: 0 0 auto;
    border: 1rem solid var(--line);
    border-radius: 12rem;
    scroll-snap-align: start;
}
.ciztem { background: #fdf3e7; }
.ciztem p { color: var(--muted); font-size: 15rem; line-height: 1.85; }

.beqvul { position: relative; margin-left: 4rem; padding-left: 16rem; }
.beqvul::before { content: ""; position: absolute; top: 10rem; bottom: 19rem; left: 0; width: 1rem; background: #dfbaaa; }
.haxpiv { position: relative; padding-bottom: 13rem; }
.haxpiv:last-child { padding-bottom: 0; }
.haxpiv::before { content: ""; position: absolute; left: -19rem; top: 8rem; width: 7rem; height: 7rem; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3rem var(--warm); }
.haxpiv time { color: var(--accent); font-weight: bold; font-size: 12rem; }
.haxpiv p { margin-top: 3rem; color: var(--muted); font-size: 14rem; }

.fomzek { border-top: 1rem solid var(--line); }
.dijqor { border-bottom: 1rem solid var(--line); }
.dijqor:last-child { border-bottom: 0; }
.dijqor[open] { background: #faf0e7; }
.dijqor summary { display: flex; align-items: center; justify-content: space-between; gap: 10rem; padding: 11rem 10rem; list-style: none; cursor: pointer; font-weight: bold; }
.dijqor summary::-webkit-details-marker { display: none; }
.dijqor i { color: var(--accent); font-size: 20rem; line-height: 1; transition: transform 180ms ease; }
.dijqor[open] i { transform: rotate(180deg); }
.dijqor p { padding: 0 10rem 11rem; color: var(--muted); font-size: 14rem; }

.kuvzal, .tyxmel { display: flex; gap: 11rem; }
.kuvzal { align-items: center; padding: 9rem 0; }
.kuvzal + .kuvzal, .tyxmel + .tyxmel, .speqix + .speqix { border-top: 1rem solid var(--line); }
.kuvzal img { width: 43rem; height: 43rem; border-radius: 12rem; object-fit: contain; }
.rejxum, .tyxmel > div { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.rejxum > div:first-child, .buzqen, .speqix > div { margin-bottom: 4rem; font-weight: bold; }
.rejxum .qelvix { font-size: 12rem; }
.vixnob { flex: none; min-width: 57rem; padding: 6rem 11rem; border-radius: 18rem; color: var(--accent); background: var(--warm); font-size: 13rem; font-weight: bold; text-align: center; text-decoration: none; }
.vixnob:hover { background: #f0d3c3; }
.speqix, .tyxmel { padding: 11rem 0; }
.speqix > div { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.speqix p, .tyxmel p { margin-bottom: 5rem; color: var(--muted); font-size: 14rem; }
.speqix p { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.speqix time, .tyxmel time { color: var(--muted); font-size: 12rem; }
.tyxmel > i { display: grid; place-items: center; flex: none; width: 34rem; height: 34rem; border-radius: 50%; background: var(--warm); color: var(--accent); font-size: 19rem; }
.kuvzal:last-child, .speqix:last-child, .tyxmel:last-child { padding-bottom: 0; }

.voqpan {
    position: fixed;
    right: 0;
    bottom: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 4rem;
    margin: 10rem;
    padding: 7rem 10rem;
    border: 1rem solid #dcb5a7;
    border-radius: 20rem;
    background: var(--paper);
    box-shadow: 0 3rem 9rem #6d3a2224;
    color: var(--accent);
    font-size: 12rem;
    text-decoration: none;
}
.voqpan i { font-size: 15rem; }
.morvex { padding: 15rem 10rem 47rem; text-align: center; color: var(--muted); font-size: 12rem; }

@media (min-width: 600px) {
    .omzafi { padding: 28rem 28rem 22rem; }
    .vuxeri { padding: 20rem 23rem; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .dijqor i { transition: none; }
}
