#oshi-tutorial {
  --os-bg: light-dark(#f2f3ef, #191e26);
  --os-paper: light-dark(#fffefa, #262e39);
  --os-ink: light-dark(#2a394a, #edf2f8);
  --os-muted: light-dark(#5e6c7c, #bdc9d7);
  --os-line: light-dark(#dbe2e8, #465466);
  --os-blue: light-dark(#355d83, #b6d7f6);
  --os-soft: light-dark(#e6eef6, #32485e);
  --os-btn: light-dark(#31587d, #bfdcf6);
  --os-btntext: light-dark(#fffefa, #203549);
  font-family: Arial, sans-serif;
  font-size: 14px;
  line-height: 1.5;
  color: var(--os-ink);
  background: var(--os-bg);
  border-radius: 20px;
  overflow: hidden;
}
#oshi-tutorial * {
  box-sizing: border-box;
}
#oshi-tutorial button,
#oshi-tutorial select {
  font: inherit;
}
#oshi-tutorial button {
  cursor: pointer;
  color: inherit;
}
#oshi-tutorial [hidden] {
  display: none !important;
}
#oshi-tutorial .os-header {
  padding: 22px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
#oshi-tutorial .os-brand {
  font-size: 24px;
  letter-spacing: -1.2px;
  font-weight: 700;
}
#oshi-tutorial .os-brand span {
  color: var(--os-blue);
}
#oshi-tutorial .os-tag {
  font-size: 11px;
  color: var(--os-muted);
}
#oshi-tutorial .os-landing {
  max-width: 790px;
  margin: auto;
  padding: 24px 30px 42px;
}
#oshi-tutorial .os-intro {
  text-align: center;
  margin: 0 0 32px;
}
#oshi-tutorial h1 {
  font-size: 39px;
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -1.7px;
  margin: 0 0 10px;
}
#oshi-tutorial .os-sub {
  font-size: 14px;
  color: var(--os-muted);
  margin: 0;
}
#oshi-tutorial .os-welcome {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  max-width: 650px;
  margin: auto;
}
#oshi-tutorial .os-ami {
  width: 190px;
  height: 264px;
  object-fit: contain;
  display: block;
  transform-origin: 50% 95%;
}
#oshi-tutorial .os-guide {
  font-size: 11px;
  text-align: center;
  color: var(--os-muted);
  margin-top: 8px;
}
#oshi-tutorial .os-placeholder {
  height: 254px;
  width: 174px;
  border-radius: 15px;
  background: var(--os-paper);
  border: 1px solid var(--os-line);
  padding: 12px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  transform: rotate(-3deg);
}
#oshi-tutorial .os-placeholder strong {
  font-size: 39px;
  letter-spacing: -2px;
  color: var(--os-blue);
  margin-bottom: 20px;
}
#oshi-tutorial .os-placeholder small {
  font-size: 11px;
  color: var(--os-muted);
  margin-top: 8px;
}
#oshi-tutorial .os-bubble {
  position: relative;
  background: var(--os-paper);
  border: 1px solid var(--os-line);
  border-radius: 19px;
  padding: 22px;
  margin-bottom: 24px;
}
#oshi-tutorial .os-bubble:before {
  content: "";
  position: absolute;
  left: -8px;
  top: 40%;
  width: 14px;
  height: 14px;
  transform: rotate(45deg);
  background: var(--os-paper);
  border-left: 1px solid var(--os-line);
  border-bottom: 1px solid var(--os-line);
}
#oshi-tutorial .os-name {
  font-size: 12px;
  color: var(--os-blue);
  font-weight: 700;
  margin-bottom: 8px;
}
#oshi-tutorial .os-greeting {
  font-size: 19px;
  line-height: 1.5;
  letter-spacing: -0.3px;
  margin: 0;
  min-height: 114px;
}
#oshi-tutorial .os-label {
  display: block;
  font-weight: 700;
  font-size: 13px;
  margin: 0 0 8px;
}
#oshi-tutorial select {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  background: var(--os-paper);
  color: var(--os-ink);
  border: 1px solid var(--os-line);
  border-radius: 12px;
  padding: 13px 12px;
  font-size: 14px;
}
#oshi-tutorial .os-primary {
  width: 100%;
  border: 0;
  border-radius: 12px;
  padding: 13px 18px;
  background: var(--os-btn);
  color: var(--os-btntext);
  font-weight: 700;
  margin-top: 12px;
}
#oshi-tutorial button:disabled {
  opacity: 0.5;
  cursor: default;
}
#oshi-tutorial .os-caption {
  font-size: 11px;
  color: var(--os-muted);
  text-align: center;
  margin: 12px 0 0;
}
#oshi-tutorial .os-footer {
  border-top: 1px solid var(--os-line);
  padding: 12px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  font-size: 11px;
  color: var(--os-muted);
}
#oshi-tutorial .os-secondary {
  color: var(--os-blue);
  background: transparent;
  border: 0;
  padding: 8px 0;
  font-size: 12px;
  text-align: left;
}
#oshi-tutorial .os-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
#oshi-tutorial .os-catalog {
  padding: 0 28px 30px;
}
#oshi-tutorial .os-catalog-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-bottom: 22px;
}
#oshi-tutorial .os-staff-badge {
  font-size: 12px;
  padding: 7px 11px;
  border-radius: 20px;
  background: var(--os-soft);
  color: var(--os-blue);
}
#oshi-tutorial .os-catalog-heading {
  margin-bottom: 25px;
}
#oshi-tutorial .os-kicker {
  font-size: 11px;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--os-blue);
  margin-bottom: 8px;
}
#oshi-tutorial .os-catalog h2 {
  font-size: 32px;
  line-height: 1.1;
  letter-spacing: -1.1px;
  margin: 0 0 10px;
}
#oshi-tutorial .os-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 270px;
  gap: 24px;
  align-items: start;
}
#oshi-tutorial .os-sectionline {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
#oshi-tutorial h3 {
  font-size: 17px;
  letter-spacing: -0.3px;
  margin: 0;
}
#oshi-tutorial .os-all-label {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  cursor: pointer;
}
#oshi-tutorial input {
  accent-color: var(--os-blue);
}
#oshi-tutorial .os-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 16px;
}
#oshi-tutorial .os-tabs button {
  border: 0;
  background: transparent;
  border-radius: 30px;
  padding: 8px 10px;
  font-size: 12px;
  color: var(--os-muted);
}
#oshi-tutorial .os-tabs button[aria-pressed="true"] {
  background: var(--os-ink);
  color: var(--os-paper);
}
#oshi-tutorial .os-groups {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
#oshi-tutorial .os-group {
  border: 1px solid var(--os-line);
  border-radius: 18px;
  background: var(--os-paper);
  padding: 15px 11px 12px;
  min-height: 99px;
  position: relative;
  text-align: left;
  overflow-wrap: anywhere;
}
#oshi-tutorial .os-group[aria-pressed="true"] {
  border: 2px solid var(--os-blue);
  padding: 14px 10px 11px;
  background: var(--os-soft);
}
#oshi-tutorial .os-group strong {
  display: block;
  font-size: 17px;
  letter-spacing: -0.5px;
  padding-right: 13px;
}
#oshi-tutorial .os-group small {
  display: block;
  font-size: 11px;
  color: var(--os-muted);
  margin-top: 8px;
}
#oshi-tutorial .os-check {
  position: absolute;
  right: 9px;
  top: 10px;
  color: var(--os-blue);
  font-size: 12px;
}
#oshi-tutorial .os-aside {
  background: var(--os-paper);
  padding: 20px;
  border: 1px solid var(--os-line);
  border-radius: 18px;
}
#oshi-tutorial .os-count {
  font-size: 12px;
  color: var(--os-muted);
  margin-top: 3px;
}
#oshi-tutorial .os-picked {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin: 14px 0 20px;
}
#oshi-tutorial .os-chip {
  padding: 4px 8px;
  background: var(--os-soft);
  color: var(--os-blue);
  border-radius: 6px;
  font-size: 12px;
}
#oshi-tutorial .os-field {
  margin-top: 17px;
}
#oshi-tutorial .os-field .os-label {
  font-size: 12px;
}
#oshi-tutorial .os-checklabel {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  margin: 12px 0 18px;
}
#oshi-tutorial .os-note {
  margin-top: 12px;
  font-size: 11px;
  color: var(--os-muted);
}
#oshi-tutorial .os-result {
  margin-top: 20px;
  padding-top: 17px;
  border-top: 1px solid var(--os-line);
}
#oshi-tutorial .os-result-title {
  font-size: 12px;
  color: var(--os-blue);
  margin-bottom: 10px;
}
#oshi-tutorial .os-sheet {
  background: var(--os-soft);
  border-radius: 18px;
  padding: 15px;
  text-align: center;
}
#oshi-tutorial .os-sheet h4 {
  font-size: 21px;
  letter-spacing: -1px;
  line-height: 1.15;
  margin: 8px 0 14px;
}
#oshi-tutorial .os-slots {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
}
#oshi-tutorial .os-slot {
  background: var(--os-paper);
  border-radius: 7px;
  padding: 6px;
  font-size: 11px;
}
#oshi-tutorial .os-photo {
  aspect-ratio: 3/4;
  background: var(--os-bg);
  display: grid;
  place-items: center;
  color: var(--os-muted);
  font-size: 11px;
  border-radius: 4px;
  margin-bottom: 5px;
}
#oshi-tutorial .os-status {
  margin-top: 14px;
  font-size: 12px;
  color: var(--os-blue);
}
@keyframes os-entrance {
  0% {
    opacity: 0;
    transform: translateY(13px) rotate(-5deg);
  }
  65% {
    opacity: 1;
    transform: translateY(-3px) rotate(2deg);
  }
  100% {
    opacity: 1;
    transform: translateY(0) rotate(0);
  }
}
#oshi-tutorial .os-enter {
  animation: os-entrance 0.9s ease-out both;
}
@media (prefers-reduced-motion: reduce) {
  #oshi-tutorial .os-enter {
    animation: none;
  }
}
@media (max-width: 740px) {
  #oshi-tutorial .os-content {
    grid-template-columns: 1fr;
  }
  #oshi-tutorial .os-aside {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  #oshi-tutorial .os-result {
    margin: 0;
    padding: 0;
    border: 0;
  }
}
@media (max-width: 540px) {
  #oshi-tutorial .os-header {
    padding: 20px;
  }
  #oshi-tutorial .os-tag {
    max-width: 130px;
    text-align: right;
  }
  #oshi-tutorial .os-landing {
    padding: 16px 20px 30px;
  }
  #oshi-tutorial h1 {
    font-size: 31px;
  }
  #oshi-tutorial .os-welcome {
    grid-template-columns: 100px minmax(0, 1fr);
    gap: 14px;
  }
  #oshi-tutorial .os-ami {
    width: 100px;
    height: 180px;
  }
  #oshi-tutorial .os-character {
    align-self: start;
    margin-top: 23px;
  }
  #oshi-tutorial .os-placeholder {
    width: 100px;
    height: 170px;
    padding: 8px;
  }
  #oshi-tutorial .os-placeholder strong {
    font-size: 29px;
    margin-bottom: 8px;
  }
  #oshi-tutorial .os-greeting {
    font-size: 16px;
    min-height: 144px;
  }
  #oshi-tutorial .os-bubble {
    padding: 16px;
    margin-bottom: 20px;
    grid-column: 2;
  }
  #oshi-tutorial .os-picker {
    grid-column: 1/-1;
  }
  #oshi-tutorial .os-right {
    display: contents;
  }
  #oshi-tutorial .os-intro {
    margin-bottom: 22px;
  }
  #oshi-tutorial .os-secondary,
  #oshi-tutorial .os-tabs button {
    min-height: 44px;
  }
  #oshi-tutorial .os-footer {
    padding: 12px 20px;
  }
  #oshi-tutorial select {
    font-size: 16px;
  }
  #oshi-tutorial .os-catalog {
    padding: 0 20px 25px;
  }
  #oshi-tutorial .os-groups {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  #oshi-tutorial .os-aside {
    display: block;
  }
  #oshi-tutorial .os-result {
    margin-top: 20px;
    padding-top: 17px;
    border-top: 1px solid var(--os-line);
  }
  #oshi-tutorial .os-all-label {
    min-height: 44px;
  }
  #oshi-tutorial .os-catalog h2 {
    font-size: 29px;
  }
}

#oshi-tutorial .ot-guide {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  background: var(--os-paper);
  border: 1px solid var(--os-line);
  border-radius: 18px;
  padding: 16px 20px;
  margin: 0 0 24px;
  position: relative;
}
#oshi-tutorial .ot-art {
  width: 70px;
  height: 96px;
  object-fit: contain;
}
#oshi-tutorial .ot-initials {
  width: 62px;
  height: 80px;
  border-radius: 12px;
  background: var(--os-soft);
  display: grid;
  place-items: center;
  color: var(--os-blue);
  font-size: 23px;
}
#oshi-tutorial .ot-name {
  font-size: 12px;
  font-weight: 700;
  color: var(--os-blue);
  margin-bottom: 7px;
}
#oshi-tutorial .ot-message {
  font-size: 16px;
  line-height: 1.5;
  margin: 0;
  min-height: 48px;
}
#oshi-tutorial .ot-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 12px;
}
#oshi-tutorial .ot-progress {
  font-size: 11px;
  color: var(--os-muted);
}
#oshi-tutorial .ot-buttons {
  display: flex;
  gap: 8px;
  align-items: center;
}
#oshi-tutorial .ot-next {
  background: var(--os-btn);
  color: var(--os-btntext);
  border: 0;
  border-radius: 9px;
  padding: 8px 14px;
  font-size: 12px;
}
#oshi-tutorial .ot-skip {
  background: transparent;
  border: 0;
  color: var(--os-muted);
  padding: 8px;
  font-size: 12px;
}
#oshi-tutorial .ot-replay-row {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 12px;
}
#oshi-tutorial .ot-replay {
  background: transparent;
  color: var(--os-blue);
  border: 0;
  padding: 8px 0;
  font-size: 12px;
}
#oshi-tutorial .ot-focus {
  outline: 3px solid var(--os-blue);
  outline-offset: 5px;
  border-radius: 12px;
}
#oshi-tutorial .os-sectionline.ot-focus {
  padding: 8px;
  background: var(--os-soft);
}
#oshi-tutorial .os-primary.ot-focus {
  outline-offset: 4px;
}
#oshi-tutorial .os-footer {
  justify-content: flex-end;
}
#oshi-tutorial .os-footer:has(.os-replay[hidden]) {
  display: none;
}
#oshi-tutorial .ot-explainer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
#oshi-tutorial .ot-explainer .os-label {
  margin-bottom: 0;
}
#oshi-tutorial .ot-explain {
  background: var(--os-soft);
  color: var(--os-blue);
  border: 0;
  border-radius: 20px;
  font-size: 11px;
  padding: 5px 9px;
  min-height: 32px;
  margin-bottom: 7px;
}
@keyframes ot-arrive {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
#oshi-tutorial .ot-arrive {
  animation: ot-arrive 0.4s ease-out both;
}
@media (prefers-reduced-motion: reduce) {
  #oshi-tutorial .ot-arrive {
    animation: none;
  }
}
@media (max-width: 540px) {
  #oshi-tutorial .ot-guide {
    grid-template-columns: 50px minmax(0, 1fr);
    padding: 14px;
    gap: 12px;
  }
  #oshi-tutorial .ot-art {
    width: 48px;
    height: 76px;
  }
  #oshi-tutorial .ot-initials {
    width: 45px;
    height: 65px;
    font-size: 20px;
  }
  #oshi-tutorial .ot-message {
    font-size: 14px;
    min-height: 84px;
  }
  #oshi-tutorial .ot-next,
  #oshi-tutorial .ot-skip,
  #oshi-tutorial .ot-replay,
  #oshi-tutorial .ot-explain {
    min-height: 44px;
  }
  #oshi-tutorial .ot-controls {
    align-items: flex-start;
  }
  #oshi-tutorial .ot-progress {
    width: 100%;
  }
}

#oshi-manual {
  position: relative;
  --om-bg: light-dark(#f2f3ef, #191e26);
  --om-paper: light-dark(#fffefa, #262e39);
  --om-ink: light-dark(#2a394a, #edf2f8);
  --om-muted: light-dark(#5e6c7c, #bdc9d7);
  --om-line: light-dark(#dbe2e8, #465466);
  --om-blue: light-dark(#355d83, #b6d7f6);
  --om-soft: light-dark(#e6eef6, #32485e);
  --om-button: light-dark(#31587d, #bfdcf6);
  --om-button-text: light-dark(#fffefa, #203549);
  --om-shadow: light-dark(#22334412, #00000030);
  font:
    14px/1.5 Arial,
    sans-serif;
  color: var(--om-ink);
}
#oshi-manual * {
  box-sizing: border-box;
}
#oshi-manual [hidden] {
  display: none !important;
}
#oshi-manual button,
#oshi-manual input,
#oshi-manual select {
  font: inherit;
  color: inherit;
}
#oshi-manual button {
  cursor: pointer;
  min-height: 44px;
  border: 1px solid var(--om-line);
  border-radius: 10px;
  padding: 9px 13px;
  background: var(--om-paper);
}
#oshi-manual button:disabled {
  opacity: 0.45;
  cursor: default;
}
#oshi-manual button[aria-pressed="true"],
#oshi-manual .om-primary {
  background: var(--om-button);
  color: var(--om-button-text);
  border-color: var(--om-button);
}
#oshi-manual input,
#oshi-manual select {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  border: 1px solid var(--om-line);
  border-radius: 9px;
  padding: 10px 12px;
  background: var(--om-paper);
  font-size: 16px;
}
#oshi-manual label {
  display: block;
  font-size: 12px;
  color: var(--om-muted);
}
#oshi-manual label input,
#oshi-manual label select {
  margin-top: 5px;
}
#oshi-manual .om-preview-note {
  font-size: 12px;
  color: var(--om-muted);
  margin: 0 0 12px;
}
#oshi-manual .om-app {
  background: var(--om-bg);
  border-radius: 20px;
  overflow: hidden;
}
#oshi-manual .om-header {
  padding: 21px 28px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  border-bottom: 1px solid var(--om-line);
}
#oshi-manual .om-brand {
  font-size: 24px;
  letter-spacing: -1.2px;
  white-space: nowrap;
}
#oshi-manual .om-brand em {
  color: var(--om-blue);
  font-style: normal;
}
#oshi-manual .om-tag {
  font-size: 11px;
  color: var(--om-muted);
  text-align: right;
}
#oshi-manual main {
  padding: 24px 28px 28px;
}
#oshi-manual .om-heading {
  text-align: center;
  margin-bottom: 22px;
}
#oshi-manual h1 {
  font-size: 30px;
  line-height: 1.2;
  letter-spacing: -1px;
  font-weight: 500;
  margin: 0 0 8px;
}
#oshi-manual p {
  margin: 0;
}
#oshi-manual .om-muted {
  color: var(--om-muted);
  font-size: 12px;
}
#oshi-manual h2 {
  font-size: 18px;
  font-weight: 500;
  margin: 0;
}
#oshi-manual .om-guide {
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 680px;
  margin: 0 auto 24px;
}
#oshi-manual .om-ami {
  height: 87px;
  width: 65px;
  object-fit: contain;
  flex-shrink: 0;
}
#oshi-manual .om-speech {
  padding: 12px 17px;
  border: 1px solid var(--om-line);
  background: var(--om-paper);
  border-radius: 15px;
  flex: 1;
}
#oshi-manual .om-speech strong {
  font-size: 11px;
  display: block;
  color: var(--om-blue);
  font-weight: 500;
  margin-bottom: 3px;
}
#oshi-manual .om-goalbar {
  display: flex;
  align-items: end;
  gap: 15px;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--om-line);
  padding-bottom: 20px;
  margin-bottom: 21px;
}
#oshi-manual .om-goalbar > label {
  width: 220px;
}
#oshi-manual .om-custom {
  display: flex;
  gap: 8px;
  align-items: end;
}
#oshi-manual .om-custom label {
  width: 95px;
}
#oshi-manual .om-progress-copy {
  margin-left: auto;
  align-self: center;
  text-align: right;
}
#oshi-manual .om-progress-copy strong {
  font-size: 17px;
  font-weight: 500;
  display: block;
  color: var(--om-blue);
}
#oshi-manual .om-tabs {
  display: none;
  gap: 8px;
  margin-bottom: 16px;
}
#oshi-manual .om-tabs button {
  flex: 1;
}
#oshi-manual .om-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}
#oshi-manual .om-panel {
  min-width: 0;
}
#oshi-manual .om-panel-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
#oshi-manual .om-filterbar {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 10px;
  margin-bottom: 14px;
}
#oshi-manual .om-tray {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
#oshi-manual .om-card {
  padding: 8px;
  border-radius: 12px;
  background: var(--om-paper);
  border: 1px solid var(--om-line);
  text-align: left;
  box-shadow: 0 4px 10px var(--om-shadow);
  min-width: 0;
}
#oshi-manual .om-card strong {
  font-size: 12px;
  font-weight: 500;
  display: block;
  min-height: 36px;
  overflow-wrap: anywhere;
}
#oshi-manual .om-card small {
  display: block;
  font-size: 11px;
  color: var(--om-muted);
  margin-top: 3px;
}
#oshi-manual .om-card[aria-pressed="true"] {
  background: var(--om-soft);
  color: var(--om-ink);
  border: 2px solid var(--om-blue);
  padding: 7px;
}
#oshi-manual .om-picture {
  aspect-ratio: 1/1;
  background: linear-gradient(140deg, var(--om-soft), var(--om-bg));
  border-radius: 6px;
  margin-bottom: 8px;
  display: grid;
  place-items: center;
  color: var(--om-blue);
  font:
    32px Georgia,
    serif;
  position: relative;
}
#oshi-manual .om-card-action {
  font-size: 11px;
  color: var(--om-blue);
  display: block;
  border-top: 1px solid var(--om-line);
  padding-top: 6px;
  margin-top: 7px;
}
#oshi-manual .om-pager {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 7px;
  margin-top: 14px;
  font-size: 11px;
  color: var(--om-muted);
}
#oshi-manual .om-pager button {
  padding: 7px 10px;
}
#oshi-manual .om-empty {
  padding: 30px 16px;
  text-align: center;
  color: var(--om-muted);
  border: 1px dashed var(--om-line);
  border-radius: 12px;
  grid-column: 1/-1;
  font-size: 13px;
}
#oshi-manual .om-placement {
  padding: 14px;
  background: var(--om-soft);
  border-radius: 12px;
  margin-bottom: 13px;
}
#oshi-manual .om-selected-name {
  display: block;
  margin-bottom: 10px;
  font-weight: 500;
}
#oshi-manual .om-placement-fields {
  display: flex;
  align-items: end;
  gap: 8px;
  flex-wrap: wrap;
}
#oshi-manual .om-placement-fields label {
  width: 88px;
}
#oshi-manual .om-placement-fields button {
  padding: 9px 11px;
}
#oshi-manual .om-ranked-search {
  margin-bottom: 12px;
}
#oshi-manual .om-ranking {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 7px;
}
#oshi-manual .om-rankrow {
  display: flex;
  align-items: center;
  gap: 9px;
  background: var(--om-paper);
  border: 1px solid var(--om-line);
  border-radius: 11px;
  padding: 9px;
  min-width: 0;
}
#oshi-manual .om-rank {
  font:
    20px Georgia,
    serif;
  color: var(--om-blue);
  min-width: 25px;
  text-align: center;
}
#oshi-manual .om-mini {
  width: 39px;
  height: 47px;
  flex-shrink: 0;
  border-radius: 5px;
  background: var(--om-soft);
  display: grid;
  place-items: center;
  font:
    17px Georgia,
    serif;
  color: var(--om-blue);
}
#oshi-manual .om-rankname {
  flex: 1;
  min-width: 0;
}
#oshi-manual .om-rankname strong {
  display: block;
  font-weight: 500;
  font-size: 12px;
  overflow-wrap: anywhere;
}
#oshi-manual .om-rankname small {
  display: block;
  color: var(--om-muted);
  font-size: 11px;
}
#oshi-manual .om-row-buttons {
  display: flex;
  gap: 4px;
  flex-shrink: 0;
}
#oshi-manual .om-row-buttons button {
  padding: 5px 7px;
  font-size: 11px;
  min-height: 36px;
}
#oshi-manual .om-rankrow:first-child[data-rank="1"] {
  border-color: var(--om-blue);
}
#oshi-manual .om-drop-end {
  margin-top: 10px;
  width: 100%;
  border-style: dashed;
  color: var(--om-blue);
  font-size: 12px;
}
#oshi-manual .om-drop-target {
  outline: 2px solid var(--om-blue);
  outline-offset: 2px;
}
#oshi-manual .om-empty-pockets {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
}
#oshi-manual .om-empty-pocket {
  display: grid;
  place-items: center;
  background: var(--om-soft);
  width: 60px;
  height: 80px;
  border-radius: 7px;
  font:
    23px Georgia,
    serif;
  color: var(--om-blue);
}
#oshi-manual .om-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  border-top: 1px solid var(--om-line);
  padding-top: 20px;
  margin-top: 23px;
}
#oshi-manual .om-bottom-actions {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}
#oshi-manual .om-status {
  color: var(--om-blue);
  font-size: 12px;
  min-height: 20px;
  margin-top: 14px;
}
#oshi-manual .om-error {
  color: light-dark(#984334, #ffc1b5);
}
#oshi-manual .om-footer {
  padding: 13px 28px;
  border-top: 1px solid var(--om-line);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 11px;
  color: var(--om-muted);
}
#oshi-manual .om-album-sheet {
  max-width: 650px;
  margin: auto;
  background: var(--om-soft);
  border: 1px solid var(--om-line);
  border-radius: 16px;
  padding: 26px;
}
#oshi-manual .om-album-sheet h2 {
  text-align: center;
  font:
    30px Georgia,
    serif;
  margin: 5px 0 8px;
}
#oshi-manual .om-album-sheet > .om-muted {
  text-align: center;
  margin-bottom: 20px;
}
#oshi-manual .om-album-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
#oshi-manual .om-album-grid .om-picture {
  aspect-ratio: 3/4;
}
#oshi-manual .om-number {
  position: absolute;
  top: 6px;
  left: 6px;
  background: var(--om-paper);
  width: 25px;
  height: 25px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font:
    12px Arial,
    sans-serif;
}
#oshi-manual .om-sheet-footer {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  color: var(--om-blue);
  font-size: 11px;
  margin-top: 20px;
}
#oshi-manual .om-result-actions {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 18px;
}
#oshi-manual .om-result-pager {
  max-width: 650px;
  margin: 15px auto;
}
@media (max-width: 740px) {
  #oshi-manual .om-tabs {
    display: flex;
  }
  #oshi-manual .om-workspace {
    grid-template-columns: 1fr;
  }
  #oshi-manual .om-workspace[data-mobile="tray"] .om-album-panel,
  #oshi-manual .om-workspace[data-mobile="album"] .om-tray-panel {
    display: none;
  }
  #oshi-manual main {
    padding: 22px 17px;
  }
  #oshi-manual .om-header {
    padding: 19px 17px;
  }
  #oshi-manual .om-tag {
    max-width: 125px;
  }
  #oshi-manual .om-goalbar > label {
    width: 100%;
  }
  #oshi-manual .om-progress-copy {
    font-size: 11px;
  }
  #oshi-manual .om-progress-copy strong {
    font-size: 15px;
  }
  #oshi-manual .om-tray {
    gap: 8px;
  }
  #oshi-manual .om-filterbar {
    grid-template-columns: 1fr;
  }
  #oshi-manual .om-speech {
    padding: 12px;
    font-size: 13px;
  }
  #oshi-manual .om-guide {
    gap: 10px;
  }
  #oshi-manual .om-card {
    padding: 7px;
  }
  #oshi-manual .om-card[aria-pressed="true"] {
    padding: 6px;
  }
  #oshi-manual .om-card strong {
    font-size: 11px;
  }
  #oshi-manual .om-rankrow {
    gap: 7px;
  }
  #oshi-manual .om-mini {
    width: 30px;
    height: 40px;
  }
  #oshi-manual .om-row-buttons {
    flex-direction: column;
  }
  #oshi-manual .om-row-buttons button {
    min-height: 36px;
  }
  #oshi-manual .om-album-sheet {
    padding: 16px;
  }
  #oshi-manual .om-album-grid {
    gap: 8px;
  }
  #oshi-manual .om-footer {
    padding: 13px 17px;
  }
}
#oshi-manual .om-drag-ghost {
  position: absolute;
  left: 0;
  top: 0;
  pointer-events: none;
  z-index: 20;
  padding: 13px 18px;
  border-radius: 10px;
  background: var(--om-paper);
  border: 1px solid var(--om-blue);
  box-shadow: 0 8px 20px var(--om-shadow);
  max-width: 210px;
}
#oshi-manual [data-om-drag] {
  user-select: none;
}

#oshi-restart [hidden] {
  display: none !important;
}
#oshi-restart .or-preview-nav {
  display: flex;
  justify-content: flex-end;
  margin: 0 0 12px;
}
#oshi-restart .or-return {
  font:
    12px Arial,
    sans-serif;
  min-height: 44px;
  padding: 9px 14px;
  border: 1px solid light-dark(#dbe2e8, #465466);
  border-radius: 10px;
  background: light-dark(#fffefa, #262e39);
  color: light-dark(#2a394a, #edf2f8);
  cursor: pointer;
}

#oshi-senbatsu {
  --oa-bg: light-dark(#f2f3ef, #191e26);
  --oa-paper: light-dark(#fffefa, #262e39);
  --oa-ink: light-dark(#2a394a, #edf2f8);
  --oa-muted: light-dark(#5e6c7c, #bdc9d7);
  --oa-line: light-dark(#dbe2e8, #465466);
  --oa-blue: light-dark(#355d83, #b6d7f6);
  --oa-soft: light-dark(#e6eef6, #32485e);
  --oa-btn: light-dark(#31587d, #bfdcf6);
  --oa-btntext: light-dark(#fffefa, #203549);
  --oa-shadow: light-dark(#22334412, #00000030);
  font:
    14px/1.5 Arial,
    sans-serif;
  color: var(--oa-ink);
}
#oshi-senbatsu * {
  box-sizing: border-box;
}
#oshi-senbatsu [hidden] {
  display: none !important;
}
#oshi-senbatsu button,
#oshi-senbatsu select,
#oshi-senbatsu textarea {
  font: inherit;
  color: inherit;
}
#oshi-senbatsu button,
#oshi-senbatsu select {
  min-height: 44px;
  padding: 9px 14px;
  border: 1px solid var(--oa-line);
  border-radius: 10px;
  background: var(--oa-paper);
}
#oshi-senbatsu button {
  cursor: pointer;
}
#oshi-senbatsu button:disabled {
  opacity: 0.45;
  cursor: default;
}
#oshi-senbatsu .oa-primary {
  background: var(--oa-btn);
  color: var(--oa-btntext);
  border-color: var(--oa-btn);
}
#oshi-senbatsu p {
  margin: 0;
}
#oshi-senbatsu h1,
#oshi-senbatsu h2,
#oshi-senbatsu h3 {
  font-weight: 500;
}
#oshi-senbatsu .oa-demo {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}
#oshi-senbatsu .oa-demo span {
  margin-right: auto;
  color: var(--oa-muted);
  font-size: 12px;
}
#oshi-senbatsu .oa-demo button,
#oshi-senbatsu .oa-demo select {
  font-size: 12px;
}
#oshi-senbatsu .oa-app {
  background: var(--oa-bg);
  border-radius: 20px;
  overflow: hidden;
}
#oshi-senbatsu .oa-header {
  padding: 22px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--oa-line);
}
#oshi-senbatsu .oa-brand {
  font-size: 24px;
  letter-spacing: -1.2px;
  white-space: nowrap;
}
#oshi-senbatsu .oa-brand em {
  font-style: normal;
  color: var(--oa-blue);
}
#oshi-senbatsu .oa-tag {
  font-size: 11px;
  color: var(--oa-muted);
  text-align: right;
}
#oshi-senbatsu .oa-main {
  padding: 28px 30px;
}
#oshi-senbatsu .oa-heading {
  text-align: center;
  margin: 0 0 26px;
}
#oshi-senbatsu h1 {
  font-size: 32px;
  line-height: 1.2;
  letter-spacing: -1px;
  margin: 0 0 10px;
  overflow-wrap: anywhere;
}
#oshi-senbatsu .oa-meta {
  font-size: 12px;
  color: var(--oa-muted);
}
#oshi-senbatsu .oa-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 215px;
  gap: 24px;
  align-items: start;
}
#oshi-senbatsu .oa-album {
  background: var(--oa-soft);
  border: 1px solid var(--oa-line);
  border-radius: 16px;
  padding: 24px 18px 16px;
  min-width: 0;
}
#oshi-senbatsu .oa-album-head {
  text-align: center;
  margin-bottom: 22px;
}
#oshi-senbatsu .oa-kicker {
  text-transform: uppercase;
  letter-spacing: 1.8px;
  font-size: 11px;
  color: var(--oa-blue);
}
#oshi-senbatsu h2 {
  font:
    400 30px/1.2 Georgia,
    serif;
  margin: 5px 0 8px;
}
#oshi-senbatsu .oa-formation {
  display: grid;
  gap: 15px;
  max-width: 540px;
  margin: auto;
}
#oshi-senbatsu .oa-stage-row {
  display: flex;
  gap: 12px;
  justify-content: center;
  align-items: start;
  flex-wrap: wrap;
}
#oshi-senbatsu .oa-card {
  background: var(--oa-paper);
  border: 1px solid var(--oa-line);
  border-radius: 10px;
  padding: 7px 7px 10px;
  box-shadow: 0 4px 12px var(--oa-shadow);
  width: calc((100% - 36px) / 4);
  max-width: 120px;
  position: relative;
  min-width: 0;
  text-align: left;
}
#oshi-senbatsu .oa-row-1 .oa-card {
  width: 34%;
  max-width: 168px;
}
#oshi-senbatsu .oa-row-2 .oa-card {
  width: 29%;
  max-width: 144px;
}
#oshi-senbatsu .oa-portrait {
  aspect-ratio: 3/3.4;
  background: linear-gradient(145deg, var(--oa-soft), var(--oa-bg));
  border-radius: 5px;
  display: grid;
  place-items: center;
  margin-bottom: 8px;
  color: var(--oa-blue);
  font:
    400 32px Georgia,
    serif;
}
#oshi-senbatsu .oa-row-1 .oa-portrait {
  font-size: 49px;
}
#oshi-senbatsu .oa-rank {
  position: absolute;
  top: 12px;
  left: 12px;
  border-radius: 20px;
  min-width: 24px;
  height: 24px;
  padding: 2px 6px;
  background: var(--oa-paper);
  color: var(--oa-blue);
  text-align: center;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}
#oshi-senbatsu .oa-card strong {
  font-size: 12px;
  line-height: 1.35;
  display: block;
  font-weight: 500;
  overflow-wrap: anywhere;
}
#oshi-senbatsu .oa-card small {
  display: block;
  font-size: 11px;
  color: var(--oa-muted);
  margin-top: 4px;
}
#oshi-senbatsu .oa-row-1 .oa-card strong {
  font-size: 14px;
}
#oshi-senbatsu .oa-expand {
  display: block;
  margin: 21px auto 0;
  background: transparent;
  border-color: var(--oa-blue);
  color: var(--oa-blue);
  font-size: 12px;
}
#oshi-senbatsu .oa-backline {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--oa-line);
}
#oshi-senbatsu .oa-section-label {
  font-size: 11px;
  color: var(--oa-blue);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 12px;
  text-align: center;
}
#oshi-senbatsu .oa-bench {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
}
#oshi-senbatsu .oa-mini {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 8px;
  border-radius: 8px;
  background: var(--oa-paper);
  min-width: 0;
}
#oshi-senbatsu .oa-mini-rank {
  font:
    400 20px Georgia,
    serif;
  color: var(--oa-blue);
  min-width: 23px;
  text-align: center;
}
#oshi-senbatsu .oa-mini strong {
  display: block;
  font-size: 11px;
  line-height: 1.4;
  font-weight: 500;
  overflow-wrap: anywhere;
}
#oshi-senbatsu .oa-mini small {
  display: block;
  font-size: 11px;
  color: var(--oa-muted);
  margin-top: 3px;
}
#oshi-senbatsu .oa-album-foot {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  border-top: 1px solid var(--oa-line);
  margin-top: 22px;
  padding-top: 13px;
  font-size: 11px;
  color: var(--oa-blue);
}
#oshi-senbatsu .oa-save h3 {
  font:
    400 22px Georgia,
    serif;
  margin: 0 0 15px;
}
#oshi-senbatsu .oa-save label {
  display: block;
  font-size: 12px;
  color: var(--oa-muted);
  margin: 16px 0 7px;
}
#oshi-senbatsu .oa-save select {
  width: 100%;
}
#oshi-senbatsu .oa-save button {
  display: block;
  width: 100%;
  margin-top: 10px;
}
#oshi-senbatsu .oa-save .oa-meta {
  margin-top: 10px;
}
#oshi-senbatsu .oa-save-info {
  border-top: 1px solid var(--oa-line);
  margin-top: 22px;
  padding-top: 16px;
}
#oshi-senbatsu .oa-full {
  margin-top: 22px;
  border-top: 1px solid var(--oa-line);
  padding-top: 20px;
}
#oshi-senbatsu .oa-full-head {
  display: flex;
  gap: 10px;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 12px;
}
#oshi-senbatsu .oa-full-head h3 {
  font:
    400 22px Georgia,
    serif;
  margin: 0;
}
#oshi-senbatsu .oa-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 20px;
  list-style: none;
  padding: 0;
  margin: 0;
}
#oshi-senbatsu .oa-list li {
  display: grid;
  grid-template-columns: 25px minmax(0, 1fr);
  gap: 8px;
  border-bottom: 1px solid var(--oa-line);
  padding: 9px 0;
  align-items: start;
  break-inside: avoid;
}
#oshi-senbatsu .oa-list b {
  font-weight: 500;
  color: var(--oa-blue);
  font-variant-numeric: tabular-nums;
}
#oshi-senbatsu .oa-list strong {
  font-size: 12px;
  font-weight: 500;
  display: block;
  overflow-wrap: anywhere;
}
#oshi-senbatsu .oa-list small {
  font-size: 11px;
  color: var(--oa-muted);
}
#oshi-senbatsu .oa-page {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 12px;
  font-size: 12px;
}
#oshi-senbatsu .oa-share-box {
  margin-top: 15px;
}
#oshi-senbatsu .oa-share-box textarea {
  width: 100%;
  resize: vertical;
  min-height: 145px;
  background: var(--oa-paper);
  padding: 10px;
  border: 1px solid var(--oa-line);
  border-radius: 8px;
  font-size: 16px;
}
#oshi-senbatsu .oa-share-box a {
  display: block;
  margin-top: 10px;
  color: var(--oa-blue);
}
#oshi-senbatsu .oa-status {
  font-size: 12px;
  color: var(--oa-blue);
  margin-top: 18px;
  min-height: 18px;
}
#oshi-senbatsu .oa-foot {
  padding: 14px 30px;
  border-top: 1px solid var(--oa-line);
  font-size: 11px;
  color: var(--oa-muted);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
#oshi-senbatsu .oa-tie-note {
  margin-top: 12px;
  text-align: center;
  font-size: 12px;
  color: var(--oa-blue);
}
@media (max-width: 740px) {
  #oshi-senbatsu .oa-layout {
    grid-template-columns: 1fr;
  }
  #oshi-senbatsu .oa-save {
    max-width: 540px;
    width: 100%;
    margin: auto;
  }
  #oshi-senbatsu .oa-save-info {
    margin-top: 14px;
  }
  #oshi-senbatsu .oa-main {
    padding: 23px 18px;
  }
  #oshi-senbatsu h1 {
    font-size: 28px;
  }
}
@media (max-width: 420px) {
  #oshi-senbatsu .oa-main {
    padding: 22px 10px;
  }
  #oshi-senbatsu .oa-header {
    padding: 18px 14px;
    gap: 12px;
  }
  #oshi-senbatsu .oa-tag {
    max-width: 113px;
  }
  #oshi-senbatsu .oa-album {
    padding: 21px 9px 14px;
  }
  #oshi-senbatsu .oa-stage-row {
    gap: 6px;
  }
  #oshi-senbatsu .oa-card {
    width: calc((100% - 18px) / 4);
    padding: 4px 4px 7px;
    border-radius: 7px;
  }
  #oshi-senbatsu .oa-card strong {
    font-size: 11px;
  }
  #oshi-senbatsu .oa-row-1 .oa-card {
    width: 43%;
  }
  #oshi-senbatsu .oa-row-2 .oa-card {
    width: 32%;
  }
  #oshi-senbatsu .oa-rank {
    top: 7px;
    left: 7px;
    font-size: 11px;
    height: 21px;
    min-width: 21px;
    padding: 2px 4px;
  }
  #oshi-senbatsu .oa-portrait {
    font-size: 22px;
  }
  #oshi-senbatsu .oa-bench {
    gap: 6px;
  }
  #oshi-senbatsu .oa-mini {
    padding: 8px 5px;
    display: block;
    text-align: center;
  }
  #oshi-senbatsu .oa-mini-rank {
    display: block;
    margin-bottom: 3px;
    font-size: 18px;
  }
  #oshi-senbatsu .oa-list {
    grid-template-columns: 1fr;
  }
  #oshi-senbatsu .oa-foot {
    padding: 14px;
  }
  #oshi-senbatsu .oa-demo span {
    width: 100%;
  }
}

#oshi-tutorial {
  --os-bg: light-dark(#f2f3ef, #191e26);
  --os-paper: light-dark(#fffefa, #262e39);
  --os-ink: light-dark(#2a394a, #edf2f8);
  --os-muted: light-dark(#5e6c7c, #bdc9d7);
  --os-line: light-dark(#dbe2e8, #465466);
  --os-blue: light-dark(#355d83, #b6d7f6);
  --os-soft: light-dark(#e6eef6, #32485e);
  --os-btn: light-dark(#31587d, #bfdcf6);
  --os-btntext: light-dark(#fffefa, #203549);
  font-family: Arial, sans-serif;
  font-size: 14px;
  line-height: 1.5;
  color: var(--os-ink);
  background: var(--os-bg);
  border-radius: 20px;
  overflow: hidden;
}
#oshi-tutorial * {
  box-sizing: border-box;
}
#oshi-tutorial button,
#oshi-tutorial select {
  font: inherit;
}
#oshi-tutorial button {
  cursor: pointer;
  color: inherit;
}
#oshi-tutorial [hidden] {
  display: none !important;
}
#oshi-tutorial .os-header {
  padding: 22px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
#oshi-tutorial .os-brand {
  font-size: 24px;
  letter-spacing: -1.2px;
  font-weight: 700;
}
#oshi-tutorial .os-brand span {
  color: var(--os-blue);
}
#oshi-tutorial .os-tag {
  font-size: 11px;
  color: var(--os-muted);
}
#oshi-tutorial .os-landing {
  max-width: 790px;
  margin: auto;
  padding: 24px 30px 42px;
}
#oshi-tutorial .os-intro {
  text-align: center;
  margin: 0 0 32px;
}
#oshi-tutorial h1 {
  font-size: 39px;
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -1.7px;
  margin: 0 0 10px;
}
#oshi-tutorial .os-sub {
  font-size: 14px;
  color: var(--os-muted);
  margin: 0;
}
#oshi-tutorial .os-welcome {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  max-width: 650px;
  margin: auto;
}
#oshi-tutorial .os-ami {
  width: 190px;
  height: 264px;
  object-fit: contain;
  display: block;
  transform-origin: 50% 95%;
}
#oshi-tutorial .os-guide {
  font-size: 11px;
  text-align: center;
  color: var(--os-muted);
  margin-top: 8px;
}
#oshi-tutorial .os-placeholder {
  height: 254px;
  width: 174px;
  border-radius: 15px;
  background: var(--os-paper);
  border: 1px solid var(--os-line);
  padding: 12px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  transform: rotate(-3deg);
}
#oshi-tutorial .os-placeholder strong {
  font-size: 39px;
  letter-spacing: -2px;
  color: var(--os-blue);
  margin-bottom: 20px;
}
#oshi-tutorial .os-placeholder small {
  font-size: 11px;
  color: var(--os-muted);
  margin-top: 8px;
}
#oshi-tutorial .os-bubble {
  position: relative;
  background: var(--os-paper);
  border: 1px solid var(--os-line);
  border-radius: 19px;
  padding: 22px;
  margin-bottom: 24px;
}
#oshi-tutorial .os-bubble:before {
  content: "";
  position: absolute;
  left: -8px;
  top: 40%;
  width: 14px;
  height: 14px;
  transform: rotate(45deg);
  background: var(--os-paper);
  border-left: 1px solid var(--os-line);
  border-bottom: 1px solid var(--os-line);
}
#oshi-tutorial .os-name {
  font-size: 12px;
  color: var(--os-blue);
  font-weight: 700;
  margin-bottom: 8px;
}
#oshi-tutorial .os-greeting {
  font-size: 19px;
  line-height: 1.5;
  letter-spacing: -0.3px;
  margin: 0;
  min-height: 114px;
}
#oshi-tutorial .os-label {
  display: block;
  font-weight: 700;
  font-size: 13px;
  margin: 0 0 8px;
}
#oshi-tutorial select {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  background: var(--os-paper);
  color: var(--os-ink);
  border: 1px solid var(--os-line);
  border-radius: 12px;
  padding: 13px 12px;
  font-size: 14px;
}
#oshi-tutorial .os-primary {
  width: 100%;
  border: 0;
  border-radius: 12px;
  padding: 13px 18px;
  background: var(--os-btn);
  color: var(--os-btntext);
  font-weight: 700;
  margin-top: 12px;
}
#oshi-tutorial button:disabled {
  opacity: 0.5;
  cursor: default;
}
#oshi-tutorial .os-caption {
  font-size: 11px;
  color: var(--os-muted);
  text-align: center;
  margin: 12px 0 0;
}
#oshi-tutorial .os-footer {
  border-top: 1px solid var(--os-line);
  padding: 12px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  font-size: 11px;
  color: var(--os-muted);
}
#oshi-tutorial .os-secondary {
  color: var(--os-blue);
  background: transparent;
  border: 0;
  padding: 8px 0;
  font-size: 12px;
  text-align: left;
}
#oshi-tutorial .os-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
#oshi-tutorial .os-catalog {
  padding: 0 28px 30px;
}
#oshi-tutorial .os-catalog-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-bottom: 22px;
}
#oshi-tutorial .os-staff-badge {
  font-size: 12px;
  padding: 7px 11px;
  border-radius: 20px;
  background: var(--os-soft);
  color: var(--os-blue);
}
#oshi-tutorial .os-catalog-heading {
  margin-bottom: 25px;
}
#oshi-tutorial .os-kicker {
  font-size: 11px;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--os-blue);
  margin-bottom: 8px;
}
#oshi-tutorial .os-catalog h2 {
  font-size: 32px;
  line-height: 1.1;
  letter-spacing: -1.1px;
  margin: 0 0 10px;
}
#oshi-tutorial .os-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 270px;
  gap: 24px;
  align-items: start;
}
#oshi-tutorial .os-sectionline {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
#oshi-tutorial h3 {
  font-size: 17px;
  letter-spacing: -0.3px;
  margin: 0;
}
#oshi-tutorial .os-all-label {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  cursor: pointer;
}
#oshi-tutorial input {
  accent-color: var(--os-blue);
}
#oshi-tutorial .os-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 16px;
}
#oshi-tutorial .os-tabs button {
  border: 0;
  background: transparent;
  border-radius: 30px;
  padding: 8px 10px;
  font-size: 12px;
  color: var(--os-muted);
}
#oshi-tutorial .os-tabs button[aria-pressed="true"] {
  background: var(--os-ink);
  color: var(--os-paper);
}
#oshi-tutorial .os-groups {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
#oshi-tutorial .os-group {
  border: 1px solid var(--os-line);
  border-radius: 18px;
  background: var(--os-paper);
  padding: 15px 11px 12px;
  min-height: 99px;
  position: relative;
  text-align: left;
  overflow-wrap: anywhere;
}
#oshi-tutorial .os-group[aria-pressed="true"] {
  border: 2px solid var(--os-blue);
  padding: 14px 10px 11px;
  background: var(--os-soft);
}
#oshi-tutorial .os-group strong {
  display: block;
  font-size: 17px;
  letter-spacing: -0.5px;
  padding-right: 13px;
}
#oshi-tutorial .os-group small {
  display: block;
  font-size: 11px;
  color: var(--os-muted);
  margin-top: 8px;
}
#oshi-tutorial .os-check {
  position: absolute;
  right: 9px;
  top: 10px;
  color: var(--os-blue);
  font-size: 12px;
}
#oshi-tutorial .os-aside {
  background: var(--os-paper);
  padding: 20px;
  border: 1px solid var(--os-line);
  border-radius: 18px;
}
#oshi-tutorial .os-count {
  font-size: 12px;
  color: var(--os-muted);
  margin-top: 3px;
}
#oshi-tutorial .os-picked {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin: 14px 0 20px;
}
#oshi-tutorial .os-chip {
  padding: 4px 8px;
  background: var(--os-soft);
  color: var(--os-blue);
  border-radius: 6px;
  font-size: 12px;
}
#oshi-tutorial .os-field {
  margin-top: 17px;
}
#oshi-tutorial .os-field .os-label {
  font-size: 12px;
}
#oshi-tutorial .os-checklabel {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  margin: 12px 0 18px;
}
#oshi-tutorial .os-note {
  margin-top: 12px;
  font-size: 11px;
  color: var(--os-muted);
}
#oshi-tutorial .os-result {
  margin-top: 20px;
  padding-top: 17px;
  border-top: 1px solid var(--os-line);
}
#oshi-tutorial .os-result-title {
  font-size: 12px;
  color: var(--os-blue);
  margin-bottom: 10px;
}
#oshi-tutorial .os-sheet {
  background: var(--os-soft);
  border-radius: 18px;
  padding: 15px;
  text-align: center;
}
#oshi-tutorial .os-sheet h4 {
  font-size: 21px;
  letter-spacing: -1px;
  line-height: 1.15;
  margin: 8px 0 14px;
}
#oshi-tutorial .os-slots {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
}
#oshi-tutorial .os-slot {
  background: var(--os-paper);
  border-radius: 7px;
  padding: 6px;
  font-size: 11px;
}
#oshi-tutorial .os-photo {
  aspect-ratio: 3/4;
  background: var(--os-bg);
  display: grid;
  place-items: center;
  color: var(--os-muted);
  font-size: 11px;
  border-radius: 4px;
  margin-bottom: 5px;
}
#oshi-tutorial .os-status {
  margin-top: 14px;
  font-size: 12px;
  color: var(--os-blue);
}
@keyframes os-entrance {
  0% {
    opacity: 0;
    transform: translateY(13px) rotate(-5deg);
  }
  65% {
    opacity: 1;
    transform: translateY(-3px) rotate(2deg);
  }
  100% {
    opacity: 1;
    transform: translateY(0) rotate(0);
  }
}
#oshi-tutorial .os-enter {
  animation: os-entrance 0.9s ease-out both;
}
@media (prefers-reduced-motion: reduce) {
  #oshi-tutorial .os-enter {
    animation: none;
  }
}
@media (max-width: 740px) {
  #oshi-tutorial .os-content {
    grid-template-columns: 1fr;
  }
  #oshi-tutorial .os-aside {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  #oshi-tutorial .os-result {
    margin: 0;
    padding: 0;
    border: 0;
  }
}
@media (max-width: 540px) {
  #oshi-tutorial .os-header {
    padding: 20px;
  }
  #oshi-tutorial .os-tag {
    max-width: 130px;
    text-align: right;
  }
  #oshi-tutorial .os-landing {
    padding: 16px 20px 30px;
  }
  #oshi-tutorial h1 {
    font-size: 31px;
  }
  #oshi-tutorial .os-welcome {
    grid-template-columns: 100px minmax(0, 1fr);
    gap: 14px;
  }
  #oshi-tutorial .os-ami {
    width: 100px;
    height: 180px;
  }
  #oshi-tutorial .os-character {
    align-self: start;
    margin-top: 23px;
  }
  #oshi-tutorial .os-placeholder {
    width: 100px;
    height: 170px;
    padding: 8px;
  }
  #oshi-tutorial .os-placeholder strong {
    font-size: 29px;
    margin-bottom: 8px;
  }
  #oshi-tutorial .os-greeting {
    font-size: 16px;
    min-height: 144px;
  }
  #oshi-tutorial .os-bubble {
    padding: 16px;
    margin-bottom: 20px;
    grid-column: 2;
  }
  #oshi-tutorial .os-picker {
    grid-column: 1/-1;
  }
  #oshi-tutorial .os-right {
    display: contents;
  }
  #oshi-tutorial .os-intro {
    margin-bottom: 22px;
  }
  #oshi-tutorial .os-secondary,
  #oshi-tutorial .os-tabs button {
    min-height: 44px;
  }
  #oshi-tutorial .os-footer {
    padding: 12px 20px;
  }
  #oshi-tutorial select {
    font-size: 16px;
  }
  #oshi-tutorial .os-catalog {
    padding: 0 20px 25px;
  }
  #oshi-tutorial .os-groups {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  #oshi-tutorial .os-aside {
    display: block;
  }
  #oshi-tutorial .os-result {
    margin-top: 20px;
    padding-top: 17px;
    border-top: 1px solid var(--os-line);
  }
  #oshi-tutorial .os-all-label {
    min-height: 44px;
  }
  #oshi-tutorial .os-catalog h2 {
    font-size: 29px;
  }
}

#oshi-tutorial .ot-guide {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  background: var(--os-paper);
  border: 1px solid var(--os-line);
  border-radius: 18px;
  padding: 16px 20px;
  margin: 0 0 24px;
  position: relative;
}
#oshi-tutorial .ot-art {
  width: 70px;
  height: 96px;
  object-fit: contain;
}
#oshi-tutorial .ot-initials {
  width: 62px;
  height: 80px;
  border-radius: 12px;
  background: var(--os-soft);
  display: grid;
  place-items: center;
  color: var(--os-blue);
  font-size: 23px;
}
#oshi-tutorial .ot-name {
  font-size: 12px;
  font-weight: 700;
  color: var(--os-blue);
  margin-bottom: 7px;
}
#oshi-tutorial .ot-message {
  font-size: 16px;
  line-height: 1.5;
  margin: 0;
  min-height: 48px;
}
#oshi-tutorial .ot-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 12px;
}
#oshi-tutorial .ot-progress {
  font-size: 11px;
  color: var(--os-muted);
}
#oshi-tutorial .ot-buttons {
  display: flex;
  gap: 8px;
  align-items: center;
}
#oshi-tutorial .ot-next {
  background: var(--os-btn);
  color: var(--os-btntext);
  border: 0;
  border-radius: 9px;
  padding: 8px 14px;
  font-size: 12px;
}
#oshi-tutorial .ot-skip {
  background: transparent;
  border: 0;
  color: var(--os-muted);
  padding: 8px;
  font-size: 12px;
}
#oshi-tutorial .ot-replay-row {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 12px;
}
#oshi-tutorial .ot-replay {
  background: transparent;
  color: var(--os-blue);
  border: 0;
  padding: 8px 0;
  font-size: 12px;
}
#oshi-tutorial .ot-focus {
  outline: 3px solid var(--os-blue);
  outline-offset: 5px;
  border-radius: 12px;
}
#oshi-tutorial .os-sectionline.ot-focus {
  padding: 8px;
  background: var(--os-soft);
}
#oshi-tutorial .os-primary.ot-focus {
  outline-offset: 4px;
}
#oshi-tutorial .os-footer {
  justify-content: flex-end;
}
#oshi-tutorial .os-footer:has(.os-replay[hidden]) {
  display: none;
}
#oshi-tutorial .ot-explainer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
#oshi-tutorial .ot-explainer .os-label {
  margin-bottom: 0;
}
#oshi-tutorial .ot-explain {
  background: var(--os-soft);
  color: var(--os-blue);
  border: 0;
  border-radius: 20px;
  font-size: 11px;
  padding: 5px 9px;
  min-height: 32px;
  margin-bottom: 7px;
}
@keyframes ot-arrive {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
#oshi-tutorial .ot-arrive {
  animation: ot-arrive 0.4s ease-out both;
}
@media (prefers-reduced-motion: reduce) {
  #oshi-tutorial .ot-arrive {
    animation: none;
  }
}
@media (max-width: 540px) {
  #oshi-tutorial .ot-guide {
    grid-template-columns: 50px minmax(0, 1fr);
    padding: 14px;
    gap: 12px;
  }
  #oshi-tutorial .ot-art {
    width: 48px;
    height: 76px;
  }
  #oshi-tutorial .ot-initials {
    width: 45px;
    height: 65px;
    font-size: 20px;
  }
  #oshi-tutorial .ot-message {
    font-size: 14px;
    min-height: 84px;
  }
  #oshi-tutorial .ot-next,
  #oshi-tutorial .ot-skip,
  #oshi-tutorial .ot-replay,
  #oshi-tutorial .ot-explain {
    min-height: 44px;
  }
  #oshi-tutorial .ot-controls {
    align-items: flex-start;
  }
  #oshi-tutorial .ot-progress {
    width: 100%;
  }
}

#oshi-flick {
  --op-bg: light-dark(#f2f3ef, #191e26);
  --op-paper: light-dark(#fffefa, #262e39);
  --op-ink: light-dark(#2a394a, #edf2f8);
  --op-muted: light-dark(#5e6c7c, #bdc9d7);
  --op-line: light-dark(#dbe2e8, #465466);
  --op-blue: light-dark(#355d83, #b6d7f6);
  --op-soft: light-dark(#e6eef6, #32485e);
  --op-btn: light-dark(#31587d, #bfdcf6);
  --op-btntext: light-dark(#fffefa, #203549);
  --op-shadow: light-dark(#22334412, #00000030);
  font:
    14px/1.5 Arial,
    sans-serif;
  color: var(--op-ink);
}
#oshi-flick * {
  box-sizing: border-box;
}
#oshi-flick [hidden] {
  display: none !important;
}
#oshi-flick button,
#oshi-flick input,
#oshi-flick textarea {
  font: inherit;
}
#oshi-flick button {
  cursor: pointer;
  color: inherit;
  min-height: 44px;
  border: 1px solid var(--op-line);
  border-radius: 10px;
  padding: 9px 15px;
  background: var(--op-paper);
}
#oshi-flick button:disabled {
  opacity: 0.4;
  cursor: default;
}
#oshi-flick button[aria-pressed="true"] {
  background: var(--op-btn);
  color: var(--op-btntext);
  border-color: var(--op-btn);
}
#oshi-flick .op-prototype {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  padding: 0 0 12px;
}
#oshi-flick .op-prototype span {
  color: var(--op-muted);
  font-size: 12px;
  margin-right: auto;
}
#oshi-flick .op-prototype button {
  font-size: 12px;
  padding: 7px 11px;
  min-height: 36px;
}
#oshi-flick .op-app {
  background: var(--op-bg);
  border-radius: 20px;
  overflow: hidden;
}
#oshi-flick .op-header {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  padding: 22px 30px;
  border-bottom: 1px solid var(--op-line);
}
#oshi-flick .op-brand {
  white-space: nowrap;
  flex-shrink: 0;
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -1.2px;
}
#oshi-flick .op-brand em {
  font-style: normal;
  color: var(--op-blue);
}
#oshi-flick .op-tag {
  color: var(--op-muted);
  font-size: 11px;
  text-align: right;
}
#oshi-flick .op-main {
  padding: 26px 30px 32px;
}
#oshi-flick .op-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}
#oshi-flick .op-kicker {
  font-size: 11px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--op-blue);
}
#oshi-flick .op-meta {
  color: var(--op-muted);
  font-size: 12px;
}
#oshi-flick h1 {
  font-size: 32px;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -1px;
  margin: 5px 0 8px;
}
#oshi-flick p {
  margin: 0;
}
#oshi-flick .op-heading {
  text-align: center;
  margin-bottom: 24px;
}
#oshi-flick .op-guide {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  max-width: 590px;
  margin: 0 auto 24px;
}
#oshi-flick .op-ami {
  width: 67px;
  height: 91px;
  object-fit: contain;
  flex-shrink: 0;
}
#oshi-flick .op-dialogue {
  background: var(--op-paper);
  border: 1px solid var(--op-line);
  border-radius: 15px;
  padding: 12px 18px;
  max-width: 415px;
}
#oshi-flick .op-dialogue strong {
  display: block;
  font-size: 11px;
  font-weight: 500;
  color: var(--op-blue);
  margin-bottom: 3px;
}
#oshi-flick .op-pair {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 44px minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  max-width: 555px;
  margin: auto;
}
#oshi-flick .op-vs {
  text-align: center;
  font-family: Georgia, serif;
  font-style: italic;
  font-size: 19px;
  color: var(--op-muted);
}
#oshi-flick .op-photocard {
  border: 1px solid var(--op-line);
  padding: 11px 11px 14px;
  border-radius: 15px;
  background: var(--op-paper);
  box-shadow: 0 7px 19px var(--op-shadow);
  text-align: left;
  min-width: 0;
}
#oshi-flick button.op-photocard {
  width: 100%;
  transition:
    transform 0.16s ease,
    border-color 0.16s ease;
}
#oshi-flick button.op-photocard:hover {
  transform: translateY(-4px);
  border-color: var(--op-blue);
}
#oshi-flick .op-portrait {
  aspect-ratio: 3/3.65;
  border-radius: 8px;
  background: linear-gradient(145deg, var(--op-soft), var(--op-bg));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  margin-bottom: 12px;
}
#oshi-flick .op-monogram {
  font-family: Georgia, serif;
  font-size: 58px;
  font-weight: 400;
  letter-spacing: -3px;
  color: var(--op-blue);
  opacity: 0.65;
}
#oshi-flick .op-portrait small {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--op-muted);
}
#oshi-flick .op-photocard strong {
  font-size: 16px;
  font-weight: 500;
  display: block;
  overflow-wrap: anywhere;
}
#oshi-flick .op-photocard .op-group {
  font-size: 11px;
  color: var(--op-muted);
  display: block;
  margin-top: 4px;
  letter-spacing: 1px;
}
#oshi-flick .op-choose {
  display: block;
  text-align: center;
  border-top: 1px solid var(--op-line);
  padding: 10px 0 0;
  margin-top: 12px;
  color: var(--op-blue);
  font-size: 12px;
}
#oshi-flick .op-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
}
#oshi-flick .op-quiet {
  border-color: transparent;
  background: transparent;
  color: var(--op-muted);
}
#oshi-flick .op-primary {
  background: var(--op-btn);
  border-color: var(--op-btn);
  color: var(--op-btntext);
}
#oshi-flick .op-progress {
  max-width: 555px;
  margin: 23px auto 0;
}
#oshi-flick .op-progress-label {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 11px;
  color: var(--op-muted);
  margin-bottom: 7px;
}
#oshi-flick progress {
  display: block;
  width: 100%;
  height: 5px;
  appearance: none;
  border: 0;
  background: var(--op-line);
  border-radius: 3px;
  overflow: hidden;
}
#oshi-flick progress::-webkit-progress-bar {
  background: var(--op-line);
}
#oshi-flick progress::-webkit-progress-value {
  background: var(--op-blue);
}
#oshi-flick progress::-moz-progress-bar {
  background: var(--op-blue);
}
#oshi-flick .op-foot {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 11px;
  color: var(--op-muted);
  border-top: 1px solid var(--op-line);
  padding: 14px 30px;
}
#oshi-flick .op-manual-list {
  max-width: 660px;
  margin: auto;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}
#oshi-flick .op-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px 14px;
  background: var(--op-paper);
  border: 1px solid var(--op-line);
  border-radius: 13px;
}
#oshi-flick .op-row-rank {
  width: 24px;
  color: var(--op-blue);
  font-family: Georgia, serif;
  font-size: 22px;
  text-align: center;
}
#oshi-flick .op-thumb {
  display: grid;
  place-items: center;
  width: 55px;
  height: 68px;
  background: var(--op-soft);
  border-radius: 6px;
  color: var(--op-blue);
  font-family: Georgia, serif;
  font-size: 20px;
  flex-shrink: 0;
}
#oshi-flick .op-row-name {
  flex: 1;
  min-width: 0;
}
#oshi-flick .op-row-name strong {
  display: block;
  font-weight: 500;
}
#oshi-flick .op-row-controls {
  display: flex;
  gap: 5px;
}
#oshi-flick .op-row-controls button {
  padding: 8px 11px;
  min-width: 40px;
}
#oshi-flick .op-result-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 215px;
  gap: 24px;
  align-items: start;
}
#oshi-flick .op-album {
  padding: 26px;
  background: var(--op-soft);
  border: 1px solid var(--op-line);
  border-radius: 15px;
  position: relative;
}
#oshi-flick .op-album-head {
  text-align: center;
  margin-bottom: 23px;
}
#oshi-flick .op-album h2 {
  font:
    400 29px/1.2 Georgia,
    serif;
  margin: 8px 0;
  color: var(--op-ink);
  overflow-wrap: anywhere;
}
#oshi-flick .op-album-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  align-items: start;
}
#oshi-flick .op-album .op-photocard {
  padding: 8px 8px 11px;
  position: relative;
  box-shadow: 0 4px 10px var(--op-shadow);
}
#oshi-flick .op-album .op-photocard strong {
  font-size: 12px;
}
#oshi-flick .op-album .op-portrait {
  margin-bottom: 8px;
}
#oshi-flick .op-album .op-monogram {
  font-size: 36px;
}
#oshi-flick .op-album .op-portrait small {
  font-size: 9px;
  letter-spacing: 1px;
}
#oshi-flick .op-rank {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 1;
  display: grid;
  place-items: center;
  min-width: 25px;
  height: 25px;
  padding: 0 5px;
  border-radius: 50%;
  background: var(--op-paper);
  color: var(--op-blue);
  font-size: 12px;
}
#oshi-flick .op-album-cards.spotlight .op-photocard:first-child {
  grid-column: 1/-1;
  width: 43%;
  min-width: 165px;
  justify-self: center;
  transform: rotate(-2deg);
  margin: 0 0 12px;
}
#oshi-flick .op-album-cards.equal {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
#oshi-flick .op-album-foot {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 23px;
  color: var(--op-blue);
  font-size: 10px;
  letter-spacing: 0.5px;
}
#oshi-flick .op-export label {
  display: block;
  font-size: 12px;
  color: var(--op-muted);
  margin-bottom: 7px;
}
#oshi-flick .op-export input,
#oshi-flick textarea {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  padding: 10px 12px;
  border: 1px solid var(--op-line);
  border-radius: 9px;
  background: var(--op-paper);
  color: var(--op-ink);
  font-size: 16px;
}
#oshi-flick .op-export button {
  display: block;
  width: 100%;
  margin-top: 10px;
}
#oshi-flick .op-export .op-meta {
  margin: 11px 0 22px;
}
#oshi-flick .op-layout-choices {
  display: flex;
  gap: 6px;
  margin: 5px 0 23px;
}
#oshi-flick .op-layout-choices button {
  width: auto;
  flex: 1;
  font-size: 12px;
  margin: 0;
  padding: 8px;
}
#oshi-flick .op-share {
  margin-top: 20px;
  padding: 18px;
  border-radius: 12px;
  background: var(--op-paper);
  border: 1px solid var(--op-line);
}
#oshi-flick .op-share textarea {
  resize: vertical;
  min-height: 150px;
  font-size: 13px;
}
#oshi-flick .op-notice {
  font-size: 12px;
  color: var(--op-blue);
  text-align: center;
  margin-top: 14px;
  min-height: 18px;
}
#oshi-flick .op-complete {
  text-align: center;
  padding: 35px 15px;
}
#oshi-flick .op-complete h2 {
  font-family: Georgia, serif;
  font-weight: 400;
  font-size: 29px;
}
#oshi-flick .op-complete button {
  margin: 18px 4px 0;
}
@media (max-width: 660px) {
  #oshi-flick .op-result-layout {
    grid-template-columns: 1fr;
  }
  #oshi-flick .op-export {
    max-width: 450px;
    width: 100%;
    margin: auto;
  }
  #oshi-flick .op-main {
    padding: 22px 18px;
  }
  #oshi-flick .op-header {
    padding: 18px;
  }
  #oshi-flick .op-pair {
    gap: 8px;
    grid-template-columns: minmax(0, 1fr) 23px minmax(0, 1fr);
  }
  #oshi-flick .op-photocard {
    padding: 8px;
  }
  #oshi-flick .op-photocard strong {
    font-size: 14px;
  }
  #oshi-flick .op-monogram {
    font-size: 40px;
  }
  #oshi-flick .op-tag {
    max-width: 130px;
  }
  #oshi-flick .op-row {
    gap: 9px;
    padding: 9px;
  }
  #oshi-flick .op-row-controls {
    flex-direction: column;
  }
  #oshi-flick .op-row-controls button {
    min-height: 35px;
  }
  #oshi-flick .op-album {
    padding: 17px;
  }
  #oshi-flick .op-album-cards {
    gap: 8px;
  }
  #oshi-flick .op-album .op-portrait small {
    display: none;
  }
  #oshi-flick .op-album .op-photocard strong {
    font-size: 11px;
  }
  #oshi-flick .op-album .op-group {
    font-size: 10px;
  }
  #oshi-flick h1 {
    font-size: 28px;
  }
  #oshi-flick .op-prototype span {
    width: 100%;
  }
  #oshi-flick .op-guide {
    gap: 10px;
  }
  #oshi-flick .op-dialogue {
    padding: 10px 12px;
    font-size: 13px;
  }
  #oshi-flick .op-foot {
    padding: 13px 18px;
  }
}
@media (prefers-reduced-motion: reduce) {
  #oshi-flick button.op-photocard {
    transition: none;
  }
}
#oshi-flick .op-session-controls {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin: 0 0 16px;
  font-size: 12px;
  color: var(--op-muted);
}
#oshi-flick .op-session-controls button {
  font-size: 12px;
  min-height: 36px;
  padding: 6px 12px;
}
#oshi-flick .op-motion-label {
  display: flex;
  align-items: center;
  gap: 7px;
  cursor: pointer;
  min-height: 36px;
  margin-left: auto;
}
#oshi-flick .op-motion-label input {
  accent-color: var(--op-blue);
  width: 16px;
  height: 16px;
}
#oshi-flick .op-pair .op-photocard {
  position: relative;
}
#oshi-flick .op-heart {
  position: absolute;
  pointer-events: none;
  left: 50%;
  top: 36%;
  transform: translate(-50%, -50%);
  color: var(--op-blue);
  background: var(--op-paper);
  box-shadow: 0 3px 15px var(--op-shadow);
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  font-size: 30px;
  z-index: 2;
}
#oshi-flick[data-motion="on"] .op-tagline-enter {
  animation: op-title-arrive 420ms cubic-bezier(0.2, 0.7, 0.25, 1) both;
}
#oshi-flick .op-pair-frame {
  position: relative;
  margin: auto;
  padding: 32px 16px 14px;
  overflow: hidden;
  isolation: isolate;
}
#oshi-flick .op-pair {
  align-items: stretch;
}
#oshi-flick .op-vs {
  align-self: center;
}
#oshi-flick .op-pair strong {
  min-height: 3em;
}
#oshi-flick .op-pair .op-photocard {
  animation: none;
  transition:
    transform 220ms cubic-bezier(0.2, 0.7, 0.25, 1),
    border-color 180ms ease,
    box-shadow 220ms ease;
}
#oshi-flick[data-motion="on"] .op-pair button.op-photocard:hover {
  transform: translateY(-6px);
  border-color: var(--op-blue);
  box-shadow: 0 12px 22px var(--op-shadow);
}
#oshi-flick .op-departure {
  position: absolute;
  pointer-events: none;
  z-index: 3;
  will-change: transform;
  animation: op-flick-out 460ms cubic-bezier(0.25, 0.05, 0.25, 1) both;
  transform-origin: 50% 60%;
}
#oshi-flick .op-departure.op-picked {
  z-index: 4;
  border-color: var(--op-blue);
  animation: op-keep-and-tuck 680ms cubic-bezier(0.25, 0.05, 0.25, 1) both;
  box-shadow: 0 12px 24px var(--op-shadow);
}
#oshi-flick .op-departure.op-tied {
  animation-name: op-tie-and-tuck;
}
#oshi-flick .op-actions .op-motion-label {
  margin-left: 0;
  font-size: 12px;
  color: var(--op-muted);
  padding: 4px 7px;
}
#oshi-flick .op-dialogue {
  min-height: 88px;
}
#oshi-flick[data-motion="on"] .op-dialogue-enter {
  animation: none;
}
#oshi-flick .op-active[data-busy="true"] button:disabled {
  opacity: 1;
  cursor: default;
}
#oshi-flick .op-active[data-busy="true"] .op-undo:disabled {
  opacity: 0.4;
}
#oshi-flick[data-motion="off"] button.op-photocard {
  transition: none;
}
#oshi-flick[data-motion="off"] button.op-photocard:hover {
  transform: none;
}
#oshi-flick .op-pair .op-photocard:active {
  border-color: var(--op-blue);
}
@keyframes op-title-arrive {
  from {
    opacity: 0;
    transform: translateY(9px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes op-keep-and-tuck {
  0% {
    transform: translate(0, 0) rotate(0) scale(1);
  }
  22% {
    transform: translate(0, -8px) rotate(var(--op-lift-turn)) scale(1.025);
  }
  42% {
    transform: translate(calc(var(--op-slide) * 0.18), -4px)
      rotate(var(--op-lift-turn)) scale(1.025);
  }
  100% {
    transform: translate(var(--op-slide), 130%) rotate(var(--op-turn))
      scale(0.96);
  }
}
@keyframes op-flick-out {
  0% {
    transform: translate(0, 0) rotate(0);
  }
  28% {
    transform: translate(calc(var(--op-flick-x) * 0.18), calc(var(--op-flick-y) * 0.18))
      rotate(calc(var(--op-flick-turn) * 0.25));
  }
  100% {
    transform: translate(var(--op-flick-x), var(--op-flick-y)) rotate(var(--op-flick-turn));
  }
}
@keyframes op-tie-and-tuck {
  0% {
    transform: translate(0, 0) rotate(0) scale(1);
  }
  22% {
    transform: translate(0, -8px) rotate(var(--op-lift-turn)) scale(1.025);
  }
  42% {
    transform: translate(0, -4px) rotate(var(--op-lift-turn)) scale(1.025);
  }
  100% {
    transform: translate(var(--op-slide), 130%) rotate(var(--op-turn))
      scale(0.96);
  }
}
@media (max-width: 660px) {
  #oshi-flick .op-pair-frame {
    padding: 32px 7px 12px;
  }
  #oshi-flick .op-dialogue {
    min-height: 138px;
  }
}
@media (prefers-reduced-motion: reduce) {
  #oshi-flick .op-tagline-enter,
  #oshi-flick .op-selected,
  #oshi-flick .op-heart,
  #oshi-flick .op-pair-arrive .op-photocard,
  #oshi-flick .op-dialogue-enter {
    animation: none !important;
  }
  #oshi-flick button.op-photocard {
    transition: none !important;
  }
  #oshi-flick button.op-photocard:hover {
    transform: none !important;
  }
}

#oshi-flick .op-pair strong {
  min-height: 3em;
}
#oshi-flick .op-pair .op-photocard {
  animation: none;
  transition:
    transform 220ms cubic-bezier(0.2, 0.7, 0.25, 1),
    border-color 180ms ease,
    box-shadow 220ms ease;
}
#oshi-flick[data-motion="on"] .op-pair button.op-photocard:hover {
  transform: translateY(-6px);
  border-color: var(--op-blue);
  box-shadow: 0 12px 22px var(--op-shadow);
}
#oshi-flick .op-departure {
  position: absolute;
  pointer-events: none;
  z-index: 3;
  will-change: transform;
  animation: op-flick-out 460ms cubic-bezier(0.25, 0.05, 0.25, 1) both;
  transform-origin: 50% 60%;
}
#oshi-flick .op-departure.op-picked {
  z-index: 4;
  border-color: var(--op-blue);
  animation: op-keep-and-tuck 680ms cubic-bezier(0.25, 0.05, 0.25, 1) both;
  box-shadow: 0 12px 24px var(--op-shadow);
}
#oshi-flick .op-departure.op-tied {
  animation-name: op-tie-and-tuck;
}
#oshi-flick .op-actions .op-motion-label {
  margin-left: 0;
  font-size: 12px;
  color: var(--op-muted);
  padding: 4px 7px;
}
#oshi-flick .op-dialogue {
  min-height: 88px;
}
#oshi-flick[data-motion="on"] .op-dialogue-enter {
  animation: none;
}
#oshi-flick .op-active[data-busy="true"] button:disabled {
  opacity: 1;
  cursor: default;
}
#oshi-flick .op-active[data-busy="true"] .op-undo:disabled {
  opacity: 0.4;
}
#oshi-flick[data-motion="off"] button.op-photocard {
  transition: none;
}
#oshi-flick[data-motion="off"] button.op-photocard:hover {
  transform: none;
}
#oshi-flick .op-pair .op-photocard:active {
  border-color: var(--op-blue);
}
@keyframes op-title-arrive {
  from {
    opacity: 0;
    transform: translateY(9px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes op-keep-and-tuck {
  0% {
    transform: translate(0, 0) rotate(0) scale(1);
  }
  22% {
    transform: translate(0, -8px) rotate(var(--op-lift-turn)) scale(1.025);
  }
  42% {
    transform: translate(calc(var(--op-slide) * 0.18), -4px)
      rotate(var(--op-lift-turn)) scale(1.025);
  }
  100% {
    transform: translate(var(--op-slide), 130%) rotate(var(--op-turn))
      scale(0.96);
  }
}
@keyframes op-flick-out {
  0% {
    transform: translate(0, 0) rotate(0);
  }
  28% {
    transform: translate(calc(var(--op-flick-x) * 0.18), calc(var(--op-flick-y) * 0.18))
      rotate(calc(var(--op-flick-turn) * 0.25));
  }
  100% {
    transform: translate(var(--op-flick-x), var(--op-flick-y)) rotate(var(--op-flick-turn));
  }
}
@keyframes op-tie-and-tuck {
  0% {
    transform: translate(0, 0) rotate(0) scale(1);
  }
  22% {
    transform: translate(0, -8px) rotate(var(--op-lift-turn)) scale(1.025);
  }
  42% {
    transform: translate(0, -4px) rotate(var(--op-lift-turn)) scale(1.025);
  }
  100% {
    transform: translate(var(--op-slide), 130%) rotate(var(--op-turn))
      scale(0.96);
  }
}
@media (max-width: 660px) {
  #oshi-flick .op-pair-frame {
    padding: 32px 7px 12px;
  }
  #oshi-flick .op-dialogue {
    min-height: 138px;
  }
}
@media (prefers-reduced-motion: reduce) {
  #oshi-flick .op-tagline-enter,
  #oshi-flick .op-selected,
  #oshi-flick .op-heart,
  #oshi-flick .op-pair-arrive .op-photocard,
  #oshi-flick .op-dialogue-enter {
    animation: none !important;
  }
  #oshi-flick button.op-photocard {
    transition: none !important;
  }
  #oshi-flick button.op-photocard:hover {
    transform: none !important;
  }
}

#oshi-flick .op-pair strong {
  min-height: 0;
}
#oshi-flick .op-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
#oshi-flick .op-pair .op-photocard {
  position: relative;
}
#oshi-flick .op-pair .op-photocard:hover {
  border-color: var(--op-blue);
}
#oshi-flick[data-motion="on"] .op-pair .op-photocard:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 22px var(--op-shadow);
}
#oshi-flick .op-card-select {
  display: block;
  width: 100%;
  min-height: 44px;
  text-align: center;
  border: 0;
  border-top: 1px solid var(--op-line);
  border-radius: 0;
  padding: 10px 0 0;
  margin-top: 12px;
  color: var(--op-blue);
  font-size: 12px;
  background: transparent;
}
#oshi-flick .op-card-select:after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 15px;
}
#oshi-flick .op-card-select:focus-visible {
  outline: 0;
}
#oshi-flick .op-card-select:focus-visible:after {
  outline: 2px solid var(--op-blue);
  outline-offset: 3px;
}
#oshi-flick .mi-card-meta {
  position: static;
}
#oshi-flick a {
  color: var(--op-blue);
}
html[data-theme="dark"] {
  color-scheme: dark;
}
html[data-theme="dark"] body {
  background: #191e26;
}
html[data-theme="dark"] #oshi-flick {
  color-scheme: dark;
  --op-bg: #191e26;
  --op-paper: #262e39;
  --op-ink: #edf2f8;
  --op-muted: #bdc9d7;
  --op-line: #465466;
  --op-blue: #b6d7f6;
  --op-soft: #32485e;
  --op-btn: #bfdcf6;
  --op-btntext: #203549;
  --op-shadow: #00000030;
}
html[data-theme="pink"] {
  color-scheme: dark;
}
html[data-theme="pink"] body {
  background: #291c29;
}
html[data-theme="pink"] #oshi-flick {
  color-scheme: dark;
  --op-bg: #291c29;
  --op-paper: #432d40;
  --op-ink: #fff0f7;
  --op-muted: #dec1d1;
  --op-line: #80526f;
  --op-blue: #ffadd2;
  --op-soft: #583750;
  --op-btn: #f0a0c8;
  --op-btntext: #321c2a;
  --op-shadow: #150b1940;
}
html[data-theme="pink"] #oshi-flick .op-header {
  background: #382436;
}
#oshi-flick .op-theme-label {
  display: flex;
  align-items: center;
  gap: 8px;
}
#oshi-flick #op-theme {
  font: inherit;
  font-size: 12px;
  min-height: 36px;
  border: 1px solid var(--op-line);
  border-radius: 10px;
  padding: 6px 10px;
  color: var(--op-ink);
  background: var(--op-paper);
  cursor: pointer;
}
#oshi-flick #op-theme:focus-visible {
  outline: 2px solid var(--op-blue);
  outline-offset: 3px;
}
@media (prefers-reduced-motion: reduce) {
  #oshi-flick .op-pair .op-photocard {
    transition: none !important;
    transform: none !important;
  }
}
