:root { color-scheme: light; font-family: Arial, Helvetica, sans-serif; color: #202122; background: #fff; }
  .account { max-width: 430px; text-align: left; }
  .account h1 { margin-top: 20px; }
  .account form:not([hidden]), .account label { display: grid; gap: 7px; }
  .account input { width: 100%; padding: 9px; font: inherit; border: 1px solid #a2a9b1; border-radius: 3px; }
  .account-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
  .account button { font: inherit; cursor: pointer; }
  .account button[hidden] { display: none; }
  .guest-link { display: block; margin-top: 20px; }
  .account-link { margin: 20px 0 0; }
  * { box-sizing: border-box; }
  body { margin: 0; min-height: 100svh; }
  main { width: min(100% - 28px, 680px); margin: auto; padding: 42px 0 42px; text-align: center; }
  h1 { margin: 0; font: 400 36px/1 "Linux Libertine", Georgia, serif; font-variant: small-caps; }
  header p { margin: 6px 0 0; font: 400 16px/1.35 Georgia, serif; }
  .portal { --radius: clamp(94px, 30vw, 148px); position: relative; display: grid; place-items: center; height: calc(var(--radius) * 2 + 38px); max-width: 530px; margin: 16px auto 14px; }
  .cube { position: relative; display: block; width: clamp(117px, 36vw, 194px); height: auto; }
  a { color: #2555a4; text-underline-offset: .22em; }
  .categories { display: contents; list-style: none; margin: 0; padding: 0; }
  .categories li { position: absolute; left: calc(50% + var(--x) * var(--radius)); top: calc(50% + var(--y) * var(--radius)); transform: translate(-50%, -50%); width: max-content; max-width: clamp(84px, 25vw, 128px); padding: 5px 7px; color: #2555a4; background: #fff; font-weight: 700; line-height: 1.2; animation: drift 7s ease-in-out infinite alternate; }
  .categories li:nth-child(1) { --x: -.88; --y: -.78; }
  .categories li:nth-child(2) { --x: .88; --y: -.78; }
  .categories li:nth-child(3) { --x: .88; --y: .78; }
  .categories li:nth-child(4) { --x: -1.15; --y: 0; }
  .categories li:nth-child(5) { --x: -.88; --y: .78; }
  .categories li:nth-child(6) { --x: 1.15; --y: 0; }
  .categories li:nth-child(even) { animation-delay: -2s; }
  .categories a { display: block; text-decoration: none; }
  .categories a:hover, .categories a:focus-visible { text-decoration: underline; }
  @keyframes drift { from { translate: 0 -3px; } to { translate: 0 3px; } }
  .play { display: inline-block; padding: 11px 22px; border: 1px solid #285aaf; border-radius: 5px; background: #3366bb; color: #fff; font-weight: 700; text-decoration: none; }
  .play:hover { background: #28539b; }
  details { margin: 30px auto 0; max-width: 470px; border-top: 1px solid #c8ccd1; padding-top: 16px; }
  summary { cursor: pointer; color: #2555a4; width: fit-content; margin: auto; padding: 8px; }
  details p { margin: 10px 0 0; color: #54595d; line-height: 1.65; }
  :focus-visible { outline: 2px solid #3366bb; outline-offset: 4px; }
  @media (max-width: 470px) {
    .categories li { padding: 4px; font-size: .875rem; }
  }
  @media (prefers-reduced-motion: reduce) { * { animation: none !important; } }

.cube text { fill: #34444c; font: 600 13px "Segoe UI Rounded", "Segoe UI", "Microsoft YaHei", "Yu Gothic", "Nirmala UI", sans-serif; text-anchor: middle; }
