.my-foods .community-tabs.my-record-tabs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .25rem; padding: .2rem 0 .5rem; margin: 1.2rem 0 1rem; border-radius: 0; border-bottom: 1px solid #f1dfd0; background: transparent; }
.my-foods .my-record-tabs button { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: .3rem; min-width: 0; padding: .65rem .12rem .75rem; border: 0; border-radius: 14px; background: transparent; color: #8a6f5c; box-shadow: none; }
.my-foods .my-record-tabs button:hover { background: #fff8f2; }
.my-foods .my-record-tabs button[aria-pressed="true"] { background: #fff2e7; color: #a74712; box-shadow: none; }
.my-foods .my-record-tabs button[aria-pressed="true"]::after { content: ""; position: absolute; inset-inline: 22%; bottom: .15rem; height: 3px; border-radius: 999px; background: #d97964; }
.my-nav-icon { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #fff0e5; color: #b9653d; font-size: 21px; font-weight: 500; line-height: 1; }
.my-nav-icon svg { width: 24px; height: 24px; }
.my-record-tabs [data-key="ate"] .my-nav-icon { background: #eef2e5; color: #75874e; font-size: 18px; }
.my-record-tabs [data-key="want"] .my-nav-icon { background: #fff0ee; color: #ce7b74; }
.my-record-tabs [data-key="photos"] .my-nav-icon { background: #fff0ec; }
.my-record-tabs [data-key="achievements"] .my-nav-icon { background: #fff2d9; color: #bb8740; }
.my-nav-label { font-size: .78rem; line-height: 1.5; overflow-wrap: anywhere; }
.my-record-tabs .my-food-total { display: block; margin: 0; padding: 0; border-radius: 0; background: transparent; color: #8a6f5c; font-size: .7rem; line-height: 1.4; font-weight: 500; overflow-wrap: anywhere; }
.my-record-tabs [data-key="achievements"] .my-food-total { color: #93672e; }
@media (max-width: 340px) { .my-nav-label { font-size: .66rem; } }
@media (max-width: 300px) {
  .my-foods .community-tabs.my-record-tabs { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .my-foods .my-record-tabs button { grid-column: span 2; }
  .my-foods .my-record-tabs button:nth-child(4) { grid-column: 2 / span 2; }
  .my-foods .my-record-tabs button:nth-child(5) { grid-column: 4 / span 2; }
}
.my-foods .community-list[hidden] { display: none; }
.my-achievements[hidden] { display: none; }
.my-achievements-title { margin: .5rem 0; }
.my-achievements-status { margin: .5rem 0; color: var(--accent-deep); font-weight: 700; }
.my-earned-titles { display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; margin: .7rem 0 1.3rem; list-style: none; }
.my-earned-titles[hidden], .my-earned-empty[hidden] { display: none; }
.my-earned-title { display: inline-flex; align-items: center; max-width: 100%; padding: .35rem .65rem; border: 1px solid #e3b189; border-radius: 999px; background: #fff0dc; color: #984716; font-size: .75rem; font-weight: 700; line-height: 1.7; overflow-wrap: anywhere; }
.my-earned-empty { margin: .6rem 0 1.2rem; color: var(--text-muted); font-size: .8rem; line-height: 1.8; }
.my-achievements-note { margin: .6rem 0 1rem; color: var(--text-muted); font-size: .8rem; line-height: 1.9; }
.my-achievements-groups { display: grid; gap: 1rem; margin: 1rem 0; }
.my-achievement-group { min-width: 0; padding: 1rem; border: 1px solid var(--border); border-radius: 18px; background: #fffaf5; }
.my-achievement-heading { display: flex; align-items: center; justify-content: space-between; gap: .75rem; margin-bottom: .8rem; }
.my-achievement-heading h3 { margin: 0; font-size: 1.05rem; }
.my-achievement-count { padding: .2rem .65rem; border-radius: 999px; background: #fff0e2; color: var(--accent-deep); font-size: .8rem; font-weight: 700; }
.my-achievement-ranks { display: grid; grid-template-columns: minmax(0, 1fr); gap: .5rem; padding: 0; margin: 0; list-style: none; }
.my-achievement-rank { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-content: start; gap: .35rem .7rem; min-width: 0; padding: .8rem; border: 1px solid #e8ddd3; border-radius: 14px; background: #f7f3ef; text-align: left; }
.my-achievement-rank strong { color: #7a695d; font-size: .8rem; overflow-wrap: anywhere; }
.my-achievement-rank.is-earned { border-color: #e3b189; background: #fff0dc; }
.my-achievement-rank.is-earned strong { color: #984716; }
.my-achievement-condition { grid-column: 1; color: var(--text-muted); font-size: .72rem; line-height: 1.7; }
.my-achievement-state { grid-column: 2; grid-row: 1 / 3; align-self: center; font-size: .72rem; color: #7a695d; }
.my-achievement-rank.is-earned .my-achievement-state { color: #984716; font-weight: 700; }
.my-achievement-progress { display: block; width: 100%; height: 8px; margin-top: 1rem; border: 0; border-radius: 999px; appearance: none; background: #f2e5d9; accent-color: #ca705b; overflow: hidden; }
.my-achievement-progress::-webkit-progress-bar { background: #f2e5d9; border-radius: 999px; }
.my-achievement-progress::-webkit-progress-value { background: #ca705b; border-radius: 999px; }
.my-achievement-progress::-moz-progress-bar { background: #ca705b; border-radius: 999px; }
.my-achievement-next { margin: .6rem 0 0; color: var(--text-muted); font-size: .78rem; line-height: 1.8; overflow-wrap: anywhere; }
.my-achievements-reload { border-radius: 999px; min-height: 40px; font-size: .8rem; }
@media (max-width: 560px) {
  .my-achievement-group { padding: .8rem; }
  .my-achievement-ranks { grid-template-columns: minmax(0, 1fr); }
  .my-achievement-rank { grid-template-columns: minmax(0, 1fr) auto; gap: .35rem .7rem; text-align: left; padding: .75rem; }
  .my-achievement-rank strong { font-size: .8rem; }
  .my-achievement-condition { grid-column: 1; }
  .my-achievement-state { grid-column: 2; grid-row: 1 / 3; align-self: center; }
}
