@font-face {
  font-family: Manrope;
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("./manrope-latin-wght-normal.woff2") format("woff2");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212,
    U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: Manrope;
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("./manrope-cyrillic-wght-normal.woff2") format("woff2");
  unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Noto Sans";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("./noto-sans-latin-wght-normal.woff2") format("woff2");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212,
    U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Noto Sans";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("./noto-sans-cyrillic-wght-normal.woff2") format("woff2");
  unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
:root {
  color-scheme: light;
  --bg: #f7f7f8;
  --surface: #fdfdfe;
  --text: #24262b;
  --muted: #60636c;
  --line: #dedfe4;
  --accent: #315caa;
  --accent-soft: #e9eef8;
  --button-text: #fdfdfe;
  --focus: #376fc0;
  --radius: 16px;
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #191a1e;
  --surface: #23252b;
  --text: #eff0f4;
  --muted: #b5b8c2;
  --line: #3c3f49;
  --accent: #a9c5ff;
  --accent-soft: #2b3449;
  --button-text: #18243b;
  --focus: #9dbff4;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}
body {
  margin: 0;
  font-family: Manrope, system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.65;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
textarea {
  font: inherit;
}
button,
a,
input,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
svg.icon {
  width: 22px;
  height: 22px;
  flex: none;
  fill: currentColor;
}
a:hover {
  color: var(--accent);
}
:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 5px;
}
.wrap {
  width: min(1120px, calc(100% - 80px));
  margin-inline: auto;
}
.skip {
  position: fixed;
  top: 10px;
  left: 10px;
  transform: translateY(-200%);
  visibility: hidden;
  z-index: 5;
  background: var(--surface);
  padding: 10px;
}
.skip:focus {
  visibility: visible;
  transform: none;
}
.header {
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.identity {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  font-weight: 700;
}

.nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 14px;
}
.nav-tools {
  display: flex;
  align-items: center;
  gap: 10px;
}
.language {
  font-size: 12px;
  font-weight: 800;
  padding: 9px 6px;
}
.icon-button {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--text);
  background: transparent;
}
.icon-button:hover {
  background: var(--accent-soft);
}
.sun {
  display: none;
}
[data-theme="dark"] .sun {
  display: block;
}
[data-theme="dark"] .moon {
  display: none;
}
.main-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 470px);
  gap: 70px;
  padding: 66px 0 64px;
}
.intro {
  padding-top: 12px;
}
.greeting {
  font-size: 18px;
  margin: 0 0 21px;
  font-weight: 600;
  color: var(--accent);
}
h1 {
  font-size: clamp(36px, 3.4vw, 47px);
  line-height: 1.16;
  letter-spacing: -1.8px;
  font-weight: 750;
  margin: 0 0 25px;
  text-wrap: balance;
}
h1 span {
  display: block;
}
.lead {
  font-size: 17px;
  line-height: 1.8;
  color: var(--muted);
  margin: 0 0 27px;
  max-width: 440px;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  font-weight: 700;
}
.text-link svg {
  width: 18px;
  height: 18px;
}
.purpose {
  margin-top: 62px;
  max-width: 405px;
}
.purpose h2,
.help h2 {
  font-size: 16px;
  margin: 0 0 9px;
  letter-spacing: -0.2px;
}
.purpose p,
.help p {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
}
.support {
  padding: 22px 24px 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 8px 32px #20283810;
  align-self: start;
}
.support h2 {
  font-size: 24px;
  line-height: 1.3;
  letter-spacing: -0.7px;
  margin: 0 0 8px;
}
.support-lead {
  font-size: 13px;
  color: var(--muted);
  margin: 0 0 24px;
}
.wallet-heading {
  display: flex;
  align-items: center;
  gap: 12px;
}
.coin-icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 12px;
}
.coin-icon svg {
  width: 24px;
  height: 24px;
}
.coin-name {
  font-size: 16px;
  font-weight: 750;
}
.network {
  font-size: 12px;
  color: var(--muted);
  margin-top: 1px;
}
.qr-row {
  display: flex;
  align-items: center;
  gap: 22px;
  margin: 16px 0;
}
.qr-frame {
  padding: 8px;
  background: #fff;
  border-radius: 12px;
  flex: none;
}
.qr-frame img {
  display: block;
  width: 112px;
  height: 112px;
  image-rendering: pixelated;
}
.qr-help {
  font-size: 13px;
  color: var(--muted);
  max-width: 175px;
}
.qr-help p {
  margin: 0 0 12px;
}
.qr-help strong {
  color: var(--text);
  font-weight: 650;
}
.address-label {
  display: block;
  font-size: 12px;
  font-weight: 650;
  margin-bottom: 7px;
}
.address {
  display: block;
  resize: none;
  height: 47px;
  line-height: 19px;
  overflow-wrap: anywhere;
  width: 100%;
  min-width: 0;
  border: 1px solid var(--line);
  background: var(--bg);
  border-radius: 8px;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 12px;
  color: var(--text);
  padding: 13px 10px;
  text-overflow: ellipsis;
}
.copy,
.boosty {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  width: 100%;
  padding: 10px 12px;
  border: 0;
  border-radius: 8px;
  background: var(--accent);
  color: var(--button-text);
  font-size: 14px;
  font-weight: 700;
  margin-top: 11px;
  white-space: nowrap;
}
.copy:hover,
.boosty:hover {
  filter: brightness(0.94);
  color: var(--button-text);
}
button:active,
.boosty:active {
  transform: translateY(1px);
}
.copy:disabled {
  opacity: 0.7;
  cursor: wait;
}
.copy svg {
  width: 18px;
  height: 18px;
}
.copy {
  height: 46px;
  flex-wrap: nowrap;
}
.copy svg {
  flex: none;
}
[data-copy-label] {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}
.optional {
  grid-column: 1 / -1;
  font-size: 12px;
  color: var(--muted);
  padding-top: 15px;
  border-top: 1px solid var(--line);
  margin: 0;
}
/* Native radios keep wallet switching available without JavaScript. */
.wallet-picker {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}
.wallet-option {
  display: contents;
}
.visually-hidden,
.wallet-radio {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.wallet-choice {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 9px 3px;
  border: 1px solid var(--line);
  border-radius: 9px;
  font-size: 13px;
  font-weight: 750;
  cursor: pointer;
}
.wallet-choice span {
  font-size: 10px;
  font-weight: 500;
  color: var(--muted);
}
.wallet-radio:checked + .wallet-choice {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--accent);
}
.wallet-radio:focus-visible + .wallet-choice {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}
.wallet-picker .wallet {
  display: none;
  grid-column: 1 / -1;
  order: 1;
  min-width: 0;
  padding-top: 16px;
}
.wallet-radio:checked ~ .wallet {
  display: block;
}
.boosty-note,
.crypto-label {
  font-size: 12px;
  color: var(--muted);
}
.crypto-label {
  font-size: 17px;
  font-weight: 650;
  color: var(--text);
  line-height: 20px;
  margin: 0 0 14px;
}
.boosty-option {
  margin-top: 24px;
  max-width: 360px;
}
.boosty-option .boosty {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--line);
  justify-content: flex-start;
  gap: 14px;
  padding: 12px 18px;
  min-height: 56px;
}
.boosty-option .boosty:hover {
  background: var(--bg);
  color: var(--text);
}
.boosty img {
  object-fit: contain;
  flex: none;
}
.boosty .icon {
  margin-left: auto;
}
.boosty-copy {
  display: flex;
  flex-direction: column;
  gap: 3px;
  white-space: normal;
}
.boosty-note {
  margin: 0;
  font-weight: 400;
}
.projects {
  border-top: 1px solid var(--line);
  padding: 34px 0 36px;
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.section-head h2 {
  font-size: 23px;
  letter-spacing: -0.6px;
  margin: 0;
}
.section-lead {
  font-size: 14px;
  color: var(--muted);
  margin: 7px 0 24px;
}
.project-list {
  display: flex;
  flex-direction: column;
}
.project {
  display: grid;
  grid-template-columns: 44px 175px 1fr 24px;
  align-items: center;
  gap: 14px;
  padding: 17px 12px;
  border-radius: 12px;
  margin-inline: -12px;
}
.project:hover {
  background: var(--accent-soft);
}
.project-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: 12px;
}
.project h3 {
  font-size: 15px;
  margin: 0;
}
.project p {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
}
.project > .icon {
  width: 18px;
  height: 18px;
  color: var(--muted);
}
.help {
  padding: 25px 0 36px;
  max-width: 670px;
}
.footer {
  border-top: 1px solid var(--line);
  padding: 24px 0 30px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  font-size: 12px;
}
.footer p {
  margin: 0;
}
.footer a {
  white-space: nowrap;
}
.no-js {
  display: block;
  font-size: 12px;
  color: var(--muted);
}
@media (min-width: 768px) {
  .header {
    height: 76px;
  }
}
@media (max-width: 1000px) {
  .main-grid {
    gap: 36px;
    grid-template-columns: minmax(0, 1fr) minmax(0, 420px);
  }
  h1 {
    font-size: 36px;
  }
  .wrap {
    width: calc(100% - 48px);
  }
  .support {
    padding: 24px;
  }
  .project {
    grid-template-columns: 44px 145px 1fr 24px;
  }
}
@media (max-width: 767px) {
  .wrap {
    width: calc(100% - 36px);
  }
  .header {
    height: 72px;
  }
  .identity {
    font-size: 13px;
  }

  .nav {
    gap: 12px;
  }
  .nav-projects {
    display: none;
  }
  .nav-tools {
    gap: 8px;
  }
  .main-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 35px 0 38px;
  }
  .intro {
    padding-top: 0;
  }
  .greeting {
    font-size: 16px;
    margin-bottom: 16px;
  }
  h1 {
    font-size: 36px;
    letter-spacing: -1.3px;
    margin-bottom: 19px;
  }
  .lead {
    font-size: 15px;
    margin-bottom: 19px;
  }
  .purpose {
    margin-top: 28px;
    max-width: none;
  }
  .purpose h2 {
    font-size: 14px;
  }
  .purpose p {
    font-size: 13px;
  }
  .support {
    padding: 22px 20px;
  }
  .support h2 {
    font-size: 22px;
  }
  .qr-row {
    gap: 18px;
  }
  .qr-frame img {
    width: 126px;
    height: 126px;
  }
  .qr-help {
    font-size: 12px;
  }
  .address {
    font-size: 12px;
    height: 66px;
  }
  .project {
    grid-template-columns: 40px 1fr 20px;
    gap: 3px 12px;
    padding-block: 15px;
  }
  .project-icon {
    grid-row: 1/3;
  }
  .project p {
    grid-column: 2;
    grid-row: 2;
    font-size: 12px;
  }
  .project > .icon {
    grid-column: 3;
    grid-row: 1/3;
  }
  .section-head {
    align-items: flex-start;
  }
  .section-head h2 {
    font-size: 21px;
  }
  .section-head .text-link {
    font-size: 12px;
  }
  .section-head .text-link span {
    max-width: 95px;
  }
  .section-lead {
    font-size: 13px;
  }
  .footer {
    flex-direction: column;
    gap: 13px;
  }
  .help {
    padding-top: 10px;
  }
}
@media (max-width: 360px) {
  h1 {
    font-size: 32px;
  }
  .support {
    padding: 20px 16px;
  }
  .qr-row {
    gap: 12px;
  }
  .qr-frame img {
    width: 110px;
    height: 110px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}

.profile-hero {
  display: grid;
  grid-template-columns: 1fr 320px;
  align-items: start;
  gap: 64px;
  padding: 70px 0 58px;
}
.profile-hero .intro {
  padding-top: 0;
}
.profile-hero h1 {
  font-size: clamp(36px, 5vw, 62px);
  line-height: 1.15;
}
.profile-hero .lead {
  max-width: 610px;
}
.profile-mark {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
}
.profile-mark img {
  width: 288px;
  height: 288px;
  border-radius: 32px;
}
.about-section {
  max-width: 760px;
  padding-bottom: 44px;
}
.about-section h2,
.contact-section h2,
.support-context > h2 {
  font-size: 24px;
  letter-spacing: -0.6px;
  margin: 0 0 12px;
}
.about-section p,
.contact-section p,
.support-context > p {
  color: var(--muted);
  margin: 0;
}
.about-section p + p {
  margin-top: 16px;
}
.contact-email {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--accent);
  font-size: 20px;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.contact-section {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  align-items: baseline;
  gap: 40px;
  border-top: 1px solid var(--line);
  padding: 34px 0 36px;
}
.contact-section h2 {
  margin-bottom: 0;
}
.support-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 470px);
  column-gap: 70px;
  row-gap: 22px;
  border-top: 1px solid var(--line);
  padding: 45px 0 60px;
}
.support-context .purpose {
  margin-top: 28px;
}
.purpose h3,
.help h3 {
  font-size: 16px;
  margin: 0 0 9px;
}
.support-context .help {
  padding-top: 24px;
}
@media (min-width: 768px) and (max-width: 1023px) {
  .profile-hero {
    grid-template-columns: 1fr 224px;
    gap: 32px;
  }
  .profile-mark img {
    width: 224px;
    height: 224px;
  }
}
@media (max-width: 767px) {
  .profile-hero {
    grid-template-columns: 1fr;
    padding: 38px 0 30px;
    gap: 25px;
  }
  .profile-mark {
    order: -1;
    align-items: flex-start;
    gap: 10px;
  }
  .profile-mark img {
    width: 128px;
    height: 128px;
    border-radius: 24px;
  }
  .profile-hero h1 {
    font-size: 36px;
  }
  .about-section {
    padding-bottom: 30px;
  }
  .support-layout {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 30px 0 40px;
  }
  .support-context .help {
    padding-bottom: 0;
  }
  .nav {
    gap: 10px;
  }
  .nav-support {
    font-size: 12px;
  }
  .identity {
    font-size: 12px;
  }

  .contact-section {
    grid-template-columns: 1fr;
    gap: 16px;
    padding-block: 30px;
  }
}

.language-menu {
  position: relative;
}
.language-menu summary {
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  list-style: none;
  border-radius: 6px;
}
.language-code {
  line-height: 1;
}
.language-caret {
  display: block;
  width: 12px;
  height: 12px;
  flex: none;
}
.language-menu summary::-webkit-details-marker {
  display: none;
}
.language-menu summary:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}
.language-options {
  position: absolute;
  inset-inline-end: 0;
  top: calc(100% + 8px);
  z-index: 30;
  min-width: 180px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg);
  box-shadow: 0 8px 28px #0002;
  display: grid;
  max-height: min(440px, 70vh);
  overflow-y: auto;
}
.language-options a {
  padding: 9px 12px;
  font-size: 14px;
  border-radius: 5px;
}
.language-options a:hover,
.language-options a[aria-current] {
  background: var(--accent-soft);
  color: var(--accent);
}
.address,
.contact-email {
  direction: ltr;
  unicode-bidi: isolate;
}
:lang(zh),
:lang(ja) {
  font-family: system-ui, sans-serif;
}

.company-link {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.company-link:hover {
  text-decoration-thickness: 2px;
}

.conferences {
  border-top: 1px solid var(--line);
  padding: 34px 0 36px;
}
.conference {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr);
  gap: 24px;
  padding-top: 24px;
}
.conference + .conference {
  margin-top: 24px;
  border-top: 1px solid var(--line);
}
.conference-year {
  font-size: 28px;
  font-weight: 650;
  line-height: 1.3;
  color: var(--muted);
}
.conference-event {
  margin: 0 0 7px;
  font-size: 13px;
  color: var(--muted);
}
.conference h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 650;
  line-height: 1.5;
}
.conference h3 a {
  color: inherit;
  text-decoration: none;
  text-underline-offset: 4px;
}
.conference h3 a:hover,
.conference h3 a:focus-visible {
  color: var(--accent);
  text-decoration: underline;
}
.conference-language {
  margin: 12px 0 0;
  font-size: 12px;
  color: var(--muted);
}
@media (max-width: 600px) {
  .conference {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .conference-year {
    font-size: 22px;
  }
  .conference h3 {
    font-size: 18px;
  }
}

.talk-reader-page {
  font-family: "Noto Sans", system-ui, sans-serif;
}
.talk-page {
  padding-block: 44px 50px;
}
.talk-title {
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.25;
  max-width: 900px;
  letter-spacing: -1px;
}
.talk-meta {
  font-size: 13px;
  margin: 0 0 16px;
}
.talk-notice {
  max-width: 880px;
  font-size: 13px;
  margin: 0 0 12px;
}
.talk-source-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
  margin: 22px 0;
}
.talk-source-links .text-link {
  font-size: 13px;
}
.talk-toc {
  border-block: 1px solid var(--line);
  padding-block: 16px;
  margin-bottom: 28px;
}
.talk-toc summary {
  cursor: pointer;
  font-weight: 650;
}
.talk-toc nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 28px;
  padding-top: 16px;
}
.talk-toc nav a {
  display: flex;
  gap: 12px;
  font-size: 13px;
}
.talk-toc nav span {
  color: var(--muted);
  min-width: 20px;
}
.reader-controls {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 16px;
  margin-bottom: 0;
  align-items: center;
}
.reader-controls[hidden] {
  display: none;
}
.reader-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  padding: 11px 14px;
  border-radius: 8px;
  font: inherit;
  font-size: 13px;
  min-height: 44px;
  cursor: pointer;
}
.reader-button:disabled {
  color: var(--muted);
  opacity: 0.55;
  cursor: default;
}
.reader-button .icon {
  flex: none;
}
.reader-select-wrap {
  position: relative;
  min-width: 0;
}
.reader-select-caret {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: var(--text);
}
.reader-controls select {
  appearance: none;
  width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: 10px 44px 10px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  background: var(--surface);
  font: inherit;
  font-size: 15px;
}
.talk-slide {
  margin-bottom: 36px;
  scroll-margin-top: 24px;
}
.talk-slide[hidden] {
  display: none;
}
.talk-slide-heading {
  font-size: 24px;
  letter-spacing: -0.4px;
  line-height: 1.4;
  margin: 0 0 24px;
}
.talk-slide-heading > span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  margin-bottom: 8px;
  letter-spacing: 0;
}
.talk-columns {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}
.talk-figure {
  margin: 0;
  min-width: 0;
}
.talk-figure img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}
.talk-figure figcaption {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  justify-content: space-between;
  margin-top: 12px;
  color: var(--muted);
  font-size: 12px;
}
.talk-figure figcaption a {
  display: inline-flex;
  gap: 6px;
  align-items: center;
}
.talk-text {
  min-width: 0;
}
.talk-text h3 {
  font-size: 12px;
  color: var(--muted);
  margin: 0 0 14px;
  font-weight: 600;
}
.talk-text p,
.talk-question p {
  font-size: 17px;
  line-height: 1.75;
  margin: 0 0 16px;
  color: var(--text);
}
.talk-text .talk-code-label {
  margin-top: 24px;
}
.talk-text pre {
  overflow-x: auto;
  max-width: 100%;
  font:
    13px/1.6 ui-monospace,
    SFMono-Regular,
    Consolas,
    monospace;
  padding: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}
.talk-reference a {
  overflow-wrap: anywhere;
  color: var(--accent);
}
.talk-questions {
  margin-top: 44px;
  border-top: 1px solid var(--line);
  padding-top: 28px;
}
.talk-questions h2 {
  font-size: 24px;
  margin: 0 0 24px;
}
.talk-question {
  max-width: 800px;
  margin-bottom: 28px;
}
.talk-question h3 {
  font-size: 18px;
  margin: 0 0 14px;
  line-height: 1.5;
}
@media (max-width: 767px) {
  .talk-text p,
  .talk-question p {
    font-size: 16px;
  }
  .talk-page {
    padding-top: 30px;
  }
  .talk-columns {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .talk-toc nav {
    grid-template-columns: 1fr;
  }
  .reader-controls {
    gap: 8px;
  }
  .reader-button {
    padding: 10px;
  }
  .reader-button span {
    display: none;
  }
  .reader-button {
    min-width: 44px;
  }
  .talk-back {
    font-size: 12px;
  }
  .talk-slide-heading {
    font-size: 21px;
  }
}

.talk-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
@media (max-width: 600px) {
  .talk-back span {
    display: none;
  }
  .talk-header .nav {
    gap: 12px;
  }
}

.reader-toolbar {
  position: sticky;
  top: 12px;
  z-index: 3;
  background: var(--bg);
  padding-block: 8px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--line);
}
.reader-layout {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}
.reader-layout label {
  cursor: pointer;
}
.reader-layout input {
  position: absolute;
  width: 1px;
  height: 1px;
  clip-path: inset(50%);
}
.reader-layout span {
  display: block;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 13px;
  line-height: 1.5;
}
.reader-layout input:checked + span {
  color: var(--accent);
  background: var(--accent-soft);
  border-color: var(--accent);
}
.reader-layout input:focus-visible + span {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}
body:not(.presentation-enhanced)
  .talk-page:has(input[name="reader-layout"][value="wide"]:checked)
  .talk-columns {
  grid-template-columns: minmax(0, 1fr);
}
body:not(.presentation-enhanced)
  .talk-page:has(input[name="reader-layout"][value="wide"]:checked)
  .talk-figure
  img {
  width: auto;
  max-width: 100%;
  max-height: max(
    120px,
    calc(
      100dvh - var(--reader-toolbar-height, 120px) -
        var(--reader-heading-height, 80px) - 64px
    )
  );
  margin-inline: auto;
}
body:not(.presentation-enhanced)
  .talk-page:has(input[name="reader-layout"][value="wide"]:checked)
  .talk-text
  p {
  max-width: 85ch;
}
@media (min-width: 768px) {
  body:not(.presentation-enhanced)
    .talk-page:has(input[name="reader-layout"][value="wide"]:checked) {
    width: min(1600px, calc(100% - 80px));
  }
}
.talk-slide {
  scroll-margin-top: calc(var(--reader-toolbar-height, 120px) + 24px);
}
.talk-text p,
.talk-question p {
  overflow-wrap: anywhere;
}

.talk-figure > a {
  cursor: zoom-in;
}

html:has(.presentation-view[open]),
html:has(.photo-view[open]) {
  overflow: hidden;
}
.presentation-view,
.photo-view {
  inset: 0;
  width: 100vw;
  height: 100dvh;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Noto Sans", system-ui, sans-serif;
  overflow: hidden;
}
.presentation-view::backdrop,
.photo-view::backdrop {
  background: var(--bg);
}
.presentation-shell {
  display: grid;
  grid-template-rows: minmax(0, 1fr) minmax(160px, 28dvh);
  height: 100%;
}
.presentation-stage {
  position: relative;
  min-height: 0;
  padding: 20px 76px;
}
.presentation-slide {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
}
.presentation-slide:active {
  transform: none;
}
.presentation-slide:disabled {
  cursor: default;
}
.presentation-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.presentation-arrow,
.presentation-close button {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--text);
  background: var(--surface);
}
.presentation-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}
.presentation-arrow:active {
  transform: translateY(-50%);
}
.presentation-arrow:disabled {
  opacity: 0.4;
  cursor: default;
}
.presentation-previous {
  left: 12px;
}
.presentation-next {
  right: 12px;
}
.presentation-close {
  position: absolute;
  right: 12px;
  top: 12px;
  margin: 0;
}
.presentation-text {
  overflow: auto;
  min-height: 0;
  padding: 18px max(24px, calc((100vw - 1000px) / 2));
  background: var(--surface);
  border-top: 1px solid var(--line);
}
.presentation-text h2 {
  margin: 0 0 12px;
  font-size: 18px;
  line-height: 1.4;
}
.presentation-text p {
  margin: 0 0 14px;
  font-size: 16px;
  line-height: 1.7;
  overflow-wrap: anywhere;
}
.presentation-text pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  overflow: auto;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font:
    13px/1.6 ui-monospace,
    monospace;
}
.presentation-text a {
  color: var(--accent);
}
@media (max-width: 600px) {
  .presentation-stage {
    padding: 64px 12px 12px;
  }
  .presentation-arrow {
    width: 40px;
    height: 44px;
  }
  .presentation-previous {
    left: 6px;
  }
  .presentation-next {
    right: 6px;
  }
  .presentation-shell {
    grid-template-rows: minmax(0, 1fr) minmax(180px, 36dvh);
  }
  .presentation-text {
    padding: 16px 20px;
  }
}

.talk-gallery {
  margin: 40px 0 0;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}
.talk-gallery summary {
  cursor: pointer;
  font-weight: 700;
}
.talk-gallery summary span {
  color: var(--muted);
  font-weight: 400;
}
.talk-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 24px;
}
.talk-gallery figure {
  margin: 0;
}
.talk-gallery a {
  display: block;
}
.talk-gallery img {
  display: block;
  width: 100%;
  height: 200px;
  object-fit: contain;
  background: var(--surface);
  border-radius: 8px;
}
.talk-gallery figcaption {
  margin-top: 8px;
  font-size: 14px;
  color: var(--muted);
}
@media (max-width: 767px) {
  .talk-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
  .talk-gallery img {
    height: 150px;
  }
}
@media (max-width: 479px) {
  .talk-gallery-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .talk-gallery img {
    height: auto;
    max-height: 240px;
  }
}

.photo-shell {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  height: 100%;
}
.photo-stage {
  position: relative;
  min-height: 0;
  padding: 64px 76px 20px;
}
.photo-image {
  display: block;
  width: 100%;
  height: 100%;
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
}
.photo-image:active {
  transform: none;
}
.photo-image:disabled {
  cursor: default;
}
.photo-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.photo-footer {
  padding: 16px 24px;
  text-align: center;
  border-top: 1px solid var(--line);
  background: var(--surface);
  font-size: 14px;
  max-height: 25dvh;
  overflow: auto;
}
.photo-footer p {
  margin: 0;
}
.photo-footer [data-photo-status] {
  margin-top: 6px;
  color: var(--muted);
}
.talk-gallery a {
  cursor: zoom-in;
}
@media (max-width: 767px) {
  .photo-stage {
    padding: 64px 12px 12px;
  }
  .photo-view .presentation-arrow {
    width: 44px;
    height: 44px;
  }
  .photo-view .presentation-previous {
    left: 6px;
  }
  .photo-view .presentation-next {
    right: 6px;
  }
  .photo-footer {
    padding: 12px 16px;
  }
}

.photo-view {
  overflow: clip;
}

.help p + p {
  margin-top: 12px;
}
.help a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}

.support-context {
  align-self: start;
  max-width: 520px;
}
.support-context p {
  font-size: 14px;
  line-height: 1.65;
  text-wrap: wrap;
}
.support-context .purpose,
.support-context .help {
  max-width: none;
}
.support-context .help {
  padding-bottom: 0;
}
.project-idea {
  margin-top: 16px;
}
.idea-email {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 7px;
  font-size: 14px;
}
.idea-email .icon {
  width: 16px;
  height: 16px;
}
.boosty-option .boosty {
  margin-top: 0;
}

@media (min-width: 768px) {
  .support-context > h2 {
    line-height: 1;
    margin-top: -3px;
  }
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 8px;
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
}
.social-links a {
  padding: 7px 10px;
  border-radius: 6px;
  text-decoration: none;
  transition: background-color 150ms ease;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 36px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 650;
}
.social-links a:hover,
.social-links a:focus-visible {
  text-decoration: none;
  background: var(--surface);
}
.social-links .icon {
  width: 21px;
  height: 21px;
  flex: none;
}

.purpose .support-dream {
  margin-top: 12px;
}
@media (max-width: 767px) {
  .nav-blog {
    font-size: 12px;
  }
}
