

.tp-pkg, .tp-sheet, .tp-step {
    --tp-ink: #2A2340;
    --tp-muted: #625A75;
    --tp-paper: #FBF7F0;
    --tp-line: #E8DFD3;
    --tp-teal: #1F7C74;
    --tp-teal-deep: #17645D;
    --tp-honey: #E4A83B;
    --tp-rose: #B3433A;
    --tp-gold: #7E6430;
    --tp-serif: 'Lora', Georgia, serif;
    --tp-sans: 'Nunito', 'Segoe UI', system-ui, -apple-system, sans-serif;
    --tp-hand: Caveat, 'Segoe Script', cursive;
    
    --tp-note: 'Cormorant Garamond', Georgia, serif;
    
    --tp-table: radial-gradient(130% 100% at 28% 18%, #FDFAF4 0%, #F5EDE0 55%, #EEE3D2 100%);
}

.tp-pkg { container: tp-pkg / inline-size; width: 100%; color-scheme: light; }
.tp-table { position: relative; width: 100%; aspect-ratio: 22 / 15.5; border-radius: 14px; overflow: hidden;
    background: var(--tp-table); isolation: isolate; }
.tp-pkg-small .tp-table { border-radius: 10px; }
.tp-at { position: absolute; container-type: inline-size; transform: rotate(var(--tp-r, 0deg)); }

.tp-table > .tp-at-color { --tp-r: -7deg; left: 7.5%; top: 18.7%; width: 38.64%; z-index: 1; }

.tp-table > .tp-at-cal { --tp-r: -2.5deg; left: 2%; top: 5%; width: 50%; z-index: 1; }
.tp-table > .tp-at-giver { --tp-r: 6deg; left: 40.7%; top: 4.5%; width: 38.64%; z-index: 2; }

.tp-table > .tp-at-book { --tp-r: -2deg; left: 33.75%; top: 22.6%; width: 39.77%; z-index: 3; }
.tp-table > .tp-at-card { --tp-r: 5deg; left: 71.4%; top: 40.6%; width: 22.73%; z-index: 4; }

.tp-solo > .tp-at { left: 50%; top: 50%; transform: translate(-50%, -50%) rotate(var(--tp-r, 0deg)); }
.tp-solo > .tp-at-book { --tp-r: -1.5deg; width: 48.2%; }
.tp-solo > .tp-at-note, .tp-solo > .tp-at-color { --tp-r: 1.5deg; width: 46.8%; }

.tp-solo > .tp-at-cal { --tp-r: 0.8deg; width: 38.5%; }

.tp-bk-all > .tp-at-card { --tp-r: -2deg; left: 10.5%; top: 19%; width: 28.5%; }
.tp-bk-inside { position: absolute; left: 43.5%; top: 12%; width: 35.6%; display: flex; flex-direction: column; align-items: center; }

.tp-table.tp-bk-all > .tp-bk-tag { left: 24.75%; bottom: 1.5%; transform: translateX(-50%); font-size: max(10px, 1.7cqw); }

.tp-book { position: relative; aspect-ratio: 8.75 / 11.5; border-radius: 1.2cqw 2.6cqw 2.6cqw 1.2cqw; overflow: hidden; background: #D9CCB8;
    box-shadow: 0 0.5cqw 0.8cqw rgba(42, 35, 64, 0.22), 0 3.5cqw 7cqw -1.5cqw rgba(42, 35, 64, 0.42); }
.tp-book img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: center; display: block; }

.tp-book::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 7%; z-index: 1; pointer-events: none;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.07) 32%, rgba(255, 255, 255, 0.2) 56%, rgba(0, 0, 0, 0.24) 67%, rgba(0, 0, 0, 0) 77%); }

.tp-book::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; pointer-events: none;
    box-shadow: inset 0 0 0 0.6cqw rgba(0, 0, 0, 0.1), inset -0.4cqw -0.4cqw 0 0.6cqw rgba(0, 0, 0, 0.06);
    background: linear-gradient(118deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0) 38%); }
.tp-book-plain { position: absolute; inset: 14% 12%; display: grid; place-items: center; text-align: center;
    font-family: var(--tp-serif); font-weight: 600; font-size: 9cqw; line-height: 1.15; color: #3B2E4F; }

.tp-book.tp-soft { aspect-ratio: 8.5 / 11; border-radius: 0.5cqw 1cqw 1cqw 0.5cqw;
    box-shadow: 0 0.4cqw 0.6cqw rgba(42, 35, 64, 0.2), 0 2.5cqw 5cqw -1.5cqw rgba(42, 35, 64, 0.36); }
.tp-book.tp-soft::before { width: 6%; background: linear-gradient(90deg, rgba(0, 0, 0, 0.16) 0%, rgba(0, 0, 0, 0.02) 55%, rgba(255, 255, 255, 0.24) 72%, rgba(0, 0, 0, 0.1) 80%, rgba(0, 0, 0, 0) 100%); }
.tp-book.tp-soft::after { box-shadow: inset 0 0 0 0.3cqw rgba(0, 0, 0, 0.08); }

.tp-giver { position: relative; aspect-ratio: 8.5 / 11; display: flex; flex-direction: column; align-items: center; text-align: center;
    padding: 19cqw 9cqw 0; background: #FCFBF8; border-radius: 0.6cqw;
    box-shadow: 0 0.4cqw 0.8cqw rgba(42, 35, 64, 0.16), 0 2.5cqw 5cqw -1.5cqw rgba(42, 35, 64, 0.32); }

.tp-table > .tp-at-giver .tp-giver { padding-top: 6cqw; }
.tp-giver-k { font-family: var(--tp-sans); font-weight: 800; font-size: 4.2cqw; line-height: 1; letter-spacing: 0.24em; color: #625A75; text-transform: uppercase; }
.tp-giver-to { margin-top: 3cqw; font-family: var(--tp-serif); font-weight: 500; font-size: 10cqw; line-height: 1.1; color: var(--tp-ink); overflow-wrap: anywhere;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tp-giver-blank { width: 50cqw; height: 9cqw; border-bottom: 1px solid #C5A059; }
.tp-giver-rule { flex: none; width: 18cqw; height: 1px; margin: 5.5cqw 0; background: #C5A059; }

.tp-giver-note { max-width: 100%; font-family: var(--tp-note); font-style: italic; font-weight: 600; font-size: 5.6cqw; line-height: 1.4; color: #3F3856;
    white-space: pre-line; overflow-wrap: anywhere; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; overflow: hidden; }
.tp-giver-note.tp-own { -webkit-line-clamp: 3; }
.tp-giver-sig { max-width: 100%; margin-top: 2.6cqw; font-family: var(--tp-note); font-style: italic; font-weight: 600; font-size: 6cqw; line-height: 1.2; color: var(--tp-ink);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.tp-giver .tp-tag-note { position: static; flex: none; margin-top: 4cqw; }

.tp-table > .tp-at-giver .tp-giver-note, .tp-table > .tp-at-giver .tp-giver-sig { visibility: hidden; }
.tp-giver-mark { position: absolute; left: 0; right: 0; bottom: 8cqw; font-family: var(--tp-serif); font-style: italic; font-weight: 500; font-size: 4.4cqw; color: var(--tp-gold); }

.tp-card { position: relative; aspect-ratio: 5 / 8; overflow: hidden; background: #FBF7F0; border-radius: 1.2cqw;
    box-shadow: 0 0.6cqw 1cqw rgba(42, 35, 64, 0.22), 0 4cqw 8cqw -2cqw rgba(42, 35, 64, 0.45); }
.tp-card-pic { position: absolute; left: 0; right: 0; top: 0; height: 59.7%; background: #E8DED0; }
.tp-card-pic img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: center 30%; display: block; }
.tp-card-pic::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(251, 247, 240, 0) 66%, #FBF7F0 100%); }
.tp-card-words { position: absolute; left: 8%; right: 8%; top: 55.3%; bottom: 4%; display: flex; flex-direction: column; align-items: center; text-align: center; }
.tp-card-open { font-family: var(--tp-hand); font-weight: 700; font-size: 10.56cqw; line-height: 1; color: var(--tp-rose); transform: rotate(-3deg); white-space: nowrap; }
.tp-card-gift { margin-top: 2.4cqw; font-family: var(--tp-serif); font-weight: 500; font-size: 6.67cqw; line-height: 1.15; color: var(--tp-ink); overflow-wrap: anywhere;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.tp-card-from { margin-top: 1.2cqw; font-family: var(--tp-note); font-style: italic; font-weight: 600; font-size: 5.83cqw; line-height: 1.1; color: var(--tp-teal); white-space: nowrap; }
.tp-card-mark { margin-top: auto; font-family: var(--tp-serif); font-style: italic; font-weight: 500; font-size: 3.06cqw; color: var(--tp-gold); white-space: nowrap; }

.tp-bk-inside-k { font-family: var(--tp-sans); font-weight: 800; font-size: max(10px, 1.6cqw); line-height: 1; letter-spacing: 0.2em; text-transform: uppercase; color: var(--tp-gold); }
.tp-bk-grid { width: 100%; margin-top: 1.4cqw; display: grid; grid-template-columns: 1fr 1fr; gap: 2.1cqw 2.6cqw; }
.tp-bk-sheet { position: relative; }

.tp-bk-pg { position: relative; aspect-ratio: 5 / 8; container-type: inline-size; overflow: hidden; background: #FBF7F0; border-radius: 0.45cqw;
    box-shadow: 0 0.3cqw 0.5cqw rgba(42, 35, 64, 0.2), 0 1.5cqw 2.8cqw -1cqw rgba(42, 35, 64, 0.36); }
.tp-bk-in { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 9.5cqw 6.5cqw 8.5cqw; }

.tp-bk-n { position: absolute; left: -0.9cqw; top: -0.9cqw; z-index: 2; display: grid; place-items: center; width: max(18px, 2.7cqw); height: max(18px, 2.7cqw);
    border-radius: 50%; background: var(--tp-teal); color: #FFFFFF; font-family: var(--tp-sans); font-weight: 800; font-size: max(11px, 1.55cqw); line-height: 1;
    box-shadow: 0 0.3cqw 0.8cqw rgba(42, 35, 64, 0.25); }
.tp-bk-k { font-family: var(--tp-sans); font-weight: 800; font-size: 2.08cqw; line-height: 1; letter-spacing: 0.2em; text-transform: uppercase; color: var(--tp-gold); }

.tp-bk-rule { flex: none; width: 12cqw; height: max(1px, 0.3cqw); margin: 4.4cqw 0 5.2cqw; background: #B8913F; }
.tp-bk-notebox { flex: 1; min-height: 0; width: 100%; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.tp-bk-notetext { font-family: var(--tp-note); font-style: italic; font-weight: 600; font-size: 6.65cqw; line-height: 1.4; color: var(--tp-ink); white-space: pre-line;
    overflow-wrap: anywhere; }
.tp-bk-sig { flex: none; margin-top: 4cqw; font-family: var(--tp-note); font-style: italic; font-weight: 600; font-size: 5.62cqw; line-height: 1.1; color: var(--tp-teal); }

.tp-bk-ticket { position: relative; flex: 1; width: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center;
    padding: 4.4cqw 4cqw 4cqw; background: #FFFFFF; border: 0.4cqw dashed #D9C79E; border-radius: 2.8cqw; }
.tp-bk-ticket::before, .tp-bk-ticket::after { content: ""; position: absolute; top: 58%; width: 6.4cqw; height: 6.4cqw; border-radius: 50%; background: #FBF7F0;
    border: 0.4cqw dashed #D9C79E; }
.tp-bk-ticket::before { left: -3.6cqw; }
.tp-bk-ticket::after { right: -3.6cqw; }
.tp-bk-admit { font-family: var(--tp-sans); font-weight: 800; font-size: 2.5cqw; line-height: 1; letter-spacing: 0.34em; color: var(--tp-rose); }
.tp-bk-prem { margin-top: 2.8cqw; font-family: var(--tp-serif); font-weight: 500; font-size: 3.6cqw; line-height: 1.2; color: var(--tp-muted); }
.tp-bk-tt { margin-top: 1cqw; max-width: 100%; font-family: var(--tp-serif); font-weight: 600; font-size: 5.28cqw; line-height: 1.15; color: var(--tp-ink); overflow-wrap: anywhere;
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.tp-bk-point { margin-top: 4cqw; font-family: var(--tp-note); font-style: italic; font-weight: 600; font-size: 3.6cqw; line-height: 1; color: var(--tp-rose); }
.tp-bk-qr { position: relative; width: 38cqw; margin: 1.2cqw 0 2cqw; }
.tp-bk-qr svg { display: block; width: 100%; height: auto; }
.tp-bk-how { font-family: var(--tp-sans); font-weight: 700; font-size: 2.9cqw; line-height: 1.45; color: var(--tp-ink); }
.tp-bk-url { margin-top: 1.2cqw; font-family: var(--tp-sans); font-weight: 600; font-size: 2.5cqw; line-height: 1.3; color: var(--tp-muted); }
.tp-bk-small { margin-top: 2cqw; font-family: var(--tp-sans); font-weight: 600; font-size: 2.4cqw; line-height: 1.4; color: var(--tp-muted); }

.tp-bk-h { margin-top: 2cqw; font-family: var(--tp-serif); font-weight: 500; font-size: 6.1cqw; line-height: 1.15; color: var(--tp-ink); }
.tp-bk-story { position: relative; flex: 1; min-height: 0; width: 100%; margin-top: 3cqw; }
.tp-bk-pol { position: absolute; left: 1cqw; top: 2cqw; width: 41cqw; padding: 1.8cqw 1.8cqw 6.4cqw; background: #FFFFFF; border: max(1px, 0.2cqw) solid #E6DCCD;
    transform: rotate(-5deg); box-shadow: 0 0.8cqw 1.6cqw rgba(42, 35, 64, 0.12); }
.tp-bk-spot { display: grid; place-items: center; aspect-ratio: 1; background: #EDE6DA; color: #BDB2A1; }
.tp-bk-spot svg { width: 56%; height: 56%; }
.tp-bk-pol-name { position: absolute; left: 0; right: 0; bottom: 1.3cqw; font-family: var(--tp-note); font-style: italic; font-weight: 600; font-size: 3.6cqw; line-height: 1; color: var(--tp-muted); }
.tp-bk-arrow { position: absolute; left: 44cqw; top: 20cqw; width: 22cqw; height: 37cqw; z-index: 2; }
.tp-bk-became { position: absolute; right: 0.4cqw; bottom: 3cqw; width: 45cqw; aspect-ratio: 0.806; overflow: hidden; border: max(1px, 0.2cqw) solid #E6DCCD; border-radius: 0.6cqw;
    background: #D9CCB8; transform: rotate(4deg); }
.tp-bk-became img { width: 100%; height: 100%; max-width: none; object-fit: cover; display: block; }

.tp-bk-full { padding: 0; }
.tp-bk-full img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; display: block; }

.tp-bk-full::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 26.3%;
    background: linear-gradient(180deg, rgba(251, 247, 240, 0) 0%, #FBF7F0 74.5%, #FBF7F0 100%); }
.tp-bk-end { position: absolute; left: 0; right: 0; bottom: 8.5cqw; z-index: 1; display: flex; flex-direction: column; align-items: center; }
.tp-bk-end b { font-family: var(--tp-note); font-style: italic; font-weight: 600; font-size: 6.1cqw; line-height: 1.1; color: var(--tp-ink); }
.tp-bk-mark { margin-top: 2.4cqw; font-family: var(--tp-serif); font-style: italic; font-weight: 500; font-size: 3cqw; color: var(--tp-gold); }

.tp-color { position: relative; aspect-ratio: 8.5 / 11; }

.tp-color-page { position: absolute; inset: 0; overflow: hidden; border-radius: 0.6cqw;
    background: radial-gradient(circle at 3.4cqw 50%, #D6CFC3 0 0.8cqw, transparent 0.95cqw) 0 0 / 100% 4cqw repeat-y, #FFFFFF;
    box-shadow: 0.7cqw 0.9cqw 0 #F1ECE3, 0.7cqw 0.9cqw 0 0.2cqw rgba(42, 35, 64, 0.1), 0 2.5cqw 5cqw -1.5cqw rgba(42, 35, 64, 0.34); }

.tp-color-in { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; padding: 5.88cqw 5.88cqw 5cqw 7.35cqw; }
.tp-color-art { flex: 0 1 auto; min-height: 0; width: 100%; display: flex; justify-content: center; }
.tp-color-art img { display: block; box-sizing: border-box; max-width: 100%; max-height: 100%; width: auto; height: auto; border: max(1px, 0.245cqw) solid #000000;
    border-radius: 1.72cqw; padding: 0.94cqw; background: #FFFFFF; }
.tp-color-words { flex: none; display: block; width: 100%; max-height: 28.2cqw; margin-top: 2.35cqw; overflow: hidden; font-family: var(--tp-serif); font-weight: 500;
    font-size: 2.12cqw; line-height: 1.45; color: #000000; text-align: center; white-space: pre-line; }
.tp-color-words:empty { display: none; }
.tp-color-num { flex: none; display: block; margin-top: auto; padding-top: 1.18cqw; font-family: var(--tp-sans); font-weight: 700; font-size: 1.31cqw; line-height: 1;
    letter-spacing: 0.16em; color: #555555; }

.tp-color > .tp-tag { top: 3%; bottom: auto; left: auto; right: 7%; font-size: max(10px, 3.8cqw); }

.tp-coil { position: absolute; left: -2.6cqw; top: 1.5%; bottom: 1.5%; width: 7.6cqw; z-index: 2; pointer-events: none;
    background: radial-gradient(ellipse 48% 30% at 50% 50%, transparent 52%, #5D626C 56%, #9AA0AA 66%, #6E737D 74%, transparent 78%) 0 0 / 100% 4cqw repeat-y; }

.tp-cal { position: relative; aspect-ratio: 11 / 17; display: flex; flex-direction: column; border-radius: 0.5cqw; background: #FBF7F0;
    box-shadow: 0 0.4cqw 0.8cqw rgba(42, 35, 64, 0.16), 0 2.5cqw 5cqw -1.5cqw rgba(42, 35, 64, 0.34); }
.tp-cal-sheet { position: relative; display: flex; flex: none; height: 50%; box-sizing: border-box; overflow: hidden; }
.tp-cal-top { border-radius: 0.5cqw 0.5cqw 0 0; }

.tp-cal-pic { flex: none; height: 100%; aspect-ratio: 0.8056; background: #E8DED0; }
.tp-cal-pic img { display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.tp-cal-words { flex: 1; min-width: 0; display: flex; padding: 5.7cqw 5.2cqw 7cqw 3.9cqw; }
.tp-cal-room { flex: 1; min-height: 0; display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
.tp-cal-q { font-family: var(--tp-serif); font-style: italic; font-weight: 500; font-size: 2.65cqw; line-height: 1.5; color: var(--tp-ink); white-space: pre-line; overflow-wrap: anywhere; }

.tp-cal-hole { position: absolute; left: 50%; top: 2.3cqw; width: 2.3cqw; height: 2.3cqw; margin-left: -1.15cqw; border-radius: 50%; background: #E7DCCB;
    box-shadow: inset 0 0.25cqw 0.35cqw rgba(42, 35, 64, 0.3); }

.tp-cal-grid { flex-direction: column; padding: 7.5cqw 5.2cqw 6.4cqw; border-radius: 0 0 0.5cqw 0.5cqw; border-top: max(1px, 0.12cqw) solid #E6DCCD; }
.tp-cal-mh { display: flex; align-items: baseline; justify-content: center; gap: 1.6cqw; }
.tp-cal-mh b { font-family: var(--tp-serif); font-weight: 600; font-size: 3.79cqw; line-height: 1; color: var(--tp-ink); }
.tp-cal-mh span { font-family: var(--tp-serif); font-weight: 500; font-size: 2.78cqw; line-height: 1; color: #B8913F; }
.tp-cal-week { display: grid; grid-template-columns: repeat(7, 1fr); margin-top: 2cqw; font-family: var(--tp-sans); font-weight: 800; font-size: 1.14cqw; line-height: 1;
    letter-spacing: 0.14em; color: #675F7A; text-align: center; }
.tp-cal-cells { flex: 1; min-height: 0; display: grid; grid-template-columns: repeat(7, 1fr); margin-top: 0.73cqw;
    border-top: max(1px, 0.17cqw) solid #CFC3B0; border-left: max(1px, 0.17cqw) solid #CFC3B0; }
.tp-cal-cells > span { min-height: 0; overflow: hidden; display: flex; flex-direction: column; gap: 0.32cqw; padding: 0.55cqw 0.73cqw; background: #FFFFFF;
    border-right: max(1px, 0.17cqw) solid #CFC3B0; border-bottom: max(1px, 0.17cqw) solid #CFC3B0; }
.tp-cal-cells > .tp-cal-x { background: #F6F0E6; }
.tp-cal-cells b { font-family: var(--tp-sans); font-weight: 700; font-size: 1.52cqw; line-height: 1; color: var(--tp-ink); }
.tp-cal-cells i { font-style: normal; font-family: var(--tp-sans); font-weight: 700; font-size: 1.01cqw; line-height: 1.15; color: var(--tp-teal); }

.tp-cal-wire { position: absolute; left: 3%; right: 3%; top: 50%; height: 3.4cqw; margin-top: -1.7cqw; z-index: 2; pointer-events: none;
    background: radial-gradient(ellipse 30% 48% at 50% 50%, transparent 52%, #5D626C 56%, #9AA0AA 66%, #6E737D 74%, transparent 78%) 0 0 / 1.9cqw 100% repeat-x; }

.tp-tag { position: absolute; left: 10%; bottom: 4%; z-index: 3; padding: 0.35em 0.75em; border-radius: 999px; background: var(--tp-ink); color: #FFFFFF;
    font-family: var(--tp-sans); font-weight: 800; font-size: max(10px, 5.4cqw); line-height: 1.2; white-space: nowrap; }

.tp-table > .tp-tag { left: 7.5%; bottom: 8%; z-index: 5; font-size: max(10px, 2.15cqw); }

@container tp-pkg (max-width: 320px) {
    .tp-giver-k, .tp-giver-note, .tp-giver-sig, .tp-giver-mark, .tp-card-gift, .tp-card-from, .tp-card-mark, .tp-color-words, .tp-color-num,
    .tp-cal-q, .tp-cal-cells i, .tp-cal-week { visibility: hidden; }
    .tp-giver-to { font-size: 12cqw; }
    .tp-table > .tp-tag { left: 3%; bottom: 6%; font-size: 10px; padding: 2px 7px; }
}

.tp-step { --tp-step-gold: #6E4C0E; --tp-step-gold-line: #C08A1E;
    container: tp-step / inline-size; margin: 14px -10px 0; padding: 12px 10px 14px; border: 1px solid #EBCF94; border-radius: 16px;
    background: linear-gradient(180deg, #FFF8E8 0%, #FCEFD2 100%); font-family: var(--tp-sans); }
.tp-step-in { display: grid; grid-template-columns: 1fr; grid-template-areas: "pic" "title" "words" "what" "go"; gap: 6px; text-align: center; }
.tp-step-title { grid-area: title; }
.tp-step-pic { grid-area: pic; }
.tp-step-words { grid-area: words; }
.tp-step-what { grid-area: what; }
.tp-step-go { grid-area: go; }

.tp-go-full { display: none; }
.tp-go-short { display: inline; }
.tp-step-pic { display: block; width: 100%; margin: 0 auto; padding: 0; border: 0; border-radius: 12px; background: none; cursor: zoom-in; }
.tp-step-pic:hover .tp-table { box-shadow: 0 0 0 2px var(--tp-step-gold-line); }
.tp-step-words { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.tp-step-title { margin: 2px 0 0; font-family: var(--tp-serif); font-size: 19px; line-height: 1.25; font-weight: 700; color: var(--tp-ink); text-wrap: balance; }
.tp-step-price { margin: 0; font-size: 14px; line-height: 1.35; color: #4F4660; }
.tp-step-price b { color: var(--tp-ink); font-size: 19px; font-weight: 800; }
.tp-step-see { display: inline-flex; align-items: center; gap: 5px; min-height: 30px; margin: 0; padding: 0 4px; border: 0; background: none; cursor: pointer;
    font-family: inherit; font-size: 15px; font-weight: 800; color: var(--tp-step-gold); text-decoration: underline; text-underline-offset: 3px; }
.tp-step-see svg { width: 17px; height: 17px; flex: none; }
.tp-step-see:hover { color: #4F360A; }

.tp-step-what { margin: 2px 0 0; font-size: 14px; line-height: 1.4; color: #4F4660; text-wrap: pretty; }

.tp-step-swap { display: block; margin: 2px auto 0; padding: 4px; border: 0; background: none; cursor: pointer; font-family: inherit; font-size: 13.5px; line-height: 1.3;
    font-weight: 700; color: var(--tp-step-gold); text-decoration: underline; text-underline-offset: 3px; }
.tp-step-swap:hover { color: #4F360A; }
.tp-step-swap:focus-visible { outline: 3px solid var(--tp-honey); outline-offset: 2px; border-radius: 4px; }

.tp-step-go { display: block; width: 100%; min-height: 46px; margin-top: 4px; padding: 9px 8px; border: 2px solid var(--tp-step-gold-line); border-radius: 999px;
    background: #FFFFFF; color: var(--tp-step-gold); font-family: inherit; font-size: 16px; line-height: 1.25; font-weight: 800; cursor: pointer; transition: background-color 0.15s ease; }
.tp-step-go:hover { background: #FFF3D6; }
.tp-step-pic:focus-visible, .tp-step-see:focus-visible, .tp-step-go:focus-visible { outline: 3px solid var(--tp-honey); outline-offset: 2px; }

@container tp-step (min-width: 300px) {
    .tp-step-in { grid-template-columns: minmax(0, 52%) minmax(0, 1fr); grid-template-areas: "title title" "pic words" "what what" "go go"; align-items: center; gap: 8px 14px; text-align: left; }
    .tp-step-title { font-size: 20px; margin: 0; }
    .tp-step-see { font-size: 14px; }
    .tp-go-full { display: inline; }
    .tp-go-short { display: none; }
    .tp-step-pic { width: 100%; }
    .tp-step-words { align-items: flex-start; }
    .tp-step-swap { margin-left: -4px; }
}

.tp-sheet { display: flex; align-items: center; justify-content: center; padding: 24px; color: var(--tp-ink); font-family: var(--tp-sans); color-scheme: light;
    -webkit-text-size-adjust: 100%; }
.tp-sheet *, .tp-sheet *::before, .tp-sheet *::after { box-sizing: border-box; }
.tp-scrim { position: absolute; inset: 0; background: rgba(42, 35, 64, 0.64); opacity: 0; transition: opacity 0.2s ease; will-change: opacity; }
.tp-panel { position: relative; width: min(980px, 100%); max-height: 100%; overflow-y: auto; overscroll-behavior: contain; border-radius: 22px; background: #FFFDF9;
    box-shadow: 0 30px 80px rgba(20, 16, 36, 0.4); opacity: 0; transform: translateY(14px); transition: opacity 0.22s ease, transform 0.22s ease;
    
    will-change: opacity, transform; }
.tp-panel:focus { outline: none; }

.tp-sheet.tp-dim .tp-scrim, .tp-sheet.tp-in .tp-scrim { opacity: 1; }
.tp-sheet.tp-in .tp-panel { opacity: 1; transform: none; }
.tp-sheet.tp-still .tp-scrim, .tp-sheet.tp-still .tp-panel { transition: none; }
.tp-sheet [hidden] { display: none !important; }
.tp-sheet button { font-family: inherit; }
.tp-sheet button:focus-visible { outline: 3px solid var(--tp-honey); outline-offset: 2px; }

.tp-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 20px 10px 28px; }
.tp-title { margin: 0; font-family: var(--tp-serif); font-weight: 600; font-size: 26px; line-height: 1.2; letter-spacing: 0; color: var(--tp-ink); }
.tp-close { flex: none; display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border-radius: 50%; border: 1.5px solid var(--tp-line); background: #FFFFFF;
    color: var(--tp-ink); cursor: pointer; }
.tp-close svg { width: 22px; height: 22px; }
.tp-close:hover { background: var(--tp-paper); }

.tp-body { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(270px, 1fr); gap: 28px; padding: 4px 28px 28px; align-items: start; }

.tp-gallery { min-width: 0; }
.tp-stage { position: relative; }

.tp-track { display: flex; aspect-ratio: 22 / 15.5; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; border-radius: 16px; }
.tp-track::-webkit-scrollbar { display: none; }
.tp-slide { flex: 0 0 100%; min-width: 0; margin: 0; scroll-snap-align: start; scroll-snap-stop: always; }
.tp-slide .tp-table { border-radius: 16px; }

.tp-cap { display: grid; margin: 10px 4px 0; font-size: 16.5px; line-height: 1.45; color: var(--tp-ink); text-align: center; }
.tp-cap-line { grid-area: 1 / 1; visibility: hidden; text-wrap: pretty; }
.tp-cap-line.tp-on { visibility: visible; }

.tp-sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.tp-arrows { position: absolute; left: 0; right: 0; top: 0; z-index: 2; aspect-ratio: 22 / 15.5; pointer-events: none; }
.tp-arrow { position: absolute; top: 50%; transform: translateY(-50%); pointer-events: auto; width: 46px; height: 46px; display: grid; place-items: center; padding: 0; border-radius: 50%;
    border: 1.5px solid var(--tp-line); background: rgba(255, 255, 255, 0.94); color: var(--tp-ink); cursor: pointer; box-shadow: 0 4px 14px rgba(42, 35, 64, 0.16); }
.tp-arrow svg { width: 22px; height: 22px; }
.tp-arrow:hover:not(:disabled) { background: #FFFFFF; color: var(--tp-teal); }
.tp-arrow:disabled { opacity: 0; pointer-events: none; }

.tp-prev { left: -23px; }
.tp-next { right: -23px; }

.tp-slide .tp-pkg { cursor: zoom-in; }
.tp-zoom-cue { position: absolute; top: 10px; right: 10px; z-index: 3; display: inline-flex; align-items: center; gap: 6px; min-height: 38px; padding: 0 14px 0 11px;
    border-radius: 999px; border: 1.5px solid var(--tp-line); background: #FFFFFF; color: var(--tp-teal); font-size: 15px; font-weight: 800; line-height: 1; cursor: zoom-in;
    box-shadow: 0 4px 14px rgba(42, 35, 64, 0.16); }
.tp-zoom-cue svg { width: 19px; height: 19px; flex: none; }
.tp-zoom-cue:hover { border-color: var(--tp-teal); color: var(--tp-teal-deep); }

.tp-chips { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.tp-chip { min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--tp-line); background: #FFFFFF; color: var(--tp-ink);
    font-size: 15px; font-weight: 800; white-space: nowrap; cursor: pointer; }
.tp-chip:hover { border-color: var(--tp-teal); }
.tp-chip[aria-pressed="true"] { background: var(--tp-teal); border-color: var(--tp-teal); color: #FFFFFF; }

.tp-info { min-width: 0; display: flex; flex-direction: column; }
.tp-inside { margin: 6px 0 0; font-family: var(--tp-sans); font-size: 18px; font-weight: 800; line-height: 1.3; letter-spacing: 0; color: var(--tp-ink); }
.tp-list { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 11px; }
.tp-list li { position: relative; padding-left: 26px; font-size: 16px; line-height: 1.45; color: var(--tp-ink); }
.tp-list li::before { content: "\2726"; position: absolute; left: 2px; top: 1px; font-size: 14px; color: #A88437; }

.tp-switch { margin: 8px 0 0 26px; }
.tp-switch-go { padding: 4px 0; border: 0; background: none; font: inherit; font-size: 15px; font-weight: 700; line-height: 1.4; color: var(--tp-teal-deep);
    text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.tp-switch-go:hover { color: var(--tp-teal); }
.tp-switch-go:focus-visible { outline: 2px solid var(--tp-teal); outline-offset: 2px; border-radius: 4px; }
.tp-after { margin: 14px 0 0; padding: 10px 12px; border-radius: 12px; background: #F4EBDD; font-size: 15px; line-height: 1.45; color: var(--tp-ink); }
.tp-buy { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--tp-line); }
.tp-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; margin: 0; }
.tp-amount { font-family: var(--tp-serif); font-weight: 600; font-size: 36px; line-height: 1; color: var(--tp-teal); }
.tp-price-note { font-size: 15.5px; font-weight: 700; color: var(--tp-muted); }
.tp-credit { margin: 10px 0 0; padding: 9px 12px; border-radius: 12px; background: #FBEDCC; color: #5C430F; font-size: 15px; font-weight: 700; line-height: 1.4; }
.tp-go { display: block; width: 100%; min-height: 56px; margin-top: 14px; padding: 0 18px; border: 0; border-radius: 16px; background: var(--tp-teal); color: #FFFFFF;
    font-size: 18px; font-weight: 800; cursor: pointer; box-shadow: 0 8px 18px rgba(31, 124, 116, 0.28); }
.tp-go:hover:not(:disabled) { background: var(--tp-teal-deep); }
.tp-go:disabled { opacity: 0.7; cursor: default; }
.tp-err { margin: 10px 0 0; color: #A3362C; font-size: 15px; font-weight: 700; }
.tp-fine { margin: 10px 0 0; font-size: 14.5px; line-height: 1.45; color: var(--tp-muted); }

.tp-zoom { position: fixed; inset: 0; z-index: 3; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
    padding: max(20px, calc(env(safe-area-inset-top, 0px) + 14px)) 16px max(12px, calc(env(safe-area-inset-bottom, 0px) + 10px));
    background: rgba(0, 0, 0, 0.95); cursor: zoom-out; }
.tp-zoom-frame { position: relative; flex: none; padding: 8px; border-radius: 12px; background: #0F172A; box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5); cursor: default; }

.tp-zoom-stage { --tp-ar: 1; position: relative; display: block; aspect-ratio: var(--tp-ar); overflow: hidden; border-radius: 8px; background: var(--tp-table);
    width: min(calc(100vw - 48px), calc((100vh - 124px) * var(--tp-ar)));
    width: min(calc(100vw - 48px), calc((100dvh - 124px) * var(--tp-ar)));
    touch-action: none; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; cursor: zoom-in; }
.tp-zoom-stage.tp-zoomed { cursor: zoom-out; }
.tp-zoom-move { position: absolute; inset: 0; display: grid; place-items: center; transform-origin: 50% 50%; }

.tp-zoom-at { width: 88%; container-type: inline-size; }
.tp-zoom-move > .tp-pkg { width: 100%; }

.tp-zoom .tp-pkg { container-name: tp-zoom-pkg; }
.tp-zoom .tp-table { border-radius: 0; }
.tp-zoom-close { position: absolute; top: -12px; right: -12px; z-index: 1; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%;
    background: #1F2937; color: #FFFFFF; cursor: pointer; box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.4); transition: background-color 0.15s ease; }
.tp-zoom-close svg { width: 22px; height: 22px; }
.tp-zoom-close:hover { background: #DC2626; }

.tp-zoom-bar { flex: none; display: grid; grid-template-columns: 52px minmax(0, 1fr) 52px; align-items: center; gap: 10px; width: min(460px, 100%); cursor: default; }
.tp-zoom-flip { display: grid; place-items: center; width: 52px; height: 52px; padding: 0; border-radius: 50%; border: 0; background: rgba(255, 255, 255, 0.94); color: var(--tp-ink); cursor: pointer; }
.tp-zoom-flip svg { width: 24px; height: 24px; }
.tp-zoom-flip:hover:not(:disabled) { background: #FFFFFF; color: var(--tp-teal); }
.tp-zoom-flip:disabled { opacity: 0; pointer-events: none; }
.tp-zoom-words { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 3px; text-align: center; color: #FFFFFF; }
.tp-zoom-name { font-size: 17px; font-weight: 800; line-height: 1.25; }
.tp-zoom-hint { font-size: 14px; font-weight: 600; line-height: 1.3; color: rgba(255, 255, 255, 0.75); }

.tp-hint-touch { display: none; }
@media (pointer: coarse) {
    .tp-hint-touch { display: inline; }
    .tp-hint-mouse { display: none; }
}

@media (max-width: 860px) {
    .tp-panel { width: min(640px, 100%); }
    .tp-body { grid-template-columns: 1fr; gap: 18px; }
}

@media (max-width: 640px) {
    .tp-sheet { padding: 0; align-items: stretch; }
    .tp-panel { width: 100%; height: 100%; max-height: none; border-radius: 0; display: flex; flex-direction: column; overflow: hidden; transform: translateY(24px); }
    .tp-head { flex: none; padding: calc(env(safe-area-inset-top, 0px) + 10px) 12px 8px 18px; border-bottom: 1px solid var(--tp-line); }
    .tp-title { font-size: 22px; }
    .tp-close { width: 52px; height: 52px; }
    .tp-body { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 14px 16px 0; gap: 16px; }
    .tp-track, .tp-slide .tp-table { border-radius: 12px; }
    .tp-cap { font-size: 16px; margin-top: 10px; }
    .tp-arrow { width: 42px; height: 42px; }
    .tp-prev { left: -8px; }
    .tp-next { right: -8px; }
    .tp-zoom-cue { top: 8px; right: 8px; min-height: 36px; padding: 0 12px 0 9px; font-size: 14.5px; }
    
    .tp-chips { gap: 5px; margin-left: -8px; margin-right: -8px; }
    .tp-chip { min-width: 44px; padding: 0 7px; font-size: 15px; }
    .tp-inside { margin-top: 0; }
    .tp-list li { font-size: 15.5px; }
    .tp-buy { position: sticky; bottom: 0; margin: 18px -16px 0; padding: 14px 16px calc(env(safe-area-inset-bottom, 0px) + 14px); background: #FFFDF9;
        border-top: 1px solid var(--tp-line); box-shadow: 0 -10px 24px rgba(42, 35, 64, 0.08); }
    .tp-amount { font-size: 32px; }
    .tp-go { margin-top: 10px; }
}
@media (prefers-reduced-motion: reduce) {
    .tp-scrim, .tp-panel { transition: none; }
}

.tp-or { position: absolute; z-index: 9; transform: translate(-50%, -50%); width: 6.4cqw; height: 6.4cqw; min-width: 22px; min-height: 22px;
    border-radius: 50%; background: #FFFFFF; border: 0.35cqw solid #C5A059; display: grid; place-items: center;
    font: italic 600 max(11px, 2.9cqw)/1 var(--tp-serif); color: #7E6430; box-shadow: 0 0.4cqw 1.2cqw rgba(42, 35, 64, 0.25); }
.tp-or-note { position: absolute; z-index: 9; left: 2.5%; bottom: 3%; padding: 0.6cqw 1.6cqw; border-radius: 999px; background: rgba(42, 35, 64, 0.85);
    color: #FFFFFF; font: 800 max(9.5px, 1.75cqw)/1.3 var(--tp-sans); white-space: nowrap; }
.tp-pkg-small .tp-or-note { display: none; }
.tp-table.tp-both > .tp-or { left: 24.5%; top: 27%; }

.tp-table.tp-both > .tp-at-cal { --tp-r: -4deg; left: 0.5%; top: 4%; width: 33%; z-index: 0; }
.tp-table.tp-both > .tp-at-color { --tp-r: 7deg; left: 15%; top: 30%; width: 31%; z-index: 1; }
.tp-table.tp-both > .tp-at-giver { --tp-r: 6deg; left: 45%; top: 3.5%; width: 34%; z-index: 2; }
.tp-table.tp-both > .tp-at-book { --tp-r: -2deg; left: 38%; top: 22%; width: 36%; z-index: 3; }
.tp-table.tp-both > .tp-at-card { --tp-r: 5deg; left: 74.5%; top: 41%; width: 20.5%; z-index: 4; }
.tp-table.tp-both > .tp-tag { left: auto; right: 3%; bottom: 4%; }

.tp-table.tp-gen > .tp-at-cal { --tp-r: -5deg; left: 0%; top: 12%; width: 23%; z-index: 0; }
.tp-table.tp-gen > .tp-at-color { --tp-r: 6deg; left: 3.5%; top: 51%; width: 21%; z-index: 1; }
.tp-table.tp-gen > .tp-at-g1 { --tp-r: -3deg; left: 24%; top: 7.5%; width: 24%; z-index: 2; }
.tp-table.tp-gen > .tp-at-g2 { --tp-r: 1deg; left: 47%; top: 6%; width: 24%; z-index: 2; }
.tp-table.tp-gen > .tp-at-g3 { --tp-r: 4deg; left: 70%; top: 7.5%; width: 24%; z-index: 2; }
.tp-table.tp-gen > .tp-at-book { --tp-r: -3deg; left: 22.5%; top: 31%; width: 26%; z-index: 5; }
.tp-table.tp-gen > .tp-at-b2 { --tp-r: 0.5deg; left: 45.5%; top: 29.5%; width: 26%; z-index: 4; }
.tp-table.tp-gen > .tp-at-b3 { --tp-r: 4deg; left: 68.5%; top: 31%; width: 26%; z-index: 3; }
.tp-table.tp-gen > .tp-at-card { --tp-r: 8deg; left: 84%; top: 61%; width: 14%; z-index: 7; }
.tp-table.tp-gen .tp-giver { padding-top: 5cqw; }
.tp-table.tp-gen .tp-giver-to { font-size: 9cqw; }

.tp-table.tp-gen .tp-giver-note, .tp-table.tp-gen .tp-giver-sig, .tp-table.tp-gen .tp-giver-rule, .tp-table.tp-gen .tp-giver-mark,
.tp-table.tp-gen .tp-giver .tp-tag { visibility: hidden; }
.tp-table.tp-gen > .tp-tag { left: 2.5%; top: 2.5%; right: auto; bottom: auto; }

.tp-table.tp-pages3 > .tp-at { top: 9%; width: 28%; --tp-r: 0deg; }
.tp-table.tp-pages3 > .tp-at-p1 { left: 4%; --tp-r: -1.5deg; }
.tp-table.tp-pages3 > .tp-at-p2 { left: 36%; }
.tp-table.tp-pages3 > .tp-at-p3 { left: 68%; --tp-r: 1.5deg; }
.tp-p-cap { display: block; margin-top: 2.6cqw; text-align: center; font: 800 6cqw/1.2 var(--tp-sans); color: var(--tp-muted); }
.tp-table.tp-pages3 .tp-giver-note { -webkit-line-clamp: 5; }

.tp-badge-val { display: inline-block; margin-left: 6px; padding: 4px 9px; border-radius: 999px; background: #5B4A86; color: #FFFFFF;
    font: 800 11px/1 var(--tp-sans); letter-spacing: 0.08em; text-transform: uppercase; vertical-align: 5px; }
.tp-go.tp-go-gen { background: #FFFFFF; border: 2px solid #4A3B6B; color: var(--tp-ink); }
.tp-go.tp-go-gen:hover:not(:disabled) { background: #F3F0FA; }

@media (min-width: 769px) {
    #unlock-sidebar.unlock-gifts:not(.unlock-collapsed) { width: 440px !important; box-shadow: -18px 0 40px -18px rgba(30, 20, 60, 0.35); border-radius: 14px; }
    #unlock-sidebar.unlock-gifts #unlock-full-content .p-4.text-center { padding-top: 10px; padding-bottom: 8px; }
    #unlock-sidebar.unlock-gifts #unlock-full-content .bg-gray-50 { display: flex; justify-content: center; align-items: center; gap: 10px; flex-wrap: wrap; padding: 8px 12px; }
    #unlock-sidebar.unlock-gifts #unlock-full-content .bg-gray-50 p { margin: 0 !important; }
}
@media (min-width: 1700px) {
    body:has(#unlock-sidebar.unlock-gifts:not(.hidden):not(.unlock-collapsed)) #editor-view { padding-right: 464px; }
}

#unlock-gift-handle { display: none; }
@media (min-width: 769px) {
    body:has(#unlock-sidebar.unlock-gifts:not(.hidden):not(.unlock-collapsed)) #unlock-gift-handle {
        display: grid; place-items: center; position: fixed; z-index: 51; right: calc(1rem + 440px); top: calc(50% + 34px); transform: translateY(-50%);
        width: 30px; height: 74px; padding: 0; border-radius: 12px 0 0 12px; border: 1.5px solid #E2D7C5; border-right: 0;
        background: #FFFFFF; color: #625A75; box-shadow: -6px 4px 14px rgba(30, 20, 60, 0.18); cursor: pointer; }
    body:has(.dm-season-bar):has(#unlock-sidebar.unlock-gifts:not(.hidden):not(.unlock-collapsed)) #unlock-gift-handle { top: calc(50% + 64px); }
    #unlock-gift-handle:hover { color: #2A2340; background: #FBF8F2; }
    #unlock-gift-handle:focus-visible { outline: 3px solid #E4A83B; outline-offset: 2px; }
    #unlock-gift-handle svg { width: 18px; height: 18px; }
}

.unlock-desktop-tab-chev { display: none; }
#unlock-sidebar.unlock-gifts .unlock-desktop-tab-chev { display: inline-flex; }
.unlock-desktop-tab-chev svg { width: 16px; height: 16px; }

.ug { --ug-ink: #2A2340; --ug-muted: #625A75; display: grid; gap: 6px; font-family: "Nunito", "Segoe UI", system-ui, sans-serif; color: var(--ug-ink); text-align: left; }
.ug-hard { position: relative; display: grid; grid-template-columns: 38px minmax(0, 1fr) auto 18px; gap: 4px 10px; align-items: center; width: 100%; margin-top: 4px;
    border: 1.5px solid #E8DCC4; background: #FFFFFF; border-radius: 12px; padding: 10px 12px; cursor: pointer; font: inherit; color: inherit; text-align: left; }
.ug-hard:hover { border-color: #D9C190; background: #FFFCF4; }
.ug-hard:focus-visible, .ug-btn:focus-visible, .ug-pic:focus-visible, .ug-simple button:focus-visible, .ug-swap:focus-visible { outline: 3px solid #E4A83B; outline-offset: 2px; }
.ug-hard-book { container-type: inline-size; display: block; }
.ug-hard-words { white-space: nowrap; min-width: 0; }
.ug-hard-words b { display: block; font-size: 16px; }
.ug-hard-words small { display: block; color: #6B6380; font-size: 12px; font-weight: 700; }
.ug-fav { position: absolute; top: -9px; left: 12px; font: 800 9.5px/1 "Nunito", sans-serif; letter-spacing: 0.08em; text-transform: uppercase; color: #8A6410; background: #FCEFCF;
    border: 1px solid #F0D79A; padding: 3px 7px; border-radius: 999px; }
.ug-hard-price { text-align: right; }
.ug-hard-price b { display: block; font-size: 19px; line-height: 1.1; }
.ug-hard-price small { color: #6B6380; font-size: 11.5px; }
.ug-go { font: 800 18px/1 "Nunito", sans-serif; color: #A16B0B; }

.ug-k { margin: 2px 0 -2px; text-align: center; font: 800 11px/1 "Nunito", sans-serif; letter-spacing: 0.2em; text-transform: uppercase; color: #6A627E; }
.ug-ed { position: relative; display: grid; grid-template-columns: var(--ug-pic, 178px) minmax(0, 1fr); gap: 4px 12px; align-items: start; border-radius: 14px; padding: 10px 11px; margin-top: 8px; }
.ug-pic { position: relative; display: block; width: 100%; padding: 0; border: 0; border-radius: 10px; overflow: hidden; background: none; cursor: zoom-in; }
.ug-pic:hover .tp-table { box-shadow: 0 0 0 2px #C08A1E; }
.ug-see { position: absolute; left: 50%; bottom: 5px; transform: translateX(-50%); z-index: 12; display: inline-flex; gap: 4px; align-items: center; white-space: nowrap;
    background: rgba(255, 255, 255, 0.95); color: #1F7C74; border-radius: 999px; padding: 4px 8px; font: 800 11px/1 "Nunito", sans-serif; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15); }
.ug-see svg { width: 13px; height: 13px; }

.ug-pic .tp-table > .tp-tag { top: 3%; bottom: auto; left: 2%; right: auto; }
.ug-words { align-self: center; display: grid; gap: 3px; }
.ug-ed h3 { margin: 0; font: 600 17px/1.2 "Lora", Georgia, serif; color: var(--ug-ink); }
.ug-price { margin: 0; font-size: 12.5px; color: var(--ug-muted); }
.ug-price b { font: 800 19px/1.2 "Nunito", sans-serif; color: var(--ug-ink); }
.ug-tag { margin: 0; font: italic 600 12.5px/1.3 "Lora", Georgia, serif; color: #5B4A86; }
.ug-tr .ug-tag { color: #6E4C0E; }
.ug-list { grid-column: 1 / -1; list-style: none; margin: 4px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 2px 10px; font-size: 12.5px; line-height: 1.3; }
.ug-list li { display: grid; grid-template-columns: 16px 1fr; gap: 5px; }
.ug-list svg { width: 16px; height: 16px; color: #1F7C74; margin-top: 1px; }

.ug-swap { display: grid; justify-items: start; width: max-content; max-width: 100%; margin: 0; padding: 0; border: 0; background: none; cursor: pointer; font: inherit; font-weight: 700; color: #6E4C0E; text-align: left; }
.ug-swap > span { grid-area: 1 / 1; text-decoration: underline; text-underline-offset: 2px; }
.ug-swap-room { visibility: hidden; }
.ug-one { grid-column: 1 / -1; display: flex; gap: 6px; align-items: center; margin: 4px 0 0; font: 700 12px/1.3 "Nunito", sans-serif; color: #5B4A86; }
.ug-one svg { flex: none; width: 17px; height: 17px; }
.ug-btn { grid-column: 1 / -1; margin-top: 8px; width: 100%; border-radius: 10px; font: 800 14.5px/1 "Nunito", sans-serif; padding: 11px 12px; border: 2px solid transparent; cursor: pointer; }

.ug-tr { border: 2.5px solid #E5A92E; background: linear-gradient(180deg, #FFF6DD 0%, #FFFCF4 70%); box-shadow: 0 12px 26px -16px rgba(150, 100, 10, 0.55); }
.ug-flag { position: absolute; top: -11px; left: 50%; transform: translateX(-50%); white-space: nowrap; background: #95600E; color: #FFFFFF;
    font: 800 10.5px/1 "Nunito", sans-serif; letter-spacing: 0.1em; text-transform: uppercase; padding: 5px 11px; border-radius: 999px; }
.ug-btn-hero { background: #E5A92E; color: #2A2340; font-size: 15.5px; padding: 13px 12px; box-shadow: 0 6px 14px -8px rgba(160, 110, 20, 0.8); }
.ug-btn-hero:hover { background: #D99A1F; }

.ug-gen { --ug-pic: 156px; border: 1.5px solid #CDBFE0; background: #FBF9FE; }
.ug-gen h3 { font-size: 16px; }
.ug-flag-gen { background: #5B4A86; }
.ug-btn-gen { background: #FFFFFF; border-color: #4A3B6B; color: #2A2340; }
.ug-btn-gen:hover { background: #F3F0FA; }
.ug-simple { display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap; font-size: 12.5px; color: #6A627E; margin-top: 2px; }
.ug-simple button { border: 1px solid #E3D9F5; background: #FFFFFF; border-radius: 9px; padding: 7px 10px; font: 700 12.5px/1 "Nunito", sans-serif; color: #3D3550; cursor: pointer; }
.ug-simple button:hover { background: #F7F3FD; }
.ug-simple b { margin-left: 4px; }
@media (max-width: 768px) {
    .ug-ed { grid-template-columns: 1fr; }
    .ug-tr, .ug-gen { --ug-pic: 100%; }
    .ug-gen .ug-pic { width: 86%; justify-self: center; }
    .ug-ed h3 { font-size: 20px; }
    .ug-gen h3 { font-size: 19px; }
    .ug-list { font-size: 14.5px; gap: 4px; grid-template-columns: 1fr; }
    .ug-price b { font-size: 22px; }
    .ug-simple { font-size: 14px; }
    .ug-simple button { font-size: 14px; padding: 10px 12px; }
}
