/* read-it.css (website idea 7, 17 Nov 2026; credit line added in idea07_read_it_yourself_a): read-it-yourself.html. Colours for both themes; focus rings and frames
   are forced over assets/cinematic.css, which sets a pale ring on every focused element. */
.rix-main .rix-lead, .rix-main .rix-intro { max-width: 46rem; margin: 0 0 0.9rem; font-size: 1.06rem; line-height: 1.55; }
.rix-from { margin: 1.1rem 0 0.3rem; font-size: 0.9rem; color: #5a4f41; }
.rix-quote { margin: 0 0 0.6rem; padding: 0.7rem 1rem; border-left: 4px solid #8a6420; background: #fffdf7; border-radius: 0 6px 6px 0; max-width: 52rem; }
.rix-quote p { margin: 0; font-size: 0.98rem; line-height: 1.55; }
.rix-nojs { padding: 0.6rem 0.9rem; border: 1px solid #8a7645; border-radius: 6px; background: #fffdf7; max-width: 46rem; }
.rix-list ul { list-style: none; margin: 0 0 1.4rem; padding: 0; display: flex; flex-wrap: wrap; gap: 0.45rem 0.6rem; }
.rix-list a { display: block; padding: 0.3rem 0.8rem; border: 1px solid #8a7645; border-radius: 999px; background: #fffdf7; font-size: 0.92rem; font-weight: 600; text-decoration: none; color: #1c2a3f; }
.rix-main .rix-list a { color: #1c2a3f; }
.rix-list a:hover { background: #f3ead6; }

.rix-rec { margin: 0 0 2.2rem; padding: 1.1rem 1.2rem 1.2rem; border: 1px solid #d8c9a3; border-radius: 10px; background: #fffdf7; scroll-margin-top: calc(var(--stx-navh, 0px) + 4rem); }
.rix-rec > h3 { margin: 0 0 0.35rem; font-size: 1.28rem; line-height: 1.25; color: #1c2a3f; }
.rix-rec .rix-lead { font-size: 0.98rem; margin-bottom: 0.9rem; max-width: none; }
.rix-main a.rix-c { font-family: system-ui, -apple-system, "Segoe UI", sans-serif; font-size: 0.82em; text-decoration: none; color: #24497a; white-space: nowrap; }

/* the picture: a sheet that scrolls sideways when the screen is narrow */
.rix-scan { overflow-x: auto; overflow-y: hidden; margin: 0 0 0.5rem; border: 1px solid #8a7645; border-radius: 6px; background: #d9d6cf; -webkit-overflow-scrolling: touch; }
.rix-sheet { min-width: 58rem; padding: 0.35rem 0.5rem 0.6rem; box-sizing: border-box; }
.rix-pic { margin: 0; position: relative; overflow: hidden; overflow: clip; }
.rix-pic + .rix-pic { margin-top: 0.3rem; }
.rix-tag { display: block; position: relative; z-index: 3; margin: 0; padding: 0.3rem 0 0.25rem; background: #d9d6cf; font-family: system-ui, -apple-system, "Segoe UI", sans-serif; font-size: 0.7rem; line-height: 1rem; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 700; color: #3d3528; }
/* the words of a tag stay in view while the sheet is moved sideways */
.rix-tag > span { display: inline-block; position: sticky; left: 0.5rem; }
.rix-img { display: block; position: relative; line-height: 0; }
.rix-img img { display: block; width: 100%; height: auto; border: 0; border-radius: 0; box-shadow: none; margin: 0; max-width: none; }
/* under a picture with frames: a strip for the number of the chosen field */
.rix-pic.rix-framed { padding-bottom: 1.6rem; }
.rix-pic.rix-framed::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.6rem; background: #d9d6cf; z-index: 3; }
.rix-num { position: absolute; bottom: 0.15rem; z-index: 4; min-width: 1.3rem; height: 1.3rem; padding: 0 0.3rem; box-sizing: border-box; border-radius: 999px; background: #8f2f12; color: #fff; font: 700 0.8rem/1.3rem system-ui, -apple-system, "Segoe UI", sans-serif; text-align: center; }
.rix-frame { position: absolute; box-sizing: border-box; border: 0 solid transparent; cursor: pointer; border-radius: 3px; }
.rix-scan:hover .rix-frame { outline: 1px dashed rgba(143, 47, 18, 0.6); outline-offset: -1px; }
.rix-scan .rix-frame.rix-on { border: 3px solid #8f2f12; box-shadow: 0 0 0 2px #fffdf7, 0 0 0 9999px rgba(20, 20, 20, 0.3); outline: 0; }

/* the credit under the pictures of an entry (idea07_read_it_yourself_a) */
.rix-credit { margin: 0 0 0.7rem; font-family: system-ui, -apple-system, "Segoe UI", sans-serif; font-size: 0.8rem; line-height: 1.45; color: #4a4033; max-width: 56rem; overflow-wrap: anywhere; }
.rix-hint { margin: 0 0 0.6rem; font-size: 0.9rem; color: #5a4f41; }
.rix-now { display: flex; flex-wrap: wrap; gap: 0.5rem 0.9rem; align-items: center; margin: 0 0 0.8rem; padding: 0.6rem 0.8rem; border: 1px solid #8a7645; border-left: 4px solid #8f2f12; border-radius: 6px; background: #fbf7ee; }
.rix-now[hidden], .rix-now [hidden], .rix-hint[hidden] { display: none; }
.rix-now .rix-nowtext { flex: 1 1 18rem; min-width: 0; }
.rix-now .rix-pos { display: block; font-family: system-ui, -apple-system, "Segoe UI", sans-serif; font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 700; color: #5a4f41; }
.rix-now .rix-nw { display: block; font-size: 1.12rem; line-height: 1.4; font-style: italic; }
.rix-now .rix-ne { display: block; font-size: 1rem; line-height: 1.4; }
.rix-now .rix-np { display: block; font-size: 0.86rem; color: #5a4f41; }
.rix-step { all: unset; box-sizing: border-box; cursor: pointer; padding: 0.3rem 0.85rem; border: 1px solid #8a7645; border-radius: 999px; background: #fffdf7; color: #1c2a3f; font: 600 0.9rem/1.3 "Source Serif 4", Georgia, serif; }
.rix-step:hover { background: #f3ead6; }
.rix-step:disabled { opacity: 0.5; cursor: default; background: transparent; }

.rix-fields { list-style: none; margin: 0 0 0.8rem; padding: 0; border-top: 1px solid #d8c9a3; }
.rix-fields > li { display: grid; grid-template-columns: 13rem minmax(0, 1fr) minmax(0, 1fr); gap: 0.2rem 1rem; align-items: start; padding: 0.5rem 0.3rem; border-bottom: 1px solid #d8c9a3; }
.rix-fields > li.rix-sel { background: #f6ecd6; box-shadow: inset 4px 0 0 #8f2f12; }
.rix-pick { all: unset; box-sizing: border-box; cursor: pointer; display: flex; gap: 0.5rem; align-items: baseline; padding: 0.15rem 0.3rem 0.15rem 0.4rem; border-radius: 6px; color: #1c2a3f; font: 700 0.98rem/1.35 "Source Serif 4", Georgia, serif; }
.rix-pick b { flex: none; min-width: 1.35rem; height: 1.35rem; padding: 0 0.3rem; box-sizing: border-box; border-radius: 999px; border: 1px solid #1c2a3f; font: 700 0.8rem/1.25rem system-ui, -apple-system, "Segoe UI", sans-serif; text-align: center; }
.rix-pick span { text-decoration: underline; text-decoration-color: #8a7645; text-underline-offset: 0.18em; }
.rix-pick[aria-pressed="true"] b { background: #8f2f12; border-color: #8f2f12; color: #fff; }
/* until the script of the page has started, nothing can be chosen */
html:not([data-read-it]) .rix-hint { display: none; }
html:not([data-read-it]) .rix-pick { cursor: default; }
html:not([data-read-it]) .rix-pick span { text-decoration: none; }
html:not([data-read-it]) .rix-frame { display: none; }
.rix-w, .rix-e { min-width: 0; font-size: 1rem; line-height: 1.45; overflow-wrap: anywhere; }
.rix-w > span[lang="de"] { font-style: italic; }
.rix-w > span[lang="de"] span[lang="en"] { font-style: normal; }
.rix-k { display: block; font-family: system-ui, -apple-system, "Segoe UI", sans-serif; font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 700; color: #5a4f41; font-style: normal; }
.rix-src, .rix-note, .rix-expl, .rix-whole { margin: 0.45rem 0 0; font-size: 0.92rem; line-height: 1.5; color: #3d3528; max-width: 56rem; }
.rix-expl { padding: 0.6rem 0.9rem; border-left: 4px solid #8a6420; background: #fbf7ee; border-radius: 0 6px 6px 0; font-size: 0.98rem; }

body .rix-main a:focus-visible, body .rix-main button:focus-visible, body .rix-main .rix-scan:focus-visible { outline: 2px solid #8a4a12 !important; outline-offset: 2px !important; box-shadow: none !important; }
body .rix-main .stx-hero a:focus-visible, body .rix-main .stx-pills a:focus-visible { outline-color: #d8b366 !important; }

@media (max-width: 760px) {
  .rix-rec { padding: 0.9rem 0.8rem 1rem; }
  .rix-fields > li { grid-template-columns: minmax(0, 1fr); }
  .rix-sheet { min-width: 54rem; }
}
@media print { .rix-now, .rix-hint, .rix-frame, .rix-num { display: none; } .rix-sheet { min-width: 0; } .rix-pic.rix-framed { padding-bottom: 0; } .rix-pic.rix-framed::after { display: none; } }

html.theme-dark .rix-from, html.theme-dark .rix-hint, html.theme-dark .rix-now .rix-pos, html.theme-dark .rix-now .rix-np, html.theme-dark .rix-k { color: #cfc4a8; }
html.theme-dark .rix-quote, html.theme-dark .rix-nojs, html.theme-dark .rix-rec, html.theme-dark .rix-expl, html.theme-dark .rix-now { background: #1c2a3f; border-color: #8494b0; color: #e9dfc8; }
html.theme-dark .rix-quote, html.theme-dark .rix-expl { border-left-color: #d8b366; }
html.theme-dark .rix-now { border-left-color: #e08a66; }
html.theme-dark .rix-rec > h3, html.theme-dark .rix-pick { color: #f1ead7; }
html.theme-dark .rix-pick b { border-color: #f1ead7; }
html.theme-dark .rix-pick[aria-pressed="true"] b { background: #e08a66; border-color: #e08a66; color: #131d2b; }
html.theme-dark .rix-main .rix-list a, html.theme-dark .rix-list a { background: #1c2a3f; border-color: #8494b0; color: #f1ead7; }
html.theme-dark .rix-list a:hover, html.theme-dark .rix-step:hover { background: #26384f; }
html.theme-dark .rix-step { background: #1c2a3f; border-color: #8494b0; color: #f1ead7; }
html.theme-dark .rix-fields, html.theme-dark .rix-fields > li { border-color: #46566f; }
html.theme-dark .rix-fields > li.rix-sel { background: #26384f; box-shadow: inset 4px 0 0 #e08a66; }
html.theme-dark .rix-src, html.theme-dark .rix-note, html.theme-dark .rix-whole, html.theme-dark .rix-credit { color: #dcd2b8; }
html.theme-dark .rix-main a.rix-c { color: #a9c4ea; }
html.theme-dark .rix-scan { border-color: #8494b0; }
html.theme-dark body .rix-main a:focus-visible, html.theme-dark body .rix-main button:focus-visible, html.theme-dark body .rix-main .rix-scan:focus-visible { outline-color: #d8b366 !important; }
