:root {
  --yellow: #ffd548;
  --cream: #f8edcf;
  --paper: #fff8e7;
  --ink: #181818;
  --red: #f3563e;
  --green: #187a4d;
  --pink: #f4a4ae;
  --olive: #bccb86;
  --muted: #756b46;
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --tab-height: 68px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  background: #111;
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: hidden;
  background: #111;
  color: var(--ink);
  font-family: "Arial Rounded MT Bold", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  border: 0;
  color: inherit;
  font: inherit;
}

button:focus-visible,
a:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}

a {
  color: inherit;
  text-decoration: none;
}

[hidden] {
  display: none !important;
}

#app {
  width: 100%;
}

.app-shell {
  position: relative;
  width: min(100%, 430px);
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0 auto;
  overflow: hidden;
  background: var(--cream);
}

.content {
  min-height: 100vh;
  padding-bottom: calc(108px + env(safe-area-inset-bottom));
}

.hero {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  padding: max(18px, env(safe-area-inset-top)) 22px 30px;
  border-bottom: 3px solid var(--ink);
  border-radius: 0 0 42px 42px;
  background: var(--yellow);
}

.topbar {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-mark {
  display: grid;
  width: 43px;
  height: 43px;
  place-items: center;
  flex: none;
  border: 3px solid var(--ink);
  border-radius: 50%;
  background: var(--red);
}

.mini-crown {
  font-size: 24px;
  line-height: 1;
}

.eyebrow {
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 1.4px;
}

.brand-name {
  margin-top: 1px;
  font-size: 20px;
  font-weight: 1000;
  letter-spacing: 1px;
}

.round-btn {
  width: 43px;
  height: 43px;
  margin-left: auto;
  border: 3px solid var(--ink);
  border-radius: 50%;
  background: var(--paper);
  font-size: 25px;
  font-weight: 900;
  cursor: pointer;
}

.round-btn:active {
  transform: scale(.94);
}

.hero-copy {
  position: relative;
  z-index: 4;
  padding-top: 48px;
}

.status-sticker {
  display: inline-block;
  transform: rotate(-3deg);
  padding: 7px 13px;
  border: 2px solid var(--ink);
  background: var(--paper);
  font-size: 13px;
  font-weight: 900;
}

.hero h1 {
  margin: 18px 0 12px;
  font-size: clamp(41px, 11vw, 51px);
  font-weight: 1000;
  line-height: 1.05;
  letter-spacing: -2.2px;
}

.hero h1 span {
  display: block;
  margin-top: 10px;
  color: var(--green);
  font-size: clamp(34px, 9.2vw, 39px);
  line-height: 1.08;
  letter-spacing: -1.8px;
  white-space: nowrap;
}

.hero-copy p {
  width: 62%;
  margin-bottom: 18px;
  color: #6b5b21;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.6;
}

.primary-btn,
.outline-btn {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 0 22px;
  border: 3px solid var(--ink);
  border-radius: 999px;
  font-weight: 1000;
  cursor: pointer;
}

.primary-btn {
  background: var(--ink);
  box-shadow: 5px 5px 0 var(--red);
  color: #fff;
}

.primary-btn:active {
  transform: translate(3px, 3px);
  box-shadow: 2px 2px 0 var(--red);
}

.primary-btn span {
  font-size: 22px;
}

.queen-hero {
  position: absolute;
  z-index: 3;
  right: -70px;
  bottom: -14px;
  width: 330px;
  height: 330px;
  object-fit: contain;
  pointer-events: none;
}

.shape {
  position: absolute;
  border: 3px solid var(--ink);
  border-radius: 50%;
}

.shape-pink {
  width: 130px;
  height: 130px;
  top: 100px;
  right: -55px;
  background: var(--pink);
}

.shape-green {
  width: 54px;
  height: 54px;
  bottom: 80px;
  left: -18px;
  background: var(--green);
}

.rice-dot {
  position: absolute;
  z-index: 2;
  width: 15px;
  height: 24px;
  border-radius: 50%;
  background: var(--paper);
}

.rice-a {
  top: 190px;
  right: 32px;
  transform: rotate(30deg);
}

.rice-b {
  bottom: 90px;
  left: 200px;
  transform: rotate(-35deg);
}

.rice-c {
  top: 390px;
  left: 26px;
  transform: rotate(55deg);
}

.destiny-card {
  position: relative;
  z-index: 6;
  width: calc(100% - 28px);
  margin: -26px auto 0;
  padding: 24px 20px 18px;
  border: 3px solid var(--ink);
  border-radius: var(--radius-xl);
  background: var(--paper);
  box-shadow: 7px 7px 0 var(--ink);
}

.section-kicker {
  color: var(--red);
  font-size: 10px;
  font-weight: 1000;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.destiny-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 150px;
  align-items: center;
  gap: 10px;
}

.destiny-card h2,
.feed h2 {
  margin: 6px 0 7px;
  font-size: 28px;
  font-weight: 1000;
  letter-spacing: -1px;
}

.destiny-card p {
  margin-bottom: 13px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.5;
}

.outline-btn {
  min-height: 42px;
  padding: 0 17px;
  background: var(--yellow);
  font-size: 13px;
}

.outline-btn:active {
  transform: translateY(2px);
}

.outline-btn:disabled {
  opacity: .55;
  cursor: wait;
}

.wheel-wrap {
  position: relative;
  display: grid;
  place-items: center;
}

.wheel-inner {
  position: relative;
  display: grid;
  width: 146px;
  height: 146px;
  place-items: center;
}

.wheel-svg {
  width: 146px;
  height: 146px;
  overflow: visible;
  border: 6px solid var(--red);
  border-radius: 50%;
  background: var(--yellow);
  outline: 3px solid var(--ink);
  box-shadow: 5px 5px 0 var(--ink);
  transition: transform 3.2s cubic-bezier(.17, .67, .12, .99);
}

.wheel-svg.no-anim {
  transition: none;
}

.avatar-fixed {
  position: absolute;
  z-index: 10;
  top: 50%;
  left: 50%;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  transform: translate(-50%, -50%);
  overflow: hidden;
  border: 4px solid var(--ink);
  border-radius: 50%;
  background: var(--yellow);
  color: var(--ink);
  pointer-events: none;
}

.avatar-fixed span {
  font-size: 25px;
  line-height: 1;
}

.wheel-pointer {
  position: absolute;
  z-index: 15;
  top: -5px;
  width: 0;
  height: 0;
  border-top: 22px solid var(--ink);
  border-right: 12px solid transparent;
  border-left: 12px solid transparent;
}

.spin-result {
  display: flex;
  min-height: 42px;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 17px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 2px solid var(--ink);
  background: #ffe39a;
  color: var(--ink);
  font-size: 12px;
}

.spin-result strong,
.spin-result b {
  text-align: right;
}

.feed {
  padding: 40px 18px 8px;
}

.feed-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
}

.feed-note {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.category-tabs {
  display: flex;
  gap: 8px;
  margin: 13px 0 22px;
  overflow-x: auto;
  scrollbar-width: none;
}

.category-tabs::-webkit-scrollbar,
.video-grid::-webkit-scrollbar {
  display: none;
}

.category-tab {
  flex: none;
  padding: 10px 15px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: transparent;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
}

.category-tab.active {
  background: var(--ink);
  color: #fff;
}

.category {
  margin: 0 -2px 34px;
  scroll-margin-top: 18px;
}

.category-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 13px;
}

.category-title-wrap {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 10px;
}

.category-index {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  flex: none;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--yellow);
  color: var(--red);
  font-size: 11px;
  font-weight: 1000;
}

.category-name {
  display: block;
  font-size: 17px;
  font-weight: 1000;
}

.category-title-wrap small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
}

.refresh-btn {
  flex: none;
  padding: 8px 11px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--paper);
  font-size: 11px;
  font-weight: 900;
  cursor: pointer;
}

.refresh-btn:active {
  transform: translateY(2px);
}

.refresh-btn:disabled {
  opacity: .55;
  cursor: wait;
}

.video-grid {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 78%;
  gap: 14px;
  overflow-x: auto;
  padding: 0 7px 10px 2px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  transition: opacity .25s;
}

.video-grid.fading {
  opacity: .45;
}

.video-card {
  overflow: hidden;
  scroll-snap-align: start;
  border: 3px solid var(--ink);
  border-radius: 22px;
  background: var(--paper);
  box-shadow: 5px 5px 0 var(--ink);
  cursor: pointer;
}

.video-card:active {
  transform: translate(2px, 2px);
  box-shadow: 3px 3px 0 var(--ink);
}

.video-thumb {
  position: relative;
  display: flex;
  height: 154px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--pink);
}

.video-thumb::before {
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(90deg, #f0e9dd 25%, #fff8e7 50%, #f0e9dd 75%);
  background-size: 200% 100%;
  content: "";
  animation: shimmer 1.5s ease-in-out infinite;
}

.video-thumb.loaded::before {
  display: none;
}

.video-thumb img {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-thumb .emoji {
  position: relative;
  z-index: 2;
  font-size: 48px;
}

@keyframes shimmer {
  from { background-position: 200% 0; }
  to { background-position: -200% 0; }
}

.video-duration {
  position: absolute;
  z-index: 4;
  right: 9px;
  bottom: 9px;
  padding: 5px 8px;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  font-size: 11px;
  font-weight: 900;
}

.royal-tag {
  position: absolute;
  z-index: 4;
  top: 9px;
  left: 9px;
  transform: rotate(-2deg);
  padding: 6px 8px;
  border: 2px solid var(--ink);
  background: var(--yellow);
  font-size: 10px;
  font-weight: 1000;
}

.video-info {
  padding: 14px;
}

.video-title {
  display: -webkit-box;
  min-height: 45px;
  margin-bottom: 11px;
  overflow: hidden;
  color: var(--ink);
  font-size: 16px;
  font-weight: 1000;
  line-height: 1.4;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.video-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.video-meta span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.video-meta span:first-child {
  max-width: 66%;
}

.empty-card {
  display: grid;
  min-height: 180px;
  place-items: center;
  padding: 20px;
  border: 3px dashed var(--ink);
  border-radius: 22px;
  background: var(--paper);
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-align: center;
}

.up-section {
  padding-top: 4px;
}

.up-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.up-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  padding: 14px 10px;
  border: 3px solid var(--ink);
  border-radius: 20px;
  background: var(--paper);
  box-shadow: 4px 4px 0 var(--ink);
  text-align: center;
}

.up-card:active {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--ink);
}

.up-avatar {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 50%;
  font-size: 25px;
}

.up-name {
  max-width: 100%;
  overflow: hidden;
  font-size: 13px;
  font-weight: 1000;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.up-followers,
.up-bio {
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
}

.up-bio {
  display: -webkit-box;
  overflow: hidden;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.up-tag {
  padding: 4px 8px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-size: 9px;
  font-weight: 900;
}

.profile-view {
  min-height: 100dvh;
  padding: max(26px, env(safe-area-inset-top)) 20px 30px;
  background: var(--cream);
}

.profile-hero {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
  padding: 20px;
  border: 3px solid var(--ink);
  border-radius: 26px;
  background: var(--yellow);
  box-shadow: 6px 6px 0 var(--ink);
}

.profile-crown {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  flex: none;
  border: 3px solid var(--ink);
  border-radius: 50%;
  background: var(--red);
  font-size: 31px;
}

.profile-hero h1 {
  margin: 3px 0 4px;
  font-size: 27px;
  font-weight: 1000;
}

.profile-hero p {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.5;
}

.profile-summary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 24px 0 30px;
}

.profile-summary div {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 15px;
  border: 2px solid var(--ink);
  border-radius: 16px;
  background: var(--paper);
}

.profile-summary strong {
  color: var(--red);
  font-size: 25px;
  font-weight: 1000;
}

.profile-summary span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
}

.library-section {
  margin-bottom: 32px;
}

.library-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.library-heading h2 {
  margin-top: 3px;
  font-size: 20px;
  font-weight: 1000;
}

.library-list {
  display: grid;
  gap: 11px;
}

.library-card {
  position: relative;
  display: flex;
  overflow: hidden;
  border: 3px solid var(--ink);
  border-radius: 18px;
  background: var(--paper);
  box-shadow: 4px 4px 0 var(--ink);
}

.library-open {
  display: flex;
  min-width: 0;
  flex: 1;
  align-items: center;
  gap: 12px;
  padding: 9px 48px 9px 9px;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.library-thumb {
  position: relative;
  display: grid;
  width: 94px;
  height: 64px;
  place-items: center;
  flex: none;
  overflow: hidden;
  border: 2px solid var(--ink);
  border-radius: 11px;
}

.library-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.library-thumb .emoji {
  font-size: 30px;
}

.library-copy {
  min-width: 0;
}

.library-copy strong {
  display: -webkit-box;
  overflow: hidden;
  font-size: 13px;
  font-weight: 1000;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.library-copy small {
  display: block;
  margin-top: 6px;
  overflow: hidden;
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.library-remove {
  position: absolute;
  top: 50%;
  right: 11px;
  display: grid;
  width: 31px;
  height: 31px;
  place-items: center;
  transform: translateY(-50%);
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--cream);
  font-size: 19px;
  font-weight: 1000;
  cursor: pointer;
}

.library-empty {
  display: grid;
  min-height: 118px;
  place-items: center;
  align-content: center;
  gap: 8px;
  padding: 20px;
  border: 3px dashed var(--ink);
  border-radius: 18px;
  background: rgba(255, 248, 231, .7);
  color: var(--muted);
  text-align: center;
}

.library-empty span {
  color: var(--red);
  font-size: 28px;
}

.library-empty strong {
  max-width: 240px;
  font-size: 12px;
  line-height: 1.6;
}

.queen-note {
  display: flex;
  align-items: center;
  gap: 13px;
  margin: 4px 18px 10px;
  padding: 15px;
  border: 3px solid var(--ink);
  border-radius: 20px;
  background: var(--green);
  color: #fff;
}

.note-crown {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  flex: none;
  border: 3px solid var(--ink);
  border-radius: 50%;
  background: var(--yellow);
  color: var(--ink);
  font-size: 24px;
}

.queen-note span {
  display: block;
  margin-bottom: 4px;
  color: var(--yellow);
  font-size: 11px;
  font-weight: 900;
}

.queen-note strong {
  font-size: 13px;
  line-height: 1.5;
}

.tab-bar-wrap {
  position: fixed;
  z-index: 30;
  left: 50%;
  bottom: max(12px, env(safe-area-inset-bottom));
  width: min(calc(100% - 24px), 404px);
  transform: translateX(-50%);
}

.tab-pill {
  display: grid;
  min-height: var(--tab-height);
  grid-template-columns: repeat(4, 1fr);
  padding: 7px;
  border: 3px solid var(--ink);
  border-radius: 24px;
  background: var(--paper);
  box-shadow: 5px 5px 0 var(--ink);
}

.tab-item {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 7px 3px;
  border-radius: 16px;
  background: transparent;
  font-size: 9px;
  font-weight: 900;
  cursor: pointer;
}

.tab-icon {
  font-size: 20px;
  line-height: 1;
}

.tab-label {
  white-space: nowrap;
}

.tab-item.active {
  background: var(--ink);
  color: #fff;
}

.queen-tab .tab-icon {
  color: var(--red);
}

.toast {
  position: fixed;
  z-index: 100;
  top: max(16px, env(safe-area-inset-top));
  left: 50%;
  max-width: min(330px, calc(100% - 32px));
  transform: translateX(-50%) translateY(-20px);
  overflow: hidden;
  padding: 10px 20px;
  border: 2px solid var(--paper);
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  opacity: 0;
  pointer-events: none;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: all .3s ease;
}

.toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

.modal-overlay {
  position: fixed;
  z-index: 200;
  inset: 0;
  display: flex;
  align-items: end;
  justify-content: center;
  padding-top: 40px;
  background: rgba(24, 24, 24, .72);
  opacity: 0;
  pointer-events: none;
  transition: opacity .28s ease;
}

.modal-overlay.show {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  position: relative;
  width: min(100%, 430px);
  max-height: calc(100dvh - 40px);
  overflow: auto;
  border: 3px solid var(--ink);
  border-bottom: 0;
  border-radius: 32px 32px 0 0;
  background: var(--cream);
  transform: translateY(36px);
  transition: transform .32s cubic-bezier(.2, .8, .2, 1);
}

.modal-close {
  position: absolute;
  z-index: 8;
  top: 13px;
  right: 13px;
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 3px solid var(--ink);
  border-radius: 50%;
  background: var(--paper);
  box-shadow: 3px 3px 0 var(--ink);
  font-size: 27px;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
}

.modal-close:active {
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0 var(--ink);
}

.modal-overlay.show .modal-card {
  transform: translateY(0);
}

.modal-cover {
  position: relative;
  display: flex;
  height: 210px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-bottom: 3px solid var(--ink);
  background: var(--pink);
}

.modal-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-cover-emoji {
  font-size: 72px;
}

.modal-cover-badge,
.modal-cover-duration {
  position: absolute;
  z-index: 3;
  padding: 6px 9px;
  border: 2px solid var(--ink);
  border-radius: 8px;
  font-size: 10px;
  font-weight: 900;
}

.modal-cover-badge {
  top: 14px;
  left: 14px;
  transform: rotate(-2deg);
  background: var(--yellow);
}

.modal-cover-duration {
  right: 14px;
  bottom: 14px;
  background: var(--ink);
  color: #fff;
}

.modal-body {
  padding: 20px 20px max(24px, env(safe-area-inset-bottom));
}

.modal-kicker {
  margin-bottom: 7px;
  color: var(--red);
  font-size: 10px;
  font-weight: 1000;
  letter-spacing: 1.2px;
}

.modal-title {
  margin-bottom: 11px;
  font-size: 21px;
  font-weight: 1000;
  line-height: 1.35;
}

.modal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.modal-meta-item {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.modal-reco {
  margin-bottom: 18px;
  padding: 15px;
  border: 2px solid var(--ink);
  border-radius: 16px;
  background: #ffe29a;
  box-shadow: 3px 3px 0 #e3ad32;
}

.modal-reco-label {
  margin-bottom: 6px;
  color: #a33d24;
  font-size: 12px;
  font-weight: 1000;
}

.modal-reco-text {
  font-size: 13px;
  font-weight: 800;
  line-height: 1.6;
  white-space: pre-line;
}

.modal-actions {
  display: flex;
  gap: 10px;
}

.modal-btn {
  min-height: 48px;
  flex: 1;
  border: 3px solid var(--ink);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 1000;
  cursor: pointer;
}

.modal-btn:active {
  transform: translateY(2px);
}

.modal-btn-secondary {
  background: var(--paper);
}

.modal-btn-favorite {
  background: var(--yellow);
}

.modal-btn-favorite.active {
  background: var(--red);
  color: #fff;
}

.modal-btn-primary {
  background: var(--ink);
  color: #fff;
}

@media (max-width: 360px) {
  .hero {
    min-height: 535px;
    padding-right: 18px;
    padding-left: 18px;
  }

  .hero h1 {
    font-size: 38px;
  }

  .hero h1 span {
    font-size: 32px;
  }

  .queen-hero {
    right: -76px;
    width: 305px;
    height: 305px;
  }

  .destiny-card {
    padding-right: 15px;
    padding-left: 15px;
  }

  .destiny-layout {
    grid-template-columns: minmax(0, 1fr) 132px;
  }

  .wheel-inner,
  .wheel-svg {
    width: 128px;
    height: 128px;
  }

  .modal-actions {
    flex-wrap: wrap;
  }

  .modal-btn-primary {
    flex-basis: 100%;
  }
}

@media (min-width: 600px) {
  body {
    padding: 1px 0;
  }

  .app-shell {
    margin-block: 24px;
    border: 3px solid var(--ink);
    border-radius: 38px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
  }
}
