:root {
  --bg: #f1f1f1;
  --paper: #fff;
  --ink: #181818;
  --accent: #181818;
  --radius: 18px;
  color-scheme: light;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font:
    15px/1.55 Arial,
    'Noto Sans TC',
    'Microsoft JhengHei',
    sans-serif;
  -webkit-font-smoothing: antialiased;
}
button,
input {
  font: inherit;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
  color: inherit;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  border: 0;
}
button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}
.icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 24px;
  height: 24px;
}
.icon svg {
  width: 100%;
  height: 100%;
  display: block;
}
.skip {
  position: fixed;
  left: 12px;
  top: -100px;
  padding: 10px;
  background: white;
  z-index: 20;
}
.skip:focus {
  top: 10px;
}
.review-tools {
  height: 44px;
  border-bottom: 1px solid #dedede;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #717171;
  font-size: 11px;
  letter-spacing: 0.03em;
}
.review-tools nav {
  display: flex;
  gap: 22px;
}
.review-tools a:hover {
  color: #111;
}
.embedded .review-tools {
  display: none;
}
.hub {
  max-width: 600px;
  margin: 0 auto;
  padding: 23px 20px 40px;
}
.utilities {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  min-height: 44px;
}
.utilities > div {
  display: flex;
  gap: 7px;
}
.utility {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border-radius: 50%;
  padding: 0;
}
.utility:hover {
  background: #00000008;
}
.utility .icon {
  width: 23px;
  height: 23px;
}
.keep {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  border: 1px solid #cecece;
  background: transparent;
  border-radius: 99px;
  height: 39px;
  padding: 0 16px;
  font-size: 13px;
  font-weight: 600;
}
.keep .icon {
  width: 18px;
  height: 18px;
}
.keep[aria-pressed='true'] {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}
[hidden] {
  display: none !important;
}
.profile {
  text-align: center;
  padding: 0 0 24px;
}
.avatar {
  width: 112px;
  height: 112px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 20px;
  background: #181818;
  display: flex;
  align-items: center;
  justify-content: center;
}
.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(var(--avatar-zoom, 1));
  filter: var(--avatar-filter, none);
}
h1 {
  font-size: 25px;
  line-height: 1.25;
  letter-spacing: -0.025em;
  margin: 0 0 5px;
  font-weight: 700;
  overflow-wrap: anywhere;
}
#handle {
  font-size: 13px;
  color: color-mix(in srgb, var(--ink) 58%, var(--bg));
  margin: 0 0 13px;
}
#bio {
  white-space: pre-line;
  font-size: 14px;
  line-height: 1.8;
  max-width: 440px;
  margin: 0 auto;
  overflow-wrap: anywhere;
}
.socials {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin: 18px auto 0;
  max-width: 350px;
}
.socials a {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}
.socials a:hover {
  background: #00000009;
}
.socials .icon {
  width: 23px;
  height: 23px;
}
.section {
  margin: 0 0 29px;
}
.section-heading {
  text-align: center;
  margin: 23px 0 13px;
}
.section-heading h2 {
  font-size: 14px;
  font-weight: 600;
  margin: 0;
  letter-spacing: 0.04em;
}
.section-heading p {
  font-size: 10px;
  color: #757575;
  letter-spacing: 0.09em;
  margin: 3px 0 0;
}
.links {
  display: grid;
  gap: 11px;
}
.link {
  min-width: 0;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 20px;
  align-items: center;
  gap: 14px;
  min-height: 76px;
  background: var(--paper);
  border: 1px solid #00000008;
  border-radius: var(--radius);
  padding: 13px 17px;
  box-shadow: 0 2px 2px #00000002;
  transition:
    transform 0.16s,
    border-color 0.16s;
}
.link:hover {
  transform: translateY(-2px);
  border-color: #00000029;
}
.cover {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: max(4px, calc(var(--radius) - 9px));
}
.tile-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  width: 44px;
  height: 44px;
}
.tile-icon .icon {
  width: 23px;
  height: 23px;
}
.link-body {
  text-align: center;
  min-width: 0;
}
.link h3 {
  font-size: 15px;
  line-height: 1.5;
  font-weight: 600;
  margin: 0;
  overflow-wrap: anywhere;
}
.link p {
  font-size: 11px;
  line-height: 1.6;
  margin: 3px 0 0;
  color: color-mix(in srgb, var(--ink) 60%, var(--paper));
  overflow-wrap: anywhere;
}
.link-arrow {
  display: flex;
  opacity: 0.6;
  justify-content: center;
}
.link-arrow .icon {
  width: 17px;
  height: 17px;
}
.layout-grid .links {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.layout-grid .link {
  grid-template-columns: 26px minmax(0, 1fr);
  gap: 10px;
  min-height: 69px;
  padding: 12px 15px;
}
.layout-grid .tile-icon {
  width: 26px;
  height: 32px;
}
.layout-grid .link h3 {
  font-size: 13px;
}
.layout-grid .link-arrow {
  display: none;
}
.layout-grid .link-body {
  text-align: left;
}
.layout-compact .link {
  min-height: 65px;
}
.layout-feature .link {
  position: relative;
  display: flex;
  min-height: 220px;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-end;
  padding: 22px;
  isolation: isolate;
  overflow: hidden;
}
.layout-feature .cover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 0;
  z-index: -2;
}
.layout-feature .link:has(.cover) {
  color: white;
}
.layout-feature .link:has(.cover):after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent, #000b);
  z-index: -1;
}
.layout-feature .link-body {
  text-align: left;
}
.layout-feature .link p {
  color: inherit;
}
.layout-feature .link-arrow {
  position: absolute;
  right: 22px;
  bottom: 24px;
}
.video-section {
  margin: 0 0 31px;
}
.video-card {
  border-radius: var(--radius);
  background: var(--paper);
  overflow: hidden;
  border: 1px solid #00000008;
}
.video-stage {
  aspect-ratio: 16/9;
  min-height: 200px;
  position: relative;
  background: #1b1b1b;
  display: grid;
}
.video-start {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: #181818;
  color: white;
  overflow: hidden;
}
.video-start:after {
  content: '';
  position: absolute;
  inset: 0;
  background: #0002;
}
.video-start img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.video-play {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 55px;
  height: 55px;
  background: #fffc;
  color: #181818;
  border-radius: 50%;
  transition: transform 0.16s;
}
.video-start:hover .video-play {
  transform: scale(1.08);
}
.video-play .icon {
  width: 23px;
  height: 23px;
  margin-left: 3px;
}
.video-stage iframe {
  width: 100%;
  height: 100%;
  min-height: 200px;
  border: 0;
}
.video-caption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 15px 18px;
}
.video-caption h2 {
  font-size: 14px;
  margin: 0;
  font-weight: 600;
}
.video-caption p {
  font-size: 11px;
  color: #757575;
  margin: 3px 0 0;
}
.video-caption > a {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  white-space: nowrap;
  min-height: 40px;
}
.video-caption .icon {
  width: 14px;
  height: 14px;
}
footer {
  text-align: center;
  padding: 13px 0 8px;
  font-size: 12px;
}
footer > a {
  font-weight: 600;
}
footer p {
  font-size: 9px;
  letter-spacing: 0.055em;
  margin: 12px 0 0;
  color: color-mix(in srgb, var(--ink) 55%, var(--bg));
}
dialog {
  width: calc(100% - 32px);
  max-width: 390px;
  max-height: calc(100dvh - 32px);
  border: 1px solid #ddd;
  border-radius: 22px;
  padding: 20px;
  background: #fff;
  color: #181818;
  box-shadow: 0 20px 80px #0002;
}
dialog::backdrop {
  background: #0006;
  backdrop-filter: blur(4px);
}
.modal-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 13px;
}
.modal-heading h2 {
  margin: 0;
  font-size: 19px;
}
.modal-heading .utility {
  width: 36px;
  height: 36px;
}
.modal-note {
  font-size: 12px;
  color: #777;
  line-height: 1.8;
  margin: 12px 0;
}
.share-value {
  font-size: 12px;
  padding: 12px;
  width: 100%;
  border: 1px solid #ddd;
  background: #f6f6f6;
  color: #444;
  border-radius: 9px;
}
.action {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 45px;
  width: 100%;
  border-radius: 10px;
  background: #181818;
  color: white;
  margin-top: 12px;
  font-size: 13px;
  font-weight: 600;
  padding: 10px;
}
.action .icon {
  width: 17px;
  height: 17px;
}
.qr-image {
  display: block;
  width: 236px;
  max-width: 100%;
  aspect-ratio: 1;
  margin: 0 auto;
}
.modal-profile {
  font-weight: 600;
  text-align: center;
  margin: 5px 0 14px;
  font-size: 14px;
}
#toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  max-width: calc(100% - 30px);
  background: #181818;
  color: #fff;
  font-size: 12px;
  line-height: 1.6;
  border-radius: 99px;
  padding: 12px 20px;
  box-shadow: 0 4px 24px #0002;
  z-index: 5;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
  text-align: center;
}
#toast.visible {
  opacity: 1;
}
#error {
  padding: 24px;
  text-align: center;
  font-size: 14px;
  color: #9c3434;
}
@media (max-width: 420px) {
  .review-tools {
    padding: 0 16px;
  }
  .review-tools nav {
    gap: 13px;
  }
  .hub {
    padding: 16px 20px 28px;
  }
  .utilities {
    margin-bottom: 9px;
  }
  .avatar {
    width: 100px;
    height: 100px;
    margin-bottom: 18px;
  }
  h1 {
    font-size: 23px;
  }
  #bio {
    font-size: 13px;
  }
  .profile {
    padding-bottom: 22px;
  }
  .socials {
    gap: 4px;
    margin-top: 15px;
  }
  .link {
    gap: 10px;
    padding: 12px;
    grid-template-columns: 40px minmax(0, 1fr) 18px;
  }
  .link h3 {
    font-size: 14px;
  }
  .cover {
    width: 40px;
    height: 40px;
  }
  .tile-icon {
    width: 40px;
    height: 40px;
  }
  .layout-grid .link {
    padding: 11px 12px;
    gap: 8px;
  }
  .layout-grid .link h3 {
    font-size: 12px;
  }
  .video-caption {
    padding: 12px 14px;
  }
  .video-caption p {
    font-size: 10px;
  }
  .keep {
    height: 37px;
    padding: 0 13px;
    font-size: 12px;
  }
}
@media (max-width: 350px) {
  .hub {
    padding-inline: 16px;
  }
  .socials {
    gap: 0;
  }
  .socials a {
    width: 40px;
  }
  .socials:not(:has(a:nth-child(8))) {
    flex-wrap: nowrap;
  }
  .layout-grid .link {
    padding: 10px;
    gap: 6px;
  }
  .layout-grid .tile-icon {
    width: 22px;
  }
  .layout-grid .tile-icon .icon {
    width: 20px;
  }
  .video-caption {
    gap: 8px;
  }
  .video-caption h2 {
    font-size: 13px;
  }
  .video-caption > a {
    font-size: 9px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
.video-fallback {
  position: relative;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #fff;
  isolation: isolate;
  padding: 20px;
  text-align: center;
}
.video-fallback:after {
  content: '';
  position: absolute;
  inset: 0;
  background: #0007;
  z-index: -1;
}
.video-fallback img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
.video-fallback span {
  font-size: 14px;
  font-weight: 600;
  border: 1px solid #fff7;
  border-radius: 99px;
  padding: 11px 19px;
  background: #0006;
}
.video-fallback small {
  font-size: 11px;
  font-weight: 400;
}

.video-stage {
  width: 100%;
  min-width: 0;
  grid-template-columns: minmax(0, 1fr);
}
.video-start {
  min-width: 0;
}
