@import url('https://fonts.googleapis.com/css2?family=Prompt:wght@400;500;700&display=swap');

.tt-point-card {
    box-sizing: border-box;
    width: 100%;
    max-width: 1120px;
    margin-inline: auto;
    padding: clamp(12px, 2.4vw, 24px);
    color: #171717;
    background: #f7f8f9;
    font: 400 16px/1.6 Prompt, Tahoma, sans-serif;
    text-align: start;
}
.tt-point-card * { box-sizing: border-box; }
.tt-point-card .tt-point-cover {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    align-items: center;
    overflow: hidden;
    background: #cc0808;
    color: white;
    border-radius: 20px;
}
.tt-point-copy { padding: clamp(24px,4vw,48px); }
.tt-point-copy > span { font-size: .875em; font-weight: 500; }
.tt-point-card .tt-point-copy h2 {
    margin: 10px 0 14px;
    color: white;
    font: 700 clamp(28px,4vw,48px)/1.22 Prompt,Tahoma,sans-serif;
}
.tt-point-card .tt-point-copy p { margin: 0; color: white; }
.tt-point-card .tt-point-cover img {
    display: block;
    align-self: stretch;
    width: 100%;
    height: 100%;
    min-height: 0;
    max-height: 360px;
    aspect-ratio: 3/2;
    object-fit: cover;
    object-position: 50% 53%;
}
.tt-point-body, .tt-cashback-detail {
    display: grid;
    grid-template-columns: minmax(0,1.8fr) minmax(0,1fr);
    gap: 18px 22px;
    margin-top: 22px;
    align-items: start;
}
.tt-point-body { grid-template-columns: minmax(0,1fr); }
.tt-point-card .tt-point-panel, .tt-cashback-detail section {
    margin: 0;
    min-width: 0;
    padding: 12px 19px 18px;
    background: white;
    border: 1px solid #e4e4e4;
    border-radius: 12px;
}
.tt-point-card legend, .tt-cashback-detail h3 {
    width: auto;
    float: none;
    margin: 0;
    padding-inline-end: 8px;
    font: 700 19px/1.5 Prompt,Tahoma,sans-serif;
    color: #161616;
}
.tt-point-panel legend span {
    display: inline-grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #fff0f3;
    color: #c60000;
}
.tt-point-card label { display: block; font-weight: 500; }
.tt-point-card .tt-point-key {
    display: block;
    width: 100%;
    min-height: 46px;
    margin: 5px 0 14px;
    padding: 9px 12px;
    border: 1px solid #d9d9d9;
    border-radius: 10px;
    background: white;
    color: #171717;
    font: inherit;
}
.tt-point-card .tt-point-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .65em;
    min-height: 46px;
    padding: 8px 28px;
    border: 0;
    border-radius: 999px;
    background: #cc0808;
    color: white;
    text-decoration: none;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}
.tt-point-card :focus-visible { outline: 3px solid #941c31; outline-offset: 3px; }
.tt-point-card .tt-point-action:hover { background: #a80000; }
.tt-point-card .tt-point-result {
    margin: 18px 0 0;
    padding: 11px 15px;
    border: 1px solid #ffd6de;
    border-radius: 8px;
    background: #fff0f3;
}
.tt-point-choices { display: grid; gap: 6px; }
.tt-point-choices button { text-align: start; padding: 10px; color: #a40010; background: #fff4f5; font: inherit; border: 0; border-radius: 8px; cursor: pointer; }
.tt-cashback-detail section { overflow-wrap: anywhere; }
.tt-cashback-detail p { margin: 8px 0 0; }
.tt-cashback-detail strong { display: block; color: #c60000; font-size: 1.6rem; }
.tt-point-card .tt-cashback-detail ol {
    margin: 8px 0 0;
    padding: 0;
    counter-reset: tt-reference;
}
.tt-point-card .tt-cashback-detail ol > li {
    display: grid;
    grid-template-columns: 2.5ch minmax(0, 1fr);
    column-gap: .4em;
    margin: 0;
    padding: 0;
    list-style: none;
    counter-increment: tt-reference;
}
.tt-point-card .tt-cashback-detail ol > li::before {
    content: counter(tt-reference) ".";
    font-variant-numeric: tabular-nums;
}
@media (max-width: 700px) {
    .tt-point-card .tt-point-cover, .tt-point-body, .tt-cashback-detail { grid-template-columns: 1fr; }
    .tt-point-card .tt-point-cover img { height: auto; aspect-ratio: 2.3/1; }
    .tt-point-card .tt-point-action { width: 100%; }
}
.tt-suggest-wrap { position: relative; }
.tt-suggest-list {
    position: absolute; z-index: 10; inset-inline: 0; top: 100%;
    max-height: 16rem; overflow-y: auto; background: white;
    border: 1px solid #dedede; border-radius: 10px; box-shadow: 0 8px 20px #24111420;
}
.tt-suggest-list [role="option"] { padding: 10px 14px; cursor: pointer; overflow-wrap: anywhere; }
.tt-suggest-list [role="option"]:hover, .tt-suggest-list [aria-selected="true"] { background: #fff0f3; color: #a40010; }
.tt-suggest-status:not(:empty) { display: block; margin-bottom: .6em; }
