/* pomo.rufatmirza.com (P-032). One stylesheet for every page. No fonts, scripts, cookies or trackers are loaded from anywhere. */
:root {
  --bg: #F6F1EA;
  --surface: #FFFFFF;
  --text: #00304E;
  --text-dim: rgba(0, 48, 78, 0.68);
  --line: rgba(0, 48, 78, 0.12);
  --accent: #C2410C;
  --focus: #F75219;
  --owner-bg: #FFF4D6;
  --owner-line: #E0B23A;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #00304E;
    --surface: #0A3D5F;
    --text: #FFFFFF;
    --text-dim: rgba(255, 255, 255, 0.68);
    --line: rgba(255, 255, 255, 0.12);
    --accent: #FFB18A;
    --owner-bg: #3D3410;
    --owner-line: #E0B23A;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.55 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
a { color: var(--accent); }
a:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.wrap { max-width: 760px; margin: 0 auto; padding: 0 20px; }
header.top { border-bottom: 1px solid var(--line); }
header.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 14px; padding-bottom: 14px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 700; font-size: 20px; }
.brand img { width: 36px; height: 36px; border-radius: 8px; }
nav.links { display: flex; gap: 16px; flex-wrap: wrap; font-size: 15px; }
nav.links a { color: var(--text); text-decoration: none; }
nav.links a:hover, nav.links a[aria-current="page"] { color: var(--accent); text-decoration: underline; }
/* 2.0: the language menu, a <details> list (no script). */
details.lang { position: relative; }
details.lang summary { cursor: pointer; list-style: none; color: var(--text); white-space: nowrap; }
details.lang summary::-webkit-details-marker { display: none; }
details.lang summary::after { content: " \25BE"; color: var(--text-dim); }
details.lang[open] summary, details.lang summary:hover { color: var(--accent); }
details.lang ul { position: absolute; right: 0; top: calc(100% + 8px); z-index: 10; margin: 0; padding: 6px 0; list-style: none; min-width: 190px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18); }
details.lang li a { display: block; padding: 7px 16px; white-space: nowrap; }
nav.links details.lang li a[aria-current="true"] { color: var(--accent); font-weight: 700; text-decoration: none; }
main { padding: 32px 0 48px; }
h1 { font-size: 34px; line-height: 1.15; margin: 0 0 12px; }
h2 { font-size: 22px; margin: 32px 0 8px; }
p, li { color: var(--text); }
.dim { color: var(--text-dim); }
.hero { text-align: center; padding: 16px 0 8px; }
.hero img.icon { width: 96px; height: 96px; border-radius: 22px; box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18); }
.hero p.lead { font-size: 20px; color: var(--text-dim); max-width: 560px; margin: 0 auto 24px; }
.download { display: inline-block; background: #000; color: #fff; text-decoration: none; border-radius: 12px; padding: 12px 22px; font-weight: 600; }
.download small { display: block; font-weight: 400; font-size: 12px; opacity: 0.8; }
.shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 36px 0 8px; }
.shot { background: var(--surface); border: 1px dashed var(--line); border-radius: 24px; aspect-ratio: 1206 / 2622; display: flex; align-items: center; justify-content: center; padding: 10px; text-align: center; font-size: 13px; color: var(--text-dim); }
.shot img { width: 100%; height: 100%; object-fit: cover; border-radius: 20px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 4px 20px 16px; margin: 16px 0; }
.owner { background: var(--owner-bg); border-left: 4px solid var(--owner-line); padding: 2px 6px; border-radius: 4px; }
table { border-collapse: collapse; width: 100%; font-size: 15px; }
th, td { text-align: left; vertical-align: top; padding: 8px 10px; border-bottom: 1px solid var(--line); }
footer { border-top: 1px solid var(--line); padding: 20px 0 32px; font-size: 14px; color: var(--text-dim); }
footer .wrap { display: flex; gap: 16px; flex-wrap: wrap; justify-content: space-between; }
footer a { color: var(--text-dim); }
@media (max-width: 560px) {
  h1 { font-size: 28px; }
  .shots { grid-template-columns: 1fr 1fr; }
  .shots .shot:nth-child(3) { display: none; }
  table, thead, tbody, tr, th, td { display: block; }
  thead { display: none; }
  td { border-bottom: none; padding: 4px 0; }
  tr { border-bottom: 1px solid var(--line); padding: 8px 0; }
}
