@import url('./fonts/fonts.css');
@font-face {
  font-family: 'Hack Nerd';
  src: url('/data/uploads/NewFonts/HackNerdFont-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Hack Nerd';
  src: url('/data/uploads/NewFonts/HackNerdFont-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Hack Nerd';
  src: url('/data/uploads/NewFonts/HackNerdFont-Italic.ttf') format('truetype');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Hack Nerd';
  src: url('/data/uploads/NewFonts/HackNerdFont-BoldItalic.ttf') format('truetype');
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Hack Nerd Mono';
  src: url('/data/uploads/NewFonts/HackNerdFontMono-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Hack Nerd Mono';
  src: url('/data/uploads/NewFonts/HackNerdFontMono-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Hack Nerd Mono';
  src: url('/data/uploads/NewFonts/HackNerdFontMono-Italic.ttf') format('truetype');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Hack Nerd Mono';
  src: url('/data/uploads/NewFonts/HackNerdFontMono-BoldItalic.ttf') format('truetype');
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Hack Nerd Propo';
  src: url('/data/uploads/NewFonts/HackNerdFontPropo-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Hack Nerd Propo';
  src: url('/data/uploads/NewFonts/HackNerdFontPropo-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Hack Nerd Propo';
  src: url('/data/uploads/NewFonts/HackNerdFontPropo-Italic.ttf') format('truetype');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Hack Nerd Propo';
  src: url('/data/uploads/NewFonts/HackNerdFontPropo-BoldItalic.ttf') format('truetype');
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'OpenDyslexic';
  src: url('/data/uploads/NewFonts/OpenDyslexic-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'OpenDyslexic';
  src: url('/data/uploads/NewFonts/OpenDyslexic-Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'OpenDyslexic';
  src: url('/data/uploads/NewFonts/OpenDyslexic-Italic.otf') format('opentype');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'OpenDyslexic';
  src: url('/data/uploads/NewFonts/OpenDyslexic-BoldItalic.otf') format('opentype');
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'OpenDyslexic3';
  src: url('/data/uploads/NewFonts/OpenDyslexic3-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'OpenDyslexic3';
  src: url('/data/uploads/NewFonts/OpenDyslexic3-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'BigBlueTerm Nerd';
  src: url('/data/uploads/NewFonts/BigBlueTerm437NerdFont-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: '3270 Nerd';
  src: url('/data/uploads/NewFonts/3270NerdFont-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: '3270 Nerd Mono';
  src: url('/data/uploads/NewFonts/3270NerdFontMono-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: '3270 Nerd Propo';
  src: url('/data/uploads/NewFonts/3270NerdFontPropo-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'BigBlueTerm Plus';
  src: url('/data/uploads/NewFonts/BigBlueTermPlusNerdFont-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Hack Nerd';
  src: url('/data/uploads/NewFonts/HackNerdFont-Italic.ttf') format('truetype');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Hack Nerd';
  src: url('/data/uploads/NewFonts/HackNerdFont-BoldItalic.ttf') format('truetype');
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Hack Nerd Mono';
  src: url('/data/uploads/NewFonts/HackNerdFontMono-Italic.ttf') format('truetype');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Hack Nerd Mono';
  src: url('/data/uploads/NewFonts/HackNerdFontMono-BoldItalic.ttf') format('truetype');
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'OpenDyslexic';
  src: url('/data/uploads/NewFonts/OpenDyslexic-Italic.otf') format('opentype');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'OpenDyslexic';
  src: url('/data/uploads/NewFonts/OpenDyslexic-BoldItalic.otf') format('opentype');
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'BigBlueTerm Plus';
  src: url('/data/uploads/NewFonts/BigBlueTermPlusNerdFont-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --page-max-width: 640px;
  --ui-font-base: 16px;
  --ui-zoom: 1;

  --theme-site-bg-1: #0c1021;
  --theme-site-bg-2: #11162a;
  --theme-site-gradient: none;
  --theme-site-pattern: none;
  --theme-site-pattern-size: auto;
  --theme-site-pattern-repeat: repeat;
  --theme-site-image: none;
  --theme-site-image-size: cover;
  --theme-site-image-repeat: no-repeat;
  --theme-site-image-position: center center;
  --theme-site-layer-image: none;
  --theme-site-layer-size: auto;
  --theme-site-layer-repeat: repeat;
  --theme-site-layer-position: 0 0;
  --theme-site-layer-attachment: scroll;
  --theme-site-layer-size-mobile: auto;
  --site-border-color: transparent;
  --site-border-width: 0px;
  --site-border-radius: 0px;

  --theme-body-bg-1: #ffffff;
  --theme-body-bg-2: #f5f7fb;
  --theme-body-gradient: none;
  --theme-body-pattern: none;
  --theme-body-pattern-size: auto;
  --theme-body-pattern-repeat: repeat;
  --theme-body-image: none;
  --theme-body-image-size: cover;
  --theme-body-image-repeat: no-repeat;
  --theme-body-image-position: center center;
  --theme-body-layer-image: none;
  --theme-body-layer-size: auto;
  --theme-body-layer-repeat: repeat;
  --theme-body-layer-position: 0 0;
  --theme-body-layer-attachment: scroll;
  --theme-body-layer-size-mobile: auto;
  --page-border-color: #d9dce2;
  --page-border-width: 0px;
  --page-border-radius: 16px;
  --page-shadow: none;

  --name-color: #121212;
  --name-bg: #1a73e8;
  --name-gradient: none;
  --name-pattern: none;
  --name-pattern-size: auto;
  --name-border-color: #000000;
  --name-border-width: 0px;
  --name-border-radius: 16px;
  --name-font: 'Inter', sans-serif;
  --name-size: 2.6rem;
  --name-weight: 700;
  --name-style: normal;
  --name-decor: none;
  --name-text-shadow: none;
  --name-box-shadow: none;
  --name-align: center;
  --name-align-self: center;

  --avatar-bg: rgba(0, 0, 0, 0.08);
  --avatar-gradient: none;
  --avatar-pattern: none;
  --avatar-pattern-size: auto;
  --avatar-border-color: #1a73e8;
  --avatar-border-width: 0px;
  --avatar-border-radius: 12px;
  --avatar-shadow: none;
  --avatar-size: 160px;
  --avatar-align-self: center;

  --handle-color: #1a73e8;
  --handle-bg: #000000;
  --handle-gradient: none;
  --handle-pattern: none;
  --handle-pattern-size: auto;
  --handle-border-color: #000000;
  --handle-border-width: 0px;
  --handle-border-radius: 16px;
  --handle-font: 'Inter', sans-serif;
  --handle-size: 1.4rem;
  --handle-weight: 700;
  --handle-style: normal;
  --handle-decor: none;
  --handle-text-shadow: none;
  --handle-box-shadow: none;
  --handle-align: center;
  --handle-align-self: center;

  --slogan-color: #121212;
  --slogan-font: 'Inter', sans-serif;
  --slogan-size: 1.1rem;
  --slogan-weight: 400;
  --slogan-style: normal;
  --slogan-decor: none;
  --slogan-shadow: none;
  --slogan-bg: transparent;
  --slogan-gradient: none;
  --slogan-pattern: none;
  --slogan-pattern-size: auto;
  --slogan-border-color: #000000;
  --slogan-border-width: 0px;
  --slogan-border-radius: 10px;
  --slogan-align: center;
  --slogan-align-self: center;

  --extra-label-color: #121212;
  --extra-label-font: 'Inter', sans-serif;
  --extra-label-size: 1.05rem;
  --extra-label-weight: 400;
  --extra-label-style: normal;
  --extra-label-decor: none;
  --extra-label-shadow: none;
  --extra-label-bg: transparent;
  --extra-label-gradient: none;
  --extra-label-pattern: none;
  --extra-label-pattern-size: auto;
  --extra-label-border-color: #000000;
  --extra-label-border-width: 0px;
  --extra-label-border-radius: 10px;
  --extra-label-align: center;
  --extra-label-align-self: center;

  --bio-text: #121212;
  --bio-bg: #ffffff;
  --bio-gradient: none;
  --bio-pattern: none;
  --bio-pattern-size: auto;
  --bio-border-color: #d9dce2;
  --bio-border-width: 0px;
  --bio-border-radius: 12px;
  --bio-font: 'Inter', sans-serif;
  --bio-size: 1rem;
  --bio-weight: 400;
  --bio-style: normal;
  --bio-decor: none;
  --bio-shadow: none;
  --bio-box-shadow: none;
  --bio-align: left;

  --social-icon-color: #1a73e8;
  --social-icon-shadow: none;
  --link-box-shadow-basic: 0 10px 24px rgba(0,0,0,0.08);
  --link-box-shadow-featured: 0 10px 24px rgba(0,0,0,0.08);
  --social-bubble-bg: rgba(255,255,255,0.85);
  --social-bubble-border: rgba(0,0,0,0.08);
  --social-frame-bg: transparent;
  --social-frame-gradient: none;
  --social-frame-pattern: none;
  --social-frame-pattern-size: auto;
  --social-frame-border-color: #d9dce2;
  --social-frame-border-width: 0px;
  --social-frame-border-radius: 12px;
  --social-frame-align-self: center;
  --social-frame-justify: center;

  --link-title-color-basic: #121212;
  --link-title-color-featured: #121212;
  --link-text-color: #3a3a3a;
  --link-box-bg-basic: #ffffff;
  --link-box-gradient-basic: none;
  --link-box-pattern-basic: none;
  --link-box-pattern-size-basic: auto;
  --link-box-border-color-basic: #d9dce2;
  --link-box-border-width-basic: 0px;
  --link-box-border-radius-basic: 12px;
  --link-image-bg-basic: transparent;
  --link-image-gradient-basic: none;
  --link-image-pattern-basic: none;
  --link-image-pattern-size-basic: auto;
  --link-image-border-color-basic: #d9dce2;
  --link-image-border-width-basic: 0px;
  --link-image-border-radius-basic: 6px;
  --link-image-size-basic: 25px;
  --link-box-bg-featured: #ffffff;
  --link-box-gradient-featured: none;
  --link-box-pattern-featured: none;
  --link-box-pattern-size-featured: auto;
  --link-box-border-color-featured: #d9dce2;
  --link-box-border-width-featured: 0px;
  --link-box-border-radius-featured: 12px;
  --link-image-bg-featured: transparent;
  --link-image-gradient-featured: none;
  --link-image-pattern-featured: none;
  --link-image-pattern-size-featured: auto;
  --link-image-border-color-featured: #d9dce2;
  --link-image-border-width-featured: 0px;
  --link-image-border-radius-featured: 12px;
  --link-image-size-featured: 50px;
  --link-group-color: #121212;
  --link-group-font: 'Inter', sans-serif;
  --link-group-size: 1.05rem;
  --link-group-weight: 400;
  --link-group-style: normal;
  --link-group-decor: none;
  --link-featured-group-color: #121212;
  --link-featured-group-font: 'Inter', sans-serif;
  --link-featured-group-size: 1.1rem;
  --link-featured-group-weight: 500;
  --link-featured-group-style: normal;
  --link-featured-group-decor: none;

  --featured-title-font: 'Inter', sans-serif;
  --featured-title-size: 1.05rem;
  --featured-title-weight: 600;
  --featured-title-style: normal;
  --featured-title-decor: none;

  --featured-subtitle-font: 'Inter', sans-serif;
  --featured-subtitle-size: 0.95rem;
  --featured-subtitle-weight: 500;
  --featured-subtitle-style: normal;
  --featured-subtitle-decor: none;

  --featured-text-font: 'Inter', sans-serif;
  --featured-text-size: 0.95rem;
  --featured-text-weight: 400;
  --featured-text-style: normal;
  --featured-text-decor: none;

  --basic-title-font: 'Inter', sans-serif;
  --basic-title-size: 1rem;
  --basic-title-weight: 600;
  --basic-title-style: normal;
  --basic-title-decor: none;

  --basic-text-font: 'Inter', sans-serif;
  --basic-text-size: 0.95rem;
  --basic-text-weight: 400;
  --basic-text-style: normal;
  --basic-text-decor: none;

  --site-header-color: #ffffff;
  --site-header-font: 'Inter', sans-serif;
  --site-header-size: 1rem;
  --site-header-weight: 600;
  --site-header-style: normal;
  --site-header-decor: none;
  --site-header-shadow: none;

  --site-footer-color: #ffffff;
  --site-footer-font: 'Inter', sans-serif;
  --site-footer-size: 0.95rem;
  --site-footer-weight: 400;
  --site-footer-style: normal;
  --site-footer-decor: none;
  --site-footer-shadow: none;
}

* { box-sizing: border-box; }

html {
  font-size: calc(var(--ui-font-base, 16px) * var(--ui-zoom, 1));
}

body {
  margin: 0;
  background-color: var(--theme-site-bg-1);
  background-image: var(--theme-site-layer-image);
  background-size: var(--theme-site-layer-size);
  background-repeat: var(--theme-site-layer-repeat);
  background-position: var(--theme-site-layer-position);
  background-attachment: var(--theme-site-layer-attachment);
  color: #0f172a;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

body.site {
  position: relative;
}

.site-frame {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px 0 40px;
  background-color: var(--theme-site-bg-1);
  background-image: var(--theme-site-layer-image);
  background-size: var(--theme-site-layer-size);
  background-repeat: var(--theme-site-layer-repeat);
  background-position: var(--theme-site-layer-position);
  background-attachment: var(--theme-site-layer-attachment);
  border: var(--site-border-width) solid var(--site-border-color);
  border-radius: var(--site-border-radius);
}

.page {
  width: 90%;
  max-width: var(--page-max-width);
  background-color: transparent;
  border: var(--page-border-width) solid var(--page-border-color);
  border-radius: var(--page-border-radius);
  box-shadow: var(--page-shadow);
  padding: 64px 18px 26px;
  position: relative;
  overflow: hidden;
}

.page::before {
  content: '';
  position: absolute;
  inset: 0;
  background-color: var(--theme-body-bg-1);
  background-image: var(--theme-body-layer-image);
  background-size: var(--theme-body-layer-size);
  background-repeat: var(--theme-body-layer-repeat);
  background-position: var(--theme-body-layer-position);
  background-attachment: var(--theme-body-layer-attachment);
  opacity: 1;
  z-index: 0;
  border-radius: inherit;
}

.page > * { position: relative; z-index: 1; }

:root {
  --msi-top-bars-offset: 0px;
}

.page-logo {
  position: fixed;
  top: calc(var(--msi-top-bars-offset) + 24px);
  left: calc(50vw - min(45vw, calc(var(--page-max-width) / 2)) + 10px);
  z-index: 1002;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--social-icon-color, #1a73e8);
  opacity: 0.85;
  transition: opacity 0.15s;
  --logo-arc-color: #fff;
  --logo-dot-color: #fff;
}
.page-logo:hover { opacity: 1; }
.page-logo svg {
  display: block;
  width: 30px;
  height: 30px;
}

.site-share-btn {
  position: fixed;
  top: calc(var(--msi-top-bars-offset) + 24px);
  right: calc(50vw - min(45vw, calc(var(--page-max-width) / 2)) + 10px);
  z-index: 1002;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--social-icon-color, #1a73e8);
  border: none;
  cursor: pointer;
  color: #fff;
  opacity: 0.85;
  transition: opacity 0.15s;
  padding: 0;
}
.site-share-btn:hover { opacity: 1; }
.site-share-btn .material-symbols-rounded { font-size: 18px; }

.header-block {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  margin-bottom: 16px;
}

.name-band {
  padding: 6px 11px;
  background: var(--name-bg);
  background-image: var(--name-gradient), var(--name-pattern);
  background-size: auto, var(--name-pattern-size);
  background-repeat: no-repeat, repeat;
  background-position: 0 0, 0 0;
  color: var(--name-color);
  border: var(--name-border-width) solid var(--name-border-color);
  border-radius: var(--name-border-radius);
  box-shadow: var(--name-box-shadow);
  font-family: var(--name-font);
  font-size: var(--name-size);
  font-weight: var(--name-weight);
  font-style: var(--name-style);
  text-decoration: var(--name-decor);
  text-shadow: var(--name-text-shadow);
  text-align: var(--name-align);
  align-self: var(--name-align-self);
  max-width: 90%;
}

.avatar {
  width: var(--avatar-size);
  height: var(--avatar-size);
  border-radius: var(--avatar-border-radius);
  border: var(--avatar-border-width) solid var(--avatar-border-color);
  background: var(--avatar-bg);
  background-image: var(--avatar-gradient), var(--avatar-pattern);
  background-size: auto, var(--avatar-pattern-size);
  background-repeat: no-repeat, repeat;
  background-position: 0 0, 0 0;
  box-shadow: var(--avatar-shadow);
  object-fit: cover;
  display: block;
}
.avatar-wrapper {
  display: inline-flex;
  border-radius: var(--avatar-border-radius);
  background: transparent;
  position: relative;
  align-self: var(--avatar-align-self);
}
.avatar-wrapper.is-fallback {
  width: var(--avatar-size);
  height: var(--avatar-size);
  align-items: center;
  justify-content: center;
  border-radius: var(--avatar-border-radius);
  border: var(--avatar-border-width) solid var(--avatar-border-color);
  background: var(--avatar-bg);
  background-image: var(--avatar-gradient), var(--avatar-pattern);
  background-size: auto, var(--avatar-pattern-size);
  background-repeat: no-repeat, repeat;
  background-position: 0 0, 0 0;
  box-shadow: var(--avatar-shadow);
}
.avatar-wrapper.is-fallback::after {
  content: '';
  position: absolute;
  inset: 4%;
  background-color: var(--social-icon-color);
  -webkit-mask-image: url('assets/img/type_contact.png');
  mask-image: url('assets/img/type_contact.png');
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-position: center;
  mask-position: center;
}
.avatar-wrapper.is-fallback .avatar {
  opacity: 0;
  background: transparent;
  border: none;
  box-shadow: none;
}

.avatar.round { border-radius: 50%; }
.avatar.square { border-radius: var(--avatar-border-radius); }

.handle-band {
  padding: 10px 20px;
  background: var(--handle-bg);
  background-image: var(--handle-gradient), var(--handle-pattern);
  background-size: auto, var(--handle-pattern-size);
  background-repeat: no-repeat, repeat;
  background-position: 0 0, 0 0;
  color: var(--handle-color);
  border: var(--handle-border-width) solid var(--handle-border-color);
  border-radius: var(--handle-border-radius);
  box-shadow: var(--handle-box-shadow);
  font-family: var(--handle-font);
  font-size: var(--handle-size);
  font-weight: var(--handle-weight);
  font-style: var(--handle-style);
  text-decoration: var(--handle-decor);
  text-shadow: var(--handle-text-shadow);
  text-align: var(--handle-align);
  align-self: var(--handle-align-self);
}

.slogan {
  margin-top: 4px;
  padding: 6px 10px;
  background: var(--slogan-bg);
  background-image: var(--slogan-gradient), var(--slogan-pattern);
  background-size: auto, var(--slogan-pattern-size);
  background-repeat: no-repeat, repeat;
  background-position: 0 0, 0 0;
  border: var(--slogan-border-width) solid var(--slogan-border-color);
  border-radius: var(--slogan-border-radius);
  font-family: var(--slogan-font);
  font-size: var(--slogan-size);
  font-weight: var(--slogan-weight);
  font-style: var(--slogan-style);
  text-decoration: var(--slogan-decor);
  color: var(--slogan-color);
  text-align: var(--slogan-align);
  text-shadow: var(--slogan-shadow);
  align-self: var(--slogan-align-self);
}

.extra-label-band {
  margin-top: 4px;
  padding: 7px 12px;
  background: var(--extra-label-bg);
  background-image: var(--extra-label-gradient), var(--extra-label-pattern);
  background-size: auto, var(--extra-label-pattern-size);
  background-repeat: no-repeat, repeat;
  background-position: 0 0, 0 0;
  border: var(--extra-label-border-width) solid var(--extra-label-border-color);
  border-radius: var(--extra-label-border-radius);
  font-family: var(--extra-label-font);
  font-size: var(--extra-label-size);
  font-weight: var(--extra-label-weight);
  font-style: var(--extra-label-style);
  text-decoration: var(--extra-label-decor);
  color: var(--extra-label-color);
  text-align: var(--extra-label-align);
  text-shadow: var(--extra-label-shadow);
  align-self: var(--extra-label-align-self);
}

.bio {
  margin: 14px 0 18px;
  padding: 16px 18px;
  background: var(--bio-bg);
  background-image: var(--bio-gradient), var(--bio-pattern);
  background-size: auto, var(--bio-pattern-size);
  background-repeat: no-repeat, repeat;
  background-position: 0 0, 0 0;
  color: var(--bio-text);
  border: var(--bio-border-width) solid var(--bio-border-color);
  border-radius: var(--bio-border-radius);
  box-shadow: var(--bio-box-shadow);
  font-family: var(--bio-font);
  font-size: var(--bio-size);
  font-weight: var(--bio-weight);
  font-style: var(--bio-style);
  text-decoration: var(--bio-decor);
  text-shadow: var(--bio-shadow);
  text-align: var(--bio-align);
  line-height: 1.6;
}

.socials {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: var(--social-frame-justify);
  margin-bottom: 14px;
  padding: 8px 10px;
  width: 100%;
  max-width: 100%;
}

.chip {
  background: var(--social-frame-bg);
  background-image: var(--social-frame-gradient), var(--social-frame-pattern);
  background-size: auto, var(--social-frame-pattern-size);
  background-repeat: no-repeat, repeat;
  background-position: 0 0, 0 0;
  border-radius: var(--social-frame-border-radius);
  padding: 6px 10px;
  border: var(--social-frame-border-width) solid var(--social-frame-border-color);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #111;
  text-decoration: none;
  box-shadow: var(--social-icon-shadow);
}

.chip img {
  width: var(--social-icon-size);
  height: var(--social-icon-size);
  display: block;
}
.chip.icon-only { padding: 6px; }

.chip-icon-mask {
  width: var(--social-icon-size);
  height: var(--social-icon-size);
  background: var(--social-icon-color);
  display: inline-flex;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-position: center;
  mask-position: center;
}

.links-section { margin-top: 16px; }
.links-section h3 {
  margin: 0 0 10px;
  font-family: var(--link-group-font);
  font-size: var(--link-group-size);
  font-weight: var(--link-group-weight);
  font-style: var(--link-group-style);
  text-decoration: var(--link-group-decor);
  color: var(--link-group-color);
  text-align: var(--link-group-align);
  text-shadow: var(--link-group-shadow);
}
.links-section h3.group-featured {
  font-family: var(--link-featured-group-font);
  font-size: var(--link-featured-group-size);
  font-weight: var(--link-featured-group-weight);
  font-style: var(--link-featured-group-style);
  text-decoration: var(--link-featured-group-decor);
  color: var(--link-featured-group-color);
  text-align: var(--link-featured-group-align);
  text-shadow: var(--link-featured-group-shadow);
}

.card {
  border: var(--link-box-border-width-basic) solid var(--link-box-border-color-basic);
  border-radius: var(--link-box-border-radius-basic);
  background-color: var(--link-box-bg-basic);
  background-image: var(--link-box-gradient-basic), var(--link-box-pattern-basic);
  background-size: auto, var(--link-box-pattern-size-basic);
  background-repeat: no-repeat, repeat;
  background-position: 0 0, 0 0;
  padding: 10px 12px;
  margin-bottom: 10px;
  box-shadow: var(--link-box-shadow-basic);
  align-items: center;
}

.card.featured {
  border: var(--link-box-border-width-featured) solid var(--link-box-border-color-featured);
  border-radius: var(--link-box-border-radius-featured);
  background-color: var(--link-box-bg-featured);
  background-image: var(--link-box-gradient-featured), var(--link-box-pattern-featured);
  background-size: auto, var(--link-box-pattern-size-featured);
  background-repeat: no-repeat, repeat;
  background-position: 0 0, 0 0;
  box-shadow: var(--link-box-shadow-featured);
}

.card a {
  text-decoration: none;
  color: inherit;
  display: inline-flex;
  align-items: flex-start;
  gap: 8px;
  flex-wrap: wrap;
  width: 100%;
}
.card.basic a {
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.featured-link {
  align-items: flex-start;
}
.basic-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  white-space: normal;
}

.link-meta h4 {
  margin: 0;
  color: var(--link-title-color-featured);
}

.basic .thumb {
  width: var(--link-image-size-basic);
  height: var(--link-image-size-basic);
  border-radius: var(--link-image-border-radius-basic);
  overflow: hidden;
  flex: 0 0 var(--link-image-size-basic);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--link-image-bg-basic);
  background-image: var(--link-image-gradient-basic), var(--link-image-pattern-basic);
  background-size: auto, var(--link-image-pattern-size-basic);
  background-repeat: no-repeat, repeat;
  background-position: 0 0, 0 0;
  border: var(--link-image-border-width-basic) solid var(--link-image-border-color-basic);
}
.basic .thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.basic .thumb-fallback {
  display: inline-block;
  width: var(--link-image-size-basic);
  height: var(--link-image-size-basic);
  line-height: var(--link-image-size-basic);
  text-align: center;
  font-size: calc(var(--link-image-size-basic) * 0.45);
  font-weight: 700;
  color: #000;
}

.featured .thumb {
  width: var(--link-image-size-featured);
  height: var(--link-image-size-featured);
  flex-shrink: 0;
  border-radius: var(--link-image-border-radius-featured);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  background: var(--link-image-bg-featured);
  background-image: var(--link-image-gradient-featured), var(--link-image-pattern-featured);
  background-size: auto, var(--link-image-pattern-size-featured);
  background-repeat: no-repeat, repeat;
  background-position: 0 0, 0 0;
  border: var(--link-image-border-width-featured) solid var(--link-image-border-color-featured);
}
.featured .thumb img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}
.featured .link-meta {
  flex: 1;
  min-width: 0;
}
.card.featured {
  padding: 10px 12px;
}

.featured .link-meta h4,
.featured .featured-subtitle,
.featured .featured-text {
  margin-top: 0;
}
.link-meta.inline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.featured-title {
  font-family: var(--featured-title-font);
  font-size: var(--featured-title-size);
  font-weight: var(--featured-title-weight);
  font-style: var(--featured-title-style);
  text-decoration: var(--featured-title-decor);
  color: var(--link-title-color-featured);
  text-align: var(--featured-title-align);
}

.featured-subtitle {
  font-family: var(--featured-subtitle-font);
  font-size: var(--featured-subtitle-size);
  font-weight: var(--featured-subtitle-weight);
  font-style: var(--featured-subtitle-style);
  text-decoration: var(--featured-subtitle-decor);
  color: var(--featured-subtitle-color);
  margin-top: 2px;
  text-align: var(--featured-subtitle-align);
  text-shadow: var(--featured-subtitle-shadow);
}

.featured-text {
  font-family: var(--featured-text-font);
  font-size: var(--featured-text-size);
  font-weight: var(--featured-text-weight);
  font-style: var(--featured-text-style);
  text-decoration: var(--featured-text-decor);
  color: var(--featured-text-color);
  margin: 6px 0 0;
  line-height: 1.5;
  text-align: var(--featured-text-align);
  text-shadow: var(--featured-text-shadow);
}

.basic-title {
  font-family: var(--basic-title-font);
  font-size: var(--basic-title-size);
  font-weight: var(--basic-title-weight);
  font-style: var(--basic-title-style);
  text-decoration: var(--basic-title-decor);
  color: var(--link-title-color-basic);
  text-align: var(--basic-title-align);
  text-shadow: var(--basic-title-shadow);
}

.link-desc-inline {
  margin-left: 6px;
  font-family: var(--basic-text-font);
  font-size: var(--basic-text-size);
  font-weight: var(--basic-text-weight);
  font-style: var(--basic-text-style);
  text-decoration: var(--basic-text-decor);
  color: var(--basic-text-color);
  text-align: var(--basic-text-align);
  text-shadow: var(--basic-text-shadow);
}

/* Keep featured descriptions below; regular links inline via span */
.card p:not(.featured-text), .card .basic-text {
  margin: 6px 0 0;
  font-family: var(--basic-text-font);
  font-size: var(--basic-text-size);
  font-weight: var(--basic-text-weight);
  font-style: var(--basic-text-style);
  text-decoration: var(--basic-text-decor);
  color: var(--basic-text-color);
  line-height: 1.5;
  text-align: var(--basic-text-align);
}

.badge {
  display: inline-block;
  padding: 3px 8px;
  background: var(--affiliate-badge-bg);
  color: var(--affiliate-badge-color);
  border-radius: var(--affiliate-badge-radius);
  border: var(--affiliate-badge-border-width) solid var(--affiliate-badge-border-color);
  font-family: var(--affiliate-badge-font);
  font-size: var(--affiliate-badge-size);
  font-weight: var(--affiliate-badge-weight);
  font-style: var(--affiliate-badge-style);
  text-decoration: var(--affiliate-badge-decor);
  margin: 0 0 0 6px;
  text-align: var(--affiliate-badge-align);
}
.basic-text-wrap {
  display: inline-flex;
  flex: 1;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.site-footer {
  margin-top: 16px;
  max-width: 540px;
  width: 100%;
  color: var(--site-footer-color);
  font-family: var(--site-footer-font);
  font-size: var(--site-footer-size);
  font-weight: var(--site-footer-weight);
  font-style: var(--site-footer-style);
  text-decoration: var(--site-footer-decor);
  text-align: center;
  text-shadow: var(--site-footer-shadow);
}

.footer-signature {
  display: inline-block;
  margin-top: 0;
  padding-top: 0;
  font-family: 'Hack', 'Space Mono', monospace;
  letter-spacing: 0.03em;
  font-size: 0.78em;
}

.site-footer a {
  color: inherit;
  font: inherit;
  text-decoration: inherit;
}

.footer-signature a {
  color: #2fb65d;
}

.msi-beta-tag {
  color: #ff9a2f;
}

.platform-footer-tv {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  padding: 9px 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(30, 32, 36, 0.94), rgba(15, 17, 20, 0.96));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), inset 0 0 0 1px rgba(0, 0, 0, 0.28), 0 8px 18px rgba(0, 0, 0, 0.22);
  position: relative;
  overflow: hidden;
}

.platform-footer-tv::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(30deg, rgba(47, 182, 93, 0.08) 12%, transparent 12.5%, transparent 87%, rgba(47, 182, 93, 0.08) 87.5%, rgba(47, 182, 93, 0.08)),
    linear-gradient(150deg, rgba(47, 182, 93, 0.08) 12%, transparent 12.5%, transparent 87%, rgba(47, 182, 93, 0.08) 87.5%, rgba(47, 182, 93, 0.08)),
    linear-gradient(90deg, rgba(47, 182, 93, 0.06) 2%, transparent 2.5%, transparent 97%, rgba(47, 182, 93, 0.06) 97.5%, rgba(47, 182, 93, 0.06));
  background-size: 22px 38px;
  background-position: 0 0, 0 0, 0 0;
  opacity: 0.7;
  pointer-events: none;
}

.platform-footer-tv > * {
  position: relative;
  z-index: 1;
}

.platform-footer-tv .footer-signature {
  padding-top: 0;
  border-top: none;
}

.page-and-sidebar {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 12px;
  width: 100%;
}

.page-qr-corner {
  position: fixed;
  bottom: 16px;
  right: 16px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 14px 10px 10px;
  background-color: var(--theme-body-bg-1);
  background-image: var(--theme-body-layer-image);
  background-size: var(--theme-body-layer-size);
  background-repeat: var(--theme-body-layer-repeat);
  background-position: var(--theme-body-layer-position);
  border: var(--page-border-width) solid var(--page-border-color);
  border-radius: 12px;
  box-shadow: var(--page-shadow);
}

.page-qr-corner #page-qr {
  line-height: 0;
  padding: 4px;
  background: #fff;
  border-radius: 4px;
}

.sidebar-qr-label {
  font-size: 0.65rem;
  text-align: center;
  color: var(--name-color, #121212);
  opacity: 0.7;
  line-height: 1.3;
  background-color: var(--theme-body-bg-1);
  border-radius: 100px;
  padding: 2px 8px;
}

.footer-privacy-note {
  margin-top: 4px;
  color: var(--theme-body-text, var(--bio-color, #d7dde6));
  font-family: 'Hack', 'Space Mono', monospace;
  font-size: 0.62rem;
  letter-spacing: 0.04em;
  line-height: 1.6;
  text-align: center;
  opacity: 0.8;
}

.footer-privacy-note a {
  color: inherit;
  text-decoration: underline;
}

@media (max-width: 780px), (hover: none) and (pointer: coarse) {
  :root {
    --theme-site-pattern-size: var(--theme-site-pattern-size-mobile);
    --theme-body-pattern-size: var(--theme-body-pattern-size-mobile);
    --theme-site-layer-size: var(--theme-site-layer-size-mobile);
    --theme-body-layer-size: var(--theme-body-layer-size-mobile);
    --name-pattern-size: var(--name-pattern-size-mobile);
    --avatar-pattern-size: var(--avatar-pattern-size-mobile);
    --handle-pattern-size: var(--handle-pattern-size-mobile);
    --slogan-pattern-size: var(--slogan-pattern-size-mobile);
    --extra-label-pattern-size: var(--extra-label-pattern-size-mobile);
    --bio-pattern-size: var(--bio-pattern-size-mobile);
    --social-icon-size: var(--social-icon-size-mobile);
    --social-frame-pattern-size: var(--social-frame-pattern-size-mobile);
    --link-box-pattern-size-basic: var(--link-box-pattern-size-basic-mobile);
    --link-box-pattern-size-featured: var(--link-box-pattern-size-featured-mobile);
    --link-image-pattern-size-basic: var(--link-image-pattern-size-basic-mobile);
    --link-image-pattern-size-featured: var(--link-image-pattern-size-featured-mobile);
  }
  .page-qr-corner { display: none; }
  .site-frame {
    padding: 34px 28px 48px;
  }
  .page {
    width: 100%;
    max-width: none;
    padding: 72px 20px 44px;
  }
  .page-logo {
    top: calc(var(--msi-top-bars-offset) + max(18px, calc(env(safe-area-inset-top) + 16px)));
    left: 20px;
    width: 42px;
    height: 42px;
  }
  .page-logo svg {
    width: 25px;
    height: 25px;
  }
  .site-share-btn {
    top: calc(var(--msi-top-bars-offset) + max(18px, calc(env(safe-area-inset-top) + 16px)));
    right: 20px;
    width: 36px;
    height: 36px;
  }
  .site-share-btn .material-symbols-rounded {
    font-size: 16px;
  }
  .avatar,
  .avatar-wrapper,
  .avatar-wrapper.is-fallback {
    width: 225px;
    height: 225px;
  }
  .chip img,
  .chip-icon-mask {
    width: var(--social-icon-size);
    height: var(--social-icon-size);
  }
  .chip.icon-only {
    padding: max(6px, calc((44px - var(--social-icon-size)) / 2));
  }
  .basic .thumb,
  .basic .thumb-fallback {
    width: max(var(--link-image-size-basic), 50px);
    height: max(var(--link-image-size-basic), 50px);
    flex: 0 0 max(var(--link-image-size-basic), 50px);
    line-height: max(var(--link-image-size-basic), 50px);
    font-size: calc(max(var(--link-image-size-basic), 50px) * 0.44);
  }
  .featured .thumb {
    width: max(var(--link-image-size-featured), 92px);
    height: max(var(--link-image-size-featured), 92px);
  }
  .module-links .link-thumb {
    flex: 0 0 max(var(--link-thumb-size-basic, var(--link-image-size-basic, 50px)), 62px);
    width: max(var(--link-thumb-size-basic, var(--link-image-size-basic, 50px)), 62px);
    height: max(var(--link-thumb-size-basic, var(--link-image-size-basic, 50px)), 62px);
  }
  .module-links.module-featured .link-thumb {
    flex: 0 0 max(var(--link-thumb-size-featured, var(--link-image-size-featured, 50px)), 96px);
    width: max(var(--link-thumb-size-featured, var(--link-image-size-featured, 50px)), 96px);
    height: max(var(--link-thumb-size-featured, var(--link-image-size-featured, 50px)), 96px);
  }
  .page-and-sidebar {
    gap: 0;
  }
  .sidebar-qr-label { display: none; }
}

.btn {
  border: 1px solid #d0d5dd;
  background: #fff;
  color: #0f172a;
  padding: 8px 12px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
}

.btn.primary { background: #1a73e8; color: #fff; border-color: #1a73e8; }
.btn.muted { background: #f7f8fb; color: #111827; }
.btn.secondary { background: #ff6f61; color: #fff; border-color: #ff6f61; }
.btn.circle { border-radius: 999px; width: 46px; height: 46px; display: inline-flex; align-items: center; justify-content: center; }

.status { padding: 10px 12px; border-radius: 8px; margin: 12px 0; }
.status.success { background: #e6f4ea; color: #155724; }
.status.neutral { background: #eef2f7; color: #374151; }

.admin-shell { max-width: 1400px; margin: 20px auto; padding: 0 14px; }
.admin-nav { display:flex; gap:12px; margin:12px 0 16px; }
.admin-nav a { text-decoration:none; color:#1f2937; padding:8px 12px; border-radius:8px; border:1px solid #e5e7eb; }
.admin-nav a.active { background:#1a73e8; color:#fff; border-color:#1a73e8; }

input, select, textarea {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid #cfd3dc;
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.95rem;
}

input[type=checkbox] { width: auto; }
input[type=range] { padding: 0; }

.form-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 14px;
}

/* ── Module system ─────────────────────────────────────────── */
.site-content { width: 100%; }
.module { margin-bottom: 16px; }

.module-title {
  margin: 0 0 10px;
  font-family: var(--link-group-font);
  font-size: var(--link-group-size);
  font-weight: var(--link-group-weight);
  font-style: var(--link-group-style);
  text-decoration: var(--link-group-decor);
  color: var(--link-group-color);
  text-align: var(--link-group-align);
  text-shadow: var(--link-group-shadow);
}

.module.module-featured .module-title {
  font-family: var(--link-featured-group-font);
  font-size: var(--link-featured-group-size);
  font-weight: var(--link-featured-group-weight);
  font-style: var(--link-featured-group-style);
  text-decoration: var(--link-featured-group-decor);
  color: var(--link-featured-group-color);
  text-align: var(--link-featured-group-align);
  text-shadow: var(--link-featured-group-shadow);
}

.module-header {
  margin-bottom: 18px;
}

.module-header .module-title {
  margin: 0;
}

.module-links .link-card {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  border: var(--link-box-border-width-basic) solid var(--link-box-border-color-basic);
  border-radius: var(--link-box-border-radius-basic);
  background-color: var(--link-box-bg-basic);
  background-image: var(--link-box-gradient-basic), var(--link-box-pattern-basic);
  background-size: auto, var(--link-box-pattern-size-basic);
  background-repeat: no-repeat, repeat;
  background-position: 0 0, 0 0;
  box-shadow: var(--link-box-shadow-basic);
  padding: 10px 14px;
  margin-bottom: 10px;
  color: inherit;
}

.module-links.module-featured .link-card {
  align-items: flex-start;
  border: var(--link-box-border-width-featured) solid var(--link-box-border-color-featured);
  border-radius: var(--link-box-border-radius-featured);
  background-color: var(--link-box-bg-featured);
  background-image: var(--link-box-gradient-featured), var(--link-box-pattern-featured);
  background-size: auto, var(--link-box-pattern-size-featured);
  background-repeat: no-repeat, repeat;
  background-position: 0 0, 0 0;
  box-shadow: var(--link-box-shadow-featured);
  padding: 14px 16px;
}

.module-links .link-thumb {
  flex: 0 0 var(--link-thumb-size-basic, var(--link-image-size-basic, 50px));
  width: var(--link-thumb-size-basic, var(--link-image-size-basic, 50px));
  height: var(--link-thumb-size-basic, var(--link-image-size-basic, 50px));
  border-radius: var(--link-image-border-radius-basic);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  background-color: var(--link-image-bg-basic);
  background-image: var(--link-image-gradient-basic), var(--link-image-pattern-basic);
  background-size: auto, var(--link-image-pattern-size-basic);
  background-repeat: no-repeat, repeat;
  background-position: 0 0, 0 0;
  border: var(--link-image-border-width-basic) solid var(--link-image-border-color-basic);
}

.module-links .link-thumb img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

.module-links.module-featured .link-thumb {
  flex: 0 0 var(--link-thumb-size-featured, var(--link-image-size-featured, 50px));
  width: var(--link-thumb-size-featured, var(--link-image-size-featured, 50px));
  height: var(--link-thumb-size-featured, var(--link-image-size-featured, 50px));
  border-radius: var(--link-image-border-radius-featured);
  padding: 6px;
  background-color: var(--link-image-bg-featured);
  background-image: var(--link-image-gradient-featured), var(--link-image-pattern-featured);
  background-size: auto, var(--link-image-pattern-size-featured);
  background-repeat: no-repeat, repeat;
  background-position: 0 0, 0 0;
  border: var(--link-image-border-width-featured) solid var(--link-image-border-color-featured);
}

.module-links.module-featured .link-thumb img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

.module-links .link-content {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}

.module-links .link-name {
  font-family: var(--basic-title-font);
  font-size: var(--basic-title-size);
  font-weight: var(--basic-title-weight);
  font-style: var(--basic-title-style);
  text-decoration: var(--basic-title-decor);
  color: var(--link-title-color-basic);
  text-shadow: var(--basic-title-shadow);
}

.module-links.module-featured .link-name {
  font-family: var(--featured-title-font);
  font-size: var(--featured-title-size);
  font-weight: var(--featured-title-weight);
  font-style: var(--featured-title-style);
  text-decoration: var(--featured-title-decor);
  color: var(--link-title-color-featured);
  text-shadow: var(--featured-title-shadow);
}

.module-links .link-subtitle {
  font-family: var(--basic-text-font);
  font-size: var(--basic-text-size);
  font-weight: var(--basic-text-weight);
  color: var(--basic-text-color);
  text-shadow: var(--basic-text-shadow);
  margin-top: 2px;
}

.module-links.module-featured .link-subtitle {
  font-family: var(--featured-subtitle-font);
  font-size: var(--featured-subtitle-size);
  font-weight: var(--featured-subtitle-weight);
  font-style: var(--featured-subtitle-style);
  color: var(--featured-subtitle-color);
  text-shadow: var(--featured-subtitle-shadow);
  margin-top: 3px;
}

.module-links .link-description {
  font-family: var(--basic-text-font);
  font-size: var(--basic-text-size);
  color: var(--basic-text-color);
  margin-top: 4px;
}

.module-links.module-featured .link-description {
  font-family: var(--featured-text-font);
  font-size: var(--featured-text-size);
  font-weight: var(--featured-text-weight);
  color: var(--featured-text-color);
  text-shadow: var(--featured-text-shadow);
  margin-top: 6px;
}

.link-icon {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
}

@media (max-width: 640px) {
  .site-frame {
    padding: 28px 20px 40px;
  }
  .page {
    width: 100%;
    padding: 64px 16px 38px;
  }
  .page-logo {
    left: 28px;
  }
  .site-share-btn {
    right: 28px;
  }
  .card a { grid-template-columns: 1fr; }
  .thumb { width: 60px !important; height: 60px !important; }
}
