/* Общие стили */
* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background-color: #f4f6f9;
    margin: 0;
    padding: 12px 12px 0;
    color: #333;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
    min-height: 100dvh;
}

.app-container {
    width: 100%;
    max-width: 400px;
    background: #ffffff;
    border-radius: 24px;
    padding: 20px 20px calc(125px + env(safe-area-inset-bottom, 0px));
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    position: relative;
    min-height: calc(100vh - 12px);
    min-height: calc(100dvh - 12px);
    margin: 0 auto;
    overflow: visible;
}

/* Система экранов */
.screen {
    display: none;
}
.screen.active {
    display: block;
}

/* Шапка с датой */
.header {
    text-align: center;
    margin-bottom: 20px;
}

.header h1 {
    font-size: 18px;
    color: #888;
    margin: 0 0 5px 0;
    font-weight: 500;
}

.header .current-date {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
}

/* Кнопки быстрых действий на главном экране */
.home-actions {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.primary-action-btn {
    background: linear-gradient(135deg, #ff4d6d 0%, #d90429 100%);
    color: white;
    border: none;
    padding: 14px;
    border-radius: 16px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(217, 4, 41, 0.2);
    transition: transform 0.1s;
}

.primary-action-btn:active {
    transform: scale(0.98);
}

.secondary-action-btn {
    background: #f0f0f5;
    color: #5a189a;
    border: none;
    padding: 12px;
    border-radius: 16px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.secondary-action-btn:hover {
    background: #e2e2e9;
}

/* Лента недели со свайпом */
.week-slider {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 10px;
    margin-bottom: 20px;
    scrollbar-width: none;
}

.week-slider::-webkit-scrollbar {
    display: none;
}

.day-card {
    flex: 0 0 52px;
    height: 75px;
    background: #ffffff;
    border: 2px solid #eee;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    scroll-snap-align: start;
    cursor: pointer;
    transition: all 0.2s ease;
}

.day-card .day-name {
    font-size: 12px;
    color: #888;
    margin-bottom: 4px;
    text-transform: uppercase;
}

.day-card .day-number {
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

/* СТРОГОЕ РАЗДЕЛЕНИЕ СОСТОЯНИЙ ДНЯ */
.day-card.period-actual, .month-day-cell.period-actual {
    background-color: #ffeef2;
    border-color: #ffb3c6;
}
.day-card.period-actual .day-number, .day-card.period-actual .day-name,
.month-day-cell.period-actual {
    color: #d90429;
}

.day-card.period-predicted, .month-day-cell.period-predicted {
    background-color: #fff9fa;
    border: 2px dashed #ffb3c6;
}
.day-card.period-predicted .day-number, .day-card.period-predicted .day-name,
.month-day-cell.period-predicted {
    color: #e85d75;
}

.day-card.period-possible-today, .month-day-cell.period-possible-today {
    background-color: #ffe5ea;
    border: 2px solid #ff4d6d;
    box-shadow: 0 0 8px rgba(255, 77, 109, 0.3);
}
.day-card.period-possible-today .day-number, .day-card.period-possible-today .day-name,
.month-day-cell.period-possible-today {
    color: #c9184a;
    font-weight: 700;
}

.day-card.fertile-window-predicted, .month-day-cell.fertile-window-predicted {
    background-color: #f1f8fe;
    border-color: #c8e3f8;
}
.day-card.fertile-window-predicted .day-number, .day-card.fertile-window-predicted .day-name,
.month-day-cell.fertile-window-predicted {
    color: #477f9f;
}

.day-card.ovulation-predicted, .month-day-cell.ovulation-predicted {
    background-color: #d6efff;
    border-color: #64b5f6;
    font-weight: 700;
}
.day-card.ovulation-predicted .day-number, .day-card.ovulation-predicted .day-name,
.month-day-cell.ovulation-predicted {
    color: #01579b;
}

/* При задержке не совмещаем прогноз возможного начала с прогнозом фертильности следующего цикла. */

.day-card.today, .month-day-cell.today {
    border-color: #7b2cbf;
    box-shadow: 0 0 0 2px rgba(123, 44, 191, 0.2);
}

/* Информационная карточка */
.info-card {
    background: linear-gradient(135deg, #f8f0fc 0%, #f3e8ff 100%);
    border-radius: 20px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.info-icon {
    font-size: 36px;
    background: #fff;
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    flex-shrink: 0;
}

.info-content h3 {
    margin: 0 0 4px 0;
    font-size: 16px;
    color: #5a189a;
}

.info-content p {
    margin: 0;
    font-size: 14px;
    color: #6c757d;
    line-height: 1.4;
}

/* Нижняя панель фиксирована, а содержимое календаря прокручивается под ней.
   Ширина панели совпадает с карточкой приложения и учитывает safe area телефона. */
.bottom-nav {
    position: fixed;
    z-index: 100;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: min(calc(100vw - 24px), 400px);
    background: #ffffff;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: space-around;
    padding: 10px 0 calc(10px + env(safe-area-inset-bottom, 0px));
    border-bottom-left-radius: 24px;
    border-bottom-right-radius: 24px;
    box-shadow: 0 -5px 18px rgba(25, 25, 40, 0.04);
}

.nav-item {
    background: none;
    border: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    color: #999;
    font-size: 12px;
    gap: 4px;
    flex: 1;
    transition: color 0.2s;
}

.nav-item .nav-icon {
    font-size: 20px;
}

.nav-item.active {
    color: #7b2cbf;
    font-weight: 600;
}

/* Стили профиля */
.profile-card {
    background: #f9f9fb;
    padding: 16px;
    border-radius: 16px;
    font-size: 14px;
}
.profile-card p {
    margin: 10px 0;
}
.action-btn {
    margin-top: 15px;
    background: #ff4d6d;
    color: white;
    border: none;
    padding: 10px 16px;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 600;
    width: 100%;
}

/* Переключатель месяцев в шапке календаря */
.month-selector {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-top: 5px;
}

.month-nav-btn {
    background: #f0f0f5;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    transition: background 0.2s;
}

.month-nav-btn:hover {
    background: #e2e2e9;
}

.current-month-title {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
}

/* Шапка дней недели для сетки */
.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    font-size: 12px;
    color: #888;
    font-weight: 600;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.calendar-legend {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 10px;
    margin: 0 0 14px;
    font-size: 11px;
    color: #68717d;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
}

.legend-item span:last-child {
    line-height: 1.3;
}

.legend-swatch {
    display: inline-block;
    width: 13px;
    height: 13px;
    border-radius: 4px;
    flex: 0 0 13px;
    border: 1px solid transparent;
}

.legend-swatch.period-actual {
    background: #ffeef2;
    border-color: #ffb3c6;
}

.legend-swatch.period-predicted {
    background: #fff9fa;
    border: 1px dashed #ffb3c6;
}

.legend-swatch.fertile-window-predicted {
    background: #f1f8fe;
    border-color: #c8e3f8;
}

.legend-swatch.ovulation-predicted {
    background: #d6efff;
    border-color: #64b5f6;
}

.calendar-note {
    margin: 4px 0 12px;
    color: #7b8490;
    font-size: 10px;
    line-height: 1.4;
}

/* Сетка месяца (7 колонок) */
.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 6px;
}

/* Ячейка дня в месячном календаре */
.month-day-cell {
    aspect-ratio: 1;
    background: #f9f9fb;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    cursor: pointer;
    border: 1px solid transparent;
    transition: all 0.2s;
}

.month-day-cell.empty {
    background: transparent;
    cursor: default;
}

/* При редактировании будущее недоступно для отметки как фактических месячных. */
.calendar-grid.is-editing .month-day-cell.is-future {
    background: #f1f2f5;
    border-color: #e5e7eb;
    color: #b2b6bf;
    cursor: not-allowed;
    opacity: 0.55;
    box-shadow: none;
}

/* Кнопка входа в режим редактирования */
.calendar-actions {
    text-align: center;
    margin-bottom: 15px;
}

.secondary-btn {
    background: #f0f0f5;
    border: none;
    padding: 8px 16px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    color: #5a189a;
    cursor: pointer;
    transition: background 0.2s;
}

.secondary-btn:hover {
    background: #e2e2e9;
}

/* Панель подтверждения снизу */
.edit-mode-panel {
    position: relative;
    z-index: 1;
    margin-top: 20px;
    margin-bottom: 12px;
    background: #f8f0fc;
    padding: 14px;
    border-radius: 16px;
    text-align: center;
    border: 1px dashed #7b2cbf;
    overflow-wrap: anywhere;
}

.edit-mode-panel p {
    margin: 0 0 10px 0;
    font-size: 13px;
    line-height: 1.45;
    color: #5a189a;
    font-weight: 500;
}

.edit-mode-panel .action-btn {
    display: block;
    min-height: 44px;
    white-space: normal;
    overflow-wrap: anywhere;
}

.calendar-grid.is-editing .month-day-cell:not(.empty) {
    cursor: pointer;
    box-shadow: inset 0 0 0 2px #d9042940;
}

/* Узкие экраны и низкие окна: сетка остаётся в пределах контейнера. */
@media (max-width: 360px) {
    body {
        padding: 8px 8px 0;
    }

    .app-container {
        padding-left: 14px;
        padding-right: 14px;
        border-radius: 20px;
    }

    .calendar-grid {
        gap: 4px;
    }

    .month-day-cell {
        border-radius: 9px;
        font-size: 13px;
        min-width: 0;
    }

    .calendar-legend {
        gap: 7px 6px;
        font-size: 10px;
    }

    .bottom-nav {
        width: calc(100vw - 16px);
    }
}



/* Объяснение источника оценки цикла в профиле */
.profile-note {
    margin-top: -4px !important;
    color: #7b8490;
    font-size: 12px;
    line-height: 1.4;
}

.profile-divider {
    border-top: 1px solid #e8e8ee;
    margin: 18px 0 14px;
}

.profile-section-title {
    margin: 0 0 10px;
    font-size: 15px;
}

.period-history-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.period-history-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 10px;
    background: #ffffff;
    border: 1px solid #ececf2;
    border-radius: 12px;
}

.period-history-dates {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

.period-history-dates strong {
    font-size: 12px;
}

.period-history-dates span {
    color: #68717d;
    font-size: 11px;
    overflow-wrap: anywhere;
}

.period-history-controls {
    display: flex;
    gap: 5px;
    flex-shrink: 0;
}

.period-history-controls button {
    width: auto;
    min-height: 34px;
    margin: 0;
    padding: 7px 9px;
    font-size: 11px;
}

.profile-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 14px;
}

.profile-actions .secondary-btn {
    padding: 10px 8px;
    font-size: 12px;
}

.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(25, 25, 40, 0.42);
}

.modal-overlay[hidden] {
    display: none;
}

.onboarding-card {
    width: min(100%, 360px);
    padding: 24px;
    border-radius: 24px;
    background: #ffffff;
    text-align: center;
    box-shadow: 0 15px 45px rgba(25, 25, 40, 0.2);
}

.onboarding-icon {
    font-size: 42px;
    margin-bottom: 8px;
}

.onboarding-card h2 {
    margin: 0 0 10px;
    font-size: 21px;
}

.onboarding-card p {
    margin: 0;
    color: #68717d;
    font-size: 14px;
    line-height: 1.5;
}

.onboarding-progress {
    margin: 18px 0 12px;
    color: #7b2cbf;
    font-size: 12px;
    font-weight: 700;
}

.onboarding-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.onboarding-actions button {
    margin: 0;
}

/* Базовая поддержка темы Telegram Mini App. */
body.telegram-theme {
    background-color: var(--tg-theme-secondary-bg-color, #f4f6f9);
    color: var(--tg-theme-text-color, #333);
}

body.telegram-theme .app-container,
body.telegram-theme .onboarding-card {
    background: var(--tg-theme-bg-color, #ffffff);
}

body.telegram-theme .bottom-nav {
    background: var(--tg-theme-bg-color, #ffffff);
}

body.telegram-theme .profile-card,
body.telegram-theme .day-card,
body.telegram-theme .month-day-cell {
    background-color: var(--tg-theme-secondary-bg-color, #f9f9fb);
}


.edit-mode-buttons {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cancel-edit-btn {
    display: block;
    width: 100%;
    min-height: 44px;
    margin-top: 0;
    padding: 10px 16px;
    border: 1px solid #ded9e8;
    border-radius: 12px;
    background: #ffffff;
    color: #5a189a;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}

.cancel-edit-btn:hover {
    background: #f7f3fb;
}

/* --- Коллекция трусов и ежедневный вопрос --- */
.panties-card {
    margin-top: 18px;
    padding: 18px;
    border-radius: 24px;
    background:
        radial-gradient(circle at 90% 5%, rgba(255, 255, 255, .8) 0 18px, transparent 19px),
        linear-gradient(145deg, #eafaff 0%, #dff5ff 45%, #f5edff 100%);
    border: 1px solid #d8edf7;
    overflow: hidden;
}

.panties-card-topline,
.collection-heading,
.progress-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.eyebrow {
    display: block;
    margin-bottom: 4px;
    color: #7f6caa;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.panties-card h2,
.collection-heading h2 {
    margin: 0;
    color: #25203a;
    font-size: 22px;
}

.collection-link {
    border: 0;
    border-radius: 14px;
    padding: 8px 10px;
    color: #6339a2;
    background: rgba(255,255,255,.72);
    font: inherit;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

.collection-link span {
    display: inline-block;
    min-width: 20px;
    margin-left: 3px;
    color: #fff;
    background: #8b5bd2;
    border-radius: 999px;
    padding: 2px 5px;
}

.mood-question {
    margin-top: 16px;
}

.mood-question p {
    margin: 0 0 13px;
    color: #433c59;
    font-size: 15px;
    line-height: 1.4;
}

.mood-options {
    display: grid;
    gap: 8px;
}

.mood-option,
.wear-btn {
    border: 0;
    border-radius: 14px;
    padding: 11px 14px;
    color: #fff;
    background: linear-gradient(135deg, #7cc5e7, #679ee0);
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    transition: transform .15s ease, filter .15s ease;
}

.mood-option:hover,
.wear-btn:hover {
    filter: brightness(1.04);
    transform: translateY(-1px);
}

.mood-option:active,
.wear-btn:active {
    transform: scale(.98);
}

.mood-option:nth-child(2) {
    background: linear-gradient(135deg, #a78bdf, #7d69c4);
}

.mood-option:nth-child(3) {
    background: linear-gradient(135deg, #ff9e9e, #e87891);
}

.today-panty {
    margin-top: 16px;
    text-align: center;
}

.today-panty h3 {
    margin: 0 0 10px;
    color: #2d2341;
    font-size: 21px;
}

.today-panty img,
.panty-thumb,
.detail-image {
    display: block;
    object-fit: contain;
    border-radius: 17px;
    background: #fff;
    box-shadow: 0 6px 16px rgba(66, 47, 93, .12);
}

.today-panty img {
    width: 100%;
    height: 220px;
    padding: 4px;
}

.today-panty figcaption {
    margin-top: 8px;
    color: #302943;
    font-size: 16px;
    font-weight: 700;
}

.answer-complete {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 16px;
    padding: 12px;
    border-radius: 16px;
    color: #3b3151;
    background: rgba(255,255,255,.67);
    font-size: 13px;
    line-height: 1.35;
}

.answer-complete-icon {
    display: grid;
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    place-items: center;
    color: #fff;
    background: #5fc2df;
    border-radius: 50%;
    font-size: 19px;
}

.modal-overlay {
    backdrop-filter: blur(4px);
}

.collection-overlay {
    --sheet-backdrop-opacity: .35;
    align-items: flex-end;
    padding: 0;
    background: rgb(28 22 50 / var(--sheet-backdrop-opacity));
}

.collection-sheet {
    width: min(100%, 400px);
    max-height: 78vh;
    overflow-y: auto;
    overscroll-behavior: contain;
    -ms-overflow-style: none;
    scrollbar-width: none;
    padding: 10px 20px calc(28px + env(safe-area-inset-bottom, 0px));
    border-radius: 30px 30px 0 0;
    background: linear-gradient(180deg, #f1fdff, #f9f7ff);
    box-shadow: 0 -18px 50px rgba(47, 31, 72, .22);
    animation: sheet-in .24s ease-out;
    transition: transform .2s ease-out;
    will-change: transform;
}

.collection-sheet::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}

.collection-sheet.is-dragging {
    transition: none;
    user-select: none;
}

.sheet-handle {
    width: 42px;
    height: 5px;
    margin: 0 auto 16px;
    border-radius: 99px;
    background: #c7c1d6;
    cursor: grab;
    touch-action: none;
}

.collection-heading {
    touch-action: none;
}

.sheet-close {
    touch-action: manipulation;
}

.collection-heading h2 {
    font-size: 30px;
}

.collection-total {
    display: grid;
    justify-items: end;
    gap: 2px;
    color: #716d7a;
    font-size: 11px;
}

.collection-heading-actions {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.sheet-close {
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 50%;
    color: #777084;
    background: #e9e7ef;
    font: inherit;
    font-size: 23px;
    line-height: 1;
    cursor: pointer;
}

.collection-total strong {
    color: #3b3151;
    font-size: 14px;
}

.collection-panty-icon {
    color: #684d9d;
    font-size: 23px;
    line-height: 1;
}

.collection-selected {
    margin-top: 18px;
    padding: 12px;
    border-radius: 22px;
    background: rgba(255,255,255,.72);
}

.selected-label,
.wardrobe-title,
.progress-heading h3 {
    margin: 0;
    color: #4a3f62;
}

.selected-label {
    font-size: 12px;
}

.selected-panty {
    display: grid;
    grid-template-columns: 96px 1fr;
    align-items: center;
    gap: 12px;
    margin-top: 8px;
}

.selected-panty img {
    width: 96px;
    height: 72px;
    padding: 5px;
}

.selected-panty strong {
    color: #282039;
    font-size: 16px;
}

.wardrobe-title {
    margin-top: 20px;
    font-size: 18px;
}

.wardrobe-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 10px;
}

.wardrobe-item {
    min-width: 0;
    padding: 8px;
    border: 1px solid #e7e1f0;
    border-radius: 17px;
    background: rgba(255,255,255,.76);
    cursor: pointer;
}

.wardrobe-item.is-worn {
    border-color: #8c68cc;
    box-shadow: 0 0 0 2px rgba(140,104,204,.16);
}

.wardrobe-item img {
    width: 100%;
    height: 86px;
    padding: 4px;
}

.wardrobe-item strong {
    display: block;
    margin-top: 6px;
    color: #393047;
    font-size: 12px;
    text-align: center;
}

.progress-heading {
    align-items: center;
    margin-top: 22px;
}

.progress-heading h3 {
    font-size: 18px;
}

.progress-heading span {
    color: #7e748d;
    font-size: 12px;
}

.answer-calendar {
    display: flex;
    gap: 7px;
    overflow-x: auto;
    margin-top: 10px;
    padding: 3px 1px 8px;
    scrollbar-width: none;
}

.answer-calendar::-webkit-scrollbar {
    display: none;
}

.progress-day {
    display: grid;
    min-width: 45px;
    height: 54px;
    place-items: center;
    align-content: center;
    gap: 1px;
    border: 1px solid #e5dfed;
    border-radius: 13px;
    background: rgba(255,255,255,.72);
    color: #847b91;
    font-size: 10px;
}

.progress-day strong {
    color: #403850;
    font-size: 15px;
}

.progress-day.answered {
    border-color: #91d7ed;
    background: #e9faff;
}

.progress-day.reward {
    border-color: #c9a9f0;
    background: #f3eaff;
}

.progress-day .day-symbol {
    height: 16px;
    font-size: 14px;
}

.collection-hint {
    margin: 16px 0 0;
    color: #777086;
    font-size: 12px;
    line-height: 1.4;
    text-align: center;
}

.panty-detail-modal,
.reward-modal {
    position: relative;
    width: min(100%, 340px);
    padding: 26px 24px 22px;
    border-radius: 28px;
    background: #fff;
    text-align: center;
    box-shadow: 0 20px 60px rgba(29, 20, 46, .25);
}

.panty-detail-modal h2,
.reward-modal h2 {
    margin: 14px 0 4px;
    color: #2f2642;
    font-size: 25px;
}

.panty-detail-modal p,
.reward-modal p {
    margin: 0 0 14px;
    color: #81788c;
    font-size: 13px;
}

.detail-image {
    width: 100%;
    height: 260px;
    padding: 6px;
}

.modal-close {
    position: absolute;
    top: 10px;
    right: 11px;
    z-index: 1;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 50%;
    color: #7f7889;
    background: #f0eef4;
    font-size: 25px;
    line-height: 1;
    cursor: pointer;
}

.wear-btn {
    width: 100%;
}

.text-btn {
    margin-top: 9px;
    border: 0;
    background: transparent;
    color: #7556a8;
    font: inherit;
    font-size: 12px;
    cursor: pointer;
}

.reward-spark {
    display: block;
    margin-bottom: -8px;
    color: #f0b63b;
    font-size: 34px;
}

.reward-modal h3 {
    margin: 8px 0 3px;
    color: #2f2642;
    font-size: 20px;
}

@keyframes sheet-in {
    from { transform: translateY(28px); opacity: .4; }
    to { transform: translateY(0); opacity: 1; }
}

@media (max-width: 360px) {
    .panties-card {
        padding: 15px;
    }

    .collection-sheet {
        padding-left: 15px;
        padding-right: 15px;
    }
}
