/* "Look inside" reader — an open book in a full-screen reading room.
   Standalone page (books/reader.html), so none of this touches site.css. */
:root {
    --navy: #071d49;
    --navy-deep: #04132f;
    --gold: #d79a18;
    --gold-light: #f1c35c;
    --cream: #f7f2e8;
    --paper: #fffdf8;
    --ink: #101a2e;
    --muted: #667085;
    --line: rgba(7, 29, 73, .14);
    --serif: "Playfair Display", Georgia, serif;
    --sans: "DM Sans", Arial, sans-serif;
    --read: "Literata", Georgia, serif;
}

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

html, body { height: 100%; }

body {
    margin: 0;
    overflow: hidden;
    color: #fff;
    background: var(--navy-deep);
    font-family: var(--sans);
    -webkit-font-smoothing: antialiased;
    -webkit-user-select: none;
    user-select: none;
}

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

.reader {
    --paper-bg: #fffdf8;
    --paper-ink: #2a2622;
    --paper-muted: #8d857a;
    --paper-edge: #e9e2d4;
    --room: radial-gradient(ellipse at 50% 38%, #173a78 0%, var(--navy) 45%, var(--navy-deep) 100%);
    position: fixed;
    inset: 0;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    grid-template-columns: minmax(0, 1fr);
    background: var(--room);
}

.reader[data-theme="sepia"] {
    --paper-bg: #f4ead5;
    --paper-ink: #4a3b28;
    --paper-muted: #9a8466;
    --paper-edge: #e2d4b6;
    --room: radial-gradient(ellipse at 50% 38%, #4a3a22 0%, #2b2114 55%, #17110a 100%);
}

.reader[data-theme="night"] {
    --paper-bg: #1b2230;
    --paper-ink: #d9dde6;
    --paper-muted: #7f8aa0;
    --paper-edge: #283043;
    --room: radial-gradient(ellipse at 50% 38%, #111c2e 0%, #070c16 70%);
}

/* ---------- Top bar ---------- */
.reader-bar {
    position: relative;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 14px 22px;
}

.reader-bar-side { display: flex; flex: none; align-items: center; gap: 10px; }

.reader-title { flex: 1; min-width: 0; text-align: center; }

.reader-title strong {
    display: block;
    overflow: hidden;
    font-family: var(--serif);
    font-size: 1.05rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.reader-title small {
    font-size: .72rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .6);
}

.r-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 42px;
    padding: 0 16px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 999px;
    color: #fff;
    background: rgba(255, 255, 255, .08);
    font-size: .88rem;
    font-weight: 600;
    cursor: pointer;
    transition: background .2s ease;
}

.r-btn:hover:not(:disabled) { background: rgba(255, 255, 255, .18); }
.r-btn:disabled { opacity: .3; cursor: default; }
.r-btn.icon-only { width: 42px; padding: 0; font-size: 1.15rem; }
.r-btn.is-light { border-color: var(--line); color: var(--ink); background: #fff; }

.r-seg {
    display: inline-flex;
    padding: 3px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 999px;
    background: rgba(255, 255, 255, .08);
}

.r-seg button {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    padding: 0;
    border: 0;
    border-radius: 50%;
    color: #fff;
    background: transparent;
    font-size: .8rem;
    font-weight: 700;
    cursor: pointer;
}

.r-seg button.active { color: var(--navy); background: #fff; }
.sw { width: 16px; height: 16px; border: 1px solid rgba(0, 0, 0, .2); border-radius: 50%; }

.r-buy {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 42px;
    padding: 0 22px;
    border-radius: 999px;
    color: var(--navy-deep);
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    box-shadow: 0 10px 26px -10px rgba(215, 154, 24, .8);
    font-weight: 700;
    font-size: .9rem;
}

.r-buy.is-block { width: 100%; height: 48px; }

/* ---------- Book ---------- */
.reader-stage {
    position: relative;
    display: grid;
    grid-template-rows: minmax(0, 1fr);
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
    place-items: center;
    padding: 10px 96px;
}

.spread {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-rows: minmax(0, 1fr);
    width: min(1100px, 100%);
    height: min(720px, 100%);
    max-height: 100%;
    perspective: 2400px;
    filter: drop-shadow(0 40px 60px rgba(0, 0, 0, .5));
    cursor: pointer;
}

.page {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 0;
    padding: 56px 54px 60px;
    overflow: hidden;
    color: var(--paper-ink);
    background: var(--paper-bg);
    transition: background .4s ease, color .4s ease;
}

.page-left { border-radius: 10px 2px 2px 10px; box-shadow: inset -30px 0 40px -30px rgba(0, 0, 0, .22); }
.page-right { border-radius: 2px 10px 10px 2px; box-shadow: inset 30px 0 40px -30px rgba(0, 0, 0, .22); }

.page-left::before,
.page-right::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 6px;
    background: repeating-linear-gradient(90deg, var(--paper-edge) 0 1px, var(--paper-bg) 1px 2px);
}

.page-left::before { left: 0; }
.page-right::before { right: 0; }

.page-header {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 24px;
    overflow: hidden;
    color: var(--paper-muted);
    font-size: .66rem;
    letter-spacing: .16em;
    text-transform: uppercase;
    white-space: nowrap;
}

.page-content {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    font-family: var(--read);
    font-size: calc(clamp(13px, 1.8vh, 16px) * var(--reader-scale, 1) * var(--fit, 1));
    line-height: 1.7;
    text-align: justify;
    hyphens: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--paper-edge) transparent;
}

.page-content p { margin: 0 0 .9em; text-indent: 1.4em; color: var(--paper-ink); }

.page-image {
    display: block;
    max-width: 100%;
    max-height: 42vh;
    margin: .6em auto;
    border: 1px solid var(--paper-edge);
    object-fit: contain;
}

.page-table {
    width: 100%;
    margin: 0 0 .9em;
    border-collapse: collapse;
    font-size: .85em;
}

.page-table th,
.page-table td {
    padding: 4px 8px;
    border: 1px solid var(--paper-edge);
    text-align: left;
    vertical-align: top;
}

.page-table th { background: var(--paper-edge); font-weight: 700; }

.page-content p:first-child,
.page-opening .page-content > p:first-of-type { text-indent: 0; }

.page-opening .page-content > p:first-of-type::first-letter {
    float: left;
    padding: 6px 10px 0 0;
    color: var(--gold);
    font-family: var(--serif);
    font-size: 3.6em;
    font-weight: 700;
    line-height: .8;
}

.chapter-opener { margin: 10px 0 28px; text-align: center; }

.chapter-opener .lbl {
    color: var(--gold);
    font-family: var(--sans);
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .3em;
    text-transform: uppercase;
}

.chapter-opener h2 { margin: 10px 0 12px; color: var(--paper-ink); font-family: var(--serif); font-size: 1.85rem; line-height: 1.2; }
.orn { color: var(--gold); font-size: .8rem; letter-spacing: .6em; }

.page-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 16px;
    color: var(--paper-muted);
    font-family: var(--serif);
    font-size: .9rem;
}

.page-footer::before,
.page-footer::after { content: ""; width: 24px; height: 1px; background: var(--paper-edge); }

.page-blank { display: grid; place-items: center; text-align: center; }

.page-cover { padding: 0; }

.cover-wrap {
    display: grid;
    width: 100%;
    height: 100%;
    place-items: center;
    padding: 12%;
}

.cover-img,
.cover-placeholder {
    width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 3px 8px 8px 3px;
    box-shadow: 10px 16px 34px -10px rgba(0, 0, 0, .5), inset 4px 0 8px rgba(0, 0, 0, .15);
}

.cover-placeholder {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    aspect-ratio: 2 / 3;
    padding: 16% 12%;
    color: #fff;
    background: radial-gradient(circle at 80% 10%, rgba(241, 195, 92, .3), transparent 45%), linear-gradient(155deg, #123d88, var(--navy-deep));
}

.cover-placeholder span { font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; opacity: .8; }
.cover-placeholder strong { font-family: var(--serif); font-size: 1.6rem; line-height: 1.15; }
.cover-placeholder i { width: 30%; height: 2px; background: var(--gold); }

.page-title-page { justify-content: center; text-align: center; }
.page-title-page .imprint { color: var(--gold); font-size: .72rem; font-weight: 700; letter-spacing: .3em; text-transform: uppercase; }
.page-title-page h1 { margin: 16px 0 6px; color: var(--paper-ink); font-family: var(--serif); font-size: 2.2rem; line-height: 1.15; }
.page-title-page .sub { margin: 0; color: var(--paper-muted); font-family: var(--serif); font-style: italic; }
.page-title-page .orn { margin: 26px 0; }
.page-title-page .note { color: var(--paper-muted); font-size: .9rem; line-height: 1.6; }

.page-title-page .badge {
    display: inline-block;
    margin-top: 26px;
    padding: 7px 14px;
    border: 1px solid var(--paper-edge);
    border-radius: 999px;
    color: var(--paper-muted);
    font-size: .7rem;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.page-end {
    justify-content: center;
    text-align: center;
    background: radial-gradient(circle at 50% 28%, rgba(215, 154, 24, .14), transparent 60%), var(--paper-bg);
}

.lock-ring {
    display: grid;
    width: 72px;
    height: 72px;
    margin: 0 auto 20px;
    place-items: center;
    border-radius: 50%;
    background: var(--navy);
    box-shadow: 0 0 0 10px rgba(215, 154, 24, .18);
    font-size: 1.6rem;
}

.page-end h3 { margin: 0 0 8px; color: var(--paper-ink); font-family: var(--serif); font-size: 1.55rem; line-height: 1.25; }
.page-end p { margin: 0 0 12px; color: var(--paper-muted); font-size: .92rem; }

.locked-list { max-width: 320px; margin: 16px auto 22px; padding: 0; font-size: .86rem; list-style: none; text-align: left; }

.locked-list li {
    display: flex;
    align-items: baseline;
    gap: 10px;
    padding: 7px 0;
    border-bottom: 1px dashed var(--paper-edge);
    color: var(--paper-ink);
}

.locked-list li span:last-child { margin-left: auto; color: var(--paper-muted); font-variant-numeric: tabular-nums; }

.spine {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    z-index: 3;
    width: 40px;
    pointer-events: none;
    background: linear-gradient(90deg, transparent, rgba(0, 0, 0, .18) 45%, rgba(0, 0, 0, .28) 50%, rgba(0, 0, 0, .18) 55%, transparent);
    transform: translateX(-50%);
}

.flipper {
    position: absolute;
    top: 0;
    bottom: 0;
    z-index: 4;
    width: 50%;
    transform-style: preserve-3d;
    transition: transform .75s cubic-bezier(.45, .05, .25, 1);
}

.flipper.forward { left: 50%; transform-origin: left center; }
.flipper.backward { left: 0; transform-origin: right center; }
.flipper.forward.go { transform: rotateY(-180deg); }
.flipper.backward.go { transform: rotateY(180deg); }
.flipper .face { position: absolute; inset: 0; -webkit-backface-visibility: hidden; backface-visibility: hidden; }
.flipper .face .page { height: 100%; }
.flipper .face.back { transform: rotateY(180deg); }

.flipper .face::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, .14));
    opacity: 0;
    pointer-events: none;
    transition: opacity .75s ease;
}

.flipper.go .face::after { opacity: 1; }

.nav-arrow {
    position: absolute;
    top: 50%;
    z-index: 6;
    display: grid;
    width: 58px;
    height: 58px;
    place-items: center;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 50%;
    color: #fff;
    background: rgba(255, 255, 255, .08);
    font-size: 1.9rem;
    line-height: 1;
    cursor: pointer;
    transform: translateY(-50%);
    transition: background .2s ease, color .2s ease;
}

.nav-arrow:hover:not(:disabled) { color: var(--navy); background: var(--gold-light); }
.nav-arrow:disabled { opacity: .25; cursor: default; }
.nav-arrow.prev { left: 20px; }
.nav-arrow.next { right: 20px; }

/* ---------- Footer ---------- */
.reader-foot { display: flex; align-items: center; gap: 18px; padding: 12px 24px 20px; }
.foot-nav { display: none; }

.reader-progress {
    display: flex;
    flex: 1;
    align-items: center;
    gap: 14px;
    color: rgba(255, 255, 255, .7);
    font-size: .8rem;
    font-variant-numeric: tabular-nums;
}

.reader-progress input[type=range] {
    flex: 1;
    height: 4px;
    margin: 0;
    border-radius: 4px;
    background: linear-gradient(90deg, var(--gold) var(--fill, 0%), rgba(255, 255, 255, .18) var(--fill, 0%));
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
}

.reader-progress input[type=range]::-webkit-slider-thumb {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(215, 154, 24, .45);
    -webkit-appearance: none;
    appearance: none;
}

.reader-progress input[type=range]::-moz-range-thumb { width: 16px; height: 16px; border: 0; border-radius: 50%; background: #fff; }

/* ---------- Contents drawer ---------- */
.toc-drawer {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 20;
    display: flex;
    flex-direction: column;
    width: min(400px, 92vw);
    color: var(--ink);
    background: #fff;
    box-shadow: 30px 0 60px rgba(0, 0, 0, .35);
    transform: translateX(-100%);
    visibility: hidden;
    transition: transform .4s cubic-bezier(.2, .7, .2, 1), visibility 0s linear .4s;
}

.toc-drawer.open { transform: none; visibility: visible; transition: transform .4s cubic-bezier(.2, .7, .2, 1); }

.toc-drawer-head { display: flex; align-items: center; gap: 14px; padding: 22px; border-bottom: 1px solid var(--line); }
.toc-drawer-head img { width: 48px; height: 70px; object-fit: cover; border-radius: 3px; box-shadow: 4px 6px 14px rgba(7, 29, 73, .25); }
.toc-drawer-head div { flex: 1; min-width: 0; }
.toc-drawer-head h3 { margin: 0; font-family: var(--serif); font-size: 1.1rem; line-height: 1.25; }
.toc-drawer-head small { color: var(--muted); }

.toc-list { flex: 1; margin: 0; padding: 10px 14px; overflow-y: auto; list-style: none; }
.toc-list li { border-bottom: 1px solid var(--line); }
.toc-list li:last-child { border-bottom: 0; }

.toc-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: baseline;
    column-gap: 14px;
    row-gap: 2px;
    width: 100%;
    padding: 13px 10px;
    border: 0;
    border-radius: 10px;
    color: inherit;
    background: none;
    font: inherit;
    text-align: left;
}

button.toc-row { cursor: pointer; }
button.toc-row:hover { background: var(--cream); }
.toc-row.current { background: rgba(215, 154, 24, .14); }
.toc-label { grid-column: 1 / -1; color: var(--gold); font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.toc-title { font-family: var(--serif); font-size: 1rem; line-height: 1.35; }
.toc-row.locked .toc-title { color: var(--muted); }
.toc-page { font-weight: 700; font-variant-numeric: tabular-nums; }
.toc-state { font-size: .8rem; }
.pill { padding: 3px 10px; border-radius: 999px; color: var(--navy); background: rgba(215, 154, 24, .2); font-size: .7rem; font-weight: 700; }

.toc-drawer-foot { padding: 18px 22px; border-top: 1px solid var(--line); background: var(--cream); }
.toc-drawer-foot p { margin: 0 0 12px; color: var(--muted); font-size: .85rem; }

.scrim {
    position: fixed;
    inset: 0;
    z-index: 15;
    background: rgba(4, 19, 47, .5);
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s ease;
}

.scrim.show { opacity: 1; pointer-events: auto; }

/* ---------- Small screens ---------- */
@media (max-width: 960px) {
    .reader-stage { padding: 10px 16px; }
    .spread { grid-template-columns: minmax(0, 1fr); width: min(520px, 100%); height: 100%; max-height: 760px; }
    .spread .page-left { display: none; }
    .spread .page-right { border-radius: 10px; }
    .flipper { width: 100%; }
    .flipper.forward { left: 0; }
    .spine, .nav-arrow { display: none; }
    .foot-nav { display: inline-flex; }
}

@media (max-width: 720px) {
    .reader-bar { padding: 10px 12px; gap: 8px; }
    .hide-sm { display: none !important; }
    .reader-title small { display: none; }
    .reader-foot { gap: 10px; padding: 10px 12px 16px; }
    .page { padding: 36px 28px 40px; }
    .page-end .locked-list { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    .flipper, .toc-drawer, .scrim { transition: none; }
}

/* ---------- Font choice (reflow mode) ---------- */
.reader[data-font="times"] .page-content { font-family: "Times New Roman", Times, "Liberation Serif", serif; }
.reader[data-font="georgia"] .page-content { font-family: Georgia, "DejaVu Serif", serif; }
.reader[data-font="palatino"] .page-content { font-family: "Palatino Linotype", Palatino, "Book Antiqua", serif; }
.reader[data-font="sans"] .page-content { font-family: var(--sans); }

.r-select {
    height: 42px;
    padding: 0 12px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 999px;
    color: #fff;
    background: rgba(255, 255, 255, .08);
    font: inherit;
    font-size: .85rem;
    font-weight: 600;
    cursor: pointer;
}

.r-select option { color: var(--ink); background: #fff; }

/* Reflow / Original toggle: text pills rather than the round icon buttons. */
.r-seg-mode button { width: auto; padding: 0 14px; border-radius: 999px; }

/* ---------- Original (fixed-layout) mode ---------- */
.reader[data-mode="fixed"] .reflow-only { display: none !important; }

.page-scan { padding: 0; background: #fff; }

.scan-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #fff;
    -webkit-user-drag: none;
    user-select: none;
}

/* ---------- Search ---------- */
.search-drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 20;
    display: flex;
    flex-direction: column;
    width: min(420px, 94vw);
    color: var(--ink);
    background: #fff;
    box-shadow: -30px 0 60px rgba(0, 0, 0, .35);
    transform: translateX(100%);
    visibility: hidden;
    transition: transform .4s cubic-bezier(.2, .7, .2, 1), visibility 0s linear .4s;
}

.search-drawer.open { transform: none; visibility: visible; transition: transform .4s cubic-bezier(.2, .7, .2, 1); }

.search-head { display: flex; align-items: center; gap: 10px; padding: 18px 18px 14px; border-bottom: 1px solid var(--line); }

.search-field {
    display: flex;
    flex: 1;
    align-items: center;
    gap: 10px;
    height: 46px;
    padding: 0 14px;
    color: var(--muted);
    background: var(--cream);
    border: 1px solid var(--line);
    border-radius: 999px;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.search-field:focus-within { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(215, 154, 24, .22); }

.search-field input {
    flex: 1;
    min-width: 0;
    height: 100%;
    color: var(--ink);
    background: none;
    border: 0;
    outline: 0;
    font: inherit;
    font-size: .95rem;
    -webkit-user-select: text;
    user-select: text;
}

.search-status { margin: 0; padding: 12px 22px 6px; color: var(--muted); font-size: .8rem; font-weight: 600; letter-spacing: .02em; }

.search-list { flex: 1; margin: 0; padding: 4px 12px 12px; overflow-y: auto; list-style: none; }

.search-list button {
    display: grid;
    gap: 5px;
    width: 100%;
    padding: 12px 12px;
    color: inherit;
    background: none;
    border: 0;
    border-radius: 12px;
    font: inherit;
    text-align: left;
    cursor: pointer;
    transition: background .15s ease;
}

.search-list button:hover,
.search-list button:focus-visible { background: var(--cream); outline: none; }

.sr-meta { display: flex; align-items: baseline; gap: 8px; font-size: .72rem; color: var(--muted); }
.sr-meta b { color: var(--navy); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.sr-meta span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sr-snip { font-family: var(--read); font-size: .92rem; line-height: 1.55; }

mark.hit, .search-list mark {
    padding: 0 2px;
    color: inherit;
    background: rgba(241, 195, 92, .65);
    border-radius: 3px;
}

.page-content mark.hit { background: rgba(241, 195, 92, .7); box-shadow: 0 0 0 2px rgba(241, 195, 92, .35); }

.search-scope { margin: 0; padding: 12px 22px 18px; color: var(--muted); background: var(--cream); border-top: 1px solid var(--line); font-size: .8rem; }

/* ---------- Reading controls ---------- */
/* A [hidden] group must stay hidden even though .r-seg sets display. */
.r-seg[hidden] { display: none; }

.reader-tools { display: flex; flex: none; align-items: center; gap: 10px; }

@media (max-width: 720px) {
    /* Too many controls for a phone-width bar — instead of dropping some,
       the bar itself scrolls sideways (swipe) with every one of them in it. */
    .reader-bar {
        justify-content: flex-start;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior-x: contain;
        scrollbar-width: none;
    }

    .reader-bar::-webkit-scrollbar { display: none; }
    .reader-bar > * { flex: none; }
    .reader-title { display: none; }

    /* Compact controls so more of the bar fits on screen at once. */
    .reader-bar { gap: 8px; }
    .reader-tools { gap: 8px; }
    .reader-bar .r-btn { height: 36px; padding: 0 12px; font-size: .8rem; }
    .reader-bar .r-btn.icon-only { width: 36px; padding: 0; font-size: 1rem; }
    .reader-bar .r-select { height: 36px; width: 92px; padding: 0 8px; font-size: .78rem; text-overflow: ellipsis; }
    .reader-bar .r-seg { padding: 2px; }
    .reader-bar .r-seg button { width: 30px; height: 30px; font-size: .75rem; }
    .reader-bar .r-seg-mode button { width: auto; padding: 0 12px; }
    .reader-bar .r-buy { height: 36px; padding: 0 18px; font-size: .82rem; }
}
