/* Classic mode (UserPreferences.UiMode = Classic): the paper Yadgar book IS the app.
   Layout/ClassicShell.razor + Pages/Book.razor. Builds on paper-book.css (krd-* chrome, pb-* print);
   this file adds the full-screen desk, the two leather volumes, entry flags, the memory/month pages,
   the contents page, and an "ink on paper" restyle of ordinary pages printed inside the book. */

/* ---------------- full-screen desk ---------------- */
.krd-classic {
    min-height: 100dvh;
    background-color: #2a1e14;
    background-image:
        repeating-linear-gradient(93deg, rgba(255, 235, 200, .018) 0 2px, transparent 2px 11px),
        radial-gradient(ellipse at 50% 20%, #4a3423, #2a1e14 75%);
    padding: 0 0 env(safe-area-inset-bottom, 0px);
    position: relative;
}
.krd-classic .krd-book-wrap { max-width: 620px; margin-inline: auto; border-radius: 0; min-height: 100dvh; background-color: transparent; }
.krd-classic .krd-book-wrap { padding-top: 8px; gap: 6px; }
.krd-classic .krd-book { height: calc(100dvh - 164px - env(safe-area-inset-bottom, 0px)); min-height: 430px; max-height: 900px; }
.krd-classic .krd-tip { display: none; }
.krd-classic.krd-classic-book .krd-book { height: calc(100dvh - 168px - env(safe-area-inset-bottom, 0px)); }
@media (min-width: 700px) { .krd-classic .krd-book-wrap { padding-top: 18px; } }

/* bell: in the shell it sits with the desk buttons; on the Book page it floats over the desk corner */
.krd-classic-bell { position: absolute; top: 10px; inset-inline-end: 12px; z-index: 20; }
.krd-classic-book .krd-book-ctrls { padding-inline-end: 52px; flex-wrap: nowrap; }
.krd-classic .krd-book-btns { flex-shrink: 0; }
/* narrow phones: long volume names (English) + desk toggles + the floating bell must share one row */
@media (max-width: 420px) {
    .krd-classic .krd-book-ctrls { gap: 4px; }
    .krd-classic .krd-vols { gap: 3px; }
    .krd-classic .krd-vol { font-size: 12px; padding: 0 10px; letter-spacing: .2px; }
    .krd-classic .krd-book-btns { gap: 2px; }
    .krd-classic .krd-seg-ic button, .krd-classic .krd-snd-ic { width: 28px; height: 28px; }
}
@media (max-width: 370px) { .krd-classic .krd-vol { font-size: 11px; } }
.krd-classic .krd-book-ctrls { flex-wrap: nowrap; gap: 6px; }
.krd-classic .krd-book-btns { flex-wrap: nowrap; gap: 4px; align-items: center; }
/* icon-only desk toggles (classic) */
.krd-seg-ic button, .krd-snd-ic { width: 32px; height: 32px; padding: 0; display: grid; place-items: center; font-size: 13px; }
.krd-snd-ic[aria-pressed="false"] { text-decoration: none; }
@media (min-width: 700px) { .krd-classic-bell { inset-inline-end: calc(50% - 296px); top: 20px; } }
.krd-classic .krd-book-ctrls .btn-light,
.krd-classic-bell .btn-light { width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(0, 0, 0, .28); color: #e9dcc0; padding: 0; line-height: 36px; }
.krd-classic .notif-pop { background: #fcf7e8; color: #2b2117; border: 1.5px solid #2b2117; border-radius: 4px; box-shadow: 0 10px 30px rgba(0, 0, 0, .5); width: min(92vw, 340px); }
.krd-classic .notif-pop .card-header { background: transparent; border-bottom: 1px solid #c3d0de; font-family: "Scheherazade New", serif; }
.krd-classic .notif-row { font-family: "Noto Naskh Arabic", "Vazirmatn", serif; color: #2a3f8f; }

/* ---------------- the two leather volumes ---------------- */
.krd-vols { display: flex; gap: 5px; align-items: flex-end; min-height: 40px; flex: none; }
.krd-vol {
    display: grid; place-items: center; height: 34px; padding: 0 11px; border-radius: 3px 8px 8px 3px; white-space: nowrap;
    font: 700 15px/1 "Scheherazade New", "Noto Naskh Arabic", serif; color: #e9cf8e !important; text-decoration: none !important;
    opacity: .55; transform: translateY(3px); transition: transform .2s, opacity .2s;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .35), 0 2px 0 rgba(0, 0, 0, .45);
    background-image:
        linear-gradient(to left, transparent 7px, #c9a24b 7px 9px, transparent 9px calc(100% - 9px), #c9a24b calc(100% - 9px) calc(100% - 7px), transparent calc(100% - 7px)),
        linear-gradient(to bottom, rgba(255, 255, 255, .12), rgba(0, 0, 0, .18));
}
.krd-vol:hover { opacity: .85; }
.krd-vol.on { opacity: 1; transform: none; height: 38px; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .35), 0 4px 8px rgba(0, 0, 0, .5), 0 6px 0 -3px #d8b25c; }
.krd-vol-a { background-color: #6b4428; }
.krd-vol-b { background-color: #2f4a66; }
/* the games volume is bound in blue leather */
.krd-book-wrap.games .krd-book.bk::after { background: linear-gradient(to left, #142233, #2f4a66 70%, #243a52); }
.krd-book-wrap.games.ltr .krd-book.bk::after, .krd-book-wrap.games .krd-book.ltr.bk::after { background: linear-gradient(to right, #142233, #2f4a66 70%, #243a52); }
a.krd-tab { text-decoration: none; display: inline-block; }

/* ---------------- entry flags on the fore-edge ---------------- */
.krd-flag {
    position: absolute; left: -15px; width: 24px; height: 36px; border: 0; padding: 0; z-index: 0; cursor: pointer;
    border-radius: 6px 0 0 6px; color: #fff; font: 800 12px Vazirmatn, sans-serif; box-shadow: -2px 2px 4px rgba(0, 0, 0, .35);
    transition: left .2s, width .2s;
}
.krd-flag:hover, .krd-flag.on { left: -22px; width: 31px; }
.krd-book.ltr .krd-flag { left: auto; right: -15px; border-radius: 0 6px 6px 0; }
.krd-book.ltr .krd-flag:hover, .krd-book.ltr .krd-flag.on { right: -22px; }
.krd-book.cl .krd-flag { display: none; }

/* position line tools (month, pen) */
.krd-pos-tools { display: inline-flex; align-items: center; gap: 10px; }
.krd-pos-tools small { color: #e9dcc0; font: 600 11px Vazirmatn; }
.krd-pen {
    display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
    background: #d8b25c; color: #2a1e14 !important; box-shadow: 0 2px 0 #8a6a2c; text-decoration: none; font-size: 17px;
}
.krd-pos-tools .krd-pen { width: 34px; height: 34px; font-size: 14px; }

/* ---------------- a memory's own page ---------------- */
.pb-leafhead { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.pb-leaftitle { display: flex; flex-direction: column; min-width: 0; }
.pb-leaftitle .pb-ptitle { font-size: 26px; }
.pb-wxstamp {
    flex: none; width: 70px; height: 70px; border-radius: 50%; border: 3px double var(--red); color: var(--red);
    transform: rotate(-14deg); opacity: .85; display: flex; flex-direction: column; align-items: center; justify-content: center;
    font: 800 11px Vazirmatn, sans-serif; gap: 2px;
}
.pb-wxstamp i { font-size: 20px; }
.pb-ruled {
    font: 15.5px/32px "Noto Naskh Arabic", serif; color: var(--pen); white-space: pre-line;
    background-image: repeating-linear-gradient(to bottom, transparent 0 31px, var(--rule) 31px 32px);
    min-height: 96px;
}
.pb-media { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.pb-polaroid { position: relative; width: 132px; padding: 7px 7px 24px; background: #fff; box-shadow: 0 3px 8px rgba(0, 0, 0, .28); transform: rotate(3deg); }
.pb-polaroid img { display: block; width: 100%; aspect-ratio: 1 / 1.05; object-fit: cover; }
.pb-tape2 { position: absolute; top: -9px; inset-inline-end: 18px; width: 42px; height: 16px; background: rgba(230, 215, 170, .85); transform: rotate(-10deg); }
.pb-cassette { flex: 1; min-width: 150px; display: flex; flex-direction: column; gap: 8px; }
.pb-cas-body { height: 70px; border-radius: 7px; background: #3a2e26; padding: 7px; box-sizing: border-box; box-shadow: 0 3px 8px rgba(0, 0, 0, .3); }
.pb-cas-label { height: 38px; border-radius: 4px; background: #efe0b8; display: flex; align-items: center; justify-content: space-around; }
.pb-reel { width: 20px; height: 20px; border-radius: 50%; background: #3a2e26; border: 4px solid #d6c59c; box-sizing: border-box; }
.pb-cassette audio { width: 100%; height: 36px; }
.pb-alertline { font: 600 13px Vazirmatn, sans-serif; color: var(--red); display: flex; align-items: center; gap: 6px; }

/* ---------------- month grid ---------------- */
.pb-mgrid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); border-top: 1.5px solid var(--ink); padding-top: 4px; }
.pb-mwd { text-align: center; font: 700 12px Vazirmatn, sans-serif; color: var(--ink-2); padding-bottom: 4px; }
.pb-mday {
    height: 50px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
    background: transparent; border: 0; border-bottom: 1px solid var(--rule); cursor: pointer; color: var(--ink); padding: 0;
}
.pb-mday b { width: 32px; height: 32px; display: grid; place-items: center; font: 700 19px "Scheherazade New", serif; border-radius: 50%; }
.pb-mday.pb-today b { box-shadow: inset 0 0 0 2px var(--red); }
.pb-mday:hover { background: var(--pen-wash); }
.pb-mwd.pb-red, .pb-mday.pb-red b { color: var(--red); }
.pb-mdots { display: flex; gap: 2px; height: 5px; }
.pb-mdots i { width: 5px; height: 5px; border-radius: 50%; display: block; }

/* ---------------- contents page (replaces the menu) ---------------- */
.pb-toc { display: flex; flex-direction: column; }
.krd-classic-body .pb-toc-title { margin: 0 0 4px; text-align: center; font: 700 32px/1.2 "Scheherazade New", serif; color: var(--ink); }
.krd-classic-body .pb-toc h3 { margin: 10px 0 2px; font: 700 18px/1.3 "Scheherazade New", serif; color: var(--red); }
.pb-toc-row { display: flex; align-items: baseline; gap: 6px; min-height: 30px; font: 15px/1.9 "Noto Naskh Arabic", serif; color: var(--ink) !important; text-decoration: none !important; }
.pb-toc-row:hover { background: var(--pen-wash); }
.pb-toc-lead { flex: 1; border-bottom: 1.5px dotted #b9a883; }
.pb-toc-sq { width: 10px; height: 10px; border-radius: 2px; flex: none; }
.pb-toc-out { color: var(--red) !important; font-weight: 700; }
.pb-toc-note { margin: 12px 0 0; text-align: center; font: 12px Vazirmatn, sans-serif; color: var(--ink-2); }

/* ---------------- the shell: an ordinary page printed on the book ---------------- */
.krd-shell .krd-book-nav { align-items: center; }
.krd-shell .krd-page { overflow: hidden; }
.krd-classic-body { overflow-y: auto; overflow-x: hidden; padding-bottom: 24px; touch-action: pan-y; }
.krd-classic-body, .krd-classic-body * { --bs-body-color: #2b2117; }
.krd-classic-body { color: var(--ink); font-family: "Noto Naskh Arabic", "Vazirmatn", serif; }
.krd-classic-body .container, .krd-classic-body .container-fluid, .krd-classic-body .row { max-width: none; margin: 0; padding: 0; background: transparent; }
.krd-classic-body .app-form { display: block; }
.krd-classic-body .app-form-inner { width: 100%; max-width: none; min-width: 0; }
.krd-classic-body .cal-types { flex-wrap: wrap; }
.krd-classic-body .cal-type { flex: 1 1 auto; }
.krd-classic-body h1, .krd-classic-body h2, .krd-classic-body h3,
.krd-classic-body h4, .krd-classic-body h5, .krd-classic-body h6 {
    font-family: "Scheherazade New", "Noto Naskh Arabic", serif; font-weight: 700; color: var(--ink); line-height: 1.25;
}
.krd-classic-body h3, .krd-classic-body h1 { font-size: 26px; margin-bottom: 10px; }
.krd-classic-body h6, .krd-classic-body .card-title { font-size: 18px; color: var(--red); border-bottom: 1.5px solid var(--red); display: inline-block; padding-bottom: 1px; }
.krd-classic-body .card, .krd-classic-body .app-card, .krd-classic-body .list-group-item {
    background: transparent !important; border: 0; border-bottom: 1px dashed #c3b28c; border-radius: 0; box-shadow: none !important;
}
.krd-classic-body .card-body, .krd-classic-body .app-card { padding: 8px 0; }
.krd-classic-body label, .krd-classic-body .form-label { font: 600 12.5px Vazirmatn, sans-serif; color: var(--ink-2); }
.krd-classic-body .form-control, .krd-classic-body .form-select, .krd-classic-body input[type=text],
.krd-classic-body input[type=email], .krd-classic-body input[type=password], .krd-classic-body input[type=number],
.krd-classic-body input[type=search], .krd-classic-body textarea {
    background: transparent !important; border: 0 !important; border-bottom: 1.5px solid var(--ink-2) !important; border-radius: 0 !important;
    box-shadow: none !important; color: var(--pen) !important; font: 16px/1.6 "Noto Naskh Arabic", serif; padding-inline: 2px;
}
.krd-classic-body .app-title { font: 700 24px/1.3 "Scheherazade New", serif !important; }
.krd-classic-body textarea {
    line-height: 32px !important; border-bottom: 0 !important;
    background-image: repeating-linear-gradient(to bottom, transparent 0 31px, var(--rule) 31px 32px) !important; background-attachment: local !important;
}
.krd-classic-body .form-control:focus, .krd-classic-body textarea:focus { background-color: var(--pen-wash) !important; }
.krd-classic-body input[type=file] { border-bottom: 1px dashed var(--ink-2) !important; font-size: 13px; }
.krd-classic-body .form-check-input { accent-color: var(--pen); border-color: var(--ink-2); }
.krd-classic-body .form-check-input:checked { background-color: var(--pen); border-color: var(--pen); }
.krd-classic-body a:not(.krd-tab):not(.pb-toc-row):not(.btn):not(.gh-play):not(.gh-ghost):not(.gh-pill) { color: var(--pen); }
.krd-classic-body .text-muted, .krd-classic-body small { color: var(--ink-2) !important; }
.krd-classic-body .btn {
    font: 600 14px "Noto Naskh Arabic", "Vazirmatn", serif; border-radius: 3px 7px 4px 8px; border: 1.5px solid var(--pen);
    background: transparent; color: var(--pen); box-shadow: none;
}
.krd-classic-body .btn-primary {
    border: 0; border-radius: 999px; color: #f7e3c8; min-height: 44px;
    background: radial-gradient(circle at 38% 34%, #c8493a, #8f2a20 70%); box-shadow: 0 3px 8px rgba(80, 20, 10, .35);
}
.krd-classic-body .btn-outline-danger, .krd-classic-body .btn-danger { border-color: var(--red); color: var(--red); background: transparent; }
.krd-classic-body .alert { background: var(--paper-hi); border: 0; border-inline-start: 3px solid var(--gold); border-radius: 0; color: var(--ink); box-shadow: 0 1px 3px rgba(60, 40, 20, .2); }
.krd-classic-body .alert-danger { border-inline-start-color: var(--red); }
.krd-classic-body .alert-success { border-inline-start-color: var(--ok); }
.krd-classic-body table { color: var(--ink); background: transparent; }
.krd-classic-body .table > :not(caption) > * > * { background: transparent; border-bottom: 1px solid var(--rule); color: var(--ink); }
.krd-classic-body .badge { background: transparent !important; border: 1.5px solid var(--ink-2); color: var(--ink) !important; }
/* the add page's type tabs and calendar pills become pen boxes */
.krd-classic-body .add-tabs { gap: 8px; background: transparent; border: 0; }
.krd-classic-body .add-tab { flex: 1 1 auto; min-width: 0; padding-inline: 6px; }
@media (max-width: 370px) { .krd-classic-body .add-tab { font-size: 13px; } }
.krd-classic-body .add-tab, .krd-classic-body .cal-type {
    background: transparent !important; border: 1.5px solid var(--pen) !important; color: var(--pen) !important; box-shadow: none !important;
    border-radius: 3px 7px 4px 8px !important; font-family: "Noto Naskh Arabic", serif;
}
.krd-classic-body .add-tab-active, .krd-classic-body .cal-type-active { background: var(--pen-wash) !important; box-shadow: 0 0 0 2px var(--paper), 0 0 0 3.5px var(--pen) !important; }
.krd-classic-body .krd-media-tile { background: transparent; border: 2px dashed #b9a883; border-radius: 2px; }
.krd-classic-body .krd-alert-card .form-check-label { color: var(--red); font-weight: 700; }
/* pickers: the closed field reads as a pen line; the sheet that opens is a paper slip */
.krd-classic-body .app-select-trigger, .krd-classic-body .app-picker-field {
    background: transparent !important; border: 0 !important; border-bottom: 1.5px solid var(--ink-2) !important; border-radius: 0 !important;
    box-shadow: none !important; color: var(--pen) !important; font-family: "Noto Naskh Arabic", serif;
}
/* one pen line per field: the input inside the field drops its own underline, the icon sits on the line */
.krd-classic-body .app-picker-field .app-picker-input { border: 0 !important; background: transparent !important; padding-inline: 2px; }
.krd-classic-body .app-picker-field { padding-inline-end: 0; min-height: 44px; }
.krd-classic-body .app-picker-btn { background: transparent !important; border: 0 !important; box-shadow: none !important; color: var(--ink-2); }
.krd-classic-body .app-select-trigger { padding-inline: 2px; min-height: 44px; }
.krd-classic-body .app-select-caret { color: var(--ink-2); }
/* the sheet that opens is a slip of the same paper */
.krd-classic .app-select-menu { background: #fcf7e8 !important; color: #2b2117; }
.krd-classic .app-select-menu .app-sheet-link { color: var(--pen); }
.krd-classic .app-date-title b, .krd-classic .app-time-mer, .krd-classic .app-time-ampm button { font-family: "Noto Naskh Arabic", "Vazirmatn", serif; }
@media (min-width: 992px) { .krd-classic .app-select-menu { border: 1.5px solid #2b2117; border-radius: 6px !important; } }
/* The book's 3D stage (perspective + z-index) is a containing block and a stacking context, so a
   position:fixed sheet inside a page would be pinned to the PAGE, under the desk buttons. While a
   sheet or dialog is open the still page drops both, and the sheet covers the whole screen. */
.krd-stage:has(.app-select.is-open, .cw-sheet:not([hidden]), .kw-modal:not([hidden])) { perspective: none; z-index: 1090; }
/* form buttons: save is the full-width seal, cancel and delete are ink words under it */
.krd-classic-body .app-form-actions .btn-primary { flex: 1 0 100%; }
.krd-classic-body .app-form-actions .btn-outline-secondary,
.krd-classic-body .app-form-actions .btn-outline-danger { border: 0; background: transparent; min-height: 44px; padding-inline: 6px; }
.krd-classic-body .app-form-actions .btn-outline-secondary { color: var(--ink-2); }
.krd-classic-body .form-switch { display: flex; align-items: center; gap: 10px; }
.krd-classic-body .form-switch .form-check-input { flex: none; float: none; margin: 0; }
/* modern-only chrome that some pages carry */
.krd-classic-body .mobile-tabbar, .krd-classic-body .page-header { display: none !important; }

/* ---------------- settings: the mode switch ---------------- */
.krd-seg-mode { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; background: #f1e9d8; padding: 5px; border-radius: 14px; }
.krd-seg-mode a { display: grid; place-items: center; min-height: 42px; border-radius: 10px; color: #7a6a52; font-weight: 700; text-decoration: none; }
.krd-seg-mode a[aria-pressed="true"] { background: #43301f; color: #fbf4e4; }
.krd-classic-body .krd-seg-mode { background: transparent; padding: 0; gap: 18px; display: flex; }
.krd-classic-body .krd-seg-mode a { min-height: 36px; padding: 0 10px; color: var(--ink); font: 600 16px "Noto Naskh Arabic", serif; border-radius: 50%; }
.krd-classic-body .krd-seg-mode a[aria-pressed="true"] { background: transparent; color: var(--pen); box-shadow: inset 0 0 0 1.5px var(--pen); }
.krd-link-card { text-decoration: none; color: inherit; }

/* ---------------- first-login chooser ---------------- */
.krd-bare { min-height: 100dvh; background: #f4eedd; }
.krd-choose {
    max-width: 440px; margin: 0 auto; min-height: 100dvh; box-sizing: border-box; display: flex; flex-direction: column; gap: 16px;
    padding: calc(env(safe-area-inset-top, 0px) + 40px) 20px calc(env(safe-area-inset-bottom, 0px) + 24px); color: #3b2c1c;
}
.krd-choose-head { text-align: center; }
.krd-choose-brand { font: 700 46px/1 "Scheherazade New", serif; color: #43301f; }
.krd-choose-head h1 { font-size: 21px; font-weight: 800; margin: 12px 0 2px; }
.krd-choose-head p { color: #7a6a52; margin: 0; }
.krd-choose-card {
    display: flex; flex-direction: column; gap: 12px; padding: 12px; border-radius: 20px; background: #fffdf6; cursor: pointer;
    border: 2px solid #eadfc8; position: relative; transition: border-color .2s, box-shadow .2s;
}
.krd-choose-card:has(input:checked) { border-color: #c9a24b; box-shadow: 0 8px 22px rgba(201, 162, 75, .28); }
.krd-choose-card input { position: absolute; top: 18px; inset-inline-start: 18px; width: 22px; height: 22px; accent-color: #c9a24b; z-index: 2; }
.krd-choose-card:focus-within { outline: 3px solid #c9a24b; outline-offset: 2px; }
.krd-choose-text { display: flex; flex-direction: column; }
.krd-choose-text strong { font-size: 18px; }
.krd-choose-text small { color: #7a6a52; line-height: 1.7; }
.krd-choose-art { height: 140px; border-radius: 14px; position: relative; overflow: hidden; display: block; }
.krd-art-classic { background: #2a1e14; }
.krd-art-page {
    position: absolute; top: 18px; bottom: -8px; inset-inline: 26px; background: #f7efd8; border-radius: 3px 10px 0 0; transform: rotate(-2deg);
    box-shadow: 0 6px 18px rgba(0, 0, 0, .45); display: block;
    background-image: repeating-linear-gradient(to bottom, transparent 0 21px, #c3d0de 21px 22px); background-position: 0 30px;
}
.krd-art-page b { position: absolute; top: 6px; inset-inline-start: 14px; font: 700 30px "Scheherazade New", serif; color: #a8352a; }
.krd-art-page i { position: absolute; inset-inline-start: 48px; height: 3px; width: 46%; background: #2a3f8f; opacity: .55; border-radius: 2px; }
.krd-art-page i:nth-of-type(1) { top: 46px; } .krd-art-page i:nth-of-type(2) { top: 68px; width: 36%; } .krd-art-page i:nth-of-type(3) { top: 90px; width: 42%; }
.krd-art-page em { position: absolute; top: 60px; inset-inline-end: 22px; width: 44px; height: 50px; background: #fff; border: 4px solid #fff; border-bottom-width: 12px; transform: rotate(7deg); box-shadow: 0 2px 5px rgba(0, 0, 0, .3); background-image: linear-gradient(160deg, #9bb3c7, #6f8a5d); }
.krd-art-ribbon { position: absolute; top: 0; inset-inline-end: 64px; width: 12px; height: 40px; background: #a8352a; clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 78%, 0 100%); }
.krd-art-modern { background: #efe6d0; padding: 14px; box-sizing: border-box; display: flex; flex-direction: column; gap: 8px; }
.krd-art-hero { height: 44px; border-radius: 12px; background: linear-gradient(135deg, #63462f, #382515); display: block; }
.krd-art-cards { display: flex; gap: 8px; }
.krd-art-cards i { flex: 1; height: 36px; border-radius: 10px; background: #fffdf6; display: block; }
.krd-art-bar { position: absolute; bottom: 0; inset-inline: 0; height: 30px; background: #fffdf6; display: flex; justify-content: center; }
.krd-art-bar i { width: 30px; height: 30px; border-radius: 50%; background: #c9a24b; margin-top: -12px; border: 3px solid #efe6d0; display: block; }
.krd-choose-note { margin: auto 0 0; text-align: center; color: #8a7a62; font-size: 12.5px; }
.krd-choose-go { min-height: 54px; border: 0; border-radius: 14px; background: #43301f; color: #fbf4e4; font: 800 17px Vazirmatn, sans-serif; cursor: pointer; }

/* modern header gear (Settings moved off the bottom bar for the Games tab) */
.azhi-gear { display: inline-grid; place-items: center; width: 40px; height: 40px; color: #43301f; font-size: 19px; }

@media (prefers-reduced-motion: reduce) {
    .krd-vol, .krd-flag, .krd-choose-card { transition: none; }
}

.krd-classic-body .krd-notify-off { background: transparent; border: 1.5px dashed var(--red); border-radius: 3px 7px 4px 8px; color: var(--red); font-family: "Noto Naskh Arabic", "Vazirmatn", serif; }
.krd-classic-body .krd-notify-off > i { color: var(--red); }
.krd-classic-body .krd-notify-off .app-sheet-link { background: transparent; color: #2a3f8f; border: 1.5px solid #2a3f8f; border-radius: 3px 7px 4px 8px; }
