:where(.og-dokle) :where(*:not(svg, svg *)) { all: revert; }
@font-face { font-family: "Shrikhand"; src: url("/own/dokle/fonts/shrikhand.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "Overpass"; src: url("/own/dokle/fonts/overpass.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
/* Overpass draws the middle dot hard against the next word; take it from a system font. */
@font-face { font-family: "Overpass"; src: local("Segoe UI"), local("Arial"), local("Helvetica"), local("Roboto"); font-weight: 100 900; unicode-range: U+00B7; }
@font-face { font-family: "Overpass Mono"; src: url("/own/dokle/fonts/overpass-mono.woff2") format("woff2"); font-weight: 700; font-display: swap; }

.og-dokle {
  color-scheme: light;
  --asphalt: #26242b;
  --asphalt-2: #3a3740;
  --sign: #0f6b4f;
  --sign-dark: #0a4f3a;
  --sky: #58bfc4;
  --sun: #f28c38;
  --rust: #b83c26;
  --gold: #f2c94c;
  --page: #eef4ef;
  --paper: #fffdf7;
  --ink: #1d2226;
  --muted: #545c63;
  --line: #d6e0d8;
  --ok: #0f7a4f;
  --bad: #b3261e;
  --radius: 14px;
  --display: "Shrikhand", "Georgia", serif;
  --body: "Overpass", "Segoe UI", system-ui, sans-serif;
  --mono: "Overpass Mono", ui-monospace, "Consolas", monospace;
}
.og-dokle * { box-sizing: border-box; }
.og-dokle { -webkit-text-size-adjust: 100%; }
.og-dokle { margin: 0; background: var(--page); color: var(--ink); font: 400 17px/1.55 var(--body); }
.og-dokle a { color: var(--sign); text-underline-offset: 2px; }
.og-dokle a:hover { color: var(--sign-dark); }
.og-dokle :focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; }
.og-dokle .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.og-dokle .skip-link { position: absolute; left: 8px; top: -60px; background: var(--gold); color: var(--ink); padding: 8px 12px; border-radius: 8px; z-index: 10; font-weight: 700; }
.og-dokle .skip-link:focus { top: 8px; }
.og-dokle [hidden] { display: none !important; }

/* ---------- header ---------- */
.og-dokle .top { background: var(--asphalt); color: #fff; }
.og-dokle .top-in { max-width: 980px; margin: 0 auto; display: flex; align-items: center; gap: 10px; padding: 8px 14px; min-height: 56px; }
.og-dokle .brand { display: flex; align-items: center; gap: 8px; color: #fff; text-decoration: none; font: 400 26px/1 var(--display); letter-spacing: .5px; }
.og-dokle .brand:hover { color: var(--gold); }
.og-dokle .brand svg { width: 30px; height: 34px; flex: none; }
.og-dokle .top nav { margin-left: auto; display: flex; gap: 4px; align-items: center; }
.og-dokle .top nav a,
.og-dokle .icon-btn { color: #fff; text-decoration: none; font: 700 15px/1 var(--body); padding: 10px 10px 8px; border-radius: 10px; border: 0; background: none; cursor: pointer; }
.og-dokle .top nav a:hover,
.og-dokle .icon-btn:hover { background: var(--asphalt-2); color: var(--gold); }
.og-dokle .top nav a[aria-current="page"] { color: var(--gold); }
.og-dokle .icon-btn { display: inline-grid; place-items: center; width: 42px; height: 42px; padding: 0; }
.og-dokle .icon-btn svg { width: 22px; height: 22px; }
.og-dokle .lane { height: 6px; background: repeating-linear-gradient(90deg, var(--gold) 0 26px, transparent 26px 44px) var(--asphalt-2); }
@media (max-width: 520px) { .og-dokle .top nav .wide { display: none; } .og-dokle .brand { font-size: 23px; } }

/* ---------- game ---------- */
.og-dokle .game { max-width: 980px; margin: 0 auto; padding: 12px 12px 4px; }
.og-dokle .titlebar { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 2px 12px; margin: 2px 4px 10px; }
.og-dokle .titlebar h2 { margin: 0; font: 400 28px/1.15 var(--display); color: var(--rust); }
.og-dokle .titlebar h2 span { display: block; font: 700 14px/1.3 var(--body); color: var(--muted); letter-spacing: .2px; }
.og-dokle .trip-meta { margin: 0; font: 700 14px/1.3 var(--body); color: var(--muted); }
@media (max-width: 640px) { .og-dokle .trip-meta { flex-basis: 100%; } }

.og-dokle .scene-wrap { scroll-margin-top: 76px; position: relative; border-radius: var(--radius) var(--radius) 0 0; overflow: hidden; background: #a8dccf; aspect-ratio: 39 / 17; max-height: 260px; width: 100%; }
@media (min-width: 700px) { .og-dokle .scene-wrap { aspect-ratio: auto; height: 250px; } }
.og-dokle #scene { display: block; width: 100%; height: 100%; }
.og-dokle .moving .wheel { animation: spin .4s linear infinite; transform-box: fill-box; transform-origin: center; }
.og-dokle .moving .hero > g { animation: bob .35s ease-in-out infinite alternate; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes bob { to { transform: translateY(-1.5px); } }
.og-dokle .odo { position: absolute; left: 10px; top: 10px; display: flex; align-items: center; gap: 6px; background: var(--asphalt); color: #fff; border-radius: 9px; padding: 5px 9px 3px; box-shadow: 0 2px 0 rgba(0, 0, 0, .25); }
.og-dokle .odo-digits { display: flex; gap: 2px; }
.og-dokle .odo-digits span { display: inline-block; min-width: 15px; text-align: center; background: #111014; border-radius: 3px; font: 700 18px/1.25 var(--mono); padding: 1px 1px 0; }
.og-dokle .odo-digits span:last-child { background: #f5f1e6; color: var(--rust); }
.og-dokle .odo small { font: 800 11px/1 var(--body); color: var(--gold); letter-spacing: .5px; text-transform: uppercase; }
.og-dokle .next-town { position: absolute; right: 10px; top: 10px; max-width: 54%; background: rgba(255, 253, 247, .94); color: var(--ink); border-radius: 9px; padding: 5px 9px 3px; font: 700 13px/1.25 var(--body); text-align: right; }
.og-dokle .next-town b { color: var(--sign); }
@media (max-width: 520px) { .og-dokle .next-town { white-space: nowrap; max-width: 62%; overflow: hidden; text-overflow: ellipsis; } .og-dokle .next-town .st { display: none; } }

.og-dokle .routebar { position: relative; background: var(--asphalt); padding: 8px 14px 6px; }
.og-dokle .routebar-track { position: relative; height: 8px; border-radius: 4px; background: #4b4852; }
.og-dokle .routebar-fill { position: absolute; inset: 0 auto 0 0; width: 0; border-radius: 4px; background: linear-gradient(90deg, var(--gold), var(--sun)); transition: width .3s; }
.og-dokle .routebar ol { list-style: none; margin: 4px 0 0; padding: 0; position: relative; height: 16px; }
.og-dokle .routebar li { position: absolute; transform: translateX(-50%); font: 800 11px/16px var(--body); color: #b9b5c2; letter-spacing: .4px; }
.og-dokle .routebar li.passed { color: var(--gold); }
.og-dokle .routebar li::before { content: ""; position: absolute; left: 50%; top: -9px; width: 2px; height: 6px; background: #8d8996; }

.og-dokle .panel { background: var(--paper); border-radius: 0 0 var(--radius) var(--radius); box-shadow: 0 1px 0 var(--line), 0 10px 30px -18px rgba(20, 40, 30, .45); padding: 16px; min-height: 330px; }
.og-dokle .view { max-width: 620px; margin: 0 auto; }

.og-dokle .sign { background: var(--sign); color: #fff; border-radius: 12px; border: 3px solid #fff; box-shadow: 0 0 0 2px var(--sign); padding: 12px 16px 12px; margin: 2px 2px 14px; }
.og-dokle .sign-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; font: 800 13px/1 var(--body); letter-spacing: 1px; text-transform: uppercase; color: #cfeadf; }
.og-dokle .sign-cat { margin: 8px 0 10px; font: 800 clamp(23px, 6.2vw, 32px)/1.12 var(--body); letter-spacing: .2px; }
.og-dokle .clock { font: 700 20px/1 var(--mono); color: #fff; background: var(--sign-dark); border-radius: 7px; padding: 5px 8px 3px; letter-spacing: 0; }
.og-dokle .clock.low { background: var(--gold); color: var(--ink); }
.og-dokle .fuse { height: 8px; border-radius: 4px; background: var(--sign-dark); overflow: hidden; }
.og-dokle .fuse div { height: 100%; width: 100%; background: repeating-linear-gradient(90deg, #fff 0 14px, transparent 14px 20px); transform-origin: left; }
.og-dokle .sign-kicker { margin: 0; font: 800 13px/1.2 var(--body); letter-spacing: 1px; text-transform: uppercase; color: #cfeadf; }
.og-dokle .sign-big { margin: 6px 0 4px; font: 800 clamp(22px, 6vw, 30px)/1.15 var(--body); }
.og-dokle .sign-small { margin: 0; color: #d8efe6; font-weight: 600; }

.og-dokle .steps { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 8px; }
.og-dokle .steps li { display: grid; grid-template-columns: 30px 1fr; gap: 10px; align-items: start; }
.og-dokle .steps b.n { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--asphalt); color: var(--gold); font: 800 15px/1 var(--body); padding-top: 2px; }
.og-dokle .ladder { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin: 4px 0 14px; padding: 0; list-style: none; }
.og-dokle .ladder li { background: #f1f6f2; border: 1px solid var(--line); border-radius: 10px; text-align: center; padding: 6px 2px 4px; font: 700 12px/1.2 var(--body); color: var(--muted); }
.og-dokle .ladder li span { display: block; font-size: 24px; line-height: 1.25; }
.og-dokle .ladder li b { display: block; color: var(--ink); font-size: 14px; }
.og-dokle .ladder-cap { display: flex; justify-content: space-between; font: 700 12px/1 var(--body); color: var(--muted); margin: -8px 2px 14px; }

.og-dokle .btn { font: 800 17px/1 var(--body); border-radius: 12px; border: 0; cursor: pointer; padding: 15px 22px 13px; min-height: 48px; }
.og-dokle .btn.go { background: var(--sun); color: var(--ink); box-shadow: 0 3px 0 #b8641f; }
.og-dokle .btn.go:hover { background: #f59d50; }
.og-dokle .btn.go:active { transform: translateY(2px); box-shadow: 0 1px 0 #b8641f; }
.og-dokle .btn.alt { background: var(--asphalt); color: #fff; box-shadow: 0 3px 0 #000; }
.og-dokle .btn.alt:hover { color: var(--gold); }
.og-dokle .btn.ghost { background: #fff; color: var(--ink); border: 2px solid var(--line); }
.og-dokle .btn.ghost:hover { border-color: var(--sign); }
.og-dokle .btn.wide { width: 100%; }
.og-dokle .btn.link { background: none; color: var(--muted); text-decoration: underline; padding: 10px 6px; min-height: 0; font-weight: 700; font-size: 15px; }
.og-dokle .btn:disabled { opacity: .55; cursor: default; }
.og-dokle .toggle { display: flex; align-items: center; gap: 8px; justify-content: center; margin-top: 12px; color: var(--muted); font-size: 15px; cursor: pointer; }
.og-dokle #view-start .toggle { margin: 10px 0 16px; }
.og-dokle #view-start .ladder-cap { margin-bottom: 2px; }
.og-dokle .toggle input { width: 20px; height: 20px; accent-color: var(--sign); }

.og-dokle .answer-row { display: flex; gap: 8px; }
.og-dokle .answer-row input { flex: 1; min-width: 0; font: 700 20px/1.2 var(--body); padding: 12px 14px 10px; border: 3px solid var(--asphalt); border-radius: 12px; background: #fff; color: var(--ink); }
.og-dokle .answer-row input:focus { outline: none; border-color: var(--sun); box-shadow: 0 0 0 3px rgba(242, 140, 56, .3); }
.og-dokle .answer-row .btn { padding-inline: 20px; }
.og-dokle .shake { animation: shake .3s; }
@keyframes shake { 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }
.og-dokle .feedback { min-height: 28px; margin: 10px 2px 0; font-weight: 700; }
.og-dokle .feedback.bad { color: var(--bad); }
.og-dokle .feedback.wait { color: var(--muted); }
.og-dokle .suggest { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 4px; background: #fff4d6; border: 1px solid #f0d58c; border-radius: 10px; padding: 8px 10px; font-weight: 600; }
.og-dokle .suggest .btn { padding: 9px 14px 7px; min-height: 40px; font-size: 15px; }
.og-dokle .suggest > span { flex: 1 1 auto; }
@media (max-width: 520px) { .og-dokle .suggest > span { flex-basis: 100%; } .og-dokle .suggest .btn { flex: 1; } }
.og-dokle .tried { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 0; padding: 0; }
.og-dokle .tried li { font-size: 14px; color: var(--muted); background: #f1efe9; border-radius: 99px; padding: 3px 10px 1px; text-decoration: line-through; }
.og-dokle .stop-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; }
.og-dokle .stop-foot small { color: var(--muted); }

.og-dokle .ride { text-align: center; padding: 6px 0 4px; }
.og-dokle .ride-emoji { font-size: 54px; line-height: 1.1; margin: 0; }
.og-dokle .ride-title { font: 800 26px/1.2 var(--body); margin: 6px 0 4px; }
.og-dokle .ride-title em { font-style: normal; color: var(--ok); }
.og-dokle .ride-detail { margin: 0 0 6px; color: var(--muted); }
.og-dokle .ride-town { margin: 0 0 16px; font-weight: 700; color: var(--sign); }

/* ---------- postcard ---------- */
.og-dokle .postcard { position: relative; background: #fff; border-radius: 6px; padding: 18px 16px 14px; text-align: center; box-shadow: 0 2px 0 var(--line), 0 14px 28px -16px rgba(0, 0, 0, .4); border: 8px solid #fff; outline: 2px dashed #e6b9a8; outline-offset: -14px; background-image: linear-gradient(180deg, #fde6c4, #fff6e8 60%); transform: rotate(-.6deg); margin: 4px 4px 16px; }
.og-dokle .pc-greet { margin: 0; font: 400 22px/1 var(--display); color: var(--sign); }
.og-dokle .pc-town { margin: 4px 0 2px; font: 400 clamp(34px, 11vw, 52px)/1.05 var(--display); color: var(--rust); text-shadow: 3px 3px 0 var(--gold); overflow-wrap: anywhere; }
.og-dokle .pc-miles { margin: 6px 0 2px; font: 800 20px/1.2 var(--body); }
.og-dokle .pc-rides { margin: 4px 0 2px; font-size: 26px; letter-spacing: 2px; }
@media (max-width: 480px) { .og-dokle .pc-rides { font-size: 21px; letter-spacing: 0; white-space: nowrap; } }
.og-dokle .pc-beat { margin: 4px 0 0; color: var(--muted); font-weight: 600; min-height: 1.5em; }
.og-dokle .pc-stamp { position: absolute; right: 12px; top: 10px; width: 56px; height: 64px; border: 2px dashed var(--rust); border-radius: 4px; display: grid; place-items: center; color: var(--rust); font: 800 11px/1.1 var(--body); transform: rotate(6deg); background: #fff; }
.og-dokle .pc-stamp b { font: 400 18px/1 var(--display); display: block; }
@media (max-width: 420px) { .og-dokle .pc-stamp { display: none; } }
.og-dokle .log { list-style: none; margin: 0 0 14px; padding: 0; border-top: 1px solid var(--line); }
.og-dokle .log li { display: grid; grid-template-columns: 34px 1fr auto; gap: 8px; align-items: center; padding: 8px 2px; border-bottom: 1px solid var(--line); }
.og-dokle .log .e { font-size: 22px; text-align: center; }
.og-dokle .log .c { font-size: 14px; color: var(--muted); line-height: 1.3; }
.og-dokle .log .a { font-weight: 800; display: block; color: var(--ink); font-size: 16px; }
.og-dokle .log .m { font: 700 15px/1 var(--mono); color: var(--sign); white-space: nowrap; }
.og-dokle .end-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.og-dokle .end-actions .full { grid-column: 1 / -1; }
.og-dokle .next-trip { text-align: center; color: var(--muted); margin: 14px 0 2px; font-weight: 600; }
.og-dokle .next-trip b { font-family: var(--mono); color: var(--ink); }
.og-dokle .toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: var(--asphalt); color: #fff; padding: 10px 16px 8px; border-radius: 10px; font-weight: 700; z-index: 20; }

/* ---------- dialogs ---------- */
.og-dokle dialog { border: 0; border-radius: 16px; padding: 0; width: min(560px, calc(100% - 24px)); max-height: calc(100% - 40px); background: var(--paper); color: var(--ink); box-shadow: 0 20px 60px rgba(0, 0, 0, .35); }
.og-dokle dialog::backdrop { background: rgba(20, 20, 26, .55); }
.og-dokle .dlg-head { display: flex; align-items: center; justify-content: space-between; background: var(--sign); color: #fff; padding: 12px 12px 10px 18px; position: sticky; top: 0; }
.og-dokle .dlg-head h2 { margin: 0; font: 800 20px/1.2 var(--body); }
.og-dokle .dlg-head button { background: none; border: 0; color: #fff; font-size: 28px; line-height: 1; width: 44px; height: 44px; border-radius: 10px; cursor: pointer; }
.og-dokle .dlg-head button:hover { background: var(--sign-dark); }
.og-dokle .dlg-body { padding: 14px 18px 18px; }
.og-dokle .stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; text-align: center; margin-bottom: 14px; }
.og-dokle .stat-grid b { display: block; font: 800 26px/1.1 var(--body); }
.og-dokle .stat-grid span { font-size: 13px; color: var(--muted); line-height: 1.2; display: block; }
.og-dokle .bars { list-style: none; padding: 0; margin: 0; }
.og-dokle .bars li { display: grid; grid-template-columns: 96px 1fr 28px; gap: 8px; align-items: center; margin: 5px 0; font-size: 14px; }
.og-dokle .bars .bar { height: 18px; border-radius: 4px; background: #e3ebe5; overflow: hidden; }
.og-dokle .bars .bar i { display: block; height: 100%; background: var(--sign); min-width: 3px; }
.og-dokle .bars li.mine .bar i { background: var(--sun); }
.og-dokle .sheet-item { border-bottom: 1px solid var(--line); padding: 10px 0; }
.og-dokle .sheet-item h3 { margin: 0 0 4px; font-size: 17px; }
.og-dokle .sheet-item p { margin: 2px 0; font-size: 15px; }
.og-dokle .muted { color: var(--muted); }

/* ---------- text content ---------- */
.og-dokle .content { max-width: 760px; margin: 0 auto; padding: 22px 18px 30px; }
.og-dokle .content h2 { font: 400 26px/1.2 var(--display); color: var(--rust); margin: 30px 0 8px; }
.og-dokle .content h3 { font-size: 19px; margin: 20px 0 4px; }
.og-dokle .content table { border-collapse: collapse; width: 100%; margin: 10px 0; font-size: 16px; }
.og-dokle .content th,
.og-dokle .content td { text-align: left; padding: 7px 8px; border-bottom: 1px solid var(--line); }
.og-dokle .content th { background: #e3ede6; }
.og-dokle .content details { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; margin: 8px 0; }
.og-dokle .content summary { font-weight: 800; cursor: pointer; }
.og-dokle .cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; list-style: none; padding: 0; }
.og-dokle .cards a { display: block; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; text-decoration: none; color: var(--ink); height: 100%; }
.og-dokle .cards a:hover { border-color: var(--sign); }
.og-dokle .cards b { display: block; color: var(--sign); }

/* ---------- text pages ---------- */
.og-dokle .doc { max-width: 760px; margin: 0 auto; padding: 20px 18px 40px; }
.og-dokle .doc h1 { font: 400 clamp(30px, 7vw, 42px)/1.15 var(--display); color: var(--rust); margin: 8px 0 10px; }
.og-dokle .doc h2 { font-size: 22px; margin: 28px 0 6px; }
.og-dokle .lede { font-size: 19px; color: var(--muted); }
.og-dokle .crumbs { font-size: 14px; color: var(--muted); }
.og-dokle .day-list { list-style: none; padding: 0; display: grid; gap: 8px; }
.og-dokle .day-list a { display: flex; justify-content: space-between; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; text-decoration: none; color: var(--ink); }
.og-dokle .day-list a:hover { border-color: var(--sign); }
.og-dokle .day-list small { color: var(--muted); }
.og-dokle .stop-card { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px; margin: 12px 0; }
.og-dokle .stop-card h2 { margin: 0 0 6px; font-size: 19px; }
.og-dokle .stop-card p { margin: 4px 0; }
.og-dokle form.fb { display: grid; gap: 12px; }
.og-dokle form.fb label { font-weight: 700; display: block; margin-bottom: 4px; }
.og-dokle form.fb input,
.og-dokle form.fb textarea { width: 100%; font: 400 17px/1.4 var(--body); padding: 10px 12px; border: 2px solid #b8c4bb; border-radius: 10px; background: #fff; }
.og-dokle form.fb textarea { min-height: 150px; }

.og-dokle .foot { background: var(--asphalt); color: #cfcbd6; margin-top: 30px; }
.og-dokle .foot-in { max-width: 980px; margin: 0 auto; padding: 22px 18px 28px; font-size: 15px; }
.og-dokle .foot nav { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-bottom: 10px; }
.og-dokle .foot a { color: #fff; }
.og-dokle .foot a:hover { color: var(--gold); }
.og-dokle .foot p { margin: 6px 0; }

@media (prefers-reduced-motion: reduce) {
  .og-dokle *,
.og-dokle *::before,
.og-dokle *::after { animation: none !important; transition: none !important; }
}
