:root {
  --r26-primary: #ac0b0b;
  --r26-primary-deep: #910808;
  --r26-action: #b70c0c;
  --r26-gold: #ffb545;
  --r26-gold-soft: #ffb435;
  --r26-gold-deep: #f09a06;
  --r26-cap-from: #fdc668;
  --r26-cap-to: #ffb941;
  --r26-ink: #1e1e1e;
  --r26-black: #212123;
  --r26-paper: #fdfeff;
  --r26-canvas: #d7d8da;
  --r26-muted: #747782;
  --r26-line: #dddee0;
  --r26-footer-line: #404244;
  --r26-foot-muted: #9799a2;
  --r26-dark-bg: #151517;
  --r26-dark-panel: #272729;
  --r26-radius: 8px;
  --r26radius-lg: 12px;
}

/* ---------- theme tokens (client-side mode, persisted per template) ---------- */
html[data-r26-theme="light"] {
  --r26-page: var(--r26-canvas);
  --r26-surface: var(--r26-paper);
  --r26-surface-2: #f7f8fa;
  --r26-text: var(--r26-ink);
  --r26-heading: var(--r26-black);
  --r26-mutedtext: var(--r26-muted);
  --r26-border: var(--r26-line);
  --r26-navbg: var(--r26-primary);
  --r26-stripbg: var(--r26-primary-deep);
  --r26-footerbg: var(--r26-black);
  --r26-footertext: var(--r26-paper);
  --r26-chipbg: #feedd5;
  --r26-chiptext: var(--r26-primary);
  --r26-thbg: #f2f2f2;
  --r26-cardshadow: 0 4px 10px 0 rgba(79, 91, 122, .1);
  --r26-herotint: linear-gradient(97.48deg, #9f0e10, #cd0305 105.24%);
}
html[data-r26-theme="dark"] {
  --r26-page: var(--r26-dark-bg);
  --r26-surface: var(--r26-dark-panel);
  --r26-surface-2: #1d1d1f;
  --r26-text: #e8e9eb;
  --r26-heading: #ffffff;
  --r26-mutedtext: #a8a8a8;
  --r26-border: #3c3c40;
  --r26-navbg: var(--r26-primary-deep);
  --r26-stripbg: #7c0606;
  --r26-footerbg: #131315;
  --r26-footertext: #d7d8da;
  --r26-chipbg: rgba(255, 181, 69, .14);
  --r26-chiptext: var(--r26-gold);
  --r26-thbg: #303034;
  --r26-cardshadow: 0 4px 14px 0 rgba(0, 0, 0, .45);
  --r26-herotint: linear-gradient(97.48deg, #6e0505, #a30e0e 105.24%);
}

html { -webkit-text-size-adjust: 100%; }
body.r26 {
  margin: 0;
  background: var(--r26-page);
  color: var(--r26-text);
  font-family: "Bai Jamjuree", "Segoe UI", sans-serif;
  font-size: 14px;
  line-height: 1.5;
  padding-bottom: 84px;
}
.r26 a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); }
.r26 img { max-width: 100%; }
.r26-wrap { margin: 0 auto; padding: 0 15px; width: 100%; max-width: 1140px; }
.r26-skip {inset-inline-start: -9999px;     position: absolute;}
.r26-skip:focus {inset-inline-start: 8px;  background: var(--r26-gold); color: #1e1e1e;  padding: 8px 14px; position: fixed; top: 8px; z-index: 3000; border-radius: 8px;}

/* ---------- buttons ---------- */
.r26-btn {
  align-items: center; border: 1px solid transparent; border-radius: 8px;
  cursor: pointer; display: inline-flex; font-size: 14px; font-weight: 700;
  gap: 8px; justify-content: center; line-height: 20px; padding: 8px 18px;
  transition: all .15s ease-out 30ms; white-space: nowrap;
}
.r26-btn-gold { background: linear-gradient(180deg, #ffd75e, #ffc104); color: #7c0606; }
.r26-btn-gold:hover { filter: brightness(1.06); }
.r26-btn-red { background: var(--r26-action); color: #fff; }
.r26-btn-red:hover { filter: brightness(1.1); }
.r26-btn-ghost { background: transparent; border-color: var(--r26-paper); color: var(--r26-paper); }
.r26-btn-ghost:hover { background: rgba(255, 255, 255, .12); }
.r26-btn-sm { font-size: 12px; padding: 6px 12px; }

/* ---------- header (sticky brand red + gold hover underline) ---------- */
.r26-header { background: var(--r26-navbg); box-shadow: 0 2px 6px rgba(0, 0, 0, .25); position: sticky; top: 0; z-index: 1000; color: var(--r26-paper); }
.r26-header-in { display: flex; align-items: center; gap: 18px; height: 64px; }
.r26-logo { align-items: center; display: inline-flex; gap: 10px; min-width: 120px; }
.r26-logo-badge {
  align-items: center; background: linear-gradient(180deg, #ffd75e, #ffc104);
  border-radius: 10px; color: #7c0606; display: inline-flex; font-size: 18px;
  height: 38px; justify-content: center; width: 38px;
}
.r26-logo-word b { color: #fff; font-size: 21px; font-weight: 700; letter-spacing: .4px; line-height: 1.1; }
.r26-logo-word b em { color: var(--r26-gold); font-style: normal; }
.r26-logo-word span { color: rgba(255, 255, 255, .78); display: block; font-size: 10px; font-weight: 600; letter-spacing: 1.6px; text-transform: uppercase; }
.r26-nav { display: flex; flex-grow: 1; gap: 24px; height: 100%; margin-left: 24px; }
.r26-nav a {
  align-items: center; border-top: 2px solid transparent; display: inline-flex;
  font-size: 15px; font-weight: 600; height: 100%; white-space: nowrap;
}
.r26-nav a:hover, .r26-nav a.active { border-top-color: var(--r26-gold); color: var(--r26-gold); }
.r26-headcta { display: flex; gap: 9px; margin-left: auto; }

 
.r26-mode {
  align-items: center; background: rgba(0, 0, 0, .28); border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 90px; color: #fff; cursor: pointer; display: inline-flex;
  height: 36px; justify-content: center; padding: 0 12px; gap: 7px; font-weight: 600; font-size: 12px;
}
.r26-mode:hover { filter: brightness(1.15); }
.r26-mode .r26-ico-sun { display: none; }
html[data-r26-theme="dark"] .r26-mode .r26-ico-sun { display: inline-flex; }
html[data-r26-theme="dark"] .r26-mode .r26-ico-moon { display: none; }

 
.r26-strip { background: var(--r26-stripbg); }
.r26-strip-in { display: flex; gap: 20px; overflow-x: auto; padding: 10px 15px; scrollbar-width: none; }
.r26-strip-in::-webkit-scrollbar { display: none; }
.r26-strip a { align-items: center; color: #fff; display: inline-flex; flex: 0 0 auto; font-size: 13px; font-weight: 600; gap: 8px; opacity: .92; }
.r26-strip a:hover, .r26-strip a.active { color: var(--r26-gold); opacity: 1; }
.r26-strip i {
  align-items: center; background: linear-gradient(117deg, rgba(255, 191, 66, .12) -.12%, rgba(255, 231, 12, .12) 99.54%), hsla(0, 0%, 95%, .2);
  border-radius: 50%; box-shadow: inset 0 1.6px 6.5px 0 hsla(0, 0%, 100%, .4);
  display: inline-flex; font-size: 15px; height: 42px; justify-content: center; min-width: 42px; width: 42px;
}
.r26-strip a.active i { background: linear-gradient(180deg, #ffd75e, #ffc104); color: #7c0606; box-shadow: inset 0 1.6px 6.5px 0 hsla(0, 0%, 100%, .5); }

/* ---------- section scaffolding ---------- */
.r26-main { padding: 18px 0 34px; }
.r26-sec { margin-bottom: 26px; }
.r26-sechead { align-items: center; display: flex; justify-content: space-between; margin-bottom: 16px; }
.r26-sechead h2 { color: var(--r26-heading); font-size: 22px; font-weight: 700; line-height: 28px; margin: 0; }
.r26-more { align-items: center; color: var(--r26-primary); display: inline-flex; font-size: 15px; font-weight: 600; gap: 6px; }
.r26-more:hover { opacity: .75; }
html[data-r26-theme="dark"] .r26-more { color: var(--r26-gold); }

 
.r26-hero {
  background: var(--r26-herotint); border-radius: var(--r26radius-lg); color: #fff;
  margin-top: 16px; overflow: hidden; position: relative;
}
.r26-hero::after {
  background: linear-gradient(270deg, rgba(239, 154, 38, .85), rgba(239, 154, 38, 0));
  content: ""; height: 100%; pointer-events: none; position: absolute; right: 0; top: 0; width: 30%;
}
.r26-hero-in { display: grid; gap: 18px; grid-template-columns: 1fr; padding: 26px 24px; position: relative; z-index: 1; }
.r26-kicker { color: var(--r26-gold); font-size: 12px; font-weight: 700; letter-spacing: 2.2px; margin: 0 0 8px; text-transform: uppercase; }
.r26-hero h1 { font-size: 30px; font-weight: 700; line-height: 1.22; margin: 0 0 10px; }
.r26-hero h1 .r26-hl { color: var(--r26-gold); }
.r26-lead { color: rgba(255, 255, 255, .88); font-size: 15px; line-height: 22px; margin: 0 0 14px; max-width: 640px; }
.r26-heroticks { color: rgba(255, 255, 255, .85); display: flex; flex-wrap: wrap; font-size: 12.5px; gap: 8px 18px; list-style: none; margin: 0 0 18px; padding: 0; }
.r26-heroticks li { align-items: center; display: inline-flex; gap: 7px; }
.r26-heroticks i { color: var(--r26-gold); }
.r26-herocta { display: flex; flex-wrap: wrap; gap: 10px; }

/* live ticker strip */
.r26-ticker {
  align-items: center; background: rgba(0, 0, 0, .3); border: 1px solid rgba(255, 181, 69, .4);
  border-radius: 90px; display: flex; font-size: 12.5px; gap: 10px; margin-top: 14px;
  padding: 7px 14px; position: relative; z-index: 1;
}
.r26-tick-label { align-items: center; background: var(--r26-gold); border-radius: 90px; color: #7c0606; display: inline-flex; font-weight: 700; gap: 5px; padding: 3px 10px; }
.r26-tick-msg b { color: var(--r26-gold); }

 
.r26-hotrow { display: grid; gap: 12px; grid-auto-flow: column; grid-auto-columns: 164px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; }
.r26-hot {
  background: var(--r26-surface); border-radius: var(--r26radius); box-shadow: var(--r26-cardshadow);
  display: flex; flex-direction: column; overflow: hidden; position: relative; transition: transform .18s ease;
}
.r26-hot:hover { transform: translateY(-3px); }
.r26-hot-img { align-items: center; background: linear-gradient(180deg, var(--r26-cap-from), var(--r26-cap-to)); display: flex; height: 96px; justify-content: center; position: relative; }
.r26-hot-img img { border-radius: 12px; box-shadow: 0 2px 8px rgba(0,0,0,.25); height: 56px; object-fit: contain; width: 56px; }
.r26-hot-cap {
  background: linear-gradient(180deg, var(--r26-cap-from), var(--r26-cap-to));
  border-radius: 0 var(--r26radius) 0 16px; color: var(--r26-primary-deep);
  font-size: 11.5px; font-weight: 600; line-height: 16px; padding: 4px 9px;
  position: absolute; right: 0; top: 0;
}
.r26-hot-hover {
  align-items: center; background: rgba(0, 0, 0, .7); border-radius: var(--r26radius);
  bottom: 0; display: flex; justify-content: center; left: 0; opacity: 0; position: absolute;
  right: 0; top: 0; transition: opacity .25s ease;
}
.r26-hot:hover .r26-hot-hover { opacity: 1; }
.r26-hot-cta { background: var(--r26-action); border-radius: 20px; color: #fff; display: inline-block; font-size: 13px; font-weight: 700; padding: 6px 18px; }
.r26-hot-cta:hover { background: #fff; color: var(--r26-action); }
.r26-hot-meta { display: flex; justify-content: space-between; padding: 9px 10px 10px; }
.r26-hot-name { color: var(--r26-heading); display: block; font-size: 13px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.r26-hot-meta small { color: var(--r26-mutedtext); font-size: 11.5px; }
.r26-hot-meta small.r26-goldtext { color: var(--r26-gold-deep); font-weight: 700; }
html[data-r26-theme="dark"] .r26-hot-meta small.r26-goldtext { color: var(--r26-gold); }

/* ---------- app grid cards ---------- */
.r26-grid { display: grid; gap: 14px; grid-template-columns: repeat(3, 1fr); }
.r26-card {
  background: var(--r26-surface); border: 1px solid var(--r26-border); border-radius: var(--r26radius);
  box-shadow: var(--r26-cardshadow); display: flex; flex-direction: column; overflow: hidden; transition: transform .18s ease;
}
.r26-card:hover { transform: translateY(-3px); }
.r26-card-top { align-items: center; display: flex; gap: 12px; padding: 13px 14px 0; }
.r26-card-ico {
  background: linear-gradient(180deg, var(--r26-cap-from), var(--r26-cap-to));
  border-radius: 12px; display: inline-flex; flex: 0 0 58px; height: 58px; overflow: hidden; width: 58px;
}
.r26-card-ico img { height: 100%; object-fit: contain; width: 100%; }
.r26-card-name { color: var(--r26-heading); font-size: 14.5px; font-weight: 700; line-height: 20px; margin: 0 0 4px; }
.r26-card-meta { display: flex; flex-wrap: wrap; gap: 8px; padding: 10px 14px; }
.r26-pill { background: var(--r26-surface-2); border: 1px solid var(--r26-border); border-radius: 20px; color: var(--r26-mutedtext); font-size: 11.5px; font-weight: 600; padding: 3px 11px; }
.r26-pill-gold { background: var(--r26-chipbg); border-color: transparent; color: var(--r26-chiptext); }
.r26-card-foot { border-top: 1px solid var(--r26-border); margin-top: auto; padding: 12px 14px; }
.r26-card-foot .r26-btn { width: 100%; }

 
.r26-bento { display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); }
.r26-tile {
  background: var(--r26-surface); border-radius: var(--r26radius); color: #fff; display: flex;
  flex-direction: column; justify-content: flex-end; min-height: 116px; overflow: hidden; padding: 14px;
  position: relative;
}
.r26-tile-wide { grid-column: 1 / -1; min-height: 132px; }
.r26-tile::before {
  background: linear-gradient(97.48deg, rgba(172, 11, 11, .94), rgba(205, 3, 5, .88) 105.24%);
  content: ""; inset: 0; position: absolute; z-index: 0;
}
.r26-tile-alt::before { background: linear-gradient(97.48deg, #232326, #3a3a3f 105.24%); }
.r26-tile i { color: var(--r26-gold); font-size: 20px; margin-bottom: auto; position: relative; z-index: 1; }
.r26-tile b { font-size: 16px; position: relative; z-index: 1; }
.r26-tile small { color: rgba(255, 255, 255, .75); font-size: 12px; position: relative; z-index: 1; }
.r26-tile .r26-tile-cta {
  align-items: center; background: rgba(0, 0, 0, .35); border-radius: 16px; color: var(--r26-gold);
  display: inline-flex; font-size: 11.5px; font-weight: 700; gap: 6px; margin-top: 8px;
  padding: 4px 12px; position: relative; z-index: 1; width: fit-content;
}
.r26-tile:hover .r26-tile-cta { background: var(--r26-gold); color: #7c0606; }

/* ---------- two-column frame ---------- */
.r26-frame { display: grid; gap: 22px; grid-template-columns: minmax(0, 1fr) 300px; }
.r26-side { display: flex; flex-direction: column; gap: 16px; }

/* ---------- sidebar cards ---------- */
.r26-sbcard { background: var(--r26-surface); border: 1px solid var(--r26-border); border-radius: var(--r26radius-lg); box-shadow: var(--r26-cardshadow); padding: 16px; }
.r26-sbtitle { align-items: center; color: var(--r26-heading); display: flex; font-size: 16px; font-weight: 700; gap: 8px; margin: 0 0 14px; }
.r26-sbtitle i { color: var(--r26-primary); }
html[data-r26-theme="dark"] .r26-sbtitle i { color: var(--r26-gold); }
.r26-search { display: flex; }
.r26-search input {
  background: var(--r26-surface-2); border: 1px solid var(--r26-border); border-radius: var(--r26radius) 0 0 var(--r26radius);
  color: var(--r26-text); flex: 1; font: inherit; min-width: 0; padding: 9px 12px;
}
.r26-search input:focus { border-color: var(--r26-gold); outline: none; }
.r26-search button {
  background: var(--r26-primary); border: none; border-radius: 0 var(--r26radius) var(--r26radius) 0;
  color: #fff; padding: 0 14px;
}

.r26-socrow {
  align-items: center; background: var(--r26-surface-2); border: 1px solid var(--r26-border);
  border-radius: var(--r26radius); color: var(--r26-text); display: flex; font-size: 13px; font-weight: 600;
  gap: 10px; padding: 9px 12px; transition: all .15s ease;
}
.r26-socrow i { color: var(--r26-primary); font-size: 15px; width: 18px; text-align: center; }
html[data-r26-theme="dark"] .r26-socrow i { color: var(--r26-gold); }
.r26-socrow:hover { border-color: var(--r26-gold); }

/* top-winner style ranked list (gold cap pills + table rhythm) */
.r26-rank { display: flex; flex-direction: column; }
.r26-rankrow {
  align-items: center; border-bottom: 1px solid var(--r26-border); color: var(--r26-text);
  display: flex; gap: 10px; padding: 9px 2px;
}
.r26-rankrow:last-child { border-bottom: none; }
.r26-rankrow:hover { background: var(--r26-surface-2); }
.r26-ranknum {
  align-items: center; background: linear-gradient(180deg, var(--r26-cap-from), var(--r26-cap-to));
  border-radius: 8px; color: var(--r26-primary-deep); display: inline-flex; flex: 0 0 26px;
  font-size: 12px; font-weight: 700; height: 26px; justify-content: center; width: 26px;
}
.r26-rankrow img { background: var(--r26-surface-2); border-radius: 8px; flex: 0 0 40px; height: 40px; object-fit: contain; width: 40px; }
.r26-rankmeta { min-width: 0; }
.r26-rankmeta b { color: var(--r26-heading); display: block; font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.r26-rankmeta small { color: var(--r26-mutedtext); font-size: 11.5px; }

/* ---------- filter bar (category view) ---------- */
.r26-filterbar { align-items: center; background: var(--r26-surface); border: 1px solid var(--r26-border); border-radius: var(--r26radius-lg); display: flex; justify-content: space-between; margin-bottom: 18px; padding: 14px 18px; }
.r26-filterbar h2 { color: var(--r26-heading); font-size: 20px; margin: 0; }
.r26-count { background: var(--r26-chipbg); border-radius: 20px; color: var(--r26-chiptext); font-size: 12px; font-weight: 700; padding: 4px 12px; }

/* ---------- detail page ---------- */
.r26-detail { display: grid; gap: 22px; grid-template-columns: minmax(0, 1fr) 300px; }
.r26-detail-main { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.r26-panel { background: var(--r26-surface); border: 1px solid var(--r26-border); border-radius: var(--r26radius-lg); box-shadow: var(--r26-cardshadow); padding: 20px; }
.r26-paneltitle { align-items: center; color: var(--r26-heading); display: flex; font-size: 18px; font-weight: 700; gap: 9px; margin: 0 0 16px; }
.r26-paneltitle i { color: var(--r26-primary); }
html[data-r26-theme="dark"] .r26-paneltitle i { color: var(--r26-gold); }

.r26-sumhead { display: flex; gap: 18px; }
.r26-sumico { background: linear-gradient(180deg, var(--r26-cap-from), var(--r26-cap-to)); border-radius: 14px; flex: 0 0 64px; height: 64px; overflow: hidden; }
.r26-sumico img { height: 100%; object-fit: contain; width: 100%; }
.r26-suminfo { min-width: 0; }
.r26-suminfo h1 { color: var(--r26-heading); font-size: 22px; font-weight: 700; line-height: 28px; margin: 0 0 8px; }
.r26-sumspills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.r26-sumact { display: flex; flex-direction: column; gap: 9px; justify-content: center; }
.r26-download { font-size: 15px; padding: 11px 26px; }
.r26-guidelink { align-items: center; color: var(--r26-primary); display: inline-flex; font-size: 13px; font-weight: 600; gap: 6px; }
html[data-r26-theme="dark"] .r26-guidelink { color: var(--r26-gold); }

.r26-facts { border-top: 1px solid var(--r26-border); display: grid; gap: 0; grid-template-columns: repeat(3, 1fr); margin: 18px 0 0; }
.r26-facts > div { border-bottom: 1px solid var(--r26-border); padding: 11px 6px 11px 0; }
.r26-facts dt { color: var(--r26-mutedtext); font-size: 11px; font-weight: 600; letter-spacing: .8px; text-transform: uppercase; }
.r26-facts dd { color: var(--r26-heading); font-size: 14px; font-weight: 700; margin: 3px 0 0; }

 
.r26-toc { background: var(--r26-surface); }
.r26-toc ol { counter-reset: r26toc; list-style: none; margin: 0; padding: 0; }
.r26-toc > ol > li { border-bottom: 1px dashed var(--r26-border); padding: 7px 0; }
.r26-toc > ol > li:last-child { border-bottom: none; }
.r26-toc a { align-items: baseline; color: var(--r26-text); display: flex; gap: 9px; font-size: 13.5px; font-weight: 600; }
.r26-toc a:hover { color: var(--r26-primary); }
html[data-r26-theme="dark"] .r26-toc a:hover { color: var(--r26-gold); }
.r26-toc a em {
  background: var(--r26-chipbg); border-radius: 6px; color: var(--r26-chiptext);
  font-size: 11px; font-style: normal; font-weight: 700; padding: 2px 7px;
}
.r26-toc ol ol { list-style: none; margin: 5px 0 0; padding-left: 14px; }
.r26-toc ol ol a { border-left: 2px solid var(--r26-border); font-size: 12.5px; font-weight: 400; padding-left: 10px; }

/* reader article */
.r26-reader h2 { border-left: 4px solid var(--r26-gold); color: var(--r26-heading); font-size: 18px; margin: 26px 0 10px; padding-left: 10px; }
.r26-reader h3 { color: var(--r26-heading); font-size: 15.5px; margin: 20px 0 8px; }
.r26-reader p { color: var(--r26-text); font-size: 14px; line-height: 24px; margin: 0 0 12px; }
.r26-readerlead { background: var(--r26-chipbg); border-left: 4px solid var(--r26-gold); border-radius: 0 var(--r26radius) var(--r26radius) 0; color: var(--r26-heading); font-weight: 600; padding: 12px 14px; }
.r26-reader ul, .r26-reader ol { color: var(--r26-text); font-size: 14px; line-height: 24px; margin: 0 0 12px; padding-left: 22px; }
.r26-reader li { margin-bottom: 6px; }
.r26-faq { background: var(--r26-surface-2); border: 1px solid var(--r26-border); border-radius: var(--r26radius); margin: 0 0 10px; }
.r26-faq summary { color: var(--r26-heading); cursor: pointer; font-weight: 600; padding: 10px 14px; }
.r26-faq p { color: var(--r26-text); margin: 0; padding: 0 14px 12px; }

/* discovery row */
.r26-discrow { display: grid; gap: 10px; grid-template-columns: repeat(5, 1fr); }
.r26-disc { align-items: center; background: var(--r26-surface-2); border: 1px solid var(--r26-border); border-radius: var(--r26radius); color: var(--r26-text); display: flex; flex-direction: column; font-size: 12px; font-weight: 600; gap: 7px; padding: 13px 8px; text-align: center; }
.r26-disc i { color: var(--r26-primary); font-size: 17px; }
html[data-r26-theme="dark"] .r26-disc i { color: var(--r26-gold); }
.r26-disc b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }
.r26-disc:hover { border-color: var(--r26-gold); }

/* comment form */
.r26-cform { display: grid; gap: 12px; }
.r26-cform label { color: var(--r26-heading); display: flex; flex-direction: column; font-size: 13px; font-weight: 600; gap: 6px; }
.r26-cform input, .r26-cform textarea {
  background: var(--r26-surface-2); border: 1px solid var(--r26-border); border-radius: var(--r26radius);
  color: var(--r26-text); font: inherit; padding: 10px 12px; width: 100%;
}
.r26-cform input:focus, .r26-cform textarea:focus { border-color: var(--r26-gold); outline: none; }
.r26-note { color: var(--r26-mutedtext); font-size: 12px; margin: -6px 0 10px; }
.r26-formok { background: var(--r26-chipbg); border-radius: var(--r26radius); color: var(--r26-chiptext); font-weight: 600; padding: 10px 14px; }

/* ---------- footer (brand blurb / categories / site map / contact / friend links / legal) ---------- */

















.r26-partnership { align-items: center; border-bottom: 1px solid var(--r26-footer-line); border-top: 1px solid var(--r26-footer-line); display: flex; flex-wrap: wrap; gap: 10px 26px; padding: 22px 0; }
.r26-partnership span { align-items: center; border: 1px solid var(--r26-footer-line); border-radius: 8px; color: var(--r26-foot-muted); display: inline-flex; font-size: 11px; font-weight: 700; gap: 7px; letter-spacing: 1px; padding: 7px 13px; text-transform: uppercase; }
.r26-partnership i { color: var(--r26-gold); }
.r26-copyright { align-items: center; display: flex; flex-wrap: wrap; gap: 10px 22px; justify-content: space-between; padding: 22px 0; }
.r26-mgabadge { align-items: center; border: 1px solid var(--r26-footer-line); border-radius: 8px; color: var(--r26-foot-muted); display: inline-flex; font-size: 11.5px; font-weight: 600; gap: 8px; padding: 7px 12px; }
.r26-mgabadge i { color: var(--r26-gold); }
.r26-copyr { color: var(--r26-foot-muted); font-size: 12.5px; }
.r26-age { align-items: center; color: var(--r26-foot-muted); display: inline-flex; font-size: 12px; gap: 7px; }
.r26-age i { color: var(--r26-gold); }

/* ---------- floating auth group (fixed, bottom center, per shared contract) ---------- */
.r26-fab {
  bottom: 14px; display: flex; gap: 10px; justify-content: center; left: 50%;
  position: fixed; transform: translateX(-50%); z-index: 1200;
}
.r26-fab .r26-btn { box-shadow: 0 6px 18px rgba(0, 0, 0, .4); }

 
@media (min-width: 768px) {
  .r26-hero-in { grid-template-columns: minmax(0, 1fr) 300px; align-items: center; }
  .r26-hotrow { grid-auto-columns: 184px; }
}
@media (max-width: 991px) {
  .r26-frame, .r26-detail { grid-template-columns: 1fr; }
  .r26-nav { display: none; }
  .r26-headcta { display: none; }

  .r26-grid { grid-template-columns: repeat(2, 1fr); }
  .r26-discrow { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 575px) {
  .r26-hero-in { padding: 20px 16px; }
  .r26-hero h1 { font-size: 23px; }
  .r26-grid { grid-template-columns: 1fr; }
  .r26-bento { grid-template-columns: 1fr; }
  .r26-facts { grid-template-columns: repeat(2, 1fr); }

  .r26-copyright { justify-content: flex-start; }
  .r26-sumhead { flex-wrap: wrap; }
  .r26-sechead h2 { font-size: 18px; }
  .r26-discrow { grid-template-columns: repeat(2, 1fr); }
  .r26-fab .r26-btn { font-size: 12.5px; padding: 7px 14px; }
  .r26-logo-word span { display: none; }
}


 
.r26-lang { align-items: center; background: rgba(0, 0, 0, .25); border: 1px solid rgba(255, 255, 255, .32); border-radius: 999px; display: inline-flex; flex: 0 0 auto; gap: 2px; padding: 3px; }
.r26-lang-seg { border-radius: 999px; color: #fff; display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .05em; line-height: 1; padding: 5px 11px; text-decoration: none; }
.r26-lang-seg.is-active { background: var(--r26-gold); color: var(--r26-primary-deep); }
.r26-lang-seg:not(.is-active):hover { background: rgba(255, 255, 255, .18); }

.r26-catlink { color: #ffd75e; display: inline-block; font-size: 12.5px; font-weight: 600; margin-top: 8px; text-decoration: none; }
.r26-catlink:hover { text-decoration: underline; }

.r26-appdesc { margin-bottom: 16px; }
.r26-appdesc p { color: var(--r26-text); font-size: 14px; line-height: 23px; margin: 0; }

.r26-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 16px; }
.r26-tag { background: var(--r26-surface-2); border: 1px solid var(--r26-border); border-radius: 999px; color: var(--r26-text); display: inline-block; font-size: 12.5px; font-weight: 600; padding: 6px 14px; text-decoration: none; }
.r26-tag:hover { border-color: var(--r26-gold-deep); color: var(--r26-heading); }
.r26-tag.is-active { background: var(--r26-primary); border-color: var(--r26-primary); color: #fff; }
.r26-tag.is-active:hover { color: #fff; }

/* v2 download action renders through the shared _appkit partial; style it
   exactly like the theme's primary gold button. */
.app-dl-btn { align-items: center; background: linear-gradient(180deg, var(--r26-gold-soft), var(--r26-gold-deep)); border: 0; border-radius: var(--r26radius); box-shadow: 0 3px 10px rgba(0, 0, 0, .22); color: #1e1e1e; cursor: pointer; display: inline-flex; font-family: inherit; font-size: 14px; font-weight: 700; gap: 8px; padding: 11px 20px; text-decoration: none; }
.app-dl-btn:hover { background: linear-gradient(180deg, var(--r26-gold), var(--r26-gold-soft)); color: #1e1e1e; }

.app-dl-zone { background: var(--r26-surface); border: 1px solid var(--r26-border); border-radius: var(--r26radius-lg); box-shadow: var(--r26-cardshadow); margin: 18px 0 0; padding: 18px; }
.app-dl-progress { align-items: center; color: var(--r26-mutedtext); display: flex; flex-direction: column; font-size: 12.5px; gap: 8px; }
.app-dl-bar { background: var(--r26-surface-2); border: 1px solid var(--r26-border); border-radius: 999px; display: block; height: 9px; overflow: hidden; width: 100%; }
.app-dl-bar b { background: linear-gradient(90deg, var(--r26-gold-deep), var(--r26-action)); border-radius: 999px; display: block; height: 100%; width: 0; }
.app-dl-install { border-top: 1px dashed var(--r26-border); margin-top: 16px; padding-top: 14px; }
.app-dl-install > b { color: var(--r26-heading); display: block; font-size: 15px; margin-bottom: 8px; }
.app-dl-install ol { color: var(--r26-text); font-size: 13.5px; line-height: 22px; margin: 0; padding-left: 20px; }
.app-dl-final { background: linear-gradient(180deg, var(--r26-gold-soft), var(--r26-gold-deep)); border-radius: var(--r26radius); color: #1e1e1e; display: inline-block; font-size: 15px; font-weight: 700; margin-top: 14px; padding: 12px 26px; text-decoration: none; }
.app-dl-final:hover { background: linear-gradient(180deg, var(--r26-gold), var(--r26-gold-soft)); color: #1e1e1e; }
.app-dl-final.is-ready { animation: r26-pop .3s ease; }
@keyframes r26-pop { from { transform: scale(.94); opacity: 0; } to { transform: scale(1); opacity: 1; } }

/* v2 landing page actions + install steps */
.r26-landing-actions { align-items: center; display: flex; flex-wrap: wrap; gap: 10px; }
.r26-landing-btn { font-size: 14.5px; padding: 13px 26px; }
.r26-landing-back { display: inline-block; font-size: 13px; font-weight: 600; margin-left: 6px; text-decoration: none; }
.r26-landing-back:hover { text-decoration: underline; }
.r26-install-steps { color: var(--r26-text); counter-reset: r26step; font-size: 14px; line-height: 24px; list-style: none; margin: 0; padding: 0; }
.r26-install-steps li { counter-increment: r26step; margin-bottom: 10px; padding-left: 38px; position: relative; }
.r26-install-steps li::before { align-items: center; background: var(--r26-chipbg); border-radius: 50%; color: var(--r26-primary); content: counter(r26step); display: flex; font-weight: 700; height: 26px; justify-content: center; left: 0; position: absolute; top: -1px; width: 26px; }

/* Server-rendered reader: FAQ entries from Q:/A: lines + inline anchors */
.r26-reader a { color: var(--r26-primary); font-weight: 600; text-decoration: underline; }
.r26-reader a:hover { color: var(--r26-gold-deep); }
.sv-faqentry { background: var(--r26-surface-2); border: 1px solid var(--r26-border); border-radius: var(--r26radius); margin: 0 0 10px; }
.sv-faqentry summary { color: var(--r26-heading); cursor: pointer; font-weight: 600; padding: 10px 14px; }
.sv-faqentry p { color: var(--r26-text); margin: 0; padding: 0 14px 12px; }

@media (max-width: 860px) {
  .r26-lang { order: 5; }
  .r26-landing-btn { flex: 1 1 100%; text-align: center; }
  .r26-landing-back { margin-left: 0; }
}

/* Reader lists converted from the "1. Step" / "- Item" contract lines */
.r26-reader ol.r26-steps, .r26-reader ul.r26-bullets { color: var(--r26-text); font-size: 14px; line-height: 24px; margin: 2px 0 14px; padding-left: 24px; }
.r26-reader ol.r26-steps li { margin-bottom: 6px; padding-left: 2px; }
.r26-reader ul.r26-bullets { list-style: disc; }
.r26-reader ul.r26-bullets li { margin-bottom: 5px; }

/* ===== Footer (initial square header + columns) ===== */
.r26-footer{background:var(--r26-footerbg);color:var(--r26-footertext);margin-top:40px;padding:32px 0 22px}
.r26-foot-wrap{width:min(1180px,calc(100% - 32px));margin-inline:auto}
.r26-foot-head{display:flex;align-items:center;gap:14px;min-width:0}
.r26-foot-initial{display:grid;place-items:center;width:54px;height:54px;flex:0 0 auto;border-radius:var(--r26-radius,8px);background:var(--r26-primary);color:#fff;font-size:25px;font-weight:900;line-height:1;box-shadow:0 8px 20px rgba(0,0,0,.28)}
.r26-foot-brand{min-width:0}
.r26-foot-wordmark{margin:0;font-size:21px;font-weight:800;line-height:1.25;color:var(--r26-footertext);overflow-wrap:anywhere}
.r26-foot-about{margin:6px 0 0;font-size:12.5px;line-height:1.65;color:var(--r26-foot-muted);overflow-wrap:anywhere}
.r26-foot-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px 26px;margin-top:26px;padding-top:22px;border-top:1px solid var(--r26-footer-line)}
.r26-foot-col{min-width:0}
.r26-foot-col h3{margin:0 0 11px;font-size:11px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--r26-foot-muted)}
.r26-foot-col ul{list-style:none;margin:0;padding:0;display:grid;gap:7px}
.r26-foot-col li{min-width:0;font-size:12.5px;color:var(--r26-foot-muted);overflow-wrap:anywhere}
.r26-foot-col a{color:var(--r26-footertext);text-decoration:none;overflow-wrap:anywhere}
.r26-foot-col a:hover{color:var(--r26-gold);text-decoration:underline}
.r26-foot-contact li{display:flex;align-items:flex-start;gap:7px}
.r26-foot-contact i{flex:0 0 auto;margin-top:2px;color:var(--r26-gold)}
.r26-foot-contact span{min-width:0;overflow-wrap:anywhere}
.r26-foot-media{display:flex;flex-wrap:wrap;gap:8px;margin-top:22px;padding-top:18px;border-top:1px solid var(--r26-footer-line)}
.r26-foot-media a{display:grid;place-items:center;width:38px;height:38px;border-radius:8px;background:var(--r26-dark-panel);border:1px solid var(--r26-footer-line);flex:0 0 auto}
.r26-foot-media a:hover{border-color:var(--r26-gold)}
.r26-foot-media img{width:28px;height:28px;object-fit:contain;display:block}
.r26-foot-legal{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px 18px;margin-top:22px;padding-top:14px;border-top:3px solid var(--r26-primary);font-size:11.5px;color:var(--r26-foot-muted)}
.r26-foot-age{display:inline-flex;align-items:center;justify-content:center;padding:2px 9px;border-radius:4px;background:var(--r26-primary);color:#fff;font-weight:800;letter-spacing:.04em}
.r26-foot-copy{min-width:0;overflow-wrap:anywhere}
.r26-foot-share{display:inline-flex;align-items:center;gap:9px;margin-inline-start:auto}
.r26-foot-share a{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:50%;border:1px solid var(--r26-footer-line);color:inherit;text-decoration:none;font-size:12.5px;flex:0 0 auto}
.r26-foot-share a:hover{color:var(--r26-gold);border-color:var(--r26-gold)}
@media (max-width:900px){
  .r26-foot-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:560px){
  .r26-footer{padding:26px 0 20px}
  .r26-foot-grid{grid-template-columns:minmax(0,1fr);gap:20px}
  .r26-foot-initial{width:46px;height:46px;font-size:21px}
  .r26-foot-share{margin-inline-start:0}
}

.r26-social{ display: grid; gap: 8px; }
