.about-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.about-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-heading {
  display: flex;
  width: 100%;
  box-sizing: border-box;
  align-items: center;
  gap: 10px;
  padding-left: 8px;
  margin-right: 0;
  margin-bottom: 18px;
  margin-left: 0;
}

.about-heading h1 {
  margin: 0;
  color: #b92f51;
  font: italic 700 32px/1 Georgia, "Times New Roman", serif;
  text-shadow: 0 1px 1px rgba(135, 23, 29, 0.14);
}

.about-heading-line {
  flex: 1;
  height: 9px;
  background: linear-gradient(
    to bottom,
    #b92f51 0 3px,
    transparent 3px 6px,
    #b92f51 6px 9px
  );
}

.about-heading img {
  display: block;
}

.about-heading img {
  width: 60px;
  height: 72px;
  object-fit: contain;
  transform: translateY(-8px) rotate(5deg);
}

.about-layout {
  display: grid;
  width: 100%;
  box-sizing: border-box;
  grid-template-columns: 190px minmax(0, 1fr);
  align-items: start;
  gap: 20px;
}

.about-column {
  grid-column: 2;
  grid-row: 1;
}

.profile-column {
  grid-column: 1;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.about-column h2 {
  margin: 0;
  padding: 7px 10px;
  color: #b92f51;
  background: #f7e1e3;
  font: 400 16px/1.2 Georgia, "Times New Roman", serif;
}

.profile-list {
  margin: 0;
}

.profile-row {
  display: grid;
  grid-template-columns: 145px 1fr;
  gap: 16px;
  margin-left: 12px;
  padding: 22px 8px;
  border-bottom: 2px dotted #efc4cb;
}

.profile-row h3,
.profile-row p {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 14px;
  line-height: 1.45;
}

.profile-row h3 {
  color: #b92f51;
  font-weight: 700;
}

.profile-row p,
.profile-copy {
  color: var(--rose);
}

.profile-copy {
  margin: 8px 0 14px;
  font: 400 13px/1.55 Georgia, "Times New Roman", serif;
}

.about-page strong,
.about-page b {
  color: #87171d;
}

.hobby-list {
  padding-top: 2px;
}

.hobby-list section {
  margin: 0;
  padding: 7px 0;
}

.hobby-list h3,
.hobby-list p {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
}

.hobby-list h3 {
  color: #87171d;
  font-size: 14px;
}

.hobby-list p {
  margin-top: 2px;
  color: var(--rose);
  font-size: 13px;
  line-height: 1.55;
}

.dark-emphasis {
  color: #87171d;
  font-weight: 700;
}

a.dark-emphasis {
  font-weight: 400;
  text-shadow: none;
  -webkit-text-stroke: 0;
  text-decoration: underline;
  text-underline-offset: 2px;
}

a.dark-emphasis:hover,
a.dark-emphasis:focus-visible {
  color: #ff0000;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.about-widget {
  overflow: hidden;
  border: 4px double #87171d;
  background: #fff;
}

.about-widget > h2 {
  margin: 0;
  padding: 7px 8px;
  color: #fff;
  background: #87171d;
  text-align: center;
  font: italic 700 18px/1.05 Georgia, "Times New Roman", serif;
  text-shadow: 0 1px 2px #39060b;
}

.about-widget > h2 a {
  color: inherit;
  text-decoration: none;
}

.about-widget > h2 a:hover,
.about-widget > h2 a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.about-widget-icon {
  display: block;
  padding: 0;
  background: #fdf5f6;
  border-bottom: 3px double #87171d;
}

.about-widget-icon img {
  display: block;
  width: 100%;
  height: auto;
}

.about-widget-icon a {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
}

.icon-credit {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 5px 3px;
  color: #fff;
  background: rgba(135, 23, 29, 0.88);
  text-align: center;
  font: 700 9px/1.2 Georgia, "Times New Roman", serif;
  opacity: 0;
  pointer-events: none;
}

.portrait-link:hover .icon-credit,
.portrait-link:focus-visible .icon-credit {
  opacity: 1;
}

.about-widget table {
  width: 100%;
  margin: 0;
  border-collapse: collapse;
  table-layout: fixed;
  color: #87171d;
  font: 700 13px/1.25 Georgia, "Times New Roman", serif;
}

.about-widget th,
.about-widget td {
  padding: 8px;
  border: 1px solid #87171d;
  text-align: left;
}

.about-widget th {
  width: 42%;
  background: #f7e1e3;
}

.about-widget tr > :first-child {
  border-left: 0;
}

.about-widget tr > :last-child {
  border-right: 0;
}

.about-widget tr:last-child > * {
  border-bottom: 0;
}

.about-widget tr:first-child > * {
  border-top: 0;
}

.about-widget td a {
  text-decoration: none;
}

.about-widget td a:hover,
.about-widget td a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.aka-easter-egg {
  display: block;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  font: inherit;
  text-align: left;
  white-space: nowrap;
  cursor: pointer;
}

.aka-easter-egg:hover,
.aka-easter-egg:focus-visible {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.aka-easter-track {
  display: inline-block;
}

.aka-easter-egg.is-rainbow .aka-easter-track {
  display: inline-flex;
  width: max-content;
  color: transparent;
  background: linear-gradient(90deg, #ff315f, #ff9f1c, #ffe44d, #42d66b, #42a5ff, #8d5bff, #ed5bce, #ff315f);
  background-size: 250% 100%;
  background-clip: text;
  -webkit-background-clip: text;
  animation: aka-text-scroll 9s linear infinite, aka-rainbow-shift 2.2s linear infinite;
}

.aka-easter-marquee-group {
  flex: none;
}

@keyframes aka-text-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes aka-rainbow-shift {
  to { background-position: 250% 0; }
}

.fun-collection {
  overflow: hidden;
  border: 4px double #87171d;
  background: #fff;
}

.fun-collection > h2 {
  margin: 0;
  padding: 6px 5px;
  color: #fff;
  background: #87171d;
  text-align: center;
  font: italic 700 14px/1.1 Georgia, "Times New Roman", serif;
  text-shadow: 0 1px 2px #39060b;
}

.fun-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: 4px;
  padding: 7px;
}

.fun-grid a {
  position: relative;
  display: flex;
  min-width: 0;
  overflow: hidden;
  align-items: center;
  justify-content: center;
}

.fun-grid a::after {
  position: absolute;
  inset: 0;
  content: "";
  background: #87171d;
  mix-blend-mode: color;
  pointer-events: none;
}

.fun-grid a:hover::after,
.fun-grid a:focus-visible::after {
  opacity: 0;
}

.fun-grid img {
  display: block;
  max-width: 100%;
  height: auto;
  filter: grayscale(1);
}

.fun-grid a:hover img,
.fun-grid a:focus-visible img {
  filter: none;
}

.fun-grid a.fun-stamp {
  width: 100%;
  height: 48px;
}

.fun-grid a.fun-stamp img {
  width: 100%;
  height: 100%;
  object-fit: fill;
}

.fun-download-note {
  margin: 0;
  padding: 0 7px 7px;
  color: #984657;
  text-align: center;
  font-size: 11px;
  font-style: italic;
}

.about-return {
  display: flex;
  justify-content: center;
  margin-top: 18px;
}

.about-return .cloud-button {
  width: 150px;
  margin-left: 0;
}

.about-page .site-footer {
  margin: 30px 0 0;
}

@media (max-width: 620px) {
  .about-layout {
    grid-template-columns: 1fr;
  }

  .about-column,
  .profile-column {
    grid-column: auto;
    grid-row: auto;
  }

  .about-widget {
    width: min(100%, 240px);
    margin: 0 auto;
  }

  .profile-row {
    grid-template-columns: 1fr;
    gap: 8px;
    margin-left: 0;
    padding: 18px 8px;
  }
}
