/* Additions required by the requested features. Existing design styles stay intact. */
.tt-lottery .tt-lottery-winners th:nth-child(2), .tt-lottery #tt-winners td:nth-child(2) { display:table-cell; }
.tt-lottery .tt-winner-name .sv_member { display:inline-flex; align-items:center; gap:5px; color:inherit; }
.tt-lottery .tt-winner-name .profile_img { display:inline-flex; flex:none; }
.tt-lottery .tt-winner-name .profile_img img { width:22px; height:22px; border-radius:50%; object-fit:cover; }
.tt-lottery .tt-winner-name .sv { text-align:left; }
.tt-lottery .tt-result-covered > * { visibility:hidden; }
.tt-lottery .tt-lottery-history .tt-section-heading .tt-button { flex:none; min-height:38px; padding:8px 14px; font-size:13px; }
.tt-exchange .tt-company-option { min-width:0; text-align:center; }
.tt-exchange .tt-company-option .tt-company { display:block; }
.tt-exchange .tt-company-option > .tt-company-details { margin-top:10px; }
.tt-exchange .tt-company-option > .tt-company-details strong { color:#173b60; font-size:16px; font-weight:600; line-height:1.25; }
.tt-exchange .tt-company-option > .tt-company-details a { color:inherit; text-decoration:underline; text-underline-offset:3px; }
.tt-exchange .tt-company-option > .tt-company-details small { color:#435a75; font-size:11px; line-height:1.3; overflow-wrap:anywhere; }
@media(max-width:767px) { .tt-exchange .tt-company-option > .tt-company-details strong { font-size:15px; } }

/* October 13 presentation refinement. */
.tt-exchange .tt-company-thumbnail { aspect-ratio:4/3; }
.tt-exchange .tt-company-option > .tt-company-details { background:none; padding:6px 0 0; gap:2px; }
.tt-exchange .tt-company-option > .tt-company-details strong,.tt-exchange .tt-company-option > .tt-company-details small { color:#fff; }
.tt-exchange .tt-company-option > .tt-company-details a { display:inline-flex; align-items:center; justify-content:center; gap:6px; text-decoration:none; }
.tt-exchange .tt-company-option > .tt-company-details a::after { content:''; width:14px; height:14px; flex:0 0 14px; background:currentColor; -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M14 3h7v7m0-7L10 14M10 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-5'/%3E%3C/svg%3E") center/contain no-repeat; mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M14 3h7v7m0-7L10 14M10 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-5'/%3E%3C/svg%3E") center/contain no-repeat; }
.tt-lottery .tt-table th,.tt-lottery .tt-lottery-history .tt-table th,.tt-exchange .tt-table th { background:#2294d5; color:#fff; font-size:14px; border-color:#2294d5; }
.tt-lottery .tt-table-scroll,.tt-exchange .tt-table-scroll { border-color:#2294d5; }
.tt-lottery .tt-lottery-winners .tt-section-heading { justify-content:flex-start; align-items:center; gap:12px; }
.tt-lottery #tt-winners-date { color:#fff; font-size:16px; font-weight:600; }
.tt-lottery .tt-lottery-guide .tt-rules { padding-top:14px; padding-bottom:14px; }
.tt-lottery .tt-scratch-card .tt-ticket-result { background:#e0e8f0; border-color:#e0e8f0; box-shadow:none; }
.tt-lottery .tt-ticket-result-intro { color:#fff; }
.tt-lottery .tt-ticket-result-intro + p { color:#fff; }
.tt-lottery .tt-ticket-result:has(.tt-ticket-result-intro) { background:linear-gradient(135deg,#c0c2c5,#777c82 38%,#b1b4b7 65%,#72777e); border-color:#aaa; }
.tt-lottery .tt-scratch-motion { top:31%; }
@media(max-width:767px) {
 .tt-lottery .tt-table th,.tt-exchange .tt-table th { font-size:13px; }
 .tt-lottery .tt-lottery-prizes .tt-table th { font-size:12px; }
 .tt-lottery #tt-winners-date { font-size:14px; }
 .tt-lottery .tt-lottery-guide .tt-rules { padding-top:12px; padding-bottom:12px; }
}

.tt-lottery .tt-lottery-guide .tt-rules { padding-top:14px; padding-bottom:14px; }
@media(max-width:767px) { .tt-lottery .tt-lottery-guide .tt-rules { padding-top:12px; padding-bottom:12px; } }

.tt-lottery .tt-ticket-result .tt-ticket-result-intro { color:#fff; }

.tt-lottery .tt-lottery-guide > .tt-lottery-steps { margin-bottom:18px; }

.tt-lottery .tt-purchase-wait-box { background:#0c3159; border-color:#35618d; }
.tt-lottery .tt-purchase-wait-box > span { color:#f5f8ff; }

.tt-lottery .tt-stats strong { font-size:28px; }
@media(max-width:767px) { .tt-lottery .tt-stats strong { font-size:18px; } }

.tt-lottery .tt-rules { background:#0c3159; border-color:#35618d; color:#fff; }
.tt-lottery .tt-rules b { color:#fff23c; }
.tt-lottery .tt-rules #tt-qual-rule { color:#fff; font-weight:400; }
.tt-lottery .tt-rules #tt-qual-rule .tt-rule-emphasis { color:#fff23c; font-weight:700; }

.tt-lottery .tt-ticket-benefit-note { margin:14px 0 0; padding-left:17px; list-style:disc outside; color:#b5cee6; font-family:inherit; font-size:12px; line-height:1.45; word-break:keep-all; overflow-wrap:break-word; }
.tt-lottery .tt-ticket-benefit-note li { display:list-item; margin:3px 0; }
@media(max-width:767px) { .tt-lottery .tt-ticket-benefit-note { font-size:11px; } }

.tt-lottery .tt-ticket-benefit-note { font-size:14px; }
@media(max-width:767px) { .tt-lottery .tt-ticket-benefit-note { font-size:13px; } }

.tt-lottery .tt-ticket-brand img { width:120px; height:auto; max-width:100%; }
@media(max-width:767px) { .tt-lottery .tt-ticket-brand img { width:75px; height:auto; } }

.tt-lottery .tt-lottery-history > .tt-section-heading { margin-bottom:4px; }
.tt-lottery .tt-lottery-history .tt-history-intro { margin-top:0; line-height:1.35; }
.tt-lottery .tt-lottery-history .tt-section-heading .tt-button { min-height:32px; padding:5px 14px; border-radius:999px; line-height:1.4; }

.tt-lottery .tt-table th,.tt-lottery .tt-lottery-history .tt-table th,.tt-exchange .tt-table th { background:#06274c; border-color:#06274c; color:#fff; }
.tt-lottery .tt-table-scroll,.tt-exchange .tt-table-scroll { border-color:#35618d; }

.tt-lottery .tt-purchase-wait-box .tt-purchase-countdown { font-size:14px; }
@media(max-width:767px) { .tt-lottery .tt-purchase-wait-box .tt-purchase-countdown { font-size:12px; } }

.tt-lottery .tt-ticket-result .tt-ticket-result-intro { font-weight:700; }
.tt-lottery .tt-ticket-result .tt-ticket-result-intro + p { font-weight:500; }

.tt-lottery .tt-ticket-result .tt-ticket-result-intro { font-weight:600; }

.tt-lottery .tt-scratch-click-label { display:inline-block; background:#f87728; color:#001a3e; border-radius:999px; padding:4px 14px; margin-top:6px; font-size:12px; font-weight:700; line-height:1.2; }
.tt-lottery .tt-ticket-result .tt-ticket-result-intro { font-size:18px; line-height:1.2; margin-top:6px; }
.tt-lottery .tt-ticket-result .tt-scratch-click-label + p { color:#fff; font-size:12px; font-weight:500; line-height:1.25; margin-top:6px; }
.tt-lottery .tt-scratch-motion { top:26%; }
@media(max-width:767px) { .tt-lottery .tt-ticket-result .tt-ticket-result-intro { font-size:11px; margin-top:4px; } .tt-lottery .tt-scratch-click-label { font-size:9px; padding:3px 9px; margin-top:4px; } .tt-lottery .tt-ticket-result .tt-scratch-click-label + p { font-size:8px; margin-top:4px; } }

.tt-lottery .tt-lottery-results .tt-section-heading { margin-bottom:10px; }
.tt-lottery .tt-lottery-history .tt-history-intro { margin-bottom:10px; }
/* Use the same visible 20px gap before each table or empty-state box. */
.tt-lottery .tt-lottery-prizes > .tt-section-heading { min-height:0; margin-bottom:20px; }
.tt-lottery .tt-lottery-winners > .tt-section-heading,
.tt-lottery .tt-lottery-history > .tt-section-heading { margin-bottom:0; }
.tt-lottery .tt-winners-intro,
.tt-lottery .tt-lottery-history .tt-history-intro { margin-top:0; margin-bottom:20px; line-height:1.35; }


.tt-lottery .tt-scratch-click-label { color:#fff; }
