:root {
  --peach: #ff9fb6;
  --rose: #ff5f92;
  --berry: #b83867;
  --mint: #2fd4b5;
  --jade: #18a98f;
  --lemon: #ffd76b;
  --cream: #fff8f5;
  --paper: #ffffff;
  --ink: #362434;
  --muted: #8a7282;
  --line: #f4dbe3;
  --glass: rgba(255, 255, 255, 0.78);
  --shadow: 0 22px 54px rgba(181, 73, 111, 0.16);
  --soft-shadow: 0 12px 30px rgba(128, 85, 104, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background:
    radial-gradient(circle at 8% 0%, rgba(255, 215, 107, 0.34), transparent 24%),
    radial-gradient(circle at 90% 10%, rgba(47, 212, 181, 0.2), transparent 24%),
    linear-gradient(160deg, #fff4f8 0%, #f2fff9 48%, #fff9ec 100%);
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    "Microsoft YaHei",
    sans-serif;
  letter-spacing: 0;
}

button,
input,
select {
  font: inherit;
}

button {
  border: 0;
  cursor: pointer;
}

.phone-shell {
  width: min(100%, 440px);
  min-height: 100vh;
  margin: 0 auto;
  padding: 14px;
}

.screen {
  position: relative;
  min-height: calc(100vh - 28px);
  overflow: hidden;
  border: 1px solid rgba(255, 143, 178, 0.2);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.68)),
    #fff8f5;
  box-shadow: var(--shadow);
  padding: 20px 16px 92px;
}

.topbar,
.section-head,
.sheet-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.topbar h1,
.section-head h2,
.sheet-head h2 {
  margin: 0;
  letter-spacing: 0;
}

.topbar h1 {
  font-size: 25px;
  line-height: 1.16;
}

.brand-lockup {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  border-radius: 17px;
  background: linear-gradient(145deg, #fff, #fff1f6);
  box-shadow: 0 12px 28px rgba(184, 56, 103, 0.16);
}

.brand-mark img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.section-head h2,
.sheet-head h2 {
  font-size: 19px;
}

.section-head.compact h2 {
  font-size: 17px;
}

.kicker {
  margin: 0 0 4px;
  color: var(--berry);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.icon-button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border-radius: 16px;
  background: linear-gradient(145deg, #fff, #fff1f6);
  color: var(--rose);
  font-size: 22px;
  box-shadow: var(--soft-shadow);
}

.home-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  background: #eafff7;
  color: var(--jade);
  font-size: 13px;
  font-weight: 900;
}

.icon-button img {
  width: 25px;
  height: 25px;
  object-fit: contain;
}

.score-hero {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 14px;
  align-items: center;
  margin-top: 18px;
  padding: 16px;
  border-radius: 24px;
  background:
    radial-gradient(circle at 12% 20%, rgba(255, 255, 255, 0.34), transparent 24%),
    linear-gradient(135deg, #ff7da7 0%, #ffb86f 55%, #2fd4b5 125%),
    #ff8fb2;
  color: #fff;
  box-shadow: 0 18px 38px rgba(255, 95, 146, 0.28);
}

.score-ring {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 36% 28%, rgba(255, 215, 107, 0.18), transparent 30%),
    rgba(255, 255, 255, 0.92);
  color: var(--berry);
  box-shadow:
    inset 0 0 0 8px rgba(255, 95, 146, 0.08),
    0 12px 28px rgba(184, 56, 103, 0.14);
}

.score-ring span {
  font-size: 34px;
  font-weight: 900;
  line-height: 1;
}

.score-ring small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.score-copy p {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 900;
}

.score-copy p b {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  margin-right: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.26);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.34);
  font-size: 15px;
}

.score-copy span {
  display: block;
  font-size: 14px;
  line-height: 1.5;
}

.score-copy em {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
  opacity: 0.9;
}

.quick-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 16px 0;
}

.action {
  display: grid;
  place-items: center;
  align-content: center;
  min-height: 82px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.86);
  color: var(--ink);
  box-shadow: var(--soft-shadow);
}

.action.primary {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 240, 246, 0.9)),
    #fff0f5;
  color: var(--berry);
  box-shadow: 0 12px 28px rgba(184, 56, 103, 0.15);
}

.action-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 5px;
  border-radius: 16px;
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(244, 219, 227, 0.8);
}

.action-icon img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.action span:last-child {
  display: block;
  font-size: 14px;
  font-weight: 800;
}

.summary-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.summary-grid article {
  min-height: 74px;
  padding: 12px 8px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--glass);
  box-shadow: 0 8px 22px rgba(128, 85, 104, 0.07);
}

.summary-grid span,
.section-head span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.summary-grid strong {
  display: block;
  margin-top: 8px;
  font-size: 13px;
}

.summary-grid b {
  font-size: 19px;
}

.map-card,
.advice-card,
.report-card,
.day-detail {
  margin-top: 16px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--glass);
  box-shadow: var(--soft-shadow);
}

.text-button {
  padding: 9px 12px;
  border-radius: 999px;
  background: #ecfff8;
  color: var(--jade);
  font-size: 13px;
  font-weight: 900;
}

.route {
  position: relative;
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.route::before {
  position: absolute;
  top: 18px;
  bottom: 18px;
  left: 17px;
  width: 2px;
  background: repeating-linear-gradient(
    to bottom,
    rgba(255, 95, 146, 0.64) 0 7px,
    transparent 7px 14px
  );
  content: "";
}

.route-item {
  position: relative;
  display: grid;
  grid-template-columns: 42px 1fr auto;
  gap: 8px;
  align-items: center;
}

.pin {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 3px solid #fff;
  border-radius: 50% 50% 50% 8px;
  background: linear-gradient(135deg, var(--rose), var(--mint));
  color: #fff;
  transform: rotate(-45deg);
  box-shadow: 0 8px 18px rgba(255, 95, 146, 0.24);
}

.pin span {
  transform: rotate(45deg);
  font-size: 15px;
}

.pin img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  transform: rotate(45deg);
  filter: drop-shadow(0 1px 0 rgba(255, 255, 255, 0.55));
}

.route-copy strong,
.recipe-card strong,
.report-card strong,
.day-detail strong {
  display: block;
  font-size: 15px;
}

.route-copy p,
.advice-card p,
.report-card p,
.day-detail p,
.recognition-card p,
.recipe-card p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.route-kcal {
  color: var(--berry);
  font-size: 13px;
  font-weight: 900;
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
}

.calendar {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 7px;
  margin-top: 14px;
}

.day {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  border-radius: 14px;
  background: #fff;
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
  box-shadow: inset 0 0 0 1px rgba(243, 217, 223, 0.9);
}

.day.good {
  background: #e8fff5;
  color: #1f7b5d;
}

.day.warn {
  background: #fff3c9;
  color: #a96d00;
}

.day.risk {
  background: #ffe4ec;
  color: #a92558;
}

.bottom-nav {
  position: fixed;
  bottom: 16px;
  left: 50%;
  z-index: 10;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
  width: min(calc(100% - 56px), 392px);
  padding: 7px;
  border: 1px solid rgba(255, 143, 178, 0.18);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  box-shadow: 0 14px 36px rgba(128, 85, 104, 0.15);
  transform: translateX(-50%);
}

.nav-item {
  display: grid;
  place-items: center;
  gap: 2px;
  height: 50px;
  border-radius: 18px;
  background: transparent;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
}

.nav-item img {
  width: 23px;
  height: 23px;
  object-fit: contain;
  filter: saturate(0.74);
  opacity: 0.78;
}

.nav-item.active {
  background: #fff0f6;
  color: var(--berry);
  box-shadow: inset 0 0 0 1px rgba(255, 95, 146, 0.08);
}

.nav-item.active img {
  filter: none;
  opacity: 1;
}

.sheet {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: none;
  align-items: flex-end;
  justify-content: center;
  padding: 16px;
  background: rgba(54, 36, 52, 0.28);
}

.sheet.open {
  display: flex;
}

.sheet-panel {
  width: min(100%, 430px);
  max-height: 88vh;
  overflow: auto;
  border-radius: 28px 28px 22px 22px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 248, 245, 0.96)),
    var(--cream);
  padding: 12px 16px 18px;
  box-shadow: 0 -18px 44px rgba(62, 38, 49, 0.22);
}

.sheet-panel.tall {
  max-height: 92vh;
}

.grabber {
  width: 44px;
  height: 5px;
  margin: 0 auto 14px;
  border-radius: 99px;
  background: #eecbd7;
}

.close-button {
  padding: 8px 12px;
  border-radius: 999px;
  background: #fff;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  box-shadow: inset 0 0 0 1px rgba(244, 219, 227, 0.82);
}

.upload-box {
  display: grid;
  place-items: center;
  min-height: 138px;
  margin-top: 16px;
  border: 2px dashed rgba(255, 95, 146, 0.3);
  border-radius: 20px;
  background:
    radial-gradient(circle at 50% 22%, rgba(47, 212, 181, 0.1), transparent 30%),
    rgba(255, 255, 255, 0.82);
  text-align: center;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.72);
}

.upload-box.slim {
  min-height: 92px;
}

.upload-box input {
  display: none;
}

.upload-box span {
  color: var(--berry);
  font-weight: 900;
}

.upload-box small {
  display: block;
  margin-top: 6px;
  color: var(--muted);
}

.preview {
  display: none;
  margin-top: 12px;
  overflow: hidden;
  border-radius: 18px;
}

.preview.has-image {
  display: block;
}

.preview img {
  display: block;
  width: 100%;
  max-height: 210px;
  object-fit: cover;
}

.recognition-card,
.profile-card {
  margin-top: 14px;
  padding: 14px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: inset 0 0 0 1px rgba(244, 219, 227, 0.8);
}

.recognition-card h3 {
  margin: 9px 0 0;
  font-size: 18px;
}

.pill {
  display: inline-flex;
  padding: 6px 9px;
  border-radius: 999px;
  background: #eafff7;
  color: var(--jade);
  font-size: 12px;
  font-weight: 900;
}

.food-items {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.food-items div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 10px;
  border-radius: 14px;
  background: #fff5f8;
}

.food-items strong {
  font-size: 13px;
}

.food-items span {
  color: var(--muted);
  font-size: 12px;
  text-align: right;
}

.risk-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.risk-tags span {
  padding: 5px 8px;
  border-radius: 999px;
  background: #eafff7;
  color: var(--jade);
  font-size: 12px;
  font-weight: 800;
}

.size-options,
.chip-row,
.condition-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.size-options button,
.chip,
.condition-list button {
  padding: 9px 12px;
  border-radius: 999px;
  background: #fff5f8;
  color: var(--berry);
  font-size: 13px;
  font-weight: 900;
}

.size-options button.selected,
.chip.selected,
.condition-list button.active {
  background: linear-gradient(135deg, var(--rose), var(--peach));
  color: #fff;
}

.full-button {
  width: 100%;
  min-height: 52px;
  margin-top: 16px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--rose), var(--peach));
  color: #fff;
  font-weight: 900;
  box-shadow: 0 12px 24px rgba(255, 95, 146, 0.24);
}

.full-button.secondary {
  background: linear-gradient(135deg, var(--mint), #a7efd3);
  color: #174d3c;
}

.recipe-list {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.ingredient-card,
.shopping-card {
  margin-top: 12px;
  padding: 12px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: inset 0 0 0 1px rgba(243, 217, 223, 0.8);
}

#ingredientChips,
#shoppingList,
.action-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.ingredient-chip,
.shopping-item,
.action-list span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  border-radius: 999px;
  background: #fff5f8;
  color: var(--berry);
  font-size: 13px;
  font-weight: 900;
}

.ingredient-chip.selected {
  background: #eafff7;
  color: var(--jade);
}

.ingredient-chip small,
.shopping-item small {
  color: inherit;
  font-size: 11px;
  opacity: 0.72;
}

.shopping-item {
  border: 1px solid rgba(255, 111, 159, 0.14);
}

.empty-note,
.loading-line {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.recipe-card {
  padding: 14px;
  border-radius: 20px;
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(243, 217, 223, 0.75);
}

.recipe-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.mini-action,
.muted-action,
.recipe-actions button {
  padding: 7px 9px;
  border-radius: 999px;
  background: #fff0f5;
  color: var(--berry);
  font-size: 12px;
  font-weight: 900;
}

.mini-action.active {
  background: linear-gradient(135deg, var(--rose), var(--peach));
  color: #fff;
}

.muted-action.active {
  background: #eee;
  color: #777;
}

.recipe-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.recipe-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.recipe-meta span {
  padding: 5px 8px;
  border-radius: 999px;
  background: #fff1c7;
  color: #916300;
  font-size: 12px;
  font-weight: 800;
}

.recipe-card details {
  margin-top: 10px;
}

.recipe-card summary {
  color: var(--berry);
  font-size: 13px;
  font-weight: 900;
  outline: 0;
}

.report-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 7px;
  margin-top: 12px;
}

.report-tabs button {
  min-height: 38px;
  border-radius: 14px;
  background: #fff;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.report-tabs button.selected {
  background: #fff0f5;
  color: var(--berry);
}

.share-card {
  margin-top: 16px;
  padding: 18px;
  border-radius: 24px;
  background:
    radial-gradient(circle at 14% 18%, rgba(255, 255, 255, 0.28), transparent 26%),
    linear-gradient(135deg, rgba(255, 95, 146, 0.92), rgba(47, 212, 181, 0.78)),
    #fff;
  color: #fff;
  box-shadow: 0 14px 30px rgba(127, 81, 95, 0.16);
}

.share-card h2 {
  margin: 0 0 10px;
  font-size: 24px;
}

.share-card strong {
  display: block;
  margin-bottom: 8px;
}

.share-card p {
  line-height: 1.5;
}

.admin-grid {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.admin-grid article {
  padding: 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: inset 0 0 0 1px rgba(243, 217, 223, 0.8);
}

.admin-grid span {
  color: var(--berry);
  font-size: 12px;
  font-weight: 900;
}

.admin-grid strong {
  display: block;
  margin-top: 6px;
  font-size: 17px;
}

.admin-grid p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.trend-list {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
  margin-top: 12px;
}

.trend-list span {
  min-width: 0;
  padding: 8px 5px;
  border-radius: 12px;
  background: #fff7fa;
  text-align: center;
}

.trend-list b,
.trend-list i,
.trend-list small {
  display: block;
  font-style: normal;
}

.trend-list b {
  color: var(--berry);
  font-size: 11px;
}

.trend-list i {
  margin-top: 4px;
  color: var(--ink);
  font-size: 11px;
  font-weight: 900;
}

.trend-list small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 10px;
}

.risk-list span {
  background: #fff2e3;
  color: #9b5b08;
}

.recipe-mini-list {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.recipe-mini-list article {
  padding: 10px;
  border-radius: 14px;
  background: #fff7fa;
}

.recipe-mini-list strong,
.recipe-mini-list small {
  display: block;
}

.recipe-mini-list p {
  margin: 5px 0;
}

.recipe-mini-list small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.exercise-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 16px;
}

.exercise-grid button {
  min-height: 78px;
  border-radius: 20px;
  background: #fff;
  color: #674052;
  font-weight: 900;
  box-shadow: inset 0 0 0 1px rgba(243, 217, 223, 0.8);
}

.exercise-custom {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 16px;
}

.exercise-custom label,
.poll-form {
  display: grid;
  gap: 6px;
}

.exercise-custom span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.exercise-custom input,
.exercise-custom select,
.poll-form input {
  width: 100%;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: #fff;
  color: var(--ink);
  padding: 0 12px;
  outline: 0;
}

.points-hero {
  margin-top: 14px;
  padding: 16px;
  border-radius: 22px;
  background: linear-gradient(135deg, #ff8fb2, #ffd079);
  color: #fff;
}

.points-hero {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.points-hero span {
  display: block;
  font-size: 12px;
  font-weight: 800;
  opacity: 0.86;
}

.points-hero strong {
  display: block;
  margin-top: 5px;
  font-size: 26px;
}

.points-hero p {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 13px;
  font-weight: 800;
}

.task-list,
.mall-grid {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.task-item {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  min-height: 62px;
  padding: 12px;
  border-radius: 18px;
  background: #fff;
  color: var(--ink);
  text-align: left;
  box-shadow: inset 0 0 0 1px rgba(243, 217, 223, 0.8);
}

.task-item span {
  font-weight: 900;
}

.task-item small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.task-item strong {
  color: var(--rose);
}

.mall-grid {
  grid-template-columns: repeat(2, 1fr);
}

.mall-item,
.poll-card {
  padding: 14px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: inset 0 0 0 1px rgba(243, 217, 223, 0.85);
}

.mall-item span,
.poll-tag,
.poll-status {
  color: var(--rose);
  font-size: 12px;
  font-weight: 900;
}

.poll-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.poll-tag,
.poll-status {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  border-radius: 999px;
  line-height: 1;
  white-space: nowrap;
}

.poll-tag {
  padding: 0 10px;
  background: #fff0f5;
}

.poll-status {
  padding: 0 9px;
  background: rgba(120, 216, 178, 0.18);
  color: #268265;
}

.mall-item strong,
.poll-card strong {
  display: block;
  margin-top: 8px;
}

.poll-card strong {
  font-size: 16px;
  line-height: 1.35;
}

.mall-item p,
.poll-card p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.mall-item button {
  width: 100%;
  height: 38px;
  border-radius: 14px;
  background: #fff0f5;
  color: var(--rose);
  font-weight: 900;
}

.poll-form {
  margin-top: 12px;
}

.poll-options {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.poll-option {
  position: relative;
  display: flex;
  min-height: 42px;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  overflow: hidden;
  padding: 0 12px;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  text-align: left;
  box-shadow: inset 0 0 0 1px rgba(243, 217, 223, 0.9);
}

.poll-option::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--pct, 0%);
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(255, 111, 159, 0.18), rgba(120, 216, 178, 0.15));
}

.poll-option span,
.poll-option b {
  position: relative;
  z-index: 1;
  font-weight: 900;
}

.poll-option b {
  color: var(--rose);
  font-size: 14px;
}

.poll-tools {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 9px;
}

.poll-tools button {
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 247, 250, 0.82);
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.profile-card {
  display: grid;
  gap: 12px;
}

.profile-card label {
  display: grid;
  gap: 6px;
}

.profile-card label span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.profile-card input,
.profile-card select {
  width: 100%;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: #fff;
  color: var(--ink);
  padding: 0 12px;
  outline: 0;
}

@media (max-width: 360px) {
  .phone-shell {
    padding: 0;
  }

  .screen {
    min-height: 100vh;
    border-radius: 0;
  }

  .score-hero {
    grid-template-columns: 88px 1fr;
  }

  .score-ring {
    width: 82px;
    height: 82px;
  }

  .score-ring span {
    font-size: 29px;
  }
}
