/* Styles for the standalone Cashbox Prize Search page template. */
:root {
        --page-bg: #f3f3f3;
        --card-bg: #fff;
        --text: #101010;
        --muted: #747474;
        --orange: #ff7900;
        --card-radius: 18px;
        color-scheme: light;
        font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
        -webkit-font-smoothing: antialiased;
        text-rendering: optimizeLegibility;
      }

      .action-button span {
        font-family: DM Sans;
        font-weight: 700;
        font-size: 14px;
        line-height: 100%;
        letter-spacing: 0%;
      }

      * {
        box-sizing: border-box;
      }

      html {
        min-width: 320px;
        scroll-behavior: smooth;
      }

      body {
        min-width: 320px;
        min-height: 100vh;
        margin: 0;
        background: var(--page-bg);
        color: var(--text);
      }

      button,
      input {
        font: inherit;
      }

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

      .prize-app {
        width: 100%;
        max-width: 520px;
        min-height: 100svh;
        margin: 0 auto;
        padding-bottom: calc(92px + env(safe-area-inset-bottom));
      }

      .app-header {
        position: sticky;
        z-index: 5;
        top: 0;
        height: 102px;
        padding: max(8px, env(safe-area-inset-top)) 18px 0;
        border-bottom: 1px solid #e6e6e6;
        background: rgb(243 243 243 / 96%);
        backdrop-filter: blur(12px);
      }

      .brand-mark {
        position: absolute;
        left: 18px;
        display: inline-flex;
        align-items: center;
      }

      .brand-mark img {
        display: block;
        width: 108px;
        height: auto;
      }
.app-header h1 {
    position: absolute;
    left: 55%;
    margin: 0;
    font-family: "Inter";
    font-size: 20px;
    font-weight: bold;
    line-height: 100%;
    letter-spacing: 0%;
    white-space: nowrap;
    transform: translateX(-50%);
}

      .header-search-button {
        position: absolute;
        right: 16px;
        display: grid;
        width: 38px;
        height: 38px;
        place-items: center;
        padding: 0;
        border: 0;
        border-radius: 50%;
        background: transparent;
        color: #111;
        cursor: pointer;
      }

      .header-search-button svg {
        width: 22px;
        height: 22px;
      }

      .header-search-button .close-icon {
        display: none;
      }

      .header-search-button[aria-expanded="true"] .search-icon {
        display: none;
      }

      .header-search-button[aria-expanded="true"] .close-icon {
        display: block;
      }

      .page-content {
        padding: 26px 20px 28px;
      }

      .search-field {
        position: relative;
        display: flex;
        min-height: 50px;
        align-items: center;
        gap: 8px;
        padding: 5px 6px 5px 0;
        border-radius: 15px;
        background: var(--card-bg);
        animation: search-reveal 180ms ease-out;
      }

      .search-field[hidden] {
        display: none !important;
      }

      @keyframes search-reveal {
        from {
          opacity: 0;
          transform: translateY(-7px);
        }

        to {
          opacity: 1;
          transform: translateY(0);
        }
      }

      .search-field svg {
        position: absolute;
        top: 50%;
        left: 18px;
        color: #707070;
        transform: translateY(-50%);
        pointer-events: none;
      }

.search-field input {
    flex: 1 1 auto;
    width: 0;
    min-width: 0;
    height: 40px;
    padding: 0 8px 0 58px;
    border: 0;
    border-radius: 10px;
    outline: none;
    background: transparent;
    color: #666666;
    font-size: 16px;
    box-shadow: none;
    font-family: 'DM Sans';
    font-weight: 400;
}

      .search-field input::placeholder {
        color: #747474;
        opacity: 1;
      }

      .search-field input:focus {
        box-shadow: 0 0 0 2px #ffbd86;
      }

      .search-submit {
        flex: 0 0 auto;
        min-width: 66px;
        height: 40px;
        padding: 0 12px;
        border: 0;
        border-radius: 10px;
        background: var(--orange);
        color: #fff;
        font-family: 'DM Sans';
        font-size: 14px;
        font-weight: 700;
        cursor: pointer;
      }

      .search-submit:focus-visible {
        outline: 3px solid #ffbd86;
        outline-offset: 2px;
      }

      .action-row {
        --bs-gutter-x: 14px;
        margin-top: 16px;
      }

      .action-button {
        display: flex;
        width: 100%;
        height: 53px;
        align-items: center;
        justify-content: center;
        gap: 12px;
        padding: 0 10px;
        border: 0;
        border-radius: 15px;
        background: var(--card-bg);
        color: var(--text);
        font-size: 18px;
        font-weight: 680;
        cursor: pointer;
      }

      .action-button:active {
        background: #fff4e9;
      }

      .action-button[aria-expanded="true"] {
        box-shadow: inset 0 0 0 2px #ffc38e;
      }

      .action-button:focus-visible,
      .bookmark-button:focus-visible,
      .bottom-nav button:focus-visible {
        outline: 3px solid #ffac60;
        outline-offset: 3px;
      }

      .action-button svg {
        flex: 0 0 auto;
        width: 25px;
        height: 25px;
      }

      .section-title {
        font-family: Inter;
        font-weight: 600;
        font-size: 28px;
        line-height: 100%;
        letter-spacing: -3%;
        margin: 42px 0 25px;
      }

      .filter-summary[hidden] {
        display: none !important;
      }

      .filter-summary {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        margin: 0 0 20px;
      }

      .filter-summary-copy {
        min-width: 0;
        margin: 0;
        color: #6d6d6d;
        font-size: 13px;
        line-height: 1.35;
        font-weight: 550;
      }
       span#ticket-sort-label {
    font-family: 'DM Sans';
    color: #6d6d6d;
}
      .clear-filters-button {
        flex: 0 0 auto;
        padding: 5px 0 5px 6px;
        border: 0;
        background: transparent;
        color: #171717;
        font-size: 13px;
        line-height: 1.2;
        font-weight: 650;
        white-space: nowrap;
        cursor: pointer;
		font-family: 'DM Sans';
      }

      .clear-filters-button:focus-visible {
        outline: 2px solid #ffac60;
        outline-offset: 2px;
        border-radius: 3px;
      }

      .sort-controls {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 7px;
        margin: -12px 0 16px;
      }

      .sort-button {
        display: inline-flex;
        min-height: 34px;
        align-items: center;
        justify-content: center;
        gap: 4px;
        padding: 0 9px;
        border: 1px solid #dedede;
        border-radius: 8px;
        background: #fff;
        color: #5f5f5f;
        font-size: 12px;
        line-height: 1;
        font-weight: 650;
        cursor: pointer;
      }

      .sort-button svg {
        width: 17px;
        height: 17px;
        flex: 0 0 auto;
      }

      .sort-button[aria-pressed="true"] {
        border-color: #ffbd86;
        background: #fff1e4;
        color: #ff7900;
      }

      .sort-button:focus-visible {
        outline: 2px solid #ffac60;
        outline-offset: 2px;
      }

      .results-section.has-active-filters .section-title {
        margin-bottom: 8px;
      }

      .prize-grid {
        --bs-gutter-x: 14px;
        --bs-gutter-y: 16px;
      }

      .prize-card {
        height: 100%;
        overflow: hidden;
        border: 0;
        border-radius: var(--card-radius);
        background: var(--card-bg);
        cursor: pointer;
      }

      .prize-card[hidden],
      .prize-column[hidden] {
        display: none !important;
      }

.photo-area {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #fff;
    padding: 7px 5px 5px 5px;
}

      .product-photo {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: contain;
		border-radius: 20px;
      }

      .product-placeholder {
        display: grid;
        width: 100%;
        height: 100%;
        place-items: center;
        background: linear-gradient(145deg, #f8f8f8, #fff);
        font-size: clamp(58px, 17vw, 88px);
      }

.bookmark-button {
    position: absolute;
    top: 9px;
    right: 9px;
    display: inline-flex;
    width: auto;
    min-width: 30px;
    height: 30px;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 0 8px;
    background: #fff;
    color: #111;
    border-radius: 76px;
    white-space: nowrap;
}

      .bookmark-button svg {
        width: 18px;
        height: 21px;
        flex: 0 0 auto;
      }

      .bookmark-label {
        font-size: 10px;
        font-weight: 650;
        line-height: 1;
      }

      .bookmark-button[aria-pressed="true"] {
        color: var(--orange);
      }

      .bookmark-button[aria-pressed="true"] svg {
        fill: #fff0e2;
      }

 .prize-name {
    display: flex;
    min-height: 35px;
    margin: 0;
    padding-left: 5px;
    font-family: Inter;
    padding-right: 2px;
    font-weight: 600;
    font-size: 12px;
    line-height: 17px;
    letter-spacing: 0%;
    color: #101010;
}

      .ticket-separator {
        position: relative;
        height: 1px;
        border-top: 2px dotted #e5e5e5;
      }

      .ticket-separator::before,
      .ticket-separator::after {
        position: absolute;
        top: -10px;
        width: 20px;
        height: 20px;
        border-radius: 50%;
        background: var(--page-bg);
        content: "";
      }

      .ticket-separator::before {
        left: -10px;
      }

      .ticket-separator::after {
        right: -10px;
      }

.ticket-value {
    padding: 5px 9px 8px;
    margin-bottom: 5px;
}
.ticket-value strong {
    font-family: 'DM Sans';
    font-weight: 700;
    font-size: 14px;
    line-height: 100%;
    letter-spacing: 0%;
    color: #101010;
}

.ticket-value span {
    font-family: "DM Sans";
    font-weight: 400;
    font-size: 12px;
    line-height: 17px;
    letter-spacing: 0%;
    text-align: center;
    color: #666666;
    margin-top: 2px;
    padding-left: 5px;
}

      .ticket-value.unknown strong {
        color: #555;
        font-size: 29px;
      }

      .empty-state {
        display: none;
        padding: 38px 18px;
        border-radius: var(--card-radius);
        background: #fff;
        text-align: center;
      }

      .empty-state.is-visible {
        display: block;
      }

      .empty-state h3 {
        margin: 0 0 7px;
        font-size: 18px;
        font-weight: 700;
      }

      .empty-state p {
        margin: 0;
        color: var(--muted);
        font-size: 14px;
      }

      .bottom-nav {
        position: fixed;
        z-index: 10;
        bottom: 0;
        left: 50%;
        width: min(100%, 520px);
        min-height: calc(88px + env(safe-area-inset-bottom));
        padding: 8px 0 max(7px, env(safe-area-inset-bottom));
        border-top: 1px solid #eee;
        background: rgb(255 255 255 / 98%);
        transform: translateX(-50%);
        backdrop-filter: blur(12px);
      }

.bottom-nav button {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    border: 0;
    background: transparent;
    color: #666666;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    font-family: 'DM Sans';
}

      .bottom-nav button svg {
        width: 30px;
        height: 30px;
      }

.bottom-nav button[aria-current="page"] {
    color: #FF8200;
}

.bottom-nav button[aria-current="page"] .home-fill {
    fill: #FF8200;
}

      .bottom-nav button[aria-current="page"] .saved-fill {
        fill: #FF8200;
      }

      body.ticket-sheet-open {
        overflow: hidden;
      }

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

      .ticket-sheet-overlay {
        position: fixed;
        z-index: 30;
        inset: 0;
        background: rgb(0 0 0 / 22%);
      }

      .ticket-sheet-backdrop {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        border: 0;
        background: transparent;
      }

      .ticket-sheet-panel {
        position: absolute;
        bottom: 0;
        left: 50%;
        width: min(calc(100% - 32px), 430px);
        height: min(78svh, 760px);
        overflow: hidden;
        border-radius: 24px 24px 0 0;
        background: #fff;
        box-shadow: 0 -8px 32px rgb(0 0 0 / 12%);
        transform: translateX(-50%);
        will-change: transform;
        animation: ticket-sheet-rise 300ms cubic-bezier(.22, 1, .36, 1) both;
      }

      .ticket-search-content {
        position: relative;
        display: flex;
        width: 100%;
        height: 100%;
        flex-direction: column;
        overflow: hidden;
        background: #fff;
      }

      .ticket-handle {
        position: relative;
        width: 100px;
        height: 24px;
        flex: 0 0 auto;
        margin: 10px auto 0;
        border-radius: 999px;
        background: transparent;
        touch-action: none;
        cursor: grab;
      }

      .ticket-handle::before {
        position: absolute;
        top: 10px;
        left: 0;
        width: 100%;
        height: 3px;
        border-radius: 999px;
        background: #d6d6d6;
        content: "";
      }

.ticket-title {
    margin: 16px 20px 22px;
    font-size: 24px;
    line-height: 100%;
    font-weight: 600;
    letter-spacing: 0%;
    font-family: 'Inter';
    color: #101010;
}

      .ticket-main {
        flex: 1 1 auto;
        overflow-y: auto;
        padding: 0 20px 105px;
        scrollbar-width: none;
      }

      .ticket-main::-webkit-scrollbar {
        display: none;
        width: 0;
      }

      .ticket-scroll-indicator {
        position: absolute;
        z-index: 3;
        top: 43px;
        right: 10px;
        width: 4px;
        height: 32px;
        border-radius: 999px;
        background: #d6d6d6;
        pointer-events: none;
        display: none;
      }

.ticket-question {
    display: block;
    margin: 0 0 14px;
    font-size: 14px;
    line-height: 100%;
    font-weight: 700;
    font-family: 'DM Sans';
    color: #101010;
}

      .ticket-dual-range {
        position: relative;
        height: 24px;
        margin: 0 2px 10px;
        --range-start: 0%;
        --range-end: 100%;
      }

      .ticket-range-track {
        position: absolute;
        top: 50%;
        right: 0;
        left: 0;
        height: 3px;
        background: repeating-linear-gradient(to right, #777 0 3px, transparent 3px 6px);
        transform: translateY(-50%);
      }

      .ticket-range-selection {
        position: absolute;
        top: 50%;
        left: var(--range-start);
        width: calc(var(--range-end) - var(--range-start));
        height: 3px;
        background: var(--orange);
        transform: translateY(-50%);
      }

      .ticket-slider-input {
        position: absolute;
        top: 0;
        left: 0;
        z-index: 2;
        width: 100%;
        height: 24px;
        margin: 0;
        padding: 0;
        border: 0;
        appearance: none;
        background: transparent;
        pointer-events: none;
        touch-action: pan-y;
      }

      .ticket-slider-input:last-of-type { z-index: 3; }
      .ticket-slider-input:focus-visible { outline: none; z-index: 4; }
      .ticket-slider-input::-webkit-slider-runnable-track { height: 3px; background: transparent; }
      .ticket-slider-input::-moz-range-track { height: 3px; background: transparent; }
      .ticket-slider-input::-webkit-slider-thumb {
        width: 16px;
        height: 16px;
        margin-top: -6.5px;
        border: 0;
        border-radius: 50%;
        appearance: none;
        background: var(--orange);
        pointer-events: auto;
        cursor: grab;
      }
      .ticket-slider-input::-moz-range-thumb {
        width: 16px;
        height: 16px;
        border: 0;
        border-radius: 50%;
        background: var(--orange);
        pointer-events: auto;
        cursor: grab;
      }

      .ticket-bounds {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 20px minmax(0, 1fr);
        align-items: center;
        gap: 8px;
        margin-top: 12px;
      }

      .ticket-bound-wrap {
        position: relative;
        display: block;
        height: 48px;
        border: 1px solid #dedede;
        border-radius: 9px;
        background: #fff;
      }

.ticket-bound-input {
    width: 100%;
    height: 100%;
    padding: 0 57px 0 12px;
    border: 0;
    border-radius: inherit;
    outline: 0;
    background: transparent;
    color: #101010;
    font-size: 14px;
    font-weight: 700;
    font-family: 'DM Sans';
}

      .ticket-bound-wrap:focus-within {
        border-color: var(--orange);
        box-shadow: 0 0 0 2px rgb(255 121 0 / 13%);
      }

.ticket-unit {
    position: absolute;
    top: 50%;
    right: 10px;
    color: #666666;
    font-size: 12px;
    line-height: 17px;
    transform: translateY(-50%);
    pointer-events: none;
    font-weight: 400;
    font-family: 'DM Sans';
}

      .ticket-bound-separator {
        font-size: 13px;
        font-weight: 650;
        text-align: center;
      }

.ticket-divider {
    height: 1px;
    margin: 32px 0;
    border: 0;
    background: #E5E5E5;
}

.ticket-quick-heading {
    margin: 0 0 18px;
    font-size: 14px;
    line-height: 100%;
    font-weight: 700;
    font-family: 'DM Sans';
    letter-spacing: 0%;
    color: #101010;
}

      .ticket-quick-list {
        display: grid;
      }

.ticket-quick-row {
    display: grid;
    width: 100%;
    min-height: 51px;
    grid-template-columns: minmax(0, 1fr) auto 18px;
    align-items: center;
    column-gap: 10px;
    padding: 7px 0;
    border: 0;
    border-bottom: 1px solid #e2e2e2;
    background: #fff;
    color: #101010;
    font-size: 14px;
    font-weight: 700;
    text-align: left;
    cursor: pointer;
    font-family: 'DM Sans';
}

      .ticket-quick-row:focus-visible,
      .ticket-submit:focus-visible {
        outline: 3px solid #ffbd86;
        outline-offset: 2px;
      }

      .ticket-quick-row[aria-pressed="true"] .ticket-quick-label { color: #bd5700; }
     .ticket-quick-count {
    white-space: nowrap;
    font-family: 'DM Sans';
    font-size: 14px;
    font-weight: 600;
    line-height: 100%;
}
      .ticket-quick-radio {
        position: relative;
        width: 18px;
        height: 18px;
        border: 1.6px solid #171717;
        border-radius: 50%;
      }

      .ticket-quick-row[aria-pressed="true"] .ticket-quick-radio {
        border-color: var(--orange);
      }

      .ticket-quick-row[aria-pressed="true"] .ticket-quick-radio::after {
        position: absolute;
        inset: 4px;
        border-radius: 50%;
        background: var(--orange);
        content: "";
      }

      .ticket-footer {
        position: absolute;
        z-index: 2;
        right: 0;
        bottom: 0;
        left: 0;
        padding: 20px 20px max(20px, env(safe-area-inset-bottom));
        border-top: 1px solid #e3e3e3;
        background: rgb(255 255 255 / 98%);
      }
.ticket-submit {
    width: 100%;
    min-height: 50px;
    border: 0;
    border-radius: 9px;
    background: #f1f1f1;
    color: #6d6d6d;
    font-size: 14px;
    font-weight: 700;
    line-height: 100%;
    cursor: pointer;
    font-family: 'DM Sans';
}

      .ticket-submit:not(:disabled) {
        background: var(--orange);
        color: #fff;
      }

      .ticket-submit:disabled {
        cursor: default;
      }

      @media (max-width: 375px) {
        .ticket-title {
          font-size: 23px;
        }

        .ticket-main {
          padding-right: 14px;
          padding-left: 14px;
        }

        .ticket-bounds {
          gap: 6px;
          grid-template-columns: minmax(0, 1fr) 17px minmax(0, 1fr);
        }

        .ticket-bound-input {
          padding-right: 48px;
          padding-left: 8px;
          font-size: 14px;
        }

        .ticket-unit {
          right: 7px;
          font-size: 10px;
        }

        .ticket-footer {
          padding-right: 14px;
          padding-left: 14px;
        }
      }

      @keyframes ticket-sheet-rise {
        from {
          transform: translate(-50%, 100%);
        }

        to {
          transform: translate(-50%, 0);
        }
      }

      @media (prefers-reduced-motion: reduce) {
        .ticket-sheet-panel {
          animation: none;
        }
      }

      .action-button#categories-toggle[aria-expanded="true"] {
        background: var(--orange);
        color: #fff;
      }

      .action-button#tickets-action[aria-expanded="true"] {
        background: #cf6900;
        color: #fff;
      }

      .action-button#tickets-action.has-filter {
        background: var(--orange);
        color: #fff;
      }

      .action-button#categories-toggle.has-filter {
        background: #fff4e9;
        color: #a64d00;
      }

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

      .category-sheet-overlay {
        position: fixed;
        z-index: 31;
        inset: 0;
        background: rgb(0 0 0 / 25%);
      }

      .category-sheet-backdrop {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        border: 0;
        background: transparent;
      }

      .category-sheet-panel {
        position: absolute;
        bottom: 0;
        left: 50%;
        width: min(100%, 430px);
        height: min(80svh, 760px);
        overflow: hidden;
        border-radius: 24px 24px 0 0;
        background: #fff;
        box-shadow: 0 -8px 32px rgb(0 0 0 / 12%);
        transform: translateX(-50%);
        will-change: transform;
        animation: category-sheet-rise 300ms cubic-bezier(.22, 1, .36, 1) both;
      }

      .category-sheet-content {
        position: relative;
        display: flex;
        width: 100%;
        height: 100%;
        flex-direction: column;
        overflow: hidden;
        background: #fff;
      }

.category-sheet-title {
    margin: 10px 20px 0;
    font-size: 24px;
    line-height: 100%;
    font-weight: 600;
    letter-spacing: 0%;
    font-family: 'Inter';
}
.category-sheet-subtitle {
    margin: 15px 0px 0px 20px;
    color: #666666;
    font-size: 14px;
    line-height: 100%;
    font-weight: 600;
    font-family: 'DM Sans';
}
      .category-sheet-list {
        flex: 1 1 auto;
        overflow-y: auto;
        padding: 0 20px 14px;
        scrollbar-width: none;
      }

      .category-sheet-list::-webkit-scrollbar {
        display: none;
        width: 0;
      }

      .category-scroll-indicator {
        position: absolute;
        z-index: 3;
        top: 43px;
        right: 10px;
        width: 4px;
        height: 32px;
        border-radius: 999px;
        background: #d6d6d6;
        pointer-events: none;
      }

      .category-row {
        display: grid;
        width: 100%;
        min-height: 66px;
        grid-template-columns: minmax(0, 1fr) auto 18px;
        align-items: center;
        column-gap: 10px;
        padding: 10px 0;
        border: 0;
        border-bottom: 1px solid #e3e3e3;
        background: #fff;
        color: var(--text);
        text-align: left;
        cursor: pointer;
      }

.category-row-title {
    overflow: hidden;
    font-size: 14px;
    line-height: 100%;
    font-weight: 700;
    text-overflow: ellipsis;
    font-family: 'DM Sans';
    color: #101010;
}

      .category-row-counts {
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        gap: 2px;
        white-space: nowrap;
      }

.category-row-counts span {
    font-size: 14px;
    line-height: 100%;
    font-weight: 600;
    font-family: 'DM Sans';
    color: #101010;
}

.category-row-counts small {
    font-size: 12px;
    line-height: 17px;
    font-family: 'DM Sans';
    font-weight: 400;
}

      .category-row-radio {
        position: relative;
        width: 18px;
        height: 18px;
        border: 1.7px solid #171717;
        border-radius: 50%;
      }

      .category-row[aria-pressed="true"] .category-row-radio {
        border-color: var(--orange);
      }

      .category-row[aria-pressed="true"] .category-row-radio::after {
        position: absolute;
        inset: 4px;
        border-radius: 50%;
        background: var(--orange);
        content: "";
      }

      .category-row:focus-visible {
        outline: 3px solid #ffbd86;
        outline-offset: -3px;
      }

      @keyframes category-sheet-rise {
        from {
          transform: translate(-50%, 100%);
        }

        to {
          transform: translate(-50%, 0);
        }
      }

      @media (max-width: 375px) {
        .category-sheet-title {
          font-size: 23px;
        }

        .category-sheet-list {
          padding-right: 14px;
          padding-left: 14px;
        }
      }

      @media (prefers-reduced-motion: reduce) {
        .category-sheet-panel {
          animation: none;
        }
      }

      .detail-page[hidden] {
        display: none !important;
      }

      .detail-page {
        padding: 18px 20px 110px;
      }

      .detail-heading-row {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        margin: 0 0 17px;
      }

      .detail-heading-row h2 {
        overflow: hidden;
        margin: 0;
        font-size: 28px;
        line-height: 1.15;
        font-weight: 740;
        letter-spacing: -.045em;
        text-overflow: ellipsis;
        white-space: nowrap;
      }

      .detail-back {
        flex: 0 0 auto;
        padding: 8px 0 8px 10px;
        border: 0;
        background: transparent;
        color: #111;
        font-size: 14px;
        font-weight: 650;
        cursor: pointer;
      }

      .detail-photo-area {
        position: relative;
        display: grid;
        place-items: center;
        aspect-ratio: 1.34 / 1;
        overflow: hidden;
        border-radius: 9px;
        background: #fff;
      }

      .detail-photo-area>.product-photo {
        display: block;
        width: auto;
        height: auto;
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
        border-radius: 0;
      }

      .detail-photo-area>.product-placeholder {
        width: 100%;
        height: 100%;
      }

      .detail-photo-area .product-placeholder {
        font-size: clamp(72px, 24vw, 140px);
      }

      .detail-availability {
        position: absolute;
        z-index: 1;
        top: 20px;
        left: 24px;
        font-size: 14px;
        line-height: 1.25;
        font-weight: 650;
      }

      .detail-ticket-summary {
        margin-top: 18px;
      }

      .detail-ticket-heading {
        display: flex;
        align-items: center;
        justify-content: space-between;
        color: #707070;
        font-size: 14px;
        font-weight: 600;
      }

      .detail-ticket-value {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        margin-top: 3px;
      }

      .detail-ticket-value strong {
        font-size: 26px;
        line-height: 1.2;
        font-weight: 650;
        letter-spacing: -.025em;
      }

      .detail-bookmark {
        display: grid;
        width: 38px;
        height: 38px;
        place-items: center;
        padding: 0;
        border: 0;
        border-radius: 50%;
        background: #fff;
        color: #111;
        cursor: pointer;
      }

      .detail-bookmark svg {
        width: 21px;
        height: 23px;
      }

      .detail-bookmark[aria-pressed="true"] {
        color: var(--orange);
      }

      .detail-bookmark[aria-pressed="true"] svg {
        fill: #fff0e2;
      }

      .detail-progress-copy {
        display: flex;
        justify-content: space-between;
        gap: 12px;
        margin-top: 9px;
        color: #777;
        font-size: 12px;
        line-height: 1.3;
      }

      .detail-progress-track {
        height: 5px;
        margin-top: 9px;
        overflow: hidden;
        border-radius: 999px;
        background: #fff;
      }

      .detail-progress-bar {
        width: 0;
        height: 100%;
        border-radius: inherit;
        background: var(--orange);
      }

      .detail-description {
        margin: 11px 0 16px;
        font-size: 14px;
        line-height: 1.3;
        font-weight: 600;
      }

      .detail-order-card {
        padding: 10px;
        border-radius: 9px;
        background: #fff;
      }

      .detail-order-card>strong {
        display: block;
        padding-bottom: 12px;
        border-bottom: 1px solid #e8e8e8;
        font-size: 14px;
      }

      .detail-code-row {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        padding: 12px 0 13px;
      }

      .detail-code-row span {
        color: #707070;
        font-size: 14px;
        font-weight: 650;
      }

      .detail-code-row strong {
        color: #ed1234;
        font-size: 23px;
        line-height: 1;
        font-weight: 700;
      }

      .detail-show-code {
        width: 100%;
        min-height: 50px;
        border: 0;
        border-radius: 9px;
        background: #f1f1f1;
        color: #6d6d6d;
        font-size: 14px;
        font-weight: 650;
        cursor: pointer;
      }

      .detail-recommendations {
        margin-top: 29px;
      }

      .detail-recommendations h2 {
        margin: 0 0 19px;
        font-size: 24px;
        line-height: 1.2;
        font-weight: 730;
        letter-spacing: -.035em;
      }

      .detail-recommendations .prize-grid {
        --bs-gutter-x: 12px;
        --bs-gutter-y: 12px;
      }

      .detail-recommendations .prize-card {
        border: 4px solid #fff;
        border-radius: 14px;
      }

      .detail-recommendations .bookmark-button {
        top: 7px;
        right: 7px;
        border-radius: 18px;
        box-shadow: 0 0 0 1px #eee;
      }

      .detail-recommendations .prize-name {
        justify-content: flex-start;
        min-height: 38px;
        padding: 7px 5px 2px;
        font-size: 13px;
        text-align: left;
      }

      .detail-recommendations .ticket-separator {
        display: none;
      }

      .detail-recommendations .ticket-value {
        min-height: 28px;
        padding: 0 5px 7px;
        text-align: left;
      }

      .detail-recommendations .ticket-value strong {
        display: inline;
        font-size: 13px;
        font-weight: 650;
      }

      .detail-recommendations .ticket-value span {
        display: inline;
        margin-left: 4px;
        font-size: 11px;
        text-transform: lowercase;
      }

      .saved-page[hidden] {
        display: none !important;
      }

      .saved-page {
        padding-top: 20px;
        padding-bottom: 112px;
      }

      .saved-page-title {
    margin: 0;
    font-size: 28px;
    line-height: 1.18;
    font-weight: 600;
    letter-spacing: -3%;
    font-family: 'Inter';
}

.saved-page-subtitle {
    margin: 5px 0 19px;
    color: #666666;
    font-size: 14px;
    line-height: 100%;
    font-weight: 600;
    font-family: 'DM Sans';
}

      .saved-item-list,
      .saved-suggestion-list {
        display: grid;
        gap: 10px;
      }

      .saved-item-card {
        display: grid;
        min-height: 87px;
        grid-template-columns: 66px minmax(0, 1fr) auto;
        align-items: center;
        gap: 10px;
        padding: 10px;
        border-radius: 11px;
        background: #fff;
      }

      .saved-item-thumb,
      .suggestion-thumb {
        display: block;
        width: 66px;
        height: 66px;
        overflow: hidden;
        border-radius: 8px;
        background: #f2f2f2;
        object-fit: contain;
      }

      .saved-item-thumb:not(img) {
        display: grid;
        place-items: center;
        font-size: 33px;
      }

      .saved-item-copy {
        min-width: 0;
        align-self: center;
      }

.saved-item-name {
    display: -webkit-box;
    overflow: hidden;
    margin: 0 0 11px;
    font-size: 12px;
    font-family: 'Inter';
    line-height: 17px;
    font-weight: 600;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

      .saved-item-price,
      .suggestion-price {
        margin: 0;
        white-space: nowrap;
      }

.saved-item-price strong, .suggestion-price strong {
    font-size: 12px;
    line-height: 17px;
    font-weight: 400;
    font-family: 'DM Sans';
    color: #666666;
}

      .saved-item-price span,
      .suggestion-price span {
        margin-left: 4px;
        color: #737373;
        font-size: 11px;
      }

      .saved-item-meta {
        display: flex;
        min-width: 70px;
        height: 66px;
        flex-direction: column;
        align-items: flex-end;
        justify-content: space-between;
      }

      .saved-item-bookmark,
      .suggestion-bookmark {
        display: inline-flex;
        width: auto;
        min-width: 23px;
        height: 25px;
        align-items: center;
        justify-content: flex-end;
        gap: 4px;
        padding: 0 2px;
        border: 0;
        background: transparent;
        color: #111;
        cursor: pointer;
      }

      .saved-item-bookmark svg,
      .suggestion-bookmark svg {
        width: 17px;
        height: 20px;
        flex: 0 0 auto;
      }

      .saved-item-bookmark .bookmark-label,
      .suggestion-bookmark .bookmark-label {
        color: #666;
        font-size: 11px;
        font-weight: 600;
      }

      .saved-item-bookmark[aria-pressed="true"] {
        color: var(--orange);
      }

      .saved-item-bookmark[aria-pressed="true"] svg {
        fill: #FF8200;
      }

.saved-item-code {
    color: #E4001D;
    font-size: 14px;
    line-height: 1;
    font-weight: 700;
    font-family: 'DM Sans';
    white-space: nowrap;
}

      .saved-summary {
        margin-top: 14px;
        padding: 8px 10px 9px;
        border-radius: 11px;
        background: #fff;
      }

      .saved-summary-row {
        display: flex;
        min-height: 32px;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        font-size: 13px;
        line-height: 1.2;
        font-weight: 650;
      }

.saved-summary-row strong {
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
    font-family: 'DM Sans';
}
      .saved-summary-row.is-separated {
        margin-top: 5px;
        padding-top: 8px;
        border-top: 1px solid #e4e4e4;
      }
.saved-codes-button {
    width: 100%;
    min-height: 50px;
    margin-top: 30px;
    border: 0;
    font-family: 'DM Sans';
    border-radius: 8px;
    background: #FF8200;
    color: #FFFFFF;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}
.saved-summary-row span {
    font-size: 14px;
    font-family: 'DM Sans';
    font-weight: 600;
    line-height: 100%;
}
      .saved-codes-button:disabled {
        background: #d8d8d8;
        color: #777;
        cursor: default;
      }

      .saved-codes-button:focus-visible,
      .saved-item-bookmark:focus-visible,
      .suggestion-bookmark:focus-visible {
        outline: 3px solid #ffac60;
        outline-offset: 2px;
      }

      .saved-code-list {
        display: block;
        min-height: 0;
        flex: 1 1 auto;
        overflow-y: auto;
        margin: 16px 0 0;
        padding: 0 20px 104px;
        scrollbar-width: thin;
        scrollbar-color: #d7d7d7 transparent;
      }

      .saved-code-entry {
        display: grid;
        min-height: 80px;
        grid-template-columns: minmax(0, 1fr) auto;
        grid-template-rows: auto auto;
        align-items: center;
        column-gap: 12px;
        padding: 10px 0 9px;
        border-bottom: 1px solid #e2e2e2;
      }

      .saved-code-entry-code {
        grid-column: 1;
        grid-row: 1;
        color: #f20d2f;
        font-size: 30px;
        line-height: 1.1;
        font-weight: 650;
        letter-spacing: -.025em;
      }

      .saved-code-entry-code.is-unavailable {
        color: #777;
        font-size: 18px;
      }

      .saved-code-entry-name {
        grid-column: 1;
        grid-row: 2;
        overflow: hidden;
        color: #686868;
        font-size: 13px;
        line-height: 1.35;
        font-weight: 550;
        text-overflow: ellipsis;
      }

      .saved-code-entry-price {
        grid-column: 2;
        grid-row: 1 / span 2;
        align-self: center;
        color: #171717;
        font-size: 20px;
        line-height: 1.2;
        font-weight: 700;
        white-space: nowrap;
      }

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

      .saved-code-overlay {
        position: fixed;
        z-index: 32;
        inset: 0;
        background: rgb(0 0 0 / 25%);
      }

      .saved-code-backdrop {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        border: 0;
        background: transparent;
      }

      .saved-code-panel {
        position: absolute;
        bottom: 0;
        left: 50%;
        width: min(100%, 430px);
        height: min(78svh, 760px);
        overflow: hidden;
        border-radius: 24px 24px 0 0;
        background: #fff;
        box-shadow: 0 -8px 32px rgb(0 0 0 / 12%);
        transform: translateX(-50%);
        will-change: transform;
        animation: ticket-sheet-rise 300ms cubic-bezier(.22, 1, .36, 1) both;
      }

      .saved-code-content {
        position: relative;
        display: flex;
        width: 100%;
        height: 100%;
        flex-direction: column;
        overflow: hidden;
        background: #fff;
      }

      .saved-code-title {
        margin: 12px 20px 3px;
        font-size: 24px;
        line-height: 1.25;
        font-weight: 700;
        letter-spacing: -.035em;
      }

      .saved-code-subtitle {
        margin: 0 20px;
        color: #6d6d6d;
        font-size: 13px;
        line-height: 1.35;
        font-weight: 550;
      }

      .saved-code-footer {
        position: absolute;
        z-index: 2;
        right: 0;
        bottom: 0;
        left: 0;
        display: flex;
        min-height: 70px;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        padding: 10px 20px max(10px, env(safe-area-inset-bottom));
        border-top: 1px solid #e3e3e3;
        background: rgb(255 255 255 / 98%);
      }

      .saved-code-footer-count {
        color: #6d6d6d;
        font-size: 13px;
        font-weight: 600;
      }

      .saved-code-footer-total {
        color: #171717;
        font-size: 24px;
        line-height: 1;
        font-weight: 750;
        white-space: nowrap;
      }

      @media (prefers-reduced-motion: reduce) {
        .saved-code-panel {
          animation: none;
        }
      }

.saved-use-heading {
    margin: 28px 0 18px;
    font-size: 24px;
    line-height: 100%;
    font-weight: 600;
    letter-spacing: 0%;
    font-family: 'Inter';
}
      .saved-use-heading span {
        white-space: nowrap;
      }

      .saved-suggestion-card {
        display: grid;
        min-height: 80px;
        grid-template-columns: 60px minmax(0, 1fr) auto;
        align-items: center;
        gap: 10px;
        padding: 9px 10px;
        border-radius: 10px;
        background: #fff;
      }

      .suggestion-thumb {
        width: 60px;
        height: 60px;
      }

      .suggestion-copy {
        min-width: 0;
      }
.suggestion-price strong {
    color: #101010;
    font-weight: 700;
}
 .suggestion-price span {
    margin-left: 4px;
    font-size: 12px;
    line-height: 17px;
    color: #666666;
}
.suggestion-name {
    margin: 0 0 12px;
    overflow: hidden;
    font-size: 12px;
    line-height: 17px;
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-family: 'Inter';
}

      .suggestion-bookmark[aria-pressed="true"] {
        color: var(--orange);
      }

      .suggestion-bookmark[aria-pressed="true"] svg {
        fill: #fff0e2;
      }

      .saved-empty {
        display: none;
        margin: 0 0 10px;
        padding: 16px;
        border-radius: 11px;
        background: #fff;
        color: #707070;
        font-size: 13px;
        line-height: 1.4;
      }

      .saved-empty.is-visible {
        display: block;
      }

      @media (max-width: 375px) {
        .app-header {
          height: 90px;
        }

        .brand-mark {
          left: 13px;
        }

        .brand-mark img {
          width: 92px;
        }

        .app-header h1 {
          font-size: 23px;
        }

        .page-content {
          padding-right: 14px;
          padding-left: 14px;
        }

        .saved-page-title {
          font-size: 25px;
        }

        .saved-item-card {
          grid-template-columns: 58px minmax(0, 1fr) auto;
          gap: 8px;
          padding: 8px;
        }

        .saved-item-thumb {
          width: 58px;
          height: 62px;
        }

        .saved-item-meta {
          min-width: 53px;
          height: 62px;
        }

        .saved-item-name,
        .suggestion-name {
          font-size: 11px;
        }

        .search-field input {
          height: 48px;
          font-size: 15px;
        }

        .search-submit {
          height: 40px;
          min-width: 64px;
          padding: 0 10px;
        }

        .action-row {
          --bs-gutter-x: 10px;
        }

        .action-button {
          height: 48px;
          gap: 7px;
          font-size: 15px;
        }

        .action-button svg {
          width: 21px;
          height: 21px;
        }

        .section-title {
          margin-top: 35px;
          font-size: 28px;
        }

        .prize-grid {
          --bs-gutter-x: 10px;
          --bs-gutter-y: 12px;
        }

        .prize-name {
          min-height: 46px;
          padding-right: 5px;
          padding-left: 5px;
          font-size: 13px;
        }

        .ticket-value strong {
          font-size: 31px;
        }
      }

      @media (max-width: 340px) {
        .brand-mark img {
          width: 84px;
        }

        .app-header h1 {
          font-size: 21px;
        }
      }

      @media (min-width: 768px) {
        .app-header {
          height: 90px;
        }

        .brand-mark img {
          width: 136px;
        }

        .app-header h1 {
          font-size: 29px;
        }

        .page-content {
          padding-top: 30px;
        }

        .search-field input {
          height: 70px;
          font-size: 18px;
        }

        .action-button {
          height: 58px;
          font-size: 19px;
        }

        .section-title {
          font-size: 28px;
        }

        .bottom-nav {
          min-height: 76px;
          grid-template-columns: repeat(2, 180px);
          justify-content: center;
        }

        .bottom-nav button {
          flex-direction: row;
          gap: 8px;
          font-size: 16px;
        }
      }

      @media (prefers-reduced-motion: reduce) {
        html {
          scroll-behavior: auto;
        }

        .search-field {
          animation: none;
        }
      }
