:root {
    --ki-red: #df2333;
    --ki-red-strong: #c81727;
    --ki-red-soft: #fff0f1;
    --ki-ink: #202126;
    --ki-ink-2: #393b43;
    --ki-muted: #747781;
    --ki-line: #e4e5e9;
    --ki-line-dark: #d7d8dd;
    --ki-canvas: #f5f5f7;
    --ki-surface: #fff;
    --ki-success: #0c9a62;
    --ki-gold: #9a710e;
    --ki-shadow: 0 4px 16px rgb(22 24 31 / 7%);
}

* {
    box-sizing: border-box;
}

html {
    min-width: 320px;
    background: var(--ki-canvas);
    scroll-behavior: smooth;
    scrollbar-gutter: stable;
}

body.ki-member-page {
    min-width: 320px;
    margin: 0;
    overflow-x: clip;
    color: var(--ki-ink);
    background: var(--ki-canvas);
    font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", "BIZ UDPGothic", Meiryo, sans-serif;
    font-size: 14px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

.ki-member-page a {
    color: inherit;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
}

.ki-member-page button,
.ki-member-page input {
    font: inherit;
}

.ki-member-page button,
.ki-member-page a {
    touch-action: manipulation;
}

.ki-member-page button {
    cursor: pointer;
}

.ki-member-page :focus-visible {
    outline: 3px solid rgb(223 35 51 / 28%);
    outline-offset: 2px;
}

.ki-site-frame {
    min-height: 100vh;
    padding-bottom: calc(76px + env(safe-area-inset-bottom));
}

.ki-global-header {
    position: sticky;
    z-index: 50;
    top: 0;
    height: 58px;
    color: var(--ki-ink);
    background: rgb(255 255 255 / 96%);
    border-bottom: 1px solid var(--ki-line);
    backdrop-filter: blur(14px);
}

.ki-global-header-inner {
    width: min(100%, 1180px);
    height: 100%;
    margin: 0 auto;
    padding: 0 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.ki-brand {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    font-size: 17px;
    font-weight: 900;
    letter-spacing: -.045em;
}

.ki-brand > span:last-child b {
    color: var(--ki-red);
}

.ki-brand-symbol {
    width: 25px;
    height: 25px;
    display: inline-flex;
    align-items: flex-end;
    justify-content: center;
    gap: 2px;
    overflow: hidden;
    background: var(--ki-red);
    transform: skew(-7deg);
}

.ki-brand-symbol i {
    width: 4px;
    display: block;
    background: white;
    transform: skew(7deg);
}

.ki-brand-symbol i:nth-child(1) { height: 10px; }
.ki-brand-symbol i:nth-child(2) { height: 17px; }
.ki-brand-symbol i:nth-child(3) { height: 13px; }

.ki-desktop-top-nav,
.ki-header-account,
.ki-desktop-sidebar,
.ki-desktop-aside {
    display: none;
}

.ki-notice-button {
    position: relative;
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
}

.ki-notice-button > svg {
    width: 23px;
    height: 23px;
    stroke: var(--ki-ink);
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.ki-notice-button i,
.ki-welcome-line > a i {
    position: absolute;
    top: 2px;
    right: 1px;
    min-width: 17px;
    height: 17px;
    display: grid;
    place-items: center;
    color: white;
    background: var(--ki-red);
    border: 2px solid white;
    border-radius: 50%;
    font-size: 9px;
    font-style: normal;
    font-weight: 900;
    line-height: 1;
}

.ki-layout {
    width: min(100%, 1180px);
    margin: 0 auto;
}

.ki-main-content {
    width: min(100%, 720px);
    min-height: calc(100vh - 58px);
    margin: 0 auto;
    padding: 18px 12px 42px;
}

.ki-flash {
    margin-bottom: 13px;
    padding: 11px 13px;
    border: 1px solid;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 800;
}

.ki-flash.is-success {
    color: #08714a;
    background: #eaf9f2;
    border-color: #bcebd8;
}

.ki-flash.is-error {
    color: #a41220;
    background: #fff0f1;
    border-color: #f0bec3;
}

.ki-welcome-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 2px 12px;
}

.ki-welcome-line > div {
    display: flex;
    flex-direction: column;
}

.ki-welcome-line > div span {
    color: var(--ki-muted);
    font-size: 11px;
    font-weight: 700;
}

.ki-welcome-line > div strong {
    font-size: 18px;
    letter-spacing: -.03em;
}

.ki-welcome-line > a {
    position: relative;
    width: 40px;
    height: 40px;
    display: none;
    place-items: center;
    background: white;
    border: 1px solid var(--ki-line);
    border-radius: 50%;
}

.ki-wallet-card {
    position: relative;
    min-height: 120px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px;
    color: white;
    background:
        linear-gradient(115deg, rgb(255 255 255 / 7%) 0 14%, transparent 14% 75%, rgb(255 255 255 / 5%) 75%),
        linear-gradient(135deg, #2f3036 0%, #17181d 67%, #111216 100%);
    border: 1px solid rgb(255 255 255 / 7%);
    border-radius: 8px;
    box-shadow: 0 8px 22px rgb(24 25 31 / 16%);
}

.ki-wallet-card::after {
    content: "";
    position: absolute;
    right: -24px;
    bottom: -62px;
    width: 150px;
    height: 150px;
    border: 20px solid rgb(223 35 51 / 24%);
    border-radius: 50%;
}

.ki-wallet-balance {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
}

.ki-wallet-balance > span {
    margin-bottom: 2px;
    color: #d8d9df;
    font-size: 11px;
    font-weight: 700;
}

.ki-wallet-balance strong {
    font-size: clamp(29px, 8vw, 37px);
    line-height: 1.2;
    letter-spacing: -.04em;
}

.ki-wallet-balance strong small {
    font-size: 13px;
    letter-spacing: 0;
}

.ki-wallet-balance em {
    margin-top: 4px;
    color: #aeb0b8;
    font-size: 10px;
    font-style: normal;
}

.ki-wallet-card > a {
    position: relative;
    z-index: 1;
    min-width: 128px;
    min-height: 46px;
    padding: 0 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    color: white;
    background: var(--ki-red);
    border: 1px solid rgb(255 255 255 / 14%);
    border-radius: 5px;
    box-shadow: inset 0 -2px 0 rgb(96 0 9 / 24%);
    font-size: 13px;
    font-weight: 900;
}

.ki-wallet-card > a > span {
    width: 20px;
    height: 20px;
    display: grid;
    place-items: center;
    border: 1px solid rgb(255 255 255 / 55%);
    border-radius: 4px;
    font-size: 11px;
}

.ki-quick-actions {
    margin-top: 12px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.ki-quick-actions > a {
    min-width: 0;
    min-height: 68px;
    padding: 10px;
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr) 14px;
    align-items: center;
    gap: 8px;
    background: white;
    border: 1px solid var(--ki-line);
    border-radius: 6px;
}

.ki-quick-icon {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    color: white;
    border-radius: 5px;
    font-size: 15px;
    font-weight: 900;
}

.ki-quick-icon.is-red { background: var(--ki-red); }
.ki-quick-icon.is-dark { background: #35363d; }

.ki-quick-actions > a > span:nth-child(2) {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.ki-quick-actions b {
    overflow: hidden;
    font-size: 13px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ki-quick-actions small {
    overflow: hidden;
    color: var(--ki-muted);
    font-size: 9px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ki-quick-actions > a > i {
    color: #a8aab1;
    font-size: 19px;
    font-style: normal;
}

.ki-notice-strip {
    min-height: 58px;
    margin-top: 12px;
    padding: 10px 12px;
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr) 16px;
    align-items: center;
    gap: 8px;
    background: #fff9eb;
    border: 1px solid #f1dfad;
    border-radius: 5px;
    scroll-margin-top: 76px;
}

.ki-notice-strip > span {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    color: #916c0b;
    background: #ffeab0;
    border-radius: 50%;
    font-weight: 900;
}

.ki-notice-strip > div {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.ki-notice-strip small {
    color: #8b6a13;
    font-size: 9px;
    font-weight: 700;
}

.ki-notice-strip b {
    overflow: hidden;
    font-size: 12px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ki-notice-strip > i {
    color: #a99051;
    font-size: 19px;
    font-style: normal;
}

.ki-content-section {
    margin-top: 24px;
}

.ki-section-head {
    margin: 0 2px 10px;
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 12px;
}

.ki-section-head > div {
    display: flex;
    flex-direction: column;
}

.ki-section-head span {
    color: var(--ki-muted);
    font-size: 10px;
    font-weight: 700;
}

.ki-section-head h2 {
    margin: 0;
    font-size: 20px;
    letter-spacing: -.04em;
}

.ki-section-head > a {
    padding: 7px 0;
    color: var(--ki-red);
    font-size: 11px;
    font-weight: 900;
}

.ki-section-head > a i {
    font-size: 15px;
    font-style: normal;
}

.ki-home-product-list,
.ki-product-grid,
.ki-active-product-list {
    display: grid;
    gap: 10px;
}

.ki-product-card {
    display: grid;
    grid-template-columns: 114px minmax(0, 1fr);
    overflow: hidden;
    background: white;
    border: 1px solid var(--ki-line);
    border-radius: 6px;
    box-shadow: 0 2px 8px rgb(29 31 39 / 4%);
}

.ki-product-art {
    position: relative;
    min-height: 174px;
    overflow: hidden;
    padding: 11px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: white;
    isolation: isolate;
}

.ki-product-art::before,
.ki-product-detail-visual::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: -35px;
    right: -45px;
    width: 135px;
    height: 135px;
    border: 22px solid rgb(255 255 255 / 9%);
    border-radius: 50%;
}

.ki-product-art::after,
.ki-product-detail-visual::after {
    content: "";
    position: absolute;
    z-index: -1;
    right: -48px;
    bottom: -28px;
    width: 125px;
    height: 86px;
    background: rgb(0 0 0 / 18%);
    transform: rotate(-24deg);
}

.ki-product-art.is-ink,
.ki-product-detail-visual.is-ink { background: linear-gradient(150deg, #383a42 0%, #17181d 76%); }
.ki-product-art.is-red,
.ki-product-detail-visual.is-red { background: linear-gradient(150deg, #ee3343 0%, #a80e1c 80%); }
.ki-product-art.is-navy,
.ki-product-detail-visual.is-navy { background: linear-gradient(150deg, #263856 0%, #111927 80%); }
.ki-product-art.is-gold,
.ki-product-detail-visual.is-gold { background: linear-gradient(150deg, #8c641f 0%, #30240f 80%); }

.ki-product-art.has-product-image,
.ki-product-detail-visual.has-product-image {
    background-image:
        linear-gradient(100deg, rgba(5, 13, 23, .78), rgba(5, 13, 23, .12)),
        var(--ki-product-image) !important;
    background-position: center;
    background-size: cover;
}

.ki-product-art.has-product-image .ki-race-lines {
    display: none;
}

.ki-product-event-badge {
    position: absolute;
    z-index: 3;
    right: 12px;
    bottom: 10px;
    max-width: calc(100% - 24px);
    overflow: hidden;
    padding: 5px 8px;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .36);
    border-radius: 999px;
    background: rgba(5, 13, 23, .72);
    font-size: .62rem;
    font-style: normal;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
    backdrop-filter: blur(8px);
}

.ki-product-detail-visual .ki-product-event-badge {
    right: 16px;
    bottom: 14px;
}

.ki-product-badge {
    width: fit-content;
    padding: 3px 6px;
    color: #292a30;
    background: white;
    border-radius: 2px;
    font-size: 8px;
    font-weight: 900;
}

.ki-race-lines {
    position: absolute;
    top: 56px;
    right: 8px;
    left: 8px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    transform: skewY(-10deg);
    opacity: .72;
}

.ki-race-lines i {
    height: 4px;
    display: block;
    border-radius: 1px;
}

.ki-race-lines i:nth-child(1) { width: 70%; background: white; }
.ki-race-lines i:nth-child(2) { width: 82%; margin-left: 9%; background: #25262c; }
.ki-race-lines i:nth-child(3) { width: 64%; margin-left: 25%; background: #ef3340; border: 1px solid rgb(255 255 255 / 26%); }
.ki-race-lines i:nth-child(4) { width: 78%; margin-left: 7%; background: #397bd9; }
.ki-race-lines i:nth-child(5) { width: 54%; margin-left: 34%; background: #f4d529; }

.ki-product-art-copy {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
}

.ki-product-art-copy small {
    font-size: 7px;
    font-weight: 800;
    letter-spacing: .08em;
    opacity: .78;
}

.ki-product-art-copy b {
    color: #fff;
    font-size: 15px;
    line-height: 1.25;
    letter-spacing: -.04em;
}

.ki-product-info {
    min-width: 0;
    padding: 13px 12px 12px;
    display: flex;
    flex-direction: column;
}

.ki-product-status {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 7px;
}

.ki-product-status > span {
    color: var(--ki-muted);
    font-size: 9px;
    font-weight: 700;
    white-space: nowrap;
}

.ki-product-status > span:first-child {
    padding: 2px 5px;
    border: 1px solid;
    border-radius: 2px;
}

.ki-product-status .is-selling {
    color: var(--ki-success);
    background: #eaf9f2;
    border-color: #bcebd8;
}

.ki-product-status .is-purchased {
    color: #b11a28;
    background: var(--ki-red-soft);
    border-color: #f1bec3;
}

.ki-product-status .is-closed {
    color: #686b74;
    background: #f2f2f4;
    border-color: #dedfe3;
}

.ki-product-info h2 {
    margin: 8px 0 2px;
    font-size: 15px;
    line-height: 1.35;
    letter-spacing: -.03em;
}

.ki-product-info > p {
    margin: 0;
    color: var(--ki-muted);
    font-size: 9px;
    line-height: 1.5;
}

.ki-product-meta {
    margin-top: auto;
    padding-top: 10px;
    display: flex;
    align-items: end;
    justify-content: space-between;
}

.ki-product-meta > span {
    color: var(--ki-muted);
    font-size: 9px;
    font-weight: 700;
}

.ki-product-meta strong {
    font-size: 17px;
}

.ki-product-meta strong small {
    font-size: 10px;
}

.ki-primary-compact {
    width: 100%;
    min-height: 35px;
    margin-top: 8px;
    padding: 0 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    color: white !important;
    background: var(--ki-red);
    border-radius: 4px;
    font-size: 10px;
    font-weight: 900;
}

.ki-primary-compact > span {
    font-size: 17px;
}

.ki-active-product-card {
    overflow: hidden;
    padding: 14px;
    background: white;
    border: 1px solid var(--ki-line);
    border-left: 4px solid var(--ki-red);
    border-radius: 6px;
    box-shadow: var(--ki-shadow);
}

.ki-active-product-card header {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.ki-active-product-card header span {
    padding: 2px 6px;
    color: #b11a28;
    background: var(--ki-red-soft);
    border-radius: 3px;
    font-size: 9px;
    font-weight: 900;
}

.ki-active-product-card header time {
    color: var(--ki-muted);
    font-size: 9px;
    font-weight: 700;
}

.ki-active-product-card h3 {
    margin: 9px 0 10px;
    font-size: 16px;
}

.ki-progress-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
}

.ki-progress-row > span {
    height: 7px;
    overflow: hidden;
    background: #ececef;
    border-radius: 8px;
}

.ki-progress-row > span i {
    height: 100%;
    display: block;
    background: var(--ki-red);
    border-radius: inherit;
}

.ki-progress-row b {
    font-size: 10px;
}

.ki-next-race {
    margin-top: 11px;
    padding: 10px 11px;
    display: flex;
    flex-direction: column;
    background: #f7f7f8;
    border-radius: 4px;
}

.ki-next-race span {
    color: var(--ki-muted);
    font-size: 8px;
    font-weight: 800;
}

.ki-next-race strong {
    margin-top: 2px;
    font-size: 12px;
}

.ki-active-product-card > a {
    margin-top: 10px;
    display: flex;
    justify-content: flex-end;
    color: var(--ki-red);
    font-size: 10px;
    font-weight: 900;
}

.ki-empty-state {
    min-height: 145px;
    padding: 24px;
    display: grid;
    place-items: center;
    align-content: center;
    text-align: center;
    background: white;
    border: 1px solid var(--ki-line);
    border-radius: 6px;
}

.ki-empty-state.is-large {
    min-height: 260px;
}

.ki-empty-state > span {
    width: 42px;
    height: 42px;
    margin-bottom: 9px;
    display: grid;
    place-items: center;
    color: white;
    background: #3a3b42;
    border-radius: 50%;
    font-weight: 900;
}

.ki-empty-state strong {
    font-size: 14px;
}

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

.ki-performance-list {
    overflow: hidden;
    background: white;
    border: 1px solid var(--ki-line);
    border-radius: 6px;
}

.ki-performance-list article {
    min-height: 66px;
    padding: 10px 12px;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid var(--ki-line);
}

.ki-performance-list article:last-child {
    border-bottom: 0;
}

.ki-hit-chip {
    padding: 3px 6px;
    color: white;
    background: var(--ki-red);
    border-radius: 3px;
    font-size: 9px;
    font-weight: 900;
}

.ki-performance-list article > div {
    display: flex;
    flex-direction: column;
}

.ki-performance-list article > div b {
    font-size: 12px;
}

.ki-performance-list article > div small {
    color: var(--ki-muted);
    font-size: 9px;
}

.ki-performance-list article > strong {
    color: var(--ki-red);
    font-size: 13px;
}

.ki-support-card {
    min-height: 78px;
    margin-top: 18px;
    padding: 13px 15px;
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) 18px;
    align-items: center;
    gap: 11px;
    background: white;
    border: 1px solid var(--ki-line);
    border-left: 3px solid #19ae6f;
    border-radius: 5px;
}

.ki-support-card > span {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    color: white;
    background: #19ae6f;
    border-radius: 50%;
    font-size: 18px;
    font-weight: 900;
}

.ki-support-card > div {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.ki-support-card strong { font-size: 13px; }
.ki-support-card p { margin: 1px 0 0; color: var(--ki-muted); font-size: 9px; }
.ki-support-card > i { color: #9b9da5; font-size: 20px; font-style: normal; }

.ki-page-title {
    margin: 2px 2px 18px;
}

.ki-page-title h1 {
    margin: 0;
    font-size: 24px;
    line-height: 1.3;
    letter-spacing: -.05em;
}

.ki-page-title p {
    margin: 4px 0 0;
    color: var(--ki-muted);
    font-size: 11px;
}

.ki-back-link {
    margin: 0 2px 14px;
    display: inline-flex;
    color: var(--ki-red) !important;
    font-size: 11px;
    font-weight: 900;
}

.ki-date-rail {
    margin: 0 -12px;
    padding: 0 12px 4px;
    display: grid;
    grid-auto-columns: 60px;
    grid-auto-flow: column;
    gap: 6px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    scroll-snap-type: x proximity;
}

.ki-date-rail::-webkit-scrollbar { display: none; }

.ki-date-rail a {
    height: 69px;
    padding: 6px 2px;
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: 15px 1fr;
    align-items: center;
    text-align: center;
    background: white;
    border: 1px solid var(--ki-line);
    border-radius: 5px;
    scroll-snap-align: start;
}

.ki-date-rail small {
    grid-column: 1 / 3;
    color: var(--ki-muted);
    font-size: 8px;
    font-weight: 700;
}

.ki-date-rail strong {
    justify-self: end;
    font-size: 22px;
    line-height: 1;
}

.ki-date-rail span {
    align-self: end;
    justify-self: start;
    margin: 0 0 6px 2px;
    color: var(--ki-muted);
    font-size: 9px;
}

.ki-date-rail a.is-selected {
    color: white;
    background: var(--ki-red);
    border-color: var(--ki-red);
    box-shadow: 0 4px 10px rgb(223 35 51 / 18%);
}

.ki-date-rail a.is-selected small,
.ki-date-rail a.is-selected span {
    color: rgb(255 255 255 / 82%);
}

.ki-result-line {
    margin: 19px 2px 9px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.ki-result-line b { font-size: 15px; }
.ki-result-line span { color: var(--ki-muted); font-size: 10px; }

.ki-product-detail {
    overflow: hidden;
    background: white;
    border: 1px solid var(--ki-line);
    border-radius: 7px;
    box-shadow: var(--ki-shadow);
}

.ki-product-detail-visual {
    position: relative;
    min-height: 210px;
    overflow: hidden;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    color: white;
    isolation: isolate;
}

.ki-product-detail-visual > span {
    position: absolute;
    top: 18px;
    left: 18px;
    padding: 4px 7px;
    color: var(--ki-ink);
    background: white;
    border-radius: 2px;
    font-size: 9px;
    font-weight: 900;
}

.ki-product-detail-visual small {
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .08em;
    opacity: .76;
}

.ki-product-detail-visual strong {
    font-size: 26px;
    line-height: 1.25;
    letter-spacing: -.05em;
}

.ki-product-detail-body {
    padding: 18px 16px;
}

.ki-detail-state {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ki-detail-state span {
    padding: 3px 7px;
    border: 1px solid;
    border-radius: 3px;
    font-size: 9px;
    font-weight: 900;
}

.ki-detail-state .is-selling {
    color: var(--ki-success);
    background: #eaf9f2;
    border-color: #bcebd8;
}

.ki-detail-state .is-purchased {
    color: #b11a28;
    background: var(--ki-red-soft);
    border-color: #f1bec3;
}

.ki-detail-state .is-closed {
    color: #686b74;
    background: #f2f2f4;
    border-color: #dedfe3;
}

.ki-detail-state em {
    color: var(--ki-muted);
    font-size: 10px;
    font-style: normal;
    font-weight: 700;
}

.ki-product-detail-body h1 {
    margin: 12px 0 6px;
    font-size: 24px;
    line-height: 1.32;
    letter-spacing: -.05em;
}

.ki-product-detail-body > p {
    margin: 0;
    color: var(--ki-muted);
    font-size: 11px;
    line-height: 1.8;
}

.ki-product-facts,
.ki-order-summary,
.ki-bank-instructions {
    margin: 16px 0 0;
    border-top: 1px solid var(--ki-line);
}

.ki-product-facts > div,
.ki-order-summary > div,
.ki-bank-instructions > div {
    min-height: 45px;
    display: grid;
    grid-template-columns: minmax(100px, .75fr) 1fr;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid var(--ki-line);
}

.ki-product-facts dt,
.ki-order-summary dt,
.ki-bank-instructions dt {
    color: var(--ki-muted);
    font-size: 10px;
    font-weight: 700;
}

.ki-product-facts dd,
.ki-order-summary dd,
.ki-bank-instructions dd {
    margin: 0;
    text-align: right;
    font-size: 11px;
    font-weight: 900;
}

.ki-order-summary .is-bonus {
    color: var(--ki-red);
}

.ki-slot-panel,
.ki-purchase-panel,
.ki-status-card,
.ki-form-card,
.ki-limited-offer {
    margin-top: 12px;
    padding: 17px 14px;
    background: white;
    border: 1px solid var(--ki-line);
    border-radius: 6px;
}

.ki-slot-panel > header {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 10px;
    margin-bottom: 12px;
}

.ki-slot-panel > header div {
    display: flex;
    flex-direction: column;
}

.ki-slot-panel > header span {
    color: var(--ki-muted);
    font-size: 9px;
    font-weight: 700;
}

.ki-slot-panel > header h2 {
    margin: 0;
    font-size: 18px;
}

.ki-slot-panel > header > b {
    color: var(--ki-red);
    font-size: 11px;
}

.ki-slot-list {
    display: grid;
    gap: 7px;
}

.ki-slot-list article {
    min-height: 62px;
    padding: 9px 10px;
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr) auto;
    align-items: center;
    gap: 9px;
    background: #f7f7f8;
    border: 1px solid var(--ki-line);
    border-radius: 5px;
}

.ki-slot-list article > span {
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    color: white;
    background: #777982;
    border-radius: 50%;
    font-size: 12px;
    font-weight: 900;
}

.ki-slot-list article.is-published > span {
    background: var(--ki-red);
}

.ki-slot-list article > div {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.ki-slot-list article small {
    color: var(--ki-muted);
    font-size: 8px;
    font-weight: 700;
}

.ki-slot-list article strong {
    overflow: hidden;
    font-size: 11px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ki-slot-list article time {
    color: var(--ki-muted);
    font-size: 9px;
}

.ki-purchase-panel form > div:first-child {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 10px;
}

.ki-purchase-panel form > div:first-child > span {
    color: var(--ki-muted);
    font-size: 10px;
}

.ki-purchase-panel form > div:first-child strong {
    font-size: 25px;
}

.ki-purchase-panel form > div:first-child strong small {
    font-size: 11px;
}

.ki-big-primary {
    width: 100%;
    min-height: 48px;
    padding: 0 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: white !important;
    background: var(--ki-red);
    border: 0;
    border-radius: 5px;
    box-shadow: inset 0 -2px 0 rgb(96 0 9 / 24%);
    font-size: 13px;
    font-weight: 900;
}

.ki-big-primary:hover {
    background: var(--ki-red-strong);
}

.ki-big-primary > span {
    font-size: 18px;
}

.ki-agreement {
    margin: 15px 0 12px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    color: #555861;
    font-size: 10px;
}

.ki-agreement input {
    width: 17px;
    height: 17px;
    margin: 0;
    accent-color: var(--ki-red);
}

.ki-agreement a {
    color: var(--ki-red);
    font-weight: 900;
    text-decoration: underline;
}

.ki-insufficient-note,
.ki-config-note {
    margin: 13px 0;
    padding: 9px 10px;
    color: #8b6811;
    background: #fff8e7;
    border: 1px solid #f0deb0;
    border-radius: 4px;
    font-size: 10px;
}

.ki-no-sale {
    min-height: 130px;
    display: grid;
    place-items: center;
    align-content: center;
    text-align: center;
}

.ki-no-sale strong { font-size: 15px; }
.ki-no-sale p { margin: 5px 0 0; color: var(--ki-muted); font-size: 10px; }

.ki-purchase-suspended {
  margin: 0 0 14px;
  padding: 14px 16px;
  border: 1px solid #efbbb7;
  border-left: 5px solid #d7473f;
  border-radius: 10px;
  background: #fff7f6;
}

.ki-purchase-suspended strong {
  display: block;
  color: #a72f29;
  font-size: 14px;
}

.ki-purchase-suspended p {
  margin: 5px 0 0;
  color: var(--ki-muted);
  font-size: 11px;
  line-height: 1.7;
}

.ki-big-primary:disabled {
  cursor: not-allowed;
  filter: grayscale(0.7);
  opacity: 0.48;
}

.ki-balance-summary {
    min-height: 96px;
    margin-bottom: 12px;
    padding: 18px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: white;
    background: linear-gradient(135deg, #33343b, #18191e);
    border-radius: 7px;
}

.ki-balance-summary > span {
    color: #d5d6db;
    font-size: 11px;
    font-weight: 700;
}

.ki-balance-summary strong {
    font-size: 28px;
}

.ki-balance-summary small {
    font-size: 12px;
}

.ki-payment-form {
    display: grid;
    gap: 10px;
}

.ki-payment-form .ki-form-card {
    margin-top: 0;
}

.ki-checkout-steps {
    position: relative;
    margin: 0 0 12px;
    padding: 13px 10px 11px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    list-style: none;
    background: white;
    border: 1px solid var(--ki-line);
    border-radius: 6px;
}

.ki-checkout-steps::before {
    content: "";
    position: absolute;
    top: 27px;
    right: calc(16.666% + 14px);
    left: calc(16.666% + 14px);
    height: 2px;
    background: var(--ki-line-dark);
}

.ki-checkout-steps li {
    position: relative;
    z-index: 1;
    min-width: 0;
    display: grid;
    justify-items: center;
    gap: 5px;
    color: #9699a2;
    text-align: center;
}

.ki-checkout-steps li > span {
    width: 29px;
    height: 29px;
    display: grid;
    place-items: center;
    color: #797c84;
    background: #f0f1f3;
    border: 2px solid white;
    border-radius: 50%;
    box-shadow: 0 0 0 1px var(--ki-line-dark);
    font-size: 10px;
    font-weight: 900;
}

.ki-checkout-steps li > b {
    overflow: hidden;
    font-size: 9px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ki-checkout-steps li.is-current {
    color: var(--ki-ink);
}

.ki-checkout-steps li.is-current > span {
    color: white;
    background: var(--ki-red);
    box-shadow: 0 0 0 1px var(--ki-red);
}

.ki-checkout-steps li.is-done {
    color: #555861;
}

.ki-checkout-steps li.is-done > span {
    color: white;
    background: #34363e;
    box-shadow: 0 0 0 1px #34363e;
}

.ki-checkout-selection {
    position: relative;
    margin-bottom: 12px;
    padding: 16px 72px 16px 16px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    color: white;
    background: linear-gradient(135deg, #33343b, #18191e);
    border-radius: 7px;
}

.ki-checkout-selection > div {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.ki-checkout-selection > div + div {
    padding-left: 13px;
    border-left: 1px solid rgb(255 255 255 / 16%);
}

.ki-checkout-selection span {
    color: #c8c9ce;
    font-size: 9px;
    font-weight: 700;
}

.ki-checkout-selection strong {
    font-size: 19px;
    white-space: nowrap;
}

.ki-checkout-selection strong small {
    font-size: 10px;
}

.ki-checkout-selection > a {
    position: absolute;
    top: 50%;
    right: 13px;
    min-height: 30px;
    padding: 0 9px;
    display: grid;
    place-items: center;
    color: white;
    border: 1px solid rgb(255 255 255 / 38%);
    border-radius: 4px;
    transform: translateY(-50%);
    font-size: 9px;
    font-weight: 800;
}

.ki-form-heading {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ki-form-heading > span {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    color: white;
    background: var(--ki-red);
    border-radius: 50%;
    font-size: 12px;
    font-weight: 900;
}

.ki-form-heading > div {
    display: flex;
    flex-direction: column;
}

.ki-form-heading b { font-size: 14px; }
.ki-form-heading small { color: var(--ki-muted); font-size: 9px; }

.ki-point-options {
    margin-top: 15px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.ki-point-options label {
    display: block;
}

.ki-point-options input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.ki-point-options label > span {
    position: relative;
    min-height: 84px;
    padding: 13px 8px 9px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #fbfbfc;
    border: 1px solid var(--ki-line-dark);
    border-radius: 5px;
    cursor: pointer;
}

.ki-point-options label:has(input:checked) > span {
    background: var(--ki-red-soft);
    border: 2px solid var(--ki-red);
}

.ki-point-options strong { font-size: 16px; }
.ki-point-options small { color: var(--ki-muted); font-size: 10px; }

.ki-point-options i {
    position: absolute;
    top: 5px;
    left: 5px;
    width: 18px;
    height: 18px;
    display: none;
    place-items: center;
    color: white;
    background: var(--ki-red);
    border-radius: 50%;
    font-size: 10px;
    font-style: normal;
}

.ki-point-options label:has(input:checked) i {
    display: grid;
}

.ki-payment-options {
    margin-top: 15px;
    display: grid;
    gap: 7px;
}

.ki-payment-options label {
    min-height: 64px;
    padding: 10px 12px;
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) 22px;
    align-items: center;
    gap: 8px;
    background: #fbfbfc;
    border: 1px solid var(--ki-line-dark);
    border-radius: 5px;
    cursor: pointer;
}

.ki-payment-options input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.ki-payment-options label:has(input:checked) {
    background: var(--ki-red-soft);
    border: 2px solid var(--ki-red);
}

.ki-payment-options label.is-disabled {
    opacity: .45;
    cursor: not-allowed;
}

.ki-payment-icon {
    width: 43px;
    height: 31px;
    display: grid;
    place-items: center;
    color: white;
    background: #34363e;
    border-radius: 4px;
    font-size: 9px;
    font-weight: 900;
}

.ki-payment-options label > span:nth-of-type(2) {
    display: flex;
    flex-direction: column;
}

.ki-payment-options b { font-size: 12px; }
.ki-payment-options small { color: var(--ki-muted); font-size: 9px; }

.ki-payment-options label > i {
    width: 20px;
    height: 20px;
    display: none;
    place-items: center;
    color: white;
    background: var(--ki-red);
    border-radius: 50%;
    font-size: 11px;
    font-style: normal;
}

.ki-payment-options label:has(input:checked) > i {
    display: grid;
}

.ki-bank-origin {
    margin-top: 10px;
    padding: 14px;
    background: #fff;
    border: 1px solid #d8d9dd;
    border-radius: 6px;
    box-shadow: inset 3px 0 0 var(--ki-red);
}

.ki-bank-origin[hidden] {
    display: none;
}

.ki-bank-origin > header {
    padding-bottom: 11px;
    border-bottom: 1px solid var(--ki-line);
}

.ki-bank-origin > header > div {
    display: flex;
    align-items: center;
    gap: 7px;
}

.ki-bank-origin > header b {
    font-size: 13px;
}

.ki-bank-origin > header em,
.ki-bank-origin-fields label > span em {
    padding: 2px 5px;
    color: white;
    background: var(--ki-red);
    border-radius: 2px;
    font-size: 8px;
    font-style: normal;
    font-weight: 900;
}

.ki-bank-origin > header p {
    margin: 4px 0 0;
    color: var(--ki-muted);
    font-size: 9px;
}

.ki-bank-origin-fields {
    margin-top: 12px;
    display: grid;
    gap: 11px;
}

.ki-bank-origin-fields label {
    display: grid;
    gap: 5px;
}

.ki-bank-origin-fields label > span {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #3d3f46;
    font-size: 10px;
    font-weight: 900;
}

.ki-bank-origin-fields input {
    width: 100%;
    min-height: 42px;
    padding: 0 11px;
    color: var(--ki-ink);
    background: #fbfbfc;
    border: 1px solid #cfd1d6;
    border-radius: 4px;
    font: inherit;
    font-size: 11px;
}

.ki-bank-origin-fields input:focus {
    outline: 2px solid rgb(213 16 34 / 16%);
    border-color: var(--ki-red);
}

.ki-bank-origin-fields small {
    color: var(--ki-muted);
    font-size: 8px;
}

.ki-bank-agreement {
    margin-bottom: 0;
    padding-top: 12px;
    border-top: 1px solid var(--ki-line);
}

.ki-bank-warning {
    margin-top: 12px;
    padding: 10px;
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 8px;
    color: #7c5e13;
    background: #fff8e5;
    border: 1px solid #efda9d;
    border-radius: 5px;
}

.ki-bank-warning[hidden] {
    display: none;
}

.ki-bank-warning > span {
    width: 26px;
    height: 26px;
    display: grid;
    place-items: center;
    color: white;
    background: #bb8614;
    border-radius: 50%;
    font-weight: 900;
}

.ki-bank-warning b {
    display: block;
    font-size: 11px;
}

.ki-bank-warning p {
    margin: 2px 0 0;
    font-size: 9px;
}

.ki-payment-notes {
    margin: 10px 0 14px;
    padding-left: 18px;
    color: var(--ki-muted);
    font-size: 9px;
    line-height: 1.75;
}

.ki-checkout-next {
    margin-top: 16px;
}

.ki-checkout-footnote {
    margin: 8px 0 0;
    color: var(--ki-muted);
    text-align: center;
    font-size: 9px;
}

.ki-checkout-confirm {
    margin-top: 0;
}

.ki-checkout-summary {
    margin: 16px 0 0;
    border-top: 1px solid var(--ki-line);
}

.ki-checkout-summary > div {
    min-height: 52px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
    border-bottom: 1px solid var(--ki-line);
}

.ki-checkout-summary dt {
    color: var(--ki-muted);
    font-size: 10px;
    font-weight: 700;
}

.ki-checkout-summary dd {
    margin: 0;
    text-align: right;
    font-size: 13px;
    font-weight: 900;
}

.ki-checkout-information {
    margin-top: 12px;
    padding: 10px;
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr);
    align-items: center;
    gap: 8px;
    color: #235b47;
    background: #eff9f5;
    border: 1px solid #bfe5d6;
    border-radius: 5px;
}

.ki-checkout-information > span {
    width: 26px;
    height: 26px;
    display: grid;
    place-items: center;
    color: white;
    background: #21855f;
    border-radius: 50%;
    font-size: 9px;
    font-weight: 900;
}

.ki-checkout-information.is-test {
    color: #34547b;
    background: #f0f5fb;
    border-color: #c6d7eb;
}

.ki-checkout-information.is-test > span {
    background: #3a6598;
}

.ki-checkout-information p {
    margin: 0;
    font-size: 9px;
    line-height: 1.65;
}

.ki-checkout-confirm > form {
    margin-top: 16px;
    padding-top: 15px;
    border-top: 1px solid var(--ki-line);
}

.ki-secure-note {
    margin: 9px 0 0;
    color: var(--ki-muted);
    text-align: center;
    font-size: 9px;
}

.ki-status-card {
    margin-top: 0;
}

.ki-status-heading {
    padding: 24px 17px;
    text-align: center;
    background: #f6f6f7;
    border-radius: 5px;
}

.ki-status-heading > span {
    display: inline-block;
    padding: 3px 8px;
    color: white;
    background: #787a82;
    border-radius: 3px;
    font-size: 9px;
    font-weight: 900;
}

.ki-status-heading.is-paid > span { background: var(--ki-success); }
.ki-status-heading.is-failed > span { background: var(--ki-red); }
.ki-status-heading.is-card > span { background: #294e9b; }
.ki-status-heading.is-waiting > span { background: #9a710e; }

.ki-status-heading h2 {
    margin: 10px 0 5px;
    font-size: 20px;
    letter-spacing: -.04em;
}

.ki-status-heading p {
    margin: 0;
    color: var(--ki-muted);
    font-size: 10px;
    line-height: 1.8;
}

.ki-bank-pending-banner {
    padding: 13px 14px;
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    color: #6b5010;
    background: #fff9e9;
    border: 1px solid #ebd696;
    border-radius: 6px;
}

.ki-bank-pending-banner > span {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    color: white;
    background: #d5a31e;
    border-radius: 50%;
    font-weight: 900;
}

.ki-bank-pending-banner b {
    display: block;
    font-size: 12px;
}

.ki-bank-pending-banner p {
    margin: 3px 0 0;
    font-size: 9px;
    line-height: 1.55;
}

.ki-bank-pending-banner em {
    padding: 5px 9px;
    color: #b31f2c;
    background: white;
    border: 1px solid #e5a8ad;
    border-radius: 4px;
    font-size: 9px;
    font-style: normal;
    font-weight: 900;
    white-space: nowrap;
}

.ki-bank-payment-overview {
    margin: 12px 0 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: #f8f8f9;
    border: 1px solid var(--ki-line);
    border-radius: 6px;
}

.ki-bank-payment-overview > div {
    min-width: 0;
    padding: 13px 15px;
}

.ki-bank-payment-overview > div + div {
    border-left: 1px solid var(--ki-line);
}

.ki-bank-payment-overview dt {
    color: var(--ki-muted);
    font-size: 9px;
    font-weight: 800;
}

.ki-bank-payment-overview dd {
    margin: 5px 0 0;
    font-size: 12px;
    font-weight: 900;
}

.ki-bank-payment-overview dd small {
    display: block;
    margin-top: 2px;
    color: var(--ki-muted);
    font-size: 8px;
    font-weight: 600;
}

.ki-bank-payment-overview dd strong {
    color: var(--ki-red);
    font-size: 17px;
}

.ki-bank-guide-panel {
    margin-top: 12px;
    padding: 0 14px 4px;
    border: 1px solid var(--ki-line);
    border-radius: 6px;
}

.ki-bank-guide-panel > header {
    min-height: 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-bottom: 1px solid var(--ki-line);
}

.ki-bank-guide-panel > header b {
    font-size: 12px;
}

.ki-bank-guide-panel > header small {
    margin-top: 2px;
    color: var(--ki-muted);
    font-size: 8px;
}

.ki-bank-guide-panel .ki-bank-instructions {
    margin-top: 0;
    border-top: 0;
}

.ki-bank-instructions dd {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 7px;
}

.ki-bank-instructions button {
    min-height: 28px;
    padding: 0 8px;
    color: #555861;
    background: white;
    border: 1px solid #cfd1d6;
    border-radius: 4px;
    font-size: 8px;
    font-weight: 900;
}

.ki-bank-origin-summary {
    margin: 0;
}

.ki-bank-origin-summary > div {
    min-height: 44px;
    display: grid;
    grid-template-columns: minmax(100px, .75fr) 1fr;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid var(--ki-line);
}

.ki-bank-origin-summary dt {
    color: var(--ki-muted);
    font-size: 10px;
    font-weight: 700;
}

.ki-bank-origin-summary dd {
    margin: 0;
    text-align: right;
    font-size: 11px;
    font-weight: 900;
}

.ki-bank-cautions {
    margin-top: 12px;
    padding: 13px 14px;
    background: #fffafa;
    border: 1px solid #edc7ca;
    border-radius: 6px;
}

.ki-bank-cautions h2 {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 7px;
    color: #9d1e29;
    font-size: 11px;
}

.ki-bank-cautions h2 span {
    width: 20px;
    height: 20px;
    display: grid;
    place-items: center;
    color: white;
    background: var(--ki-red);
    border-radius: 50%;
    font-size: 9px;
}

.ki-bank-cautions ul {
    margin: 9px 0 0;
    padding-left: 18px;
    color: #555861;
    font-size: 9px;
    line-height: 1.75;
}

.ki-bank-instructions,
.ki-order-summary {
    margin-bottom: 16px;
}

.ki-bank-instructions dd strong {
    color: var(--ki-red);
    font-size: 15px;
}

.ki-status-actions {
    margin-top: 15px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.ki-status-actions a {
    min-height: 42px;
    display: grid;
    place-items: center;
    color: #454750;
    background: #f4f4f5;
    border: 1px solid var(--ki-line);
    border-radius: 5px;
    text-align: center;
    font-size: 10px;
    font-weight: 900;
}

.ki-history-tabs {
    margin-bottom: 12px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: white;
    border: 1px solid var(--ki-line);
    border-radius: 5px;
}

.ki-history-tabs a {
    position: relative;
    min-height: 44px;
    display: grid;
    place-items: center;
    color: var(--ki-muted);
    border-right: 1px solid var(--ki-line);
    font-size: 11px;
    font-weight: 800;
}

.ki-history-tabs a:last-child { border-right: 0; }
.ki-history-tabs a.is-selected { color: var(--ki-red); }

.ki-history-tabs a.is-selected::after {
    content: "";
    position: absolute;
    right: 20px;
    bottom: 0;
    left: 20px;
    height: 3px;
    background: var(--ki-red);
}

.ki-history-group {
    overflow: hidden;
    background: white;
    border: 1px solid var(--ki-line);
    border-radius: 6px;
}

.ki-history-row {
    min-height: 79px;
    padding: 10px 12px;
    display: grid;
    grid-template-columns: 45px minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid var(--ki-line);
}

.ki-history-row:last-child { border-bottom: 0; }

.ki-history-thumbnail {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    color: white;
    background: var(--ki-red);
    border-radius: 5px;
    font-size: 14px;
    font-weight: 900;
}

.ki-history-main {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.ki-history-main small { color: var(--ki-success); font-size: 8px; font-weight: 800; }
.ki-history-main b { overflow: hidden; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.ki-history-main em { color: var(--ki-muted); font-size: 9px; font-style: normal; }

.ki-history-price {
    color: var(--ki-muted);
    font-size: 10px;
    font-weight: 800;
}

.ki-history-price i {
    margin-left: 3px;
    font-size: 17px;
    font-style: normal;
}

.ki-ledger-row {
    min-height: 72px;
    padding: 10px 12px;
    display: grid;
    grid-template-columns: 86px minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid var(--ki-line);
}

.ki-ledger-row:last-child { border-bottom: 0; }
.ki-ledger-row time { color: var(--ki-muted); font-size: 8px; }

.ki-ledger-row > span {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.ki-ledger-row > span b { overflow: hidden; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.ki-ledger-row > span small { color: var(--ki-muted); font-size: 8px; }
.ki-ledger-row > strong { color: var(--ki-success); font-size: 11px; white-space: nowrap; }
.ki-ledger-row > strong.is-minus { color: var(--ki-red); }

.ki-pagination {
    margin-top: 12px;
}

.ki-pagination nav > div:first-child {
    display: none;
}

.ki-pagination nav > div:last-child > div:first-child {
    display: none;
}

.ki-pagination nav > div:last-child > div:last-child > span {
    display: flex;
    justify-content: center;
}

.ki-pagination nav a,
.ki-pagination nav span[aria-current] span,
.ki-pagination nav span[aria-disabled] span {
    min-width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    background: white;
    border: 1px solid var(--ki-line);
    font-size: 10px;
}

.ki-profile-card {
    min-height: 96px;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 13px;
    background: white;
    border: 1px solid var(--ki-line);
    border-radius: 6px;
}

.ki-avatar {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    color: white;
    background: linear-gradient(145deg, #484a52, #24252a);
    border-radius: 50%;
    font-size: 22px;
    font-weight: 900;
}

.ki-profile-card > div {
    display: flex;
    flex-direction: column;
}

.ki-profile-card small { color: var(--ki-muted); font-size: 9px; }
.ki-profile-card strong { font-size: 17px; }
.ki-profile-card em { color: #8b6a13; font-size: 9px; font-style: normal; font-weight: 800; }
.ki-profile-card em.is-linked { color: var(--ki-success); }

.ki-account-points {
    min-height: 76px;
    margin-top: 10px;
    padding: 13px 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: white;
    background: #2a2b31;
    border-radius: 6px;
}

.ki-account-points > span {
    display: flex;
    flex-direction: column;
}

.ki-account-points b { font-size: 11px; }
.ki-account-points span small { color: #b6b7bd; font-size: 8px; }
.ki-account-points > strong { font-size: 23px; }
.ki-account-points > strong small { font-size: 10px; }

.ki-menu-card {
    margin-top: 11px;
    overflow: hidden;
    background: white;
    border: 1px solid var(--ki-line);
    border-radius: 6px;
}

.ki-menu-card > a {
    min-height: 64px;
    padding: 9px 12px;
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr) 14px;
    align-items: center;
    gap: 9px;
    border-bottom: 1px solid var(--ki-line);
}

.ki-menu-card > a:last-child { border-bottom: 0; }

.ki-nav-glyph {
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    color: #555761;
    background: #f1f1f3;
    border-radius: 5px;
    font-size: 11px;
    font-weight: 900;
}

.ki-nav-glyph svg {
    width: 19px;
    height: 19px;
    display: block;
    stroke: currentColor;
    stroke-width: 1.75;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.ki-menu-card > a > span:nth-child(2) {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.ki-menu-card b { font-size: 12px; }
.ki-menu-card small { color: var(--ki-muted); font-size: 8px; }
.ki-menu-card i { color: #999ba3; font-size: 17px; font-style: normal; }

.ki-subheading {
    margin: 22px 2px 8px;
    font-size: 15px;
}

.ki-account-logout {
    margin-top: 16px;
}

.ki-account-logout button {
    width: 100%;
    min-height: 43px;
    color: #555761;
    background: white;
    border: 1px solid var(--ki-line);
    border-radius: 5px;
    font-size: 11px;
    font-weight: 800;
}

.ki-withdrawal-card {
    display: grid;
    gap: 16px;
}

.ki-withdrawal-card form {
    display: grid;
    gap: 14px;
}

.ki-withdrawal-note {
    margin: 0;
    padding: 12px;
    color: #555861;
    background: #f7f7f8;
    border: 1px solid var(--ki-line);
    border-radius: 5px;
    font-size: 10px;
    line-height: 1.75;
}

.ki-faq-list {
    display: grid;
    gap: 8px;
}

.ki-faq-list details {
    overflow: hidden;
    background: white;
    border: 1px solid var(--ki-line);
    border-radius: 6px;
}

.ki-faq-list summary {
    min-height: 62px;
    padding: 10px 12px;
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr) 18px;
    align-items: center;
    gap: 9px;
    cursor: pointer;
    list-style: none;
}

.ki-faq-list summary::-webkit-details-marker { display: none; }

.ki-faq-list summary > span,
.ki-faq-list details > div > span {
    width: 29px;
    height: 29px;
    display: grid;
    place-items: center;
    color: white;
    background: var(--ki-red);
    border-radius: 50%;
    font-weight: 900;
}

.ki-faq-list summary b { font-size: 11px; }
.ki-faq-list summary i { color: var(--ki-muted); font-size: 17px; font-style: normal; }
.ki-faq-list details[open] summary i { transform: rotate(45deg); }

.ki-faq-list details > div {
    padding: 13px 12px;
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 9px;
    background: #f8f8f9;
    border-top: 1px solid var(--ki-line);
}

.ki-faq-list details > div > span {
    color: var(--ki-ink);
    background: #e7e7ea;
}

.ki-faq-list details > div p {
    margin: 3px 0 0;
    color: #555861;
    font-size: 10px;
    line-height: 1.8;
}

.ki-limited-offer {
    position: relative;
    overflow: hidden;
    padding: 25px 20px;
    color: white;
    background: linear-gradient(145deg, #353740, #121318);
}

.ki-limited-offer.has-thumbnail {
    background: #121318;
}

.ki-limited-offer.has-thumbnail::before {
    content: "";
    position: absolute;
    z-index: 1;
    inset: 0;
    background: linear-gradient(90deg, rgb(10 12 18 / 92%), rgb(10 12 18 / 48%));
}

.ki-limited-offer-thumbnail {
    position: absolute;
    z-index: 0;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ki-limited-offer::after {
    content: "";
    position: absolute;
    z-index: 1;
    right: -55px;
    top: -55px;
    width: 170px;
    height: 170px;
    border: 25px solid rgb(223 35 51 / 22%);
    border-radius: 50%;
}

.ki-limited-offer > span {
    position: relative;
    z-index: 2;
    padding: 3px 7px;
    color: white;
    background: var(--ki-red);
    border-radius: 3px;
    font-size: 9px;
    font-weight: 900;
}

.ki-limited-offer h1 {
    position: relative;
    z-index: 2;
    margin: 13px 0 6px;
    font-size: 25px;
    line-height: 1.3;
}

.ki-limited-offer > p {
    position: relative;
    z-index: 2;
    margin: 0;
    color: #d0d1d6;
    font-size: 10px;
}

.ki-limited-offer > div {
    position: relative;
    z-index: 2;
    margin-top: 18px;
    display: flex;
    align-items: end;
    gap: 10px;
}

.ki-limited-offer > div span { color: #bfc0c6; font-size: 9px; }
.ki-limited-offer > div strong { font-size: 25px; }
.ki-limited-offer > div small { color: #f4d274; font-size: 9px; }

.ki-one-time-offer {
    margin-top: 10px;
    padding: 12px;
    color: #74560b;
    background: #fff6d9;
    border: 1px solid #ebd48e;
    border-radius: 5px;
}

.ki-one-time-offer > span { display: block; color: var(--ki-red); font-size: 9px; font-weight: 900; }
.ki-one-time-offer > strong { display: block; font-size: 13px; }
.ki-one-time-offer p { margin: 3px 0; font-size: 9px; }
.ki-one-time-offer time { font-size: 10px; font-weight: 900; }

.ki-text-field {
    margin-top: 14px;
    display: block;
}

.ki-text-field > span {
    display: block;
    margin-bottom: 5px;
    color: #555861;
    font-size: 10px;
    font-weight: 800;
}

.ki-text-field input {
    width: 100%;
    height: 43px;
    padding: 0 11px;
    border: 1px solid var(--ki-line-dark);
    border-radius: 5px;
}

.ki-welcome-modal-layer {
    position: fixed;
    z-index: 100;
    inset: 0;
    padding: 20px;
    display: grid;
    place-items: center;
    background: rgb(8 9 12 / 78%);
    backdrop-filter: blur(5px);
    transition: opacity .18s ease;
}

.ki-welcome-modal-layer.is-closing {
    opacity: 0;
    pointer-events: none;
}

.ki-welcome-modal {
    position: relative;
    width: min(100%, 365px);
    padding: 29px 23px 22px;
    text-align: center;
    background: white;
    border-radius: 10px;
    box-shadow: 0 26px 80px rgb(0 0 0 / 38%);
}

.ki-welcome-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 34px;
    height: 34px;
    color: #777982;
    background: transparent;
    border: 0;
    font-size: 23px;
}

.ki-success-ring {
    width: 66px;
    height: 66px;
    margin: 0 auto 14px;
    display: grid;
    place-items: center;
    color: white;
    background: var(--ki-red);
    border: 7px solid var(--ki-red-soft);
    border-radius: 50%;
    font-size: 28px;
    font-weight: 900;
}

.ki-welcome-kicker {
    color: var(--ki-red);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .12em;
}

.ki-welcome-modal h2 {
    margin: 5px 0 9px;
    font-size: 25px;
    line-height: 1.3;
    letter-spacing: -.05em;
}

.ki-welcome-modal > p {
    margin: 0;
    color: var(--ki-muted);
    font-size: 11px;
    line-height: 1.75;
}

.ki-line-complete {
    margin: 17px 0 15px;
    padding: 10px;
    display: grid;
    grid-template-columns: 29px minmax(0, 1fr);
    align-items: center;
    gap: 8px;
    text-align: left;
    background: #eefaf4;
    border: 1px solid #c3ead7;
    border-radius: 5px;
}

.ki-line-complete > span:first-child {
    width: 27px;
    height: 27px;
    display: grid;
    place-items: center;
    color: white;
    background: #19ae6f;
    border-radius: 50%;
    font-weight: 900;
}

.ki-line-complete > span:last-child {
    display: flex;
    flex-direction: column;
}

.ki-line-complete b { font-size: 10px; }
.ki-line-complete small { color: #4b7f68; font-size: 8px; }

.ki-welcome-start {
    width: 100%;
    min-height: 47px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    color: white;
    background: var(--ki-red);
    border: 0;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 900;
}

.ki-welcome-modal[aria-busy="true"] button,
.ki-welcome-modal-layer[aria-busy="true"] button {
    opacity: .68;
    cursor: wait;
}

.ki-welcome-foot {
    margin-top: 9px;
    display: block;
    color: var(--ki-muted);
    font-size: 8px;
}

.ki-bottom-nav {
    position: fixed;
    z-index: 60;
    right: 0;
    bottom: 0;
    left: 0;
    height: calc(64px + env(safe-area-inset-bottom));
    padding: 4px max(6px, env(safe-area-inset-left)) env(safe-area-inset-bottom) max(6px, env(safe-area-inset-right));
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    background: rgb(255 255 255 / 97%);
    border-top: 1px solid var(--ki-line);
    box-shadow: 0 -4px 18px rgb(21 23 30 / 7%);
    backdrop-filter: blur(12px);
}

.ki-bottom-nav a {
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    color: #777a83;
}

.ki-bottom-nav .ki-nav-glyph {
    width: 25px;
    height: 25px;
    color: inherit;
    background: transparent;
    border-radius: 4px;
    font-size: 11px;
}

.ki-bottom-nav b {
    max-width: 100%;
    overflow: hidden;
    font-size: 8px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ki-bottom-nav a.is-active {
    color: var(--ki-red);
}

.ki-bottom-nav a.is-active .ki-nav-glyph {
    color: white;
    background: var(--ki-red);
}

.ki-member-footer {
    width: min(100%, 720px);
    margin: 0 auto;
    padding: 25px 16px 22px;
    color: #858892;
    background: #24252a;
    font-size: 9px;
}

.ki-member-footer > div {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 13px;
}

.ki-member-footer form {
    display: inline;
}

.ki-member-footer button {
    padding: 0;
    color: #c5c6cb;
    background: none;
    border: 0;
    font-size: 9px;
}

.ki-member-footer p {
    margin: 16px auto 8px;
    max-width: 560px;
    text-align: center;
    line-height: 1.7;
}

.ki-member-footer > small {
    display: block;
    text-align: center;
}

.ki-login-page {
    min-width: 320px;
    min-height: 100vh;
    margin: 0;
    display: grid;
    grid-template-rows: 58px 1fr auto;
    color: var(--ki-ink);
    background:
        radial-gradient(circle at 20% 0, rgb(223 35 51 / 9%), transparent 33%),
        linear-gradient(180deg, #f8f8f9, #f1f1f4);
    font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", "BIZ UDPGothic", Meiryo, sans-serif;
}

.ki-login-page a {
    color: inherit;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
}

.ki-login-page > header {
    padding: 0 16px;
    display: flex;
    align-items: center;
    background: rgb(255 255 255 / 94%);
    border-bottom: 1px solid var(--ki-line);
}

.ki-login-page > main {
    padding: 28px 16px;
    display: grid;
    place-items: center;
}

.ki-login-card {
    width: min(100%, 390px);
    padding: 30px 24px 24px;
    text-align: center;
    background: white;
    border: 1px solid var(--ki-line);
    border-radius: 10px;
    box-shadow: 0 18px 54px rgb(28 29 35 / 11%);
}

.ki-login-mark {
    width: 60px;
    height: 60px;
    margin: 0 auto 13px;
    display: grid;
    place-items: center;
    color: white;
    background: linear-gradient(145deg, #383940, #1e1f24);
    border: 7px solid #f1f1f3;
    border-radius: 50%;
    font-size: 21px;
    font-weight: 900;
}

.ki-login-card > p:first-of-type {
    margin: 0;
    color: var(--ki-red);
    font-size: 10px;
    font-weight: 900;
}

.ki-login-card h1 {
    margin: 5px 0 10px;
    font-size: 25px;
    line-height: 1.35;
    letter-spacing: -.05em;
}

.ki-login-description {
    margin: 0 auto 20px;
    color: var(--ki-muted);
    font-size: 11px;
    line-height: 1.8;
}

.ki-line-login-button {
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: white;
    background: #06c755;
    border-radius: 6px;
    box-shadow: inset 0 -2px 0 rgb(0 93 39 / 20%);
    font-size: 13px;
    font-weight: 900;
}

.ki-line-login-button span {
    font-size: 10px;
}

.ki-login-card > small {
    margin-top: 8px;
    display: block;
    color: var(--ki-muted);
    font-size: 8px;
}

.ki-login-error,
.ki-login-pending {
    margin: 0 0 16px;
    padding: 10px;
    color: #a41220;
    background: #fff0f1;
    border: 1px solid #f0bec3;
    border-radius: 5px;
    font-size: 10px;
}

.ki-login-pending {
    color: #5f626b;
    background: #f5f5f6;
    border-color: var(--ki-line);
}

.ki-login-back {
    margin-top: 18px;
    display: inline-block;
    color: var(--ki-muted);
    font-size: 10px;
    font-weight: 800;
}

.ki-login-page > footer {
    padding: 18px;
    text-align: center;
    color: #8a8c94;
    font-size: 8px;
}

.ki-handoff-page {
    min-width: 320px;
    min-height: 100vh;
    margin: 0;
    display: grid;
    grid-template-rows: 58px 1fr;
    color: var(--ki-ink);
    background: var(--ki-canvas);
    font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", "BIZ UDPGothic", Meiryo, sans-serif;
}

.ki-handoff-page > header {
    padding: 0 16px;
    display: flex;
    align-items: center;
    background: white;
    border-bottom: 1px solid var(--ki-line);
}

.ki-handoff-page > main {
    padding: 24px 16px;
    display: grid;
    place-items: center;
}

.ki-handoff-page > main > section {
    width: min(100%, 390px);
    padding: 32px 24px;
    text-align: center;
    background: white;
    border: 1px solid var(--ki-line);
    border-radius: 10px;
    box-shadow: var(--ki-shadow);
}

.ki-payment-spinner {
    width: 54px;
    height: 54px;
    margin: 0 auto 18px;
    border: 6px solid var(--ki-red-soft);
    border-top-color: var(--ki-red);
    border-radius: 50%;
    animation: ki-spin .8s linear infinite;
}

.ki-handoff-page h1 {
    margin: 0 0 10px;
    font-size: 23px;
    line-height: 1.4;
    letter-spacing: -.04em;
}

.ki-handoff-page p {
    margin: 0 0 18px;
    color: var(--ki-muted);
    font-size: 10px;
    line-height: 1.8;
}

.ki-handoff-page button {
    width: 100%;
    min-height: 46px;
    color: white;
    background: var(--ki-red);
    border: 0;
    border-radius: 5px;
    font-family: inherit;
    font-size: 11px;
    font-weight: 900;
    line-height: 1.4;
}

@keyframes ki-spin {
    to { transform: rotate(360deg); }
}

@media (max-width: 420px) {
    .ki-bank-pending-banner {
        grid-template-columns: 28px minmax(0, 1fr);
    }

    .ki-bank-pending-banner em {
        grid-column: 2;
        justify-self: start;
    }

    .ki-checkout-selection {
        padding: 14px 62px 14px 13px;
        gap: 8px;
    }

    .ki-checkout-selection > div + div {
        padding-left: 9px;
    }

    .ki-checkout-selection strong {
        font-size: 16px;
    }

    .ki-wallet-card {
        padding: 17px 14px;
    }

    .ki-wallet-card > a {
        min-width: 112px;
        padding: 0 9px;
        font-size: 11px;
    }

    .ki-quick-actions > a {
        grid-template-columns: 34px minmax(0, 1fr) 10px;
        gap: 6px;
        padding: 8px;
    }

    .ki-quick-icon {
        width: 34px;
        height: 34px;
    }

    .ki-ledger-row {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .ki-ledger-row time {
        grid-column: 1 / 3;
    }
}

@media (min-width: 700px) {
    .ki-main-content {
        padding: 24px 18px 50px;
    }

    .ki-product-grid {
        grid-template-columns: 1fr 1fr;
    }

    .ki-product-grid .ki-product-card {
        grid-template-columns: 132px minmax(0, 1fr);
    }

    .ki-product-detail {
        display: grid;
        grid-template-columns: minmax(230px, .85fr) minmax(0, 1.15fr);
    }

    .ki-product-detail-visual {
        min-height: 340px;
    }

    .ki-product-detail-body {
        padding: 24px;
    }

    .ki-point-options {
        grid-template-columns: repeat(4, 1fr);
    }
}

.ki-promotion-applied,
.ki-promotion-summary {
    margin: 0 0 12px;
    padding: 13px 15px;
    display: flex;
    align-items: center;
    gap: 11px;
    color: #664500;
    background: linear-gradient(135deg, #fff9e7, #fff1bd);
    border: 1px solid #eed383;
    border-radius: 9px;
}

.ki-promotion-applied > span {
    width: 32px;
    height: 32px;
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    color: #fff;
    background: #b98716;
    border-radius: 50%;
}

.ki-promotion-applied div,
.ki-promotion-summary {
    min-width: 0;
}

.ki-promotion-applied b,
.ki-promotion-applied small {
    display: block;
}

.ki-promotion-applied small {
    margin-top: 2px;
    color: #80652b;
    font-size: 10px;
}

.ki-promotion-summary {
    flex-wrap: wrap;
}

.ki-promotion-summary b {
    margin-right: auto;
}

.ki-promotion-summary span {
    padding: 4px 8px;
    background: rgb(255 255 255 / 72%);
    border-radius: 999px;
    font-size: 10px;
    font-weight: 800;
}

.ki-coupon-entry,
.ki-product-coupon-form label {
    margin: 14px 0;
    display: grid;
    gap: 6px;
}

.ki-coupon-entry > span,
.ki-product-coupon-form label > span {
    font-size: 12px;
    font-weight: 900;
}

.ki-coupon-entry input,
.ki-product-coupon-form input {
    width: 100%;
    min-height: 45px;
    padding: 0 13px;
    color: var(--ki-ink);
    background: #fff;
    border: 1px solid var(--ki-line-dark);
    border-radius: 7px;
    text-transform: uppercase;
}

.ki-coupon-entry small {
    color: var(--ki-muted);
    font-size: 10px;
}

.ki-product-coupon-form {
    margin-bottom: 14px;
    padding: 12px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 8px;
    background: #f7f7f9;
    border-radius: 8px;
}

.ki-product-coupon-form label {
    margin: 0;
}

.ki-product-coupon-form button {
    min-height: 45px;
    padding: 0 15px;
    color: #fff;
    background: var(--ki-ink);
    border: 0;
    border-radius: 7px;
    font-weight: 900;
}

.ki-promotion-discount {
    margin: 7px 0 12px;
    color: var(--ki-red-strong);
    font-size: 11px;
    font-weight: 900;
}

.ki-product-promotion {
    margin-bottom: 10px;
    padding: 9px 10px;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px;
    color: #5d4106;
    background: linear-gradient(135deg, #fff8e2, #ffefba);
    border: 1px solid #edd17b;
    border-radius: 7px;
}

.ki-product-promotion span {
    padding: 3px 6px;
    color: #fff;
    background: #a8750c;
    border-radius: 999px;
    font-size: 8px;
    font-weight: 900;
}

.ki-product-promotion b {
    overflow: hidden;
    font-size: 10px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ki-product-promotion i {
    font-size: 9px;
    font-style: normal;
    font-weight: 900;
}

.ki-offer-modal-layer {
    position: fixed;
    z-index: 140;
    inset: 0;
    padding: 20px;
    display: grid;
    place-items: center;
    background: rgb(20 21 25 / 68%);
    backdrop-filter: blur(5px);
    animation: ki-offer-layer-in .18s ease-out both;
}

.ki-offer-modal-layer.is-closing {
    opacity: 0;
    transition: opacity .18s ease;
}

.ki-offer-modal {
    position: relative;
    width: min(100%, 390px);
    padding: 30px 25px 24px;
    text-align: center;
    background:
        radial-gradient(circle at 50% -20%, rgb(255 219 111 / 45%), transparent 45%),
        #fff;
    border-radius: 14px;
    box-shadow: 0 24px 70px rgb(0 0 0 / 28%);
    animation: ki-offer-card-in .24s cubic-bezier(.2, .8, .2, 1) both;
}

.ki-offer-modal > button {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 36px;
    height: 36px;
    color: var(--ki-muted);
    background: #f1f1f4;
    border: 0;
    border-radius: 50%;
    font-size: 19px;
}

.ki-offer-modal-kicker {
    display: block;
    color: #9a710e;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .12em;
}

.ki-offer-modal-mark {
    width: 52px;
    height: 52px;
    margin: 14px auto 10px;
    display: grid;
    place-items: center;
    color: #fff;
    background: linear-gradient(145deg, #d5a62f, #9b6b00);
    border-radius: 50%;
    box-shadow: 0 7px 18px rgb(154 113 14 / 28%);
    font-size: 22px;
}

.ki-offer-modal h2 {
    margin: 0;
    font-size: 22px;
    line-height: 1.35;
}

.ki-offer-modal p {
    margin: 10px 0 18px;
    color: var(--ki-muted);
    font-size: 12px;
}

.ki-offer-modal > a {
    min-height: 48px;
    padding: 0 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: var(--ki-red);
    border-radius: 8px;
    font-weight: 900;
}

.ki-offer-modal > small {
    margin-top: 9px;
    display: block;
    color: var(--ki-muted);
    font-size: 9px;
}

@keyframes ki-offer-layer-in {
    from { opacity: 0; }
}

@keyframes ki-offer-card-in {
    from { opacity: 0; transform: translateY(12px) scale(.97); }
}

@media (prefers-reduced-motion: reduce) {
    .ki-offer-modal-layer,
    .ki-offer-modal {
        animation: none;
    }
}

@media (min-width: 900px) {
    .ki-site-frame {
        padding-bottom: 0;
    }

    .ki-global-header {
        height: 64px;
    }

    .ki-global-header-inner {
        padding: 0 24px;
    }

    .ki-brand {
        font-size: 19px;
    }

    .ki-desktop-top-nav {
        height: 100%;
        display: flex;
        align-items: stretch;
        gap: 24px;
    }

    .ki-desktop-top-nav a {
        position: relative;
        display: flex;
        align-items: center;
        color: #60636c;
        font-size: 12px;
        font-weight: 800;
    }

    .ki-desktop-top-nav a.is-active {
        color: var(--ki-ink);
    }

    .ki-desktop-top-nav a.is-active::after {
        content: "";
        position: absolute;
        right: 0;
        bottom: 0;
        left: 0;
        height: 3px;
        background: var(--ki-red);
    }

    .ki-header-account {
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .ki-header-account > a:last-child {
        min-height: 36px;
        padding: 0 10px;
        display: inline-flex;
        align-items: center;
        gap: 6px;
        background: #f6f6f7;
        border: 1px solid var(--ki-line);
        border-radius: 5px;
        font-size: 10px;
        font-weight: 800;
    }

    .ki-header-account > a:last-child > span {
        width: 21px;
        height: 21px;
        display: grid;
        place-items: center;
        color: white;
        background: #34353b;
        border-radius: 50%;
        font-size: 8px;
    }

    .ki-mobile-bell {
        display: none;
    }

    .ki-layout {
        min-height: calc(100vh - 64px);
        padding: 24px;
        display: grid;
        grid-template-columns: 200px minmax(0, 720px);
        justify-content: center;
        gap: 22px;
    }

    .ki-desktop-sidebar {
        display: flex;
        flex-direction: column;
        gap: 17px;
    }

    .ki-desktop-sidebar > nav {
        overflow: hidden;
        background: white;
        border: 1px solid var(--ki-line);
        border-radius: 7px;
    }

    .ki-desktop-sidebar > nav > a {
        position: relative;
        min-height: 53px;
        padding: 0 11px;
        display: grid;
        grid-template-columns: 31px minmax(0, 1fr) auto;
        align-items: center;
        gap: 8px;
        color: #5f626b;
        border-bottom: 1px solid var(--ki-line);
        font-size: 11px;
        font-weight: 800;
    }

    .ki-desktop-sidebar > nav > a:last-child {
        border-bottom: 0;
    }

    .ki-desktop-sidebar > nav > a.is-active {
        color: var(--ki-red);
        background: var(--ki-red-soft);
    }

    .ki-desktop-sidebar > nav > a.is-active::before {
        content: "";
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        width: 3px;
        background: var(--ki-red);
    }

    .ki-desktop-sidebar > nav .ki-nav-glyph {
        width: 28px;
        height: 28px;
        color: #35373e;
        background: transparent;
        border-radius: 4px;
    }

    .ki-desktop-sidebar > nav > a.is-active .ki-nav-glyph {
        color: white;
        background: var(--ki-red);
    }

    .ki-desktop-sidebar > nav em {
        color: var(--ki-muted);
        font-size: 8px;
        font-style: normal;
        white-space: nowrap;
    }

    .ki-sidebar-help {
        min-height: 220px;
        padding: 18px 17px 15px;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        overflow: hidden;
        text-align: left;
        background: linear-gradient(145deg, #f8fbff 0%, #edf3fa 100%);
        border: 1px solid #c8d8e9;
        border-radius: 7px;
    }

    .ki-sidebar-help strong {
        color: #102f50;
        font-size: 14px;
        letter-spacing: -.02em;
    }

    .ki-sidebar-help p {
        margin: 5px 0 4px;
        color: #586b7f;
        font-size: 8px;
        line-height: 1.65;
    }

    .ki-sidebar-help img {
        width: calc(100% + 18px);
        height: 82px;
        margin: -2px -9px 2px;
        display: block;
        object-fit: contain;
    }

    .ki-sidebar-help a {
        width: 100%;
        min-height: 34px;
        display: grid;
        place-items: center;
        color: white;
        background: #0d3156;
        border: 1px solid #082542;
        border-radius: 4px;
        box-shadow: 0 4px 10px rgb(13 49 86 / 16%);
        font-size: 9px;
        font-weight: 900;
    }

    .ki-main-content {
        width: 100%;
        min-height: 0;
        padding: 0 0 40px;
    }

    .ki-welcome-line > a {
        display: grid;
    }

    .ki-bottom-nav {
        display: none;
    }

    .ki-member-footer {
        width: 100%;
        max-width: none;
    }
}

/* Member catalog, welcome guide, and support pages. */
.ki-product-status .is-planned,
.ki-detail-state .is-planned {
    color: #285f91;
    background: #eef6fd;
    border-color: #bdd8ee;
}

.ki-sidebar-support-links {
    display: grid;
    gap: 7px;
}

.ki-sidebar-help .ki-sidebar-support-links > a.is-active {
    color: #0d3156;
    background: #fff;
    border-color: #9fb8d1;
    box-shadow: inset 3px 0 0 #0d3156;
}

.ki-welcome-offer-hero {
    overflow: hidden;
    color: #fff;
    background:
        linear-gradient(92deg, rgb(3 15 29 / 96%) 0 48%, rgb(3 15 29 / 45%) 78%, rgb(3 15 29 / 22%) 100%),
        url("/image/custom/member-first-time-abstract-v1.webp") center 56% / cover no-repeat;
    border: 1px solid #23394f;
    border-radius: 10px;
    box-shadow: 0 12px 30px rgb(16 35 54 / 16%);
}

.ki-welcome-offer-hero > div {
    min-height: 245px;
    padding: 25px 22px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.ki-welcome-offer-hero > div > span {
    width: fit-content;
    padding: 4px 9px;
    background: var(--ki-red);
    border-radius: 4px;
    font-size: 9px;
    font-weight: 900;
}

.ki-welcome-offer-hero h1 {
    margin: 13px 0 9px;
    font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
    font-size: clamp(27px, 7vw, 38px);
    line-height: 1.35;
    letter-spacing: -.02em;
    text-shadow: 0 3px 18px rgb(0 0 0 / 48%);
}

.ki-welcome-offer-hero p {
    max-width: 410px;
    margin: 0;
    color: rgb(255 255 255 / 82%);
    font-size: 10px;
    line-height: 1.8;
}

.ki-welcome-offer-hero dl {
    margin: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    background: rgb(3 10 19 / 86%);
    border-top: 1px solid rgb(255 255 255 / 16%);
}

.ki-welcome-offer-hero dl > div {
    min-width: 0;
    padding: 12px 8px;
    text-align: center;
    border-right: 1px solid rgb(255 255 255 / 13%);
}

.ki-welcome-offer-hero dl > div:last-child {
    border-right: 0;
}

.ki-welcome-offer-hero dt {
    color: rgb(255 255 255 / 58%);
    font-size: 8px;
    font-weight: 700;
}

.ki-welcome-offer-hero dd {
    margin: 3px 0 0;
    overflow: hidden;
    font-size: 10px;
    font-weight: 900;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ki-welcome-offer-steps,
.ki-welcome-offer-action {
    margin-top: 13px;
    padding: 18px 15px;
    background: #fff;
    border: 1px solid var(--ki-line);
    border-radius: 8px;
    box-shadow: 0 4px 14px rgb(22 24 31 / 5%);
}

.ki-welcome-offer-steps header > span,
.ki-welcome-offer-action > span {
    color: var(--ki-red);
    font-size: 9px;
    font-weight: 900;
}

.ki-welcome-offer-steps h2 {
    margin: 2px 0 13px;
    font-size: 19px;
    letter-spacing: -.04em;
}

.ki-welcome-offer-steps ol {
    margin: 0;
    padding: 0;
    display: grid;
    gap: 8px;
    list-style: none;
}

.ki-welcome-offer-steps li {
    min-height: 58px;
    padding: 10px;
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    background: #f7f7f8;
    border: 1px solid #ebebee;
    border-radius: 6px;
}

.ki-welcome-offer-steps li > span {
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    color: #fff;
    background: #303138;
    border-radius: 50%;
    font-size: 11px;
    font-weight: 900;
}

.ki-welcome-offer-steps li > div {
    display: flex;
    flex-direction: column;
}

.ki-welcome-offer-steps li b {
    font-size: 12px;
}

.ki-welcome-offer-steps li small {
    margin-top: 1px;
    color: var(--ki-muted);
    font-size: 8px;
}

.ki-welcome-offer-action.is-ready {
    background: #f2faf6;
    border-color: #bfdfcf;
}

.ki-welcome-offer-action > strong {
    margin-top: 2px;
    display: block;
    font-size: 18px;
}

.ki-welcome-offer-action > p {
    margin: 4px 0 14px;
    color: var(--ki-muted);
    font-size: 10px;
    line-height: 1.7;
}

.ki-welcome-offer-action > dl {
    margin: 0 0 14px;
    border-top: 1px solid var(--ki-line);
}

.ki-welcome-offer-action > dl > div {
    min-height: 42px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border-bottom: 1px solid var(--ki-line);
}

.ki-welcome-offer-action dt {
    color: var(--ki-muted);
    font-size: 9px;
    font-weight: 700;
}

.ki-welcome-offer-action dd {
    margin: 0;
    font-size: 13px;
    font-weight: 900;
}

.ki-welcome-offer-action form {
    margin: 0;
}

.ki-welcome-offer-all-points {
    margin-top: 10px;
    display: block;
    color: var(--ki-muted) !important;
    text-align: center;
    text-decoration: underline !important;
    text-underline-offset: 3px;
    font-size: 9px;
    font-weight: 800;
}

.ki-notice-list {
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--ki-line);
    border-radius: 8px;
    box-shadow: 0 4px 14px rgb(22 24 31 / 4%);
}

.ki-notice-list > a {
    position: relative;
    min-height: 112px;
    padding: 16px 42px 15px 15px;
    display: block;
    border-bottom: 1px solid var(--ki-line);
}

.ki-notice-list > a:last-child {
    border-bottom: 0;
}

.ki-notice-list > a > div {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ki-notice-list > a > div span {
    padding: 2px 6px;
    color: #a31826;
    background: var(--ki-red-soft);
    border-radius: 3px;
    font-size: 8px;
    font-weight: 900;
}

.ki-notice-list time {
    color: var(--ki-muted);
    font-size: 9px;
    font-weight: 700;
}

.ki-notice-list h2 {
    margin: 7px 0 3px;
    font-size: 14px;
    line-height: 1.45;
}

.ki-notice-list p {
    margin: 0;
    color: var(--ki-muted);
    font-size: 9px;
    line-height: 1.65;
}

.ki-notice-list > a > i {
    position: absolute;
    top: 50%;
    right: 15px;
    color: #a4a6ad;
    font-size: 21px;
    font-style: normal;
    transform: translateY(-50%);
}

.ki-notice-detail {
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--ki-line);
    border-radius: 8px;
    box-shadow: 0 4px 14px rgb(22 24 31 / 4%);
}

.ki-notice-detail > header {
    padding: 19px 17px 17px;
    border-bottom: 1px solid var(--ki-line);
}

.ki-notice-detail > header > span {
    padding: 3px 7px;
    color: #a31826;
    background: var(--ki-red-soft);
    border-radius: 3px;
    font-size: 8px;
    font-weight: 900;
}

.ki-notice-detail time {
    margin-left: 7px;
    color: var(--ki-muted);
    font-size: 9px;
    font-weight: 700;
}

.ki-notice-detail h1 {
    margin: 12px 0 5px;
    font-size: 22px;
    line-height: 1.4;
    letter-spacing: -.04em;
}

.ki-notice-detail > header p {
    margin: 0;
    color: var(--ki-muted);
    font-size: 10px;
}

.ki-notice-detail > div {
    padding: 18px 17px 22px;
}

.ki-notice-detail > div p {
    margin: 0 0 14px;
    font-size: 11px;
    line-height: 1.9;
}

.ki-notice-detail > div p:last-child {
    margin-bottom: 0;
}

@media (min-width: 700px) {
    .ki-welcome-offer-hero > div {
        min-height: 300px;
        padding: 34px;
    }

    .ki-welcome-offer-steps ol {
        grid-template-columns: repeat(3, 1fr);
    }

    .ki-welcome-offer-steps li {
        min-height: 108px;
        grid-template-columns: 1fr;
        align-content: start;
    }
}

@media (min-width: 1160px) {
    .ki-layout {
        grid-template-columns: 200px minmax(0, 640px) 250px;
        gap: 20px;
    }

    .ki-desktop-aside {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .ki-aside-balance,
    .ki-aside-panel,
    .ki-aside-safety {
        background: white;
        border: 1px solid var(--ki-line);
        border-radius: 7px;
    }

    .ki-aside-balance {
        padding: 17px;
        display: flex;
        flex-direction: column;
    }

    .ki-aside-balance > span {
        color: var(--ki-muted);
        font-size: 9px;
        font-weight: 700;
    }

    .ki-aside-balance > strong {
        margin: 2px 0 12px;
        font-size: 25px;
    }

    .ki-aside-balance > strong small {
        font-size: 10px;
    }

    .ki-aside-balance > a {
        min-height: 38px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        color: white;
        background: var(--ki-red);
        border-radius: 4px;
        font-size: 10px;
        font-weight: 900;
    }

    .ki-aside-balance > a span {
        width: 18px;
        height: 18px;
        display: grid;
        place-items: center;
        border: 1px solid rgb(255 255 255 / 60%);
        border-radius: 3px;
        font-size: 9px;
    }

    .ki-aside-panel {
        overflow: hidden;
    }

    .ki-aside-panel h2 {
        margin: 0;
        padding: 13px 14px;
        font-size: 13px;
        border-bottom: 1px solid var(--ki-line);
    }

    .ki-aside-panel > a {
        min-height: 58px;
        padding: 9px 11px;
        display: grid;
        grid-template-columns: 36px minmax(0, 1fr) 10px;
        align-items: center;
        gap: 6px;
        border-bottom: 1px solid var(--ki-line);
    }

    .ki-aside-panel > a:last-child {
        border-bottom: 0;
    }

    .ki-aside-panel > a span {
        color: var(--ki-muted);
        font-size: 8px;
    }

    .ki-aside-panel > a b {
        overflow: hidden;
        font-size: 9px;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .ki-aside-panel > a i {
        color: #aaaeb6;
        font-size: 16px;
        font-style: normal;
    }

    .ki-aside-safety {
        padding: 11px;
        display: grid;
        grid-template-columns: 30px minmax(0, 1fr);
        align-items: center;
        gap: 8px;
    }

    .ki-aside-safety > span {
        width: 28px;
        height: 28px;
        display: grid;
        place-items: center;
        color: white;
        background: #19ae6f;
        border-radius: 50%;
        font-weight: 900;
    }

    .ki-aside-safety div {
        display: flex;
        flex-direction: column;
    }

    .ki-aside-safety b { font-size: 9px; }
    .ki-aside-safety p { margin: 1px 0 0; color: var(--ki-muted); font-size: 7px; }

    .ki-member-footer > div {
        justify-content: center;
    }
}

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

    .ki-payment-spinner {
        animation: none;
    }
}

/* Member home v3 — WINTICKET-inspired main content */

.page-member-home .ki-main-content {
    padding-top: 12px;
}

.ki-home-hero {
    position: relative;
    min-height: 218px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    padding: 18px;
    color: #fff;
    background:
        linear-gradient(90deg, rgb(7 7 9 / 94%) 0%, rgb(32 3 7 / 82%) 44%, rgb(10 10 13 / 15%) 100%),
        linear-gradient(0deg, rgb(6 7 9 / 80%) 0%, transparent 64%),
        url("/image/custom/bg_mainvisual.jpg") center / cover no-repeat;
    border: 1px solid #202228;
    border-radius: 12px;
    box-shadow: 0 12px 28px rgb(14 15 20 / 22%);
    isolation: isolate;
}

.ki-home-hero::after {
    content: "";
    position: absolute;
    z-index: -1;
    top: -80px;
    left: 22%;
    width: 230px;
    height: 230px;
    border: 34px solid rgb(218 19 37 / 18%);
    border-radius: 50%;
}

.ki-home-hero-copy {
    position: relative;
    z-index: 1;
    width: min(78%, 390px);
}

.ki-home-hero-copy > span {
    width: fit-content;
    padding: 5px 9px;
    display: block;
    background: linear-gradient(90deg, #e0192c, #a6000e);
    border-radius: 2px;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .03em;
}

.ki-home-hero-copy h1 {
    margin: 12px 0 4px;
    font-size: clamp(23px, 7vw, 36px);
    line-height: 1.18;
    letter-spacing: -.055em;
    text-shadow: 0 3px 15px rgb(0 0 0 / 55%);
}

.ki-home-hero-copy p {
    margin: 0 0 14px;
    font-size: 12px;
    font-weight: 800;
}

.ki-home-hero-copy p strong {
    margin-left: 4px;
    color: #ff3446;
    font-size: 25px;
    font-variant-numeric: tabular-nums;
}

.ki-home-hero-copy p.is-message {
    margin-top: 8px;
    color: #e5e6ea;
    font-size: 11px;
}

.ki-home-hero-copy > a {
    min-width: 140px;
    min-height: 43px;
    padding: 0 15px;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    color: #fff;
    background: rgb(5 5 7 / 35%);
    border: 1px solid rgb(255 255 255 / 78%);
    border-radius: 6px;
    box-shadow: 0 5px 18px rgb(0 0 0 / 20%);
    font-size: 12px;
    font-weight: 900;
    backdrop-filter: blur(5px);
}

.ki-home-hero-copy > a i {
    font-size: 20px;
    font-style: normal;
}

.ki-home-hero-caption {
    position: absolute;
    right: 12px;
    bottom: 10px;
    color: rgb(255 255 255 / 42%);
    font-size: 7px;
    font-weight: 900;
    letter-spacing: .15em;
    writing-mode: vertical-rl;
}

.page-member-home .ki-wallet-card {
    min-height: 88px;
    margin-top: 12px;
    padding: 14px 15px;
    color: var(--ki-ink);
    background: #fff;
    border: 1px solid var(--ki-line);
    border-radius: 9px;
    box-shadow: var(--ki-shadow);
}

.page-member-home .ki-wallet-card::after {
    display: none;
}

.page-member-home .ki-wallet-balance > span {
    color: #656871;
}

.page-member-home .ki-wallet-balance strong {
    font-size: clamp(28px, 8.5vw, 38px);
}

.page-member-home .ki-wallet-balance em {
    color: #94969d;
    font-size: 8px;
}

.page-member-home .ki-wallet-card > a {
    min-width: 136px;
    border-radius: 7px;
    box-shadow: 0 6px 14px rgb(223 35 51 / 22%);
}

.ki-campaign-rail {
    margin: 14px -12px 0;
    padding: 0 12px 5px;
    display: flex;
    gap: 10px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-width: none;
    scroll-padding-inline: 12px;
    scroll-snap-type: inline mandatory;
}

.ki-campaign-rail::-webkit-scrollbar {
    display: none;
}

.ki-campaign-card {
    position: relative;
    width: min(76vw, 300px);
    min-width: min(76vw, 300px);
    min-height: 142px;
    overflow: hidden;
    padding: 16px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    color: #fff !important;
    border: 1px solid rgb(255 255 255 / 12%);
    border-radius: 10px;
    box-shadow: 0 7px 18px rgb(23 24 30 / 15%);
    scroll-snap-align: start;
    isolation: isolate;
}

.ki-campaign-card::after {
    content: "";
    position: absolute;
    z-index: -1;
    right: -35px;
    bottom: -48px;
    width: 150px;
    height: 150px;
    border: 24px solid rgb(255 255 255 / 9%);
    border-radius: 50%;
}

.ki-campaign-card.is-guide {
    background:
        linear-gradient(110deg, rgb(198 3 21 / 98%) 0 46%, rgb(198 3 21 / 44%) 78%, rgb(198 3 21 / 20%) 100%),
        url("/image/custom/bg_mainvisual.jpg") center / cover no-repeat;
}

.ki-campaign-card.is-night {
    background:
        linear-gradient(105deg, rgb(5 17 37 / 98%) 0 48%, rgb(7 24 49 / 52%) 100%),
        url("/image/custom/memo-boat-race-bg.jpg") center 76% / cover no-repeat;
}

.ki-campaign-card small {
    font-size: 9px;
    font-weight: 800;
    opacity: .86;
}

.ki-campaign-card strong {
    margin: 3px 0 10px;
    font-size: 21px;
    line-height: 1.18;
    letter-spacing: -.045em;
    text-shadow: 0 2px 10px rgb(0 0 0 / 30%);
}

.ki-campaign-card > span {
    width: fit-content;
    padding-top: 7px;
    border-top: 1px solid rgb(255 255 255 / 30%);
    font-size: 9px;
    font-weight: 900;
}

.ki-campaign-card > span i {
    margin-left: 4px;
    font-size: 14px;
    font-style: normal;
}

.ki-campaign-hint {
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.ki-campaign-hint i {
    width: 5px;
    height: 5px;
    background: #d4d5d9;
    border-radius: 50%;
}

.ki-campaign-hint i:first-child {
    width: 14px;
    background: var(--ki-red);
    border-radius: 8px;
}

.ki-campaign-hint span {
    margin-left: 4px;
    color: #9a9ca4;
    font-size: 7px;
}

.page-member-home .ki-notice-strip {
    margin-top: 6px;
    background: #fff;
    border-color: var(--ki-line);
    border-radius: 8px;
}

.page-member-home .ki-home-product-list .ki-product-card {
    grid-template-columns: 118px minmax(0, 1fr);
    min-height: 150px;
    border-radius: 9px;
}

.page-member-home .ki-home-product-list .ki-product-art {
    min-height: 150px;
    background:
        linear-gradient(25deg, rgb(4 5 8 / 84%) 0%, rgb(4 5 8 / 5%) 70%),
        url("/image/custom/memo-boat-race-bg.jpg") center 72% / cover no-repeat;
}

.page-member-home .ki-home-product-list .ki-race-lines {
    display: none;
}

.ki-active-product-list {
    gap: 9px;
}

.ki-active-product-card {
    padding: 0;
    display: grid;
    grid-template-columns: 104px minmax(0, 1fr);
    overflow: hidden;
    border: 1px solid var(--ki-line);
    border-left: 0;
    border-radius: 9px;
}

.ki-active-product-media {
    position: relative;
    min-height: 138px;
    overflow: hidden;
    background: #16171b;
}

.ki-active-product-media.is-race {
    background:
        linear-gradient(0deg, rgb(6 7 9 / 78%) 0%, transparent 70%),
        url("/image/custom/memo-boat-race-bg.jpg") center 74% / cover no-repeat;
}

.ki-active-product-media.is-night {
    background:
        linear-gradient(0deg, rgb(6 9 18 / 88%) 0%, rgb(6 9 18 / 10%) 75%),
        url("/image/custom/bg_mainvisual.jpg") center / cover no-repeat;
}

.ki-active-product-media span {
    position: absolute;
    right: 7px;
    bottom: 7px;
    left: 7px;
    overflow: hidden;
    color: #fff;
    font-size: 10px;
    font-weight: 900;
    text-overflow: ellipsis;
    text-shadow: 0 2px 8px #000;
    white-space: nowrap;
}

.ki-active-product-body {
    min-width: 0;
    padding: 12px;
    display: flex;
    flex-direction: column;
}

.ki-active-product-body header {
    display: flex;
    justify-content: space-between;
    gap: 8px;
}

.ki-active-product-body h3 {
    margin: 8px 0 10px;
    overflow: hidden;
    font-size: 14px;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ki-active-product-body > a {
    min-height: 35px;
    margin-top: auto;
    padding: 0 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ki-red);
    background: #fff;
    border: 1px solid var(--ki-red);
    border-radius: 5px;
    font-size: 10px;
    font-weight: 900;
}

.ki-active-product-body > a span {
    margin-left: 5px;
    font-size: 15px;
}

.page-member-home .ki-section-head h2 {
    font-size: 21px;
}

.page-member-home .ki-performance-list {
    border-radius: 9px;
}

.page-member-home .ki-support-card {
    border-radius: 8px;
}

@media (max-width: 374px) {
    .ki-home-hero {
        min-height: 205px;
        padding: 15px;
    }

    .page-member-home .ki-wallet-card {
        padding: 13px 12px;
    }

    .page-member-home .ki-wallet-card > a {
        min-width: 113px;
        padding: 0 9px;
        font-size: 10px;
    }

    .ki-active-product-card {
        grid-template-columns: 92px minmax(0, 1fr);
    }
}

@media (min-width: 700px) {
    .ki-home-hero {
        min-height: 300px;
        padding: 28px;
        background-position: center 56%;
    }

    .ki-campaign-rail {
        margin-right: 0;
        margin-left: 0;
        padding-right: 0;
        padding-left: 0;
    }

    .ki-campaign-card {
        width: 280px;
        min-width: 280px;
    }

    .page-member-home .ki-home-product-list .ki-product-card {
        grid-template-columns: 180px minmax(0, 1fr);
    }

    .ki-active-product-card {
        grid-template-columns: 160px minmax(0, 1fr);
    }
}

@media (min-width: 900px) {
    .page-member-home .ki-main-content {
        padding-top: 0;
    }

    .ki-home-hero {
        min-height: 292px;
    }
}

/* Approved home composition: keep the shared header and navigation unchanged. */
.ki-recommended-products .ki-home-product-list {
    gap: 9px;
}

.page-member-home .ki-recommended-products .ki-product-card {
    grid-template-columns: 36% minmax(0, 1fr);
    min-height: 136px;
}

.page-member-home .ki-recommended-products .ki-product-art {
    min-height: 136px;
}

.ki-recommended-products .ki-product-art.is-ink {
    background: linear-gradient(150deg, #383a42 0%, #17181d 76%) !important;
}

.ki-recommended-products .ki-product-art.is-red {
    background: linear-gradient(150deg, #ee3343 0%, #a80e1c 80%) !important;
}

.ki-recommended-products .ki-product-art.is-navy {
    background: linear-gradient(150deg, #263856 0%, #111927 80%) !important;
}

.ki-recommended-products .ki-product-art.is-gold {
    background: linear-gradient(150deg, #8c641f 0%, #30240f 80%) !important;
}

.ki-recommended-products .ki-race-lines {
    display: flex !important;
}

.ki-recommended-products .ki-product-art-copy {
    color: #fff;
}

.ki-recommended-products .ki-product-info {
    padding: 11px 12px;
}

.ki-recommended-products .ki-product-info h2 {
    margin-top: 6px;
    font-size: 14px;
}

.ki-recommended-products .ki-primary-compact {
    min-height: 32px;
    margin-top: 6px;
}

.ki-home-performance .ki-performance-list {
    overflow: hidden;
    border-radius: 9px;
}

.ki-home-performance .ki-performance-list article {
    min-height: 70px;
    padding: 8px 10px;
    grid-template-columns: 47px minmax(0, 1fr) auto 9px;
    gap: 8px;
}

.ki-home-performance .ki-performance-list article > time {
    color: var(--ki-muted);
    font-size: 9px;
    font-weight: 800;
    white-space: nowrap;
}

.ki-performance-thumb {
    display: none;
}

.ki-performance-race {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.ki-performance-race b {
    overflow: hidden;
    font-size: 12px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ki-performance-race small {
    overflow: hidden;
    color: var(--ki-muted);
    font-size: 9px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ki-home-performance .ki-hit-chip {
    display: none;
}

.ki-home-performance .ki-performance-list article > strong {
    color: var(--ki-red);
    font-size: 14px;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.ki-home-performance .ki-performance-list article > i {
    color: #9b9da5;
    font-size: 17px;
    font-style: normal;
}

@media (min-width: 700px) {
    .ki-home-performance .ki-performance-list article {
        grid-template-columns: 48px 78px minmax(0, 1fr) auto auto 10px;
    }

    .ki-performance-thumb {
        width: 78px;
        height: 47px;
        display: block;
        background: #17181d;
        border-radius: 4px;
    }

    .ki-performance-thumb.is-race {
        background:
            linear-gradient(0deg, rgb(7 8 10 / 30%), rgb(7 8 10 / 5%)),
            url("/image/custom/memo-boat-race-bg.jpg") center 72% / cover no-repeat;
    }

    .ki-performance-thumb.is-night {
        background:
            linear-gradient(0deg, rgb(7 8 13 / 50%), rgb(7 8 13 / 8%)),
            url("/image/custom/bg_mainvisual.jpg") center / cover no-repeat;
    }

    .ki-home-performance .ki-hit-chip {
        display: inline-flex;
        align-items: center;
    }
}

@media (min-width: 900px) {
    .page-member-home .ki-content-section {
        margin-top: 14px;
    }

    .page-member-home .ki-section-head {
        margin-bottom: 6px;
    }

    .ki-home-hero {
        min-height: 190px;
        padding: 18px;
    }

    .ki-home-hero-copy h1 {
        font-size: 28px;
    }

    .page-member-home .ki-wallet-card {
        min-height: 72px;
        margin-top: 10px;
        padding: 11px 14px;
    }

    .page-member-home .ki-wallet-balance strong {
        font-size: 29px;
    }

    .ki-campaign-rail {
        margin-top: 10px;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        overflow: visible;
    }

    .ki-campaign-card {
        width: auto;
        min-width: 0;
        min-height: 94px;
        padding: 12px 14px;
    }

    .ki-campaign-card strong {
        margin: 2px 0 5px;
        font-size: 18px;
    }

    .ki-campaign-card > span {
        padding-top: 4px;
    }

    .ki-campaign-hint {
        display: none;
    }

    .page-member-home .ki-recommended-products .ki-home-product-list {
        gap: 7px;
    }

    .page-member-home .ki-recommended-products .ki-product-card,
    .page-member-home .ki-recommended-products .ki-product-art {
        min-height: 116px;
    }

    .page-member-home .ki-recommended-products .ki-product-info {
        padding: 8px 10px;
    }

    .page-member-home .ki-recommended-products .ki-product-info h2 {
        margin: 4px 0 1px;
        font-size: 13px;
    }

    .page-member-home .ki-recommended-products .ki-product-info > p {
        font-size: 8px;
        line-height: 1.35;
    }

    .page-member-home .ki-recommended-products .ki-product-meta {
        padding-top: 4px;
    }

    .page-member-home .ki-recommended-products .ki-primary-compact {
        min-height: 30px;
        margin-top: 4px;
    }

    .ki-home-performance .ki-performance-list article {
        min-height: 58px;
        padding-block: 5px;
    }

    .ki-active-product-card {
        grid-template-columns: 148px minmax(0, 1fr);
    }

    .ki-active-product-media {
        min-height: 104px;
    }

    .ki-active-product-body {
        padding: 9px 10px;
    }

    .ki-active-product-body h3 {
        margin: 4px 0 6px;
    }

    .ki-active-product-body > a {
        min-height: 30px;
    }
}

@media (min-width: 1160px) {
    .page-member-home .ki-notice-strip {
        display: none;
    }
}

/* Agent columns — editorial entry point below purchased predictions */

.ki-agent-column-banner {
    position: relative;
    min-height: 154px;
    overflow: hidden;
    margin-top: 14px;
    padding: 17px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 14px;
    color: var(--ki-ink);
    background:
        linear-gradient(100deg, #fff 0 45%, rgb(255 255 255 / 94%) 58%, rgb(255 255 255 / 20%) 100%),
        url("/image/custom/memo-boat-race-bg.jpg") right 70% / 58% auto no-repeat,
        #fff;
    border: 1px solid var(--ki-line);
    border-radius: 9px;
    box-shadow: 0 7px 18px rgb(23 24 30 / 8%);
    isolation: isolate;
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.ki-agent-column-banner::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;
    background:
        linear-gradient(90deg, transparent 0 52%, rgb(5 15 29 / 5%) 70%, rgb(5 15 29 / 28%) 100%),
        linear-gradient(155deg, transparent 0 55%, rgb(224 31 49 / 8%) 56% 57%, transparent 58%);
    pointer-events: none;
}

.ki-agent-column-banner:hover {
    border-color: #d7aeb2;
    box-shadow: 0 12px 26px rgb(23 24 30 / 13%);
    transform: translateY(-2px);
}

.ki-agent-column-copy {
    position: relative;
    z-index: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.ki-agent-column-copy > small,
.ki-column-page-hero > div:first-child > small {
    width: fit-content;
    padding: 4px 7px;
    color: #fff;
    background: var(--ki-red);
    border-radius: 2px;
    font-size: 8px;
    font-weight: 900;
}

.ki-agent-column-copy > strong {
    margin-top: 7px;
    font-size: 22px;
    line-height: 1.18;
    letter-spacing: -.045em;
}

.ki-agent-column-copy > span {
    margin-top: 3px;
    color: #545861;
    font-size: 9px;
    font-weight: 700;
    line-height: 1.55;
}

.ki-agent-column-copy > b {
    min-width: 126px;
    min-height: 32px;
    margin-top: 10px;
    padding: 0 11px;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: #fff;
    background: #121318;
    border-radius: 4px;
    font-size: 9px;
    font-weight: 900;
}

.ki-agent-column-copy > b i {
    font-size: 16px;
    font-style: normal;
}

.ki-agent-column-team {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: end;
    gap: 7px;
}

.ki-agent-column-team > span,
.ki-column-page-team > span {
    width: 49px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.ki-agent-column-team img,
.ki-column-page-team img {
    width: 39px;
    height: 39px;
    object-fit: cover;
    object-position: top center;
    background: #e8e9ec;
    border: 2px solid #fff;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgb(15 16 20 / 22%);
}

.ki-agent-column-team small {
    max-width: 100%;
    margin-top: 4px;
    overflow: hidden;
    color: #2b2d33;
    font-size: 7px;
    font-weight: 900;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ki-agent-column-team b {
    color: #5f626a;
    font-size: 6px;
    white-space: nowrap;
}

.ki-column-page-hero {
    position: relative;
    min-height: 225px;
    overflow: hidden;
    margin-top: 10px;
    padding: 22px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 20px;
    color: #fff;
    background:
        linear-gradient(90deg, rgb(7 8 11 / 96%) 0 45%, rgb(7 8 11 / 56%) 74%, rgb(7 8 11 / 28%) 100%),
        url("/image/custom/memo-boat-race-bg.jpg") right 70% / cover no-repeat;
    border: 1px solid #202228;
    border-radius: 10px;
    box-shadow: 0 12px 28px rgb(14 15 20 / 18%);
}

.ki-column-page-hero h1 {
    margin: 10px 0 4px;
    font-size: clamp(27px, 6vw, 38px);
    letter-spacing: -.055em;
}

.ki-column-page-hero p {
    max-width: 390px;
    margin: 0;
    color: #d5d7dc;
    font-size: 11px;
    line-height: 1.7;
}

.ki-column-page-team {
    display: flex;
    gap: 9px;
}

.ki-column-page-team > span {
    width: 58px;
}

.ki-column-page-team img {
    width: 48px;
    height: 48px;
}

.ki-column-page-team b {
    margin-top: 5px;
    color: #fff;
    font-size: 8px;
    white-space: nowrap;
}

.ki-column-page-team small {
    color: #b8bbc3;
    font-size: 7px;
    white-space: nowrap;
}

.ki-column-list {
    margin-top: 16px;
    display: grid;
    gap: 9px;
}

.ki-column-card {
    min-height: 132px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 118px minmax(0, 1fr);
    background: #fff;
    border: 1px solid var(--ki-line);
    border-radius: 8px;
    box-shadow: var(--ki-shadow);
    transition: border-color .18s ease, transform .18s ease;
}

.ki-column-card:hover {
    border-color: #d7aeb2;
    transform: translateY(-1px);
}

.ki-column-card-visual {
    position: relative;
    overflow: hidden;
    background: linear-gradient(145deg, #252731, #101116);
}

.ki-column-card-visual::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgb(5 6 9 / 55%), transparent 70%);
}

.ki-column-card-visual img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: top center;
    filter: saturate(.72) contrast(1.04);
}

.ki-column-card-visual small {
    position: absolute;
    z-index: 1;
    right: 7px;
    bottom: 7px;
    left: 7px;
    color: #fff;
    font-size: 8px;
    font-weight: 900;
    text-shadow: 0 2px 7px #000;
}

.ki-column-card-body {
    min-width: 0;
    padding: 13px;
    display: flex;
    flex-direction: column;
}

.ki-column-card-body > small {
    color: var(--ki-muted);
    font-size: 8px;
    font-weight: 700;
}

.ki-column-card-body > strong {
    margin-top: 5px;
    overflow: hidden;
    font-size: 15px;
    line-height: 1.4;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ki-column-card-body > span {
    margin-top: 3px;
    overflow: hidden;
    color: var(--ki-muted);
    display: -webkit-box;
    font-size: 9px;
    line-height: 1.55;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.ki-column-card-body > b {
    margin-top: auto;
    color: var(--ki-red);
    font-size: 9px;
    font-weight: 900;
}

.ki-column-card-body > b i {
    font-size: 14px;
    font-style: normal;
}

@media (max-width: 560px) {
    .ki-agent-column-banner {
        min-height: 242px;
        padding: 16px;
        grid-template-columns: 1fr;
        align-items: end;
        background:
            linear-gradient(180deg, rgb(255 255 255 / 2%) 0 32%, rgb(255 255 255 / 88%) 51%, #fff 64%),
            url("/image/custom/memo-boat-race-bg.jpg") center top / 100% auto no-repeat,
            #fff;
    }

    .ki-agent-column-team {
        position: absolute;
        top: 20px;
        right: 14px;
    }

    .ki-agent-column-team small,
    .ki-agent-column-team b {
        color: #fff;
        text-shadow: 0 2px 6px #000;
    }

    .ki-agent-column-copy > span {
        max-width: 250px;
    }

    .ki-column-page-hero {
        min-height: 320px;
        padding: 18px;
        grid-template-columns: 1fr;
        background:
            linear-gradient(0deg, rgb(7 8 11 / 98%) 0 52%, rgb(7 8 11 / 54%) 100%),
            url("/image/custom/memo-boat-race-bg.jpg") 68% top / auto 56% no-repeat;
    }

    .ki-column-page-team {
        justify-content: flex-start;
    }

    .ki-column-card {
        grid-template-columns: 92px minmax(0, 1fr);
    }

    .ki-column-card-body {
        padding: 11px;
    }
}

/* Member banner polish — faithful to the approved visual concept */

.ki-home-hero {
    min-height: 230px;
    background:
        linear-gradient(90deg, rgb(4 5 8 / 98%) 0%, rgb(5 7 11 / 91%) 34%, rgb(5 7 11 / 48%) 58%, rgb(5 7 11 / 7%) 100%),
        linear-gradient(0deg, rgb(3 4 7 / 72%) 0%, transparent 56%),
        url("/image/custom/member-night-race.webp") center 54% / cover no-repeat;
    border-color: #1b1d23;
    border-radius: 8px;
    box-shadow: 0 12px 30px rgb(9 11 16 / 22%);
}

.ki-home-hero::after {
    z-index: 0;
    top: auto;
    right: 3%;
    bottom: -55px;
    left: auto;
    width: 290px;
    height: 135px;
    background: radial-gradient(ellipse, rgb(235 23 42 / 19%) 0%, transparent 66%);
    border: 0;
    border-radius: 50%;
    filter: blur(8px);
}

.ki-home-hero-copy {
    width: min(72%, 410px);
}

.ki-home-hero-copy > span {
    padding: 0;
    color: #f6f7fa;
    background: transparent;
    font-size: 11px;
    letter-spacing: .01em;
    text-shadow: 0 2px 8px #000;
}

.ki-home-hero-copy h1 {
    margin: 8px 0 10px;
    font-size: clamp(25px, 7vw, 37px);
}

.ki-home-hero-copy p {
    width: fit-content;
    margin: 0 0 14px;
    padding: 5px 9px;
    color: #fff;
    background: rgb(5 6 9 / 48%);
    border: 1px solid rgb(255 255 255 / 72%);
    border-radius: 4px;
    font-size: 10px;
    backdrop-filter: blur(4px);
}

.ki-home-hero-copy p strong {
    margin-left: 3px;
    color: #fff;
    font-size: 12px;
}

.ki-home-hero-copy p.is-message {
    margin-top: 0;
}

.ki-home-hero-copy > a {
    min-width: 150px;
    min-height: 42px;
    color: #fff;
    background: linear-gradient(135deg, #f5152b 0%, #e0081d 100%);
    border-color: #f5152b;
    border-radius: 4px;
    box-shadow: 0 7px 18px rgb(226 8 29 / 28%);
    backdrop-filter: none;
}

.ki-home-hero-copy > a:hover {
    background: #cf0618;
    border-color: #cf0618;
    transform: translateY(-1px);
}

.ki-home-hero-dots {
    position: absolute;
    z-index: 2;
    right: 0;
    bottom: 10px;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    pointer-events: none;
}

.ki-home-hero-dots i {
    width: 7px;
    height: 7px;
    display: block;
    background: rgb(255 255 255 / 92%);
    border: 1px solid rgb(8 9 12 / 32%);
    border-radius: 50%;
    box-shadow: 0 1px 4px rgb(0 0 0 / 32%);
}

.ki-home-hero-dots i.is-current {
    background: var(--ki-red);
    border-color: var(--ki-red);
}

.ki-home-hero-caption {
    display: none;
}

.ki-campaign-card {
    border-radius: 7px;
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.ki-campaign-card:hover {
    box-shadow: 0 11px 24px rgb(23 24 30 / 17%);
    transform: translateY(-2px);
}

.ki-campaign-card.is-guide {
    padding-right: 43%;
    color: #24262d !important;
    background:
        radial-gradient(circle at 88% 18%, rgb(255 36 55 / 14%) 0 20%, transparent 21%),
        linear-gradient(115deg, #fff 0 59%, #fff5f6 100%);
    border-color: #ff5362;
    box-shadow: 0 7px 18px rgb(224 25 43 / 10%);
}

.ki-campaign-card.is-guide::after {
    right: -62px;
    bottom: -78px;
    width: 180px;
    height: 180px;
    border-color: rgb(239 22 42 / 8%);
}

.ki-campaign-card.is-guide small {
    color: #3a3c43;
    opacity: 1;
}

.ki-campaign-card.is-guide strong {
    position: relative;
    z-index: 1;
    color: #d60a1d;
    text-shadow: none;
}

.ki-campaign-card.is-guide > span {
    position: relative;
    z-index: 1;
    color: #555962;
    border-top-color: rgb(218 10 30 / 24%);
}

.ki-campaign-guide-visual {
    position: absolute;
    z-index: 0;
    right: 1px;
    bottom: -10px;
    width: 42%;
    height: auto;
    display: block;
    object-fit: contain;
    filter: drop-shadow(0 8px 9px rgb(54 10 14 / 17%));
    pointer-events: none;
}

.ki-campaign-card.is-night {
    background:
        linear-gradient(100deg, rgb(3 8 18 / 97%) 0 46%, rgb(3 9 20 / 52%) 72%, rgb(3 9 20 / 18%) 100%),
        linear-gradient(0deg, rgb(3 5 10 / 70%) 0%, transparent 66%),
        url("/image/custom/member-night-race.webp") 69% 54% / cover no-repeat;
    border-color: #283341;
}

.ki-campaign-card.is-night::after {
    display: none;
}

.ki-campaign-card.is-night strong {
    max-width: 220px;
}

.ki-campaign-card.is-night > span {
    border-top-color: rgb(255 255 255 / 24%);
}

.ki-recommended-products .ki-product-art::before {
    top: 16px;
    right: -74px;
    width: 184px;
    height: 184px;
    border: 2px solid rgb(255 255 255 / 24%);
    box-shadow:
        0 0 0 10px rgb(255 255 255 / 4%),
        0 0 0 24px rgb(255 255 255 / 4%),
        0 0 0 42px rgb(255 255 255 / 3%);
}

.ki-recommended-products .ki-product-art::after {
    right: -52px;
    bottom: -76px;
    width: 200px;
    height: 126px;
    background: linear-gradient(145deg, transparent 0 35%, rgb(0 0 0 / 24%) 36% 100%);
}

.ki-recommended-products .ki-race-lines {
    top: 46px;
    right: -9px;
    left: 5px;
    gap: 5px;
    transform: rotate(-10deg) skewY(-5deg);
    opacity: .88;
}

.ki-recommended-products .ki-race-lines i {
    height: 2px;
    box-shadow: 0 0 7px currentColor;
}

.ki-active-product-media.is-night,
.ki-performance-thumb.is-night {
    background:
        linear-gradient(0deg, rgb(4 7 14 / 75%) 0%, rgb(4 7 14 / 8%) 72%),
        url("/image/custom/member-night-race.webp") 72% 54% / cover no-repeat;
}

.ki-agent-column-banner {
    min-height: 164px;
    background:
        linear-gradient(96deg, #fff 0 43%, rgb(255 255 255 / 96%) 54%, rgb(255 255 255 / 42%) 70%, rgb(255 255 255 / 4%) 100%),
        url("/image/custom/member-night-race.webp") 73% 54% / cover no-repeat,
        #fff;
    border-radius: 8px;
}

.ki-agent-column-banner::before {
    background:
        linear-gradient(90deg, transparent 0 52%, rgb(5 15 29 / 3%) 70%, rgb(5 15 29 / 18%) 100%),
        linear-gradient(155deg, transparent 0 55%, rgb(224 31 49 / 8%) 56% 57%, transparent 58%);
}

.ki-column-page-hero {
    background:
        linear-gradient(90deg, rgb(7 8 11 / 97%) 0 42%, rgb(7 8 11 / 66%) 64%, rgb(7 8 11 / 20%) 100%),
        url("/image/custom/member-night-race.webp") 72% 54% / cover no-repeat;
}

@media (max-width: 560px) {
    .ki-home-hero-copy {
        width: min(78%, 300px);
    }

    .ki-home-hero-copy h1 {
        max-width: 250px;
        font-size: clamp(24px, 7.4vw, 31px);
    }

    .ki-home-hero {
        background-position: center 54%;
    }

    .ki-campaign-guide-visual {
        right: -4px;
        bottom: -12px;
        width: 46%;
    }

    .ki-campaign-card.is-guide strong {
        font-size: 18px;
        white-space: nowrap;
    }

    .ki-agent-column-banner {
        min-height: 252px;
        background:
            linear-gradient(180deg, rgb(255 255 255 / 1%) 0 31%, rgb(255 255 255 / 86%) 50%, #fff 64%),
            url("/image/custom/member-night-race.webp") 76% top / 150% auto no-repeat,
            #fff;
    }

    .ki-column-page-hero {
        background:
            linear-gradient(0deg, rgb(7 8 11 / 98%) 0 52%, rgb(7 8 11 / 40%) 100%),
            url("/image/custom/member-night-race.webp") 76% top / 150% auto no-repeat;
    }
}

@media (min-width: 700px) {
    .ki-home-hero {
        min-height: 244px;
    }

    .ki-campaign-guide-visual {
        right: -1px;
        bottom: -12px;
        width: 43%;
    }
}

@media (min-width: 900px) {
    .ki-home-hero {
        min-height: 208px;
        padding: 20px;
    }

    .ki-home-hero-copy h1 {
        font-size: 29px;
    }

    .ki-campaign-card {
        min-height: 98px;
    }

    .ki-campaign-card.is-guide {
        padding-right: 39%;
    }

    .ki-campaign-guide-visual {
        right: 3px;
        bottom: -8px;
        width: 35%;
    }

    .ki-campaign-card strong {
        max-width: 185px;
        font-size: 17px;
    }
}

/* Member home — approved general-premium visual direction */

.page-member-home .ki-main-content {
    position: relative;
}

.page-member-home .ki-main-content::before {
    content: "";
    position: absolute;
    z-index: -1;
    right: 0;
    bottom: 90px;
    left: 0;
    height: 430px;
    opacity: .55;
    background:
        repeating-radial-gradient(ellipse at 18% 92%, transparent 0 16px, rgb(39 97 155 / 5%) 17px 18px, transparent 19px 32px),
        repeating-radial-gradient(ellipse at 82% 92%, transparent 0 21px, rgb(39 97 155 / 4%) 22px 23px, transparent 24px 40px);
    pointer-events: none;
}

.page-member-home .ki-home-hero {
    min-height: 246px;
    padding: 25px;
    align-items: center;
    color: #fff;
    background:
        linear-gradient(90deg, rgb(2 17 34 / 34%) 0 38%, transparent 62%),
        url("/image/custom/member-first-time-abstract-v1.webp") center 55% / cover no-repeat;
    border-color: #cfd6de;
    border-radius: 9px;
    box-shadow: 0 12px 28px rgb(20 37 55 / 13%);
    isolation: isolate;
}

.page-member-home .ki-home-hero::before {
    display: none;
}

.page-member-home .ki-home-hero::after {
    display: none;
}

.page-member-home .ki-home-hero-copy {
    width: min(68%, 440px);
}

.page-member-home .ki-home-hero-copy > span {
    width: fit-content;
    padding: 5px 10px;
    color: #fff;
    background: linear-gradient(135deg, #ed1f2b, #c90918);
    border-radius: 4px;
    box-shadow: 0 4px 12px rgb(160 4 18 / 22%);
    font-size: 11px;
    letter-spacing: .06em;
    text-shadow: none;
}

.page-member-home .ki-home-hero-copy h1 {
    margin: 14px 0 10px;
    color: #fff;
    font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
    font-size: clamp(30px, 5.1vw, 40px);
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: .01em;
    text-shadow: 0 3px 16px rgb(1 8 16 / 48%);
}

.page-member-home .ki-home-hero-copy p {
    margin: 0;
    padding: 0;
    color: #f9fafc;
    background: transparent;
    border: 0;
    font-size: 13px;
    font-weight: 700;
    text-shadow: 0 2px 9px rgb(1 8 16 / 65%);
    backdrop-filter: none;
}

.page-member-home .ki-home-hero:hover {
    box-shadow: 0 16px 36px rgb(20 37 55 / 18%);
    transform: translateY(-1px);
}

.page-member-home .ki-campaign-card.is-guide {
    background:
        radial-gradient(circle at 87% 20%, rgb(224 188 142 / 14%) 0 20%, transparent 21%),
        linear-gradient(115deg, #fffdf9 0 57%, #f7efe5 100%);
    border-color: #eadfce;
    box-shadow: 0 7px 18px rgb(112 78 37 / 9%);
}

.page-member-home .ki-campaign-card.is-guide strong {
    color: #9e2530;
}

.page-member-home .ki-campaign-card.is-night {
    background:
        linear-gradient(96deg, rgb(2 14 30 / 98%) 0 43%, rgb(2 14 30 / 72%) 58%, rgb(2 14 30 / 18%) 100%),
        url("/image/custom/member-night-waterfront-v1.webp") center 66% / cover no-repeat;
}

.page-member-home .ki-recommended-products .ki-product-art {
    background-position: center 68% !important;
    background-size: cover !important;
}

.page-member-home .ki-recommended-products .ki-product-art.is-category-trial {
    background:
        linear-gradient(18deg, rgb(3 13 23 / 68%), rgb(3 13 23 / 7%) 74%),
        url("/image/custom/memo-boat-race-bg.jpg") center 68% / cover no-repeat !important;
}

.page-member-home .ki-recommended-products .ki-product-art.is-category-standard {
    background:
        linear-gradient(18deg, rgb(2 9 19 / 70%), rgb(2 9 19 / 8%) 72%),
        url("/image/custom/member-night-race.webp") center 52% / cover no-repeat !important;
}

.page-member-home .ki-recommended-products .ki-product-art.is-category-high_return {
    background:
        linear-gradient(18deg, rgb(3 12 24 / 72%), rgb(3 12 24 / 8%) 70%),
        url("/image/custom/memo-boat-race-bg.jpg") 72% 72% / cover no-repeat !important;
}

.page-member-home .ki-recommended-products .ki-product-art::before,
.page-member-home .ki-recommended-products .ki-product-art::after,
.page-member-home .ki-recommended-products .ki-race-lines,
.page-member-home .ki-recommended-products .ki-product-art-copy {
    display: none !important;
}

.page-member-home .ki-recommended-products .ki-product-badge {
    position: relative;
    z-index: 1;
    box-shadow: 0 2px 7px rgb(0 0 0 / 13%);
}

.ki-winning-grid {
    display: grid;
    gap: 12px;
}

.ki-winning-card {
    overflow: hidden;
    padding: 15px;
    background:
        linear-gradient(150deg, rgb(255 255 255 / 98%), rgb(249 251 254 / 98%)),
        #fff;
    border: 1px solid #cbd8e6;
    border-radius: 8px;
    box-shadow: 0 7px 18px rgb(18 46 73 / 7%);
}

.ki-winning-card > header {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ki-winning-card > header span,
.ki-winning-card > header small {
    min-height: 27px;
    padding: 0 11px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 900;
}

.ki-winning-card > header span {
    color: #fff;
    background: var(--ki-red);
}

.ki-winning-card > header small {
    color: #252a31;
    background: #f2f0ec;
    border: 1px solid #dedbd5;
}

.ki-winning-races {
    margin-top: 9px;
}

.ki-winning-races > div {
    min-height: 51px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    border-bottom: 1px solid #e6ebf0;
}

.ki-winning-races > div > b {
    font-size: 14px;
    white-space: nowrap;
}

.ki-boat-combination {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.ki-boat-combination i {
    color: #202a34;
    font-size: 15px;
    font-style: normal;
    font-weight: 900;
}

.ki-boat-combination em {
    width: 31px;
    height: 31px;
    display: grid;
    place-items: center;
    color: #fff;
    border: 1px solid rgb(0 0 0 / 8%);
    border-radius: 4px;
    box-shadow: inset 0 0 0 1px rgb(255 255 255 / 13%);
    font-size: 18px;
    font-style: normal;
    font-weight: 900;
    font-variant-numeric: tabular-nums;
}

.ki-boat-combination .is-boat-1 { color: #222831; background: #fff; border-color: #c6cbd1; }
.ki-boat-combination .is-boat-2 { background: #132f4d; }
.ki-boat-combination .is-boat-3 { background: #dc4934; }
.ki-boat-combination .is-boat-4 { background: #297cb8; }
.ki-boat-combination .is-boat-5 { color: #222831; background: #edcf2e; }
.ki-boat-combination .is-boat-6 { background: #369849; }

.ki-winning-card > footer {
    min-height: 54px;
    padding-top: 10px;
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 10px;
}

.ki-winning-card > footer > span {
    color: #15324f;
    font-size: 11px;
    font-weight: 900;
}

.ki-winning-card > footer > strong {
    color: #df1726;
    font-size: clamp(24px, 5vw, 31px);
    line-height: 1;
    letter-spacing: -.045em;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.ki-winning-card > footer > strong small {
    margin-left: 3px;
    font-size: 12px;
}

.page-member-home .ki-agent-column-banner {
    min-height: 150px;
    padding: 17px 18px;
    background:
        linear-gradient(90deg, rgb(255 255 255 / 98%) 0 36%, rgb(255 255 255 / 48%) 49%, transparent 61%),
        url("/image/custom/member-agent-column-v1.webp") center 49% / cover no-repeat;
    border-color: #c8d6e5;
}

.page-member-home .ki-agent-column-banner::before {
    display: none;
}

.page-member-home .ki-agent-column-team {
    position: absolute;
    right: 2px;
    bottom: 5px;
    width: 310px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    pointer-events: none;
}

.page-member-home .ki-agent-column-team > span {
    width: auto;
    min-width: 0;
    background: transparent;
}

.page-member-home .ki-agent-column-team small {
    position: static;
    max-width: none;
    margin: 0;
    padding: 3px 5px;
    color: #fff;
    background: rgb(8 27 45 / 72%);
    border-radius: 3px;
    font-size: 9px;
    text-shadow: 0 1px 4px #000;
}

.page-member-home .ki-agent-column-team b {
    display: none;
}

@media (min-width: 600px) {
    .ki-winning-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .page-member-home .ki-home-hero {
        min-height: 224px;
        padding: 19px;
        background-position: 55% center;
    }

    .page-member-home .ki-home-hero-copy {
        width: min(88%, 320px);
    }

    .page-member-home .ki-home-hero-copy h1 {
        font-size: clamp(25px, 7vw, 28px);
    }

    .page-member-home .ki-home-hero-copy p {
        max-width: 210px;
        font-size: 11px;
    }

    .ki-winning-card {
        padding: 13px;
    }

    .ki-winning-races > div {
        min-height: 48px;
    }

    .page-member-home .ki-agent-column-banner {
        min-height: 264px;
        padding: 16px;
        grid-template-columns: 1fr;
        align-items: end;
        background:
            linear-gradient(180deg, transparent 0 43%, rgb(255 255 255 / 92%) 55%, #fbfdff 70%),
            url("/image/custom/member-agent-column-v1.webp") right top / auto 158px no-repeat,
            linear-gradient(155deg, #fbfdff 0 58%, #eaf1f8 100%);
    }

    .page-member-home .ki-agent-column-team {
        top: 124px;
        right: 0;
        bottom: auto;
        left: auto;
        width: 205px;
    }

    .page-member-home .ki-agent-column-copy {
        max-width: 260px;
    }
}

@media (min-width: 900px) {
    .page-member-home .ki-home-hero {
        min-height: 258px;
    }

    .page-member-home .ki-recommended-products .ki-product-card,
    .page-member-home .ki-recommended-products .ki-product-art {
        min-height: 110px;
    }

    .ki-winning-card {
        padding: 14px;
    }

    .page-member-home .ki-campaign-card {
        min-height: 104px;
    }

    .page-member-home .ki-recommended-products .ki-product-info {
        padding: 7px 10px;
    }

    .page-member-home .ki-recommended-products .ki-product-info h2 {
        margin: 3px 0 1px;
    }

    .page-member-home .ki-recommended-products .ki-product-meta {
        padding-top: 2px;
    }

    .page-member-home .ki-recommended-products .ki-primary-compact {
        min-height: 27px;
        margin-top: 3px;
    }
}

.ki-notice-page-title {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 14px;
}

.ki-notice-page-title form {
    flex: 0 0 auto;
}

.ki-notice-page-title button {
    min-height: 34px;
    padding: 0 12px;
    color: var(--ki-red);
    background: #fff;
    border: 1px solid #dfc4c6;
    border-radius: 5px;
    font-family: inherit;
    font-size: 10px;
    font-weight: 900;
}

.ki-notice-list > a.is-unread {
    background: linear-gradient(90deg, #fff8f8 0, #fff 44%);
}

.ki-notice-list > a.is-unread::before {
    content: "";
    position: absolute;
    top: 16px;
    bottom: 16px;
    left: 0;
    width: 3px;
    background: var(--ki-red);
}

.ki-notice-list > a > div b {
    padding: 2px 6px;
    color: #fff;
    background: var(--ki-red);
    border-radius: 3px;
    font-size: 8px;
    font-weight: 900;
}

.ki-notice-list + nav {
    margin-top: 14px;
}

.ki-notice-action {
    min-height: 44px;
    margin-top: 20px;
    padding: 0 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #fff;
    background: var(--ki-red);
    border-radius: 5px;
    font-size: 11px;
    font-weight: 900;
}

@media (max-width: 520px) {
    .ki-notice-page-title {
        align-items: stretch;
        flex-direction: column;
    }

    .ki-notice-page-title button {
        width: 100%;
    }
}

/* Personal notifications, announcements, FAQ, and support. */
.ki-support-form-card {
    padding: 18px 16px;
    border-radius: 8px;
    box-shadow: var(--ki-shadow);
}

.ki-support-form-card .ki-form-heading > span {
    color: #fff;
    background: #0d3156;
}

.ki-support-form-card .ki-form-heading small {
    margin-top: 1px;
}

.ki-support-category {
    min-width: 0;
    margin: 18px 0 0;
    padding: 0;
    border: 0;
}

.ki-support-category legend {
    margin-bottom: 7px;
    color: #555861;
    font-size: 10px;
    font-weight: 800;
}

.ki-support-category-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
}

.ki-support-category-grid label {
    min-width: 0;
    cursor: pointer;
}

.ki-support-category-grid input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.ki-support-category-grid label > span {
    min-height: 72px;
    padding: 9px 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    text-align: center;
    background: #fff;
    border: 1px solid var(--ki-line-dark);
    border-radius: 6px;
    transition: border-color .16s ease, background .16s ease, box-shadow .16s ease;
}

.ki-support-category-grid label > span i {
    width: 27px;
    height: 27px;
    display: grid;
    place-items: center;
    color: #0d3156;
    background: #f0f5fa;
    border-radius: 50%;
    font-size: 10px;
    font-style: normal;
    font-weight: 900;
}

.ki-support-category-grid label > span b {
    font-size: 9px;
    line-height: 1.35;
}

.ki-support-category-grid input:checked + span {
    background: #f5f9fd;
    border-color: #0d3156;
    box-shadow: inset 0 0 0 1px #0d3156;
}

.ki-support-category-grid input:checked + span i {
    color: #fff;
    background: #0d3156;
}

.ki-support-category-grid input:focus-visible + span {
    outline: 3px solid rgb(223 35 51 / 28%);
    outline-offset: 2px;
}

.ki-text-field input,
.ki-text-field textarea,
.ki-text-field select {
    width: 100%;
    padding: 10px 11px;
    color: var(--ki-ink);
    background: #fff;
    border: 1px solid var(--ki-line-dark);
    border-radius: 5px;
    font: inherit;
    font-size: 11px;
}

.ki-text-field textarea {
    min-height: 150px;
    line-height: 1.75;
    resize: vertical;
}

.ki-text-field input::placeholder,
.ki-text-field textarea::placeholder {
    color: #a4a7af;
}

.ki-support-form .ki-big-primary {
    margin-top: 16px;
}

.ki-faq-toolbar {
    margin-bottom: 12px;
}

.ki-faq-search {
    position: relative;
    display: block;
}

.ki-faq-search > span {
    position: absolute;
    z-index: 1;
    top: 50%;
    left: 15px;
    width: 15px;
    height: 15px;
    border: 2px solid #40536a;
    border-radius: 50%;
    transform: translateY(-58%);
    pointer-events: none;
}

.ki-faq-search > span::after {
    content: "";
    position: absolute;
    right: -5px;
    bottom: -3px;
    width: 6px;
    height: 2px;
    background: #40536a;
    transform: rotate(45deg);
}

.ki-faq-search input {
    width: 100%;
    height: 46px;
    padding: 0 14px 0 42px;
    color: var(--ki-ink);
    background: #fff;
    border: 1px solid var(--ki-line-dark);
    border-radius: 7px;
    font: inherit;
    font-size: 12px;
}

.ki-faq-categories {
    margin-top: 9px;
    padding-bottom: 2px;
    display: flex;
    gap: 7px;
    overflow-x: auto;
    scrollbar-width: none;
}

.ki-faq-categories::-webkit-scrollbar {
    display: none;
}

.ki-faq-categories button {
    min-width: max-content;
    min-height: 37px;
    padding: 0 14px;
    color: #4f535d;
    background: #fff;
    border: 1px solid var(--ki-line-dark);
    border-radius: 6px;
    font: inherit;
    font-size: 10px;
    font-weight: 900;
}

.ki-faq-categories button.is-active {
    color: #fff;
    background: #0d3156;
    border-color: #0d3156;
}

.ki-faq-list [data-faq-item][hidden] {
    display: none;
}

.ki-faq-list [data-faq-empty][hidden] {
    display: none;
}

.ki-faq-list details[open] {
    border-color: #c9d6e2;
    box-shadow: 0 4px 14px rgb(13 49 86 / 7%);
}

.ki-faq-list summary > span {
    background: #0d3156;
}

.ki-faq-list details[open] summary i {
    color: var(--ki-red);
}

.ki-faq-list details > div > span {
    color: var(--ki-red);
    background: #fff;
    border: 1px solid var(--ki-red);
}

.ki-faq-support-cta {
    position: relative;
    min-height: 150px;
    margin-top: 16px;
    padding: 20px 18px 62px;
    display: block;
    overflow: hidden;
    color: #fff !important;
    background: linear-gradient(135deg, #0d3156 0%, #08233e 62%, #eaf2fa 62%);
    border: 1px solid #123e68;
    border-radius: 8px;
    box-shadow: 0 8px 22px rgb(13 49 86 / 13%);
}

.ki-faq-support-cta > span {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
}

.ki-faq-support-cta > span b {
    font-size: 18px;
    line-height: 1.4;
}

.ki-faq-support-cta > span small {
    margin-top: 5px;
    color: #d9e5f0;
    font-size: 9px;
}

.ki-faq-support-cta img {
    position: absolute;
    z-index: 1;
    top: 8px;
    right: -3px;
    width: 42%;
    height: 90px;
    object-fit: contain;
}

.ki-faq-support-cta > strong {
    position: absolute;
    z-index: 2;
    right: 14px;
    bottom: 13px;
    left: 14px;
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #fff;
    background: var(--ki-red);
    border-radius: 5px;
    font-size: 11px;
}

.ki-faq-support-cta > strong i {
    font-size: 17px;
    font-style: normal;
}

.ki-mobile-announcements {
    margin-top: 16px;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--ki-line);
    border-radius: 8px;
    box-shadow: 0 4px 14px rgb(22 24 31 / 4%);
}

.ki-mobile-announcements h2 {
    margin: 0;
    padding: 13px 14px;
    font-size: 14px;
    border-bottom: 1px solid var(--ki-line);
}

.ki-mobile-announcements > a {
    min-height: 55px;
    padding: 9px 13px;
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr) 12px;
    align-items: center;
    gap: 7px;
    border-bottom: 1px solid var(--ki-line);
}

.ki-mobile-announcements time {
    color: var(--ki-muted);
    font-size: 9px;
}

.ki-mobile-announcements b {
    overflow: hidden;
    font-size: 10px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ki-mobile-announcements i {
    color: var(--ki-red);
    font-size: 17px;
    font-style: normal;
}

.ki-mobile-announcements > p {
    margin: 0;
    padding: 18px 14px;
    color: var(--ki-muted);
    font-size: 10px;
}

.ki-mobile-announcements > a.ki-mobile-announcements-all {
    min-height: 45px;
    grid-template-columns: minmax(0, 1fr) 12px;
    text-align: center;
    border-bottom: 0;
    font-size: 10px;
    font-weight: 900;
}

.ki-aside-panel > a.ki-aside-panel-all {
    min-height: 44px;
    grid-template-columns: minmax(0, 1fr) 10px;
}

.ki-aside-panel > a.ki-aside-panel-all b {
    text-align: center;
}

@media (min-width: 700px) {
    .ki-support-form-card {
        padding: 20px;
    }

    .ki-support-category-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }

    .ki-support-category-grid label > span {
        min-height: 78px;
    }

    .ki-faq-categories {
        display: grid;
        grid-template-columns: repeat(5, minmax(0, 1fr));
        overflow: visible;
    }

    .ki-faq-categories button {
        min-width: 0;
        padding: 0 8px;
    }

    .ki-faq-list summary b {
        font-size: 12px;
    }

    .ki-faq-list details > div p {
        font-size: 11px;
    }
}

@media (min-width: 1160px) {
    .ki-mobile-announcements {
        display: none;
    }

    .ki-sidebar-help {
        min-height: 205px;
    }
}

/* Member home hero carousel */

.ki-home-hero-carousel {
    position: relative;
    width: 100%;
    min-width: 0;
    overflow: hidden;
    border-radius: 9px;
}

.ki-home-hero-track {
    width: 100%;
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-x: contain;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.ki-home-hero-track::-webkit-scrollbar {
    display: none;
}

.page-member-home .ki-home-hero-slide {
    min-width: 100%;
    flex: 0 0 100%;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    background: #071426;
    transform: none;
}

.page-member-home .ki-home-hero-slide:hover {
    transform: none;
}

.page-member-home .ki-home-hero-slide::before {
    content: "";
    position: absolute;
    z-index: 1;
    inset: 0;
    display: block;
    background:
        linear-gradient(90deg, rgb(2 13 27 / 92%) 0%, rgb(3 18 35 / 73%) 42%, rgb(3 18 35 / 18%) 72%, transparent 100%),
        linear-gradient(0deg, rgb(3 12 22 / 34%) 0%, transparent 54%);
    pointer-events: none;
}

.ki-home-hero-image {
    position: absolute;
    z-index: 0;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.page-member-home .ki-home-hero-slide .ki-home-hero-copy {
    z-index: 2;
}

.ki-home-hero-arrow {
    position: absolute;
    z-index: 4;
    top: 50%;
    width: 34px;
    height: 52px;
    display: grid;
    place-items: center;
    color: #fff;
    background: rgb(4 14 25 / 38%);
    border: 1px solid rgb(255 255 255 / 28%);
    border-radius: 6px;
    box-shadow: 0 5px 18px rgb(0 0 0 / 16%);
    font: 400 27px/1 Georgia, serif;
    opacity: .76;
    transform: translateY(-50%);
    transition: opacity .18s ease, background .18s ease;
    backdrop-filter: blur(5px);
}

.ki-home-hero-arrow:hover,
.ki-home-hero-arrow:focus-visible {
    background: rgb(4 14 25 / 72%);
    opacity: 1;
}

.ki-home-hero-arrow.is-prev {
    left: 10px;
}

.ki-home-hero-arrow.is-next {
    right: 10px;
}

.ki-home-hero-carousel .ki-home-hero-dots {
    z-index: 5;
    right: 0;
    bottom: 10px;
    left: 0;
    pointer-events: auto;
}

.ki-home-hero-carousel .ki-home-hero-dots button {
    width: 8px;
    height: 8px;
    padding: 0;
    display: block;
    background: rgb(255 255 255 / 88%);
    border: 1px solid rgb(8 9 12 / 36%);
    border-radius: 50%;
    box-shadow: 0 1px 4px rgb(0 0 0 / 32%);
    transition: width .18s ease, border-radius .18s ease, background .18s ease;
}

.ki-home-hero-carousel .ki-home-hero-dots button.is-current {
    width: 20px;
    background: var(--ki-red);
    border-color: var(--ki-red);
    border-radius: 999px;
}

@media (max-width: 560px) {
    .page-member-home .ki-home-hero-slide::before {
        background:
            linear-gradient(90deg, rgb(2 13 27 / 94%) 0%, rgb(3 18 35 / 73%) 56%, rgb(3 18 35 / 22%) 100%),
            linear-gradient(0deg, rgb(3 12 22 / 32%) 0%, transparent 54%);
    }

    .ki-home-hero-image {
        object-position: 64% center;
    }

    .ki-home-hero-arrow {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ki-home-hero-track {
        scroll-behavior: auto;
    }
}

/* Referral, loyalty and Web Push */

.ki-rank-summary {
    --ki-rank-color: #394150;
    margin: 12px 0;
    padding: 12px 14px;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    color: var(--ki-text);
    background: #fff;
    border: 1px solid var(--ki-line);
    border-left: 4px solid var(--ki-rank-color);
    border-radius: 8px;
    box-shadow: 0 4px 14px rgb(22 24 31 / 4%);
}

.ki-rank-badge {
    min-width: 68px;
    padding: 8px 10px;
    color: #fff;
    background: var(--ki-rank-color);
    border-radius: 999px;
    text-align: center;
    font-size: 11px;
    font-weight: 900;
}

.ki-rank-summary-copy {
    min-width: 0;
    display: grid;
    gap: 3px;
}

.ki-rank-summary-copy b {
    font-size: 12px;
}

.ki-rank-summary-copy small {
    color: var(--ki-muted);
    font-size: 10px;
}

.ki-rank-summary-copy > i,
.ki-loyalty-progress > i {
    height: 5px;
    overflow: hidden;
    display: block;
    background: #e7e9ee;
    border-radius: 999px;
}

.ki-rank-summary-copy > i span,
.ki-loyalty-progress > i span {
    height: 100%;
    display: block;
    background: var(--ki-rank-color);
    border-radius: inherit;
}

.ki-rank-summary > em {
    color: var(--ki-red);
    font-size: 20px;
    font-style: normal;
}

.ki-loyalty-card {
    --ki-rank-color: #394150;
    padding: 18px;
    display: grid;
    gap: 18px;
    color: #fff;
    background:
        radial-gradient(circle at 88% 0%, rgb(255 255 255 / 18%), transparent 36%),
        linear-gradient(135deg, color-mix(in srgb, var(--ki-rank-color) 78%, #071426), var(--ki-rank-color));
    border-radius: 12px;
    box-shadow: 0 12px 30px rgb(7 20 38 / 18%);
}

.ki-loyalty-rank,
.ki-loyalty-progress {
    display: grid;
    gap: 5px;
}

.ki-loyalty-rank span,
.ki-loyalty-rank small,
.ki-loyalty-progress small {
    color: rgb(255 255 255 / 76%);
    font-size: 10px;
}

.ki-loyalty-rank strong {
    font-size: 30px;
    line-height: 1.1;
}

.ki-loyalty-progress > strong {
    font-size: 18px;
}

.ki-loyalty-progress > i {
    margin-top: 5px;
    background: rgb(255 255 255 / 22%);
}

.ki-loyalty-progress > i span {
    background: #fff;
}

.ki-rank-grace {
    margin-top: 12px;
    padding: 12px 14px;
    background: #fff9e7;
    border: 1px solid #ead596;
    border-radius: 8px;
}

.ki-rank-grace strong {
    font-size: 12px;
}

.ki-rank-grace p {
    margin: 4px 0 0;
    color: #6d5b23;
    font-size: 10px;
}

.ki-benefit-grid {
    display: grid;
    gap: 10px;
}

.ki-benefit-grid article {
    padding: 14px;
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr) auto;
    align-items: center;
    gap: 4px 10px;
    background: #fff;
    border: 1px solid var(--ki-line);
    border-radius: 8px;
}

.ki-benefit-grid article > span {
    width: 38px;
    height: 38px;
    grid-row: 1 / 3;
    display: grid;
    place-items: center;
    color: #fff;
    background: #14263d;
    border-radius: 50%;
    font-size: 12px;
    font-weight: 900;
}

.ki-benefit-grid article b {
    font-size: 11px;
}

.ki-benefit-grid article strong {
    color: var(--ki-red);
    font-size: 17px;
}

.ki-benefit-grid article p {
    margin: 0;
    grid-column: 2 / 4;
    color: var(--ki-muted);
    font-size: 9px;
}

.ki-referral-hero {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.ki-referral-hero > div {
    padding: 16px;
    display: grid;
    gap: 5px;
    background: #fff;
    border: 1px solid var(--ki-line);
    border-radius: 9px;
}

.ki-referral-hero span {
    color: var(--ki-muted);
    font-size: 10px;
}

.ki-referral-hero strong {
    color: #10233b;
    font-size: 24px;
}

.ki-referral-hero strong small {
    margin-left: 3px;
    font-size: 10px;
}

.ki-referral-share {
    margin-top: 12px;
}

.ki-referral-share label {
    display: grid;
    gap: 6px;
    color: var(--ki-muted);
    font-size: 10px;
}

.ki-referral-share input {
    width: 100%;
    padding: 11px;
    color: #1f2937;
    background: #f7f8fa;
    border: 1px solid var(--ki-line);
    border-radius: 6px;
    font-size: 11px;
}

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

.ki-referral-actions button,
.ki-referral-actions a {
    min-height: 42px;
    display: grid;
    place-items: center;
    color: #fff;
    background: #14263d;
    border: 0;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 900;
}

.ki-referral-actions a {
    background: #06c755;
}

.ki-referral-paused {
    padding: 18px;
    text-align: center;
    background: #f5f6f8;
    border-radius: 7px;
}

.ki-referral-paused strong {
    font-size: 13px;
}

.ki-referral-paused p {
    margin: 6px 0 0;
    color: var(--ki-muted);
    font-size: 10px;
}

.ki-simple-history {
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--ki-line);
    border-radius: 8px;
}

.ki-simple-history article {
    min-height: 64px;
    padding: 10px 13px;
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid var(--ki-line);
}

.ki-simple-history article:last-child {
    border-bottom: 0;
}

.ki-simple-history article > span {
    padding: 5px 7px;
    color: #fff;
    background: #586273;
    border-radius: 999px;
    text-align: center;
    font-size: 9px;
    font-weight: 900;
}

.ki-simple-history article > span.is-released {
    background: #127d52;
}

.ki-simple-history article > span.is-pending {
    background: #b67a08;
}

.ki-simple-history article > span.is-rejected {
    background: #8a3440;
}

.ki-simple-history article > div {
    min-width: 0;
    display: grid;
    gap: 3px;
}

.ki-simple-history article b {
    overflow: hidden;
    font-size: 11px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ki-simple-history article small,
.ki-simple-history article time {
    color: var(--ki-muted);
    font-size: 9px;
}

.ki-simple-history article > strong {
    font-size: 12px;
}

.ki-push-settings .ki-account-session {
    border-bottom: 0;
}

.ki-notification-preference {
    padding: 11px 12px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid var(--ki-line);
}

.ki-notification-preference > b {
    font-size: 10px;
}

.ki-notification-preference .ki-agreement {
    margin: 0;
}

.ki-notification-preference .ki-agreement span {
    font-size: 9px;
}

.ki-rank-purchase-benefit {
    margin-bottom: 12px;
    padding: 12px 14px;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 3px 10px;
    color: #fff;
    background: linear-gradient(135deg, #10233b, #203b5d);
    border-radius: 8px;
}

.ki-rank-purchase-benefit span {
    grid-row: 1 / 3;
    padding: 6px 9px;
    background: rgb(255 255 255 / 14%);
    border-radius: 999px;
    font-size: 9px;
    font-weight: 900;
}

.ki-rank-purchase-benefit b {
    font-size: 12px;
}

.ki-rank-purchase-benefit small {
    color: rgb(255 255 255 / 70%);
    font-size: 9px;
}

.ki-point-options label > span > em {
    display: block;
    color: #936b10;
    font-size: 8px;
    font-style: normal;
}

.ki-rank-early-note {
    display: block;
    color: #9a6a05;
    font-size: 9px;
    font-weight: 800;
}

@media (min-width: 700px) {
    .ki-loyalty-card {
        grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
        align-items: center;
    }

    .ki-benefit-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .ki-benefit-grid article {
        grid-template-columns: 38px minmax(0, 1fr);
    }

    .ki-benefit-grid article > strong {
        grid-column: 2;
    }

    .ki-benefit-grid article p {
        grid-column: 1 / 3;
    }
}
