
.subpage-hero {
    box-shadow: 0 0 3px 3px #ddd;
    background: #fff;
    margin-bottom: 20px;
    padding: 26px 28px;
    border-left: 4px solid #1a3d96;
}

.subpage-hero h1 {
    margin: 0 0 8px;
    color: #1a3d96;
    font-size: 28px;
}

.subpage-hero p {
    margin: 0;
    color: #4b4b4b;
    font-size: 15px;
}

.subpage-status-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 20px;
}

.subpage-status-card {
    box-shadow: 0 0 3px 3px #ddd;
    background: #fff;
    padding: 18px 20px;
}

.subpage-status-label {
    display: block;
    color: #1a3d96;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 8px;
}

.subpage-status-card strong {
    display: block;
    font-size: 20px;
    color: #1a3d96;
}

.subpage-status-card small {
    display: block;
    margin-top: 8px;
    color: #666;
    font-size: 13px;
}

.subpage-announcement-list,
.subpage-grid {
    display: grid;
    gap: 16px;
    margin-bottom: 20px;
}

.subpage-announcement-list {
    grid-template-columns: 1fr;
}

.subpage-grid.four-col {
    grid-template-columns: repeat(4, 1fr);
}

.subpage-card {
    box-shadow: 0 0 3px 3px #ddd;
    background: #fff;
    padding: 18px 20px;
}

.subpage-card h2 {
    margin: 0 0 10px;
    color: #1a3d96;
    font-size: 18px;
}

.subpage-card p {
    margin: 0;
    color: #4c4c4c;
    line-height: 1.8;
    font-size: 14px;
}

.announcement-list-item .announcement-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.announcement-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 54px;
    height: 24px;
    padding: 0 10px;
    border-radius: 999px;
    background: #1a3d96;
    color: #fff;
    font-size: 12px;
}

.announcement-time {
    color: #6b7280;
    font-size: 12px;
}

.subpage-tabs {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.subpage-tab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 36px;
    padding: 0 14px;
    border-radius: 34px;
    background: #ded9d9;
    color: #000;
    font-size: 15px;
    font-weight: 700;
}

.subpage-tab.active {
    background: #1a3d96;
    color: #fff;
}

.video-entry-card.gold,
.video-entry-card.red,
.video-entry-card.muted {
    min-height: 180px;
}

.video-entry-card h2,
.subpage-tool-card h2 {
    margin-top: 14px;
}

html, body { margin: 0; padding: 0; }
body {
    background: #efefef;
    color: #222;
    font-family: Microsoft JhengHei, Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB, Arial, sans-serif;
    font-size: 16px;
}
a { text-decoration: none; }
img { display: block; max-width: 100%; }
*, *::before, *::after { box-sizing: border-box; }

.site-shell {
    width: 1000px;
    max-width: calc(100% - 24px);
    margin: 0 auto;
    padding-bottom: 16px;
}

.logo-box {
    background: #fff;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding: 20px 0 10px;
}

.logo-img {
    width: 173px;
    height: 96px;
    object-fit: contain;
}

.switch_style {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 23px;
    padding: 1px 15px;
    border-radius: 26px;
    background: #1a3d96;
    color: #fff;
    font-size: 17px;
    line-height: 23px;
    cursor: pointer;
}

.carousel-container {
    height: 374px;
    overflow: hidden;
    position: relative;
    border-radius: 12px;
    box-shadow: 0 0 3px 3px #ddd;
    margin-bottom: 20px;
}

.color-nav {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0;
    margin: 8px 0 10px;
    border: 1px solid #f0d348;
    background: #fff;
}

.color-nav-item {
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    border-right: 1px solid rgba(255, 255, 255, 0.28);
}

.color-nav-item:last-child {
    border-right: 0;
}

.color-nav-item.active-nav {
    box-shadow: inset 0 -3px 0 rgba(255, 255, 255, 0.95);
}

.color-red { background: #e21a1a; }
.color-blue { background: #1596df; }
.color-green { background: #1dbd1d; }
.color-yellow { background: #d9b300; }
.color-purple { background: #7c3de1; }
.color-cyan { background: #1bb98f; }
.color-pink { background: #d63ab2; }


.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lottery-tab {
    display: flex;
    align-items: center;
    gap: 0;
    flex-wrap: wrap;
    margin: 16px 0 20px;
}

.lottery-tab-item {
    height: 36px;
    padding: 0 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 34px;
    font-size: 16px;
    color: #000;
    background-color: #ded9d9;
    cursor: pointer;
    border: 0;
    margin-right: 12px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.lottery-tab-item.active {
    background-color: #1a3d96;
    color: #fff;
    box-shadow: none;
}

.lottery-more {
    position: relative;
}

.lottery-more summary {
    list-style: none;
}

.lottery-more summary::-webkit-details-marker {
    display: none;
}

.more-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 150px;
    padding: 8px;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);
    display: grid;
    gap: 8px;
    z-index: 20;
}

.open_zone {
    box-shadow: 0 0 3px 3px #ddd;
    margin-bottom: 20px;
    background: #fff;
}

.feature-zone {
    box-shadow: 0 0 3px 3px #ddd;
    margin-bottom: 20px;
    background: #fff;
}

.feature-zone-notice,
.feature-zone-video,
.feature-zone-grid,
.feature-zone-contact {
    scroll-margin-top: 18px;
}

.feature-head {
    display: flex;
    align-items: center;
    height: 42px;
    padding: 0 16px;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
}

.feature-body {
    padding: 18px 20px;
    font-size: 15px;
    line-height: 1.8;
    color: #414141;
}

.feature-columns {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.feature-list-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.feature-announce-flow {
    grid-template-columns: 1.2fr 1fr 1fr;
}

.announce-card {
    position: relative;
}

.announce-card.pinned {
    border-color: #c8d8ff;
}

.announce-card.compact {
    background: linear-gradient(180deg, #fdfefe 0%, #f6f9ff 100%);
}

.announce-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: #1a3d96;
    border-radius: 4px 0 0 4px;
}

.feature-panel,
.feature-list-card,
.feature-video-card {
    border: 1px solid #d9d9d9;
    background: linear-gradient(180deg, #ffffff 0%, #fafafa 100%);
    border-radius: 4px;
    padding: 16px;
}

.feature-panel h3,
.feature-list-card h3 {
    margin: 0 0 10px;
    color: #1a3d96;
    font-size: 16px;
}

.feature-panel p,
.feature-video-card p {
    margin: 0;
}

.feature-list-card ul {
    margin: 0;
    padding-left: 18px;
    color: #444;
}

.feature-list-card li {
    margin-bottom: 8px;
}

.feature-inline-link {
    display: inline-flex;
    align-items: center;
    margin-top: 14px;
    color: #1a3d96;
    font-size: 14px;
    font-weight: 700;
}

.feature-video-grid,
.feature-tool-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.video-system-grid {
    grid-template-columns: 1fr 1fr 1fr 1fr;
}

.video-module-card {
    min-height: 170px;
}

.video-module-card.primary {
    background: linear-gradient(180deg, #fffdf5 0%, #fff7e8 100%);
}

.video-module-card.live {
    background: linear-gradient(180deg, #fff7f7 0%, #fff0f0 100%);
}

.video-module-card.secondary {
    background: linear-gradient(180deg, #f8fbff 0%, #eef5ff 100%);
}

.feature-tool-card {
    border: 1px solid #d9d9d9;
    background: linear-gradient(180deg, #ffffff 0%, #fafafa 100%);
    border-radius: 4px;
    padding: 16px;
}

.feature-tool-card strong,
.feature-card strong {
    display: block;
    margin-top: 12px;
    color: #1a3d96;
    font-size: 16px;
}

.feature-tool-card p,
.feature-card span {
    display: block;
    margin-top: 8px;
    color: #555;
    font-size: 14px;
    line-height: 1.7;
}

.feature-tool-card.muted {
    background: #f6f6f6;
}

.feature-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 110px;
    height: 36px;
    padding: 0 18px;
    color: #fff;
    font-size: 14px;
    border-radius: 4px;
    box-shadow: inset 0 0 3px #fff;
}

.feature-pill.gold {
    background: linear-gradient(180deg, #deb030, #e59e10);
    border: 1px solid #bb8215;
}

.feature-pill.red {
    background: linear-gradient(180deg, #d21e1e, #b02b21);
    border: 1px solid #b02b21;
}

.feature-tip {
    font-size: 14px;
    color: #666;
}

.feature-zone-grid .feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    padding: 18px 20px;
}

.tool-entry-grid {
    grid-template-columns: repeat(4, 1fr);
}

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

.feature-grid .feature-card {
    position: relative;
}

.feature-grid .feature-card::after {
    content: '進入';
    position: absolute;
    right: 14px;
    bottom: 14px;
    font-size: 12px;
    color: #1a3d96;
    opacity: 0.85;
}

.feature-card {
    min-height: 96px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    border: 1px solid #d9d9d9;
    background: linear-gradient(180deg, #ffffff 0%, #fafafa 100%);
    color: #1a3d96;
    font-size: 15px;
    font-weight: 700;
    border-radius: 4px;
    padding: 16px;
}

.feature-link-card {
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.feature-link-card:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(26, 61, 150, 0.12);
    border-color: #c4cde4;
}

.feature-link-card strong,
.feature-link-card span {
    pointer-events: none;
}


.lotteryTitle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    padding: 0 20px;
    height: 56px;
    border: 1px solid #1a3d96;
    color: #1a3d96;
    box-sizing: border-box;
    font-weight: 700;
}

.lotteryTitle-l {
    font-size: 21px;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.lotteryTitle-r {
    font-size: 14px;
    font-weight: 700;
}

.open_code_zone {
    padding: 28px 40px 26px;
    min-height: 234px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
}

.open_code_zone_left {
    flex: 1 1 auto;
    min-width: 0;
}

.open_code_zone_left-title {
    margin-bottom: 26px;
}

.open_code_zone_left-title-1 {
    font: 700 16px/1.2 "Microsoft JhengHei", "PingFang SC", "Noto Sans CJK TC", Arial, sans-serif;
    color: #1a3d96;
    letter-spacing: 1px;
}

.open_code_zone_left-title-2 {
    font-size: 15px;
    margin-left: 20px;
}

.open_code_zone_left-title-2 em {
    font-style: normal;
    color: #d21e1e;
}

.open_code_zone_left-content {
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
}

.open_code_zone_left-content-empty {
    min-height: 80px;
    font-size: 18px;
    color: #7a7a7a;
    display: flex;
    align-items: center;
}

.draw-ball-list {
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
}

.draw-ball-item {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    margin-right: 8px;
    margin-bottom: 8px;
}

.draw-ball-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 3px;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(180deg, #2a58b8 0%, #1a3d96 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 1px 0 rgba(0, 0, 0, 0.16);
    border: 1px solid rgba(0, 0, 0, 0.12);
}

.draw-ball-number.red {
    background: linear-gradient(180deg, #ff3a3a 0%, #d61b1b 100%);
}

.draw-ball-number.blue {
    background: linear-gradient(180deg, #315ccb 0%, #1f32ff 100%);
}

.draw-ball-number.green {
    background: linear-gradient(180deg, #0a9c1a 0%, #078f16 100%);
}

.draw-ball-number.neutral {
    background: #667085;
}

.draw-ball-number.custom-color {
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22);
}

.draw-ball-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 5px;
    color: #111;
    line-height: 1.2;
}

.draw-ball-meta.is-empty {
    color: transparent;
}

.draw-ball-plus {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #d6248c;
    font-weight: 700;
    margin-right: 8px;
}

.open_code_zone_left-item,
.hisCode-item {
    margin-right: 0;
    text-align: center;
}

.open_code_zone_left-item-number,
.hisCode-item-number {
    margin-right: 0;
    border-radius: 3px;
    border: 0;
}

.open_code_zone_left-item-number {
    width: 58px;
    height: 58px;
    font-size: 28px;
}

.hisCode-item-number {
    width: 38px;
    height: 38px;
    font-size: 24px;
}

.open_code_zone_left-item-zodiac {
    font-size: 16px;
    min-height: 20px;
}

.hisCode-item-zodiac {
    width: auto;
    font-size: 13px;
    min-height: 16px;
}

.open_code_zone_left-item-plus {
    height: 58px;
    font-size: 34px;
}

.hisCode-item-plus {
    height: 38px;
    font-size: 24px;
}

.open_code_zone_right {
    flex: 0 0 258px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
    padding-top: 6px;
}

.countdown {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: 100%;
    gap: 6px;
    margin: 0;
}

.countdown-item {
    font-size: 34px;
    text-align: center;
    color: #000;
    background-color: #fff;
    border: 1px solid #d0d0d0;
    border-radius: 5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 48px;
    line-height: 48px;
    width: 40px;
    margin: 0;
}

.countdown-split {
    font-size: 34px;
    font-weight: 700;
    margin: 0;
    line-height: 1;
}

.operate-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: 100%;
    margin: 0;
    gap: 10px;
}

.operate-btn-1,
.operate-btn-2 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #fff;
    padding: 5px 20px;
    box-shadow: inset 0 0 3px #fff;
    cursor: pointer;
}

.operate-btn-1 {
    border-radius: 3px;
    border: 1px solid #bb8215;
    background: linear-gradient(180deg, #deb030, #e59e10);
    margin: 0;
}

.operate-btn-2 {
    background: linear-gradient(180deg, #d21e1e, #b02b21);
    border-radius: 3px;
    border: 1px solid #b02b21;
}

.operate-btn-4 {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: 100%;
    font-size: 14px;
    color: #000;
    cursor: pointer;
}

.hisWrapper {
    border: 1px solid #d4d4d4;
    position: relative;
    background: #fff;
}

.hisSubject {
    padding: 8px 0;
    font-weight: 700;
    background-color: #fafafa;
    border-bottom: 1px solid #e6e6e6;
}

.hisItem,
.hisSubject {
    display: flex;
    align-items: center;
    text-align: center;
    justify-content: center;
    color: #414141;
    font-size: 14px;
}

.hisItem {
    padding: 2px 0;
    border-top: 1px solid #d0d0d0;
    position: relative;
    min-height: 108px;
}

.hisIssue {
    width: 19%;
}

.hisIssue i {
    font-weight: 600;
    font-style: normal;
    color: #d21e1e;
}

.hisTime {
    flex: 1;
    vertical-align: baseline;
    font-family: Microsoft JhengHei, Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB, Arial, sans-serif;
}

.hisCode {
    width: 46%;
}

.hisPlay {
    width: 20%;
    display: flex;
    justify-content: center;
}

.his-items {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 12px 0 8px 0;
    flex-wrap: wrap;
    min-height: 92px;
}

.hisCode-item {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
}

.button-primary {
    color: #fff;
    border: 1px solid #b02b21;
    background: linear-gradient(180deg, #d21e1e, #b02b21);
    box-shadow: inset 0 0 3px #fff;
    display: block;
    width: 87px;
    height: 34px;
    cursor: pointer;
    border-radius: 4px;
    line-height: 34px;
    font-size: 14px;
    margin-left: 0;
}

.his-empty,
.his-empty-row {
    color: #7b7b7b;
    font-size: 16px;
}

.his-empty-row {
    text-align: center;
    padding: 32px 0;
}

.macaujc-pagination {
    display: flex;
    flex-direction: row-reverse;
    padding-top: 16px;
    padding-right: 0;
}

.items {
    display: flex;
    align-items: center;
}

.item,
.next,
.prev {
    width: 32px;
    height: 32px;
    border-radius: 2px;
    background-color: #ded9d9;
    color: #222;
    font-size: 16px;
    text-align: center;
    line-height: 32px;
    cursor: pointer;
    margin-left: 4px;
}

.item:hover,
.next:hover,
.prev:hover {
    color: #1a3d96;
}

.active {
    color: #fff !important;
    background-color: #1a3d96 !important;
}

.install-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.install-card {
    width: min(520px, 100%);
    padding: 36px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.12);
    text-align: center;
}

.install-card h1 {
    margin: 0 0 12px;
    font-size: 28px;
}

.install-card p {
    margin: 10px 0;
    color: #475569;
}

.install-card code {
    display: inline-block;
    padding: 10px 14px;
    border-radius: 10px;
    background: #f8fafc;
    color: #0f172a;
}

@media (max-width: 900px) {
    .site-shell {
        width: calc(100% - 20px);
    }

    .feature-columns,
    .feature-list-grid,
    .feature-video-grid,
    .feature-tool-grid,
    .feature-zone-grid .feature-grid,
    .feature-announce-flow,
    .video-system-grid,
    .tool-entry-grid,
    .subpage-grid.four-col,
    .subpage-status-row.three-col,
    .subpage-status-row.two-col {
        grid-template-columns: 1fr 1fr;
    }

    .open_code_zone {
        padding: 24px;
        height: auto;
        flex-direction: column;
        align-items: flex-start;
        gap: 22px;
    }

    .open_code_zone_right {
        width: 100%;
        flex: 1 1 auto;
        align-items: flex-start;
        padding-top: 0;
    }

    .countdown {
        justify-content: flex-start;
        margin-left: 0;
    }

    .hisItem,
    .hisSubject {
        font-size: 13px;
    }
}

@media (max-width: 720px) {
    .logo-box {
        align-items: center;
    }

    .feature-columns,
    .feature-list-grid,
    .feature-video-grid,
    .feature-tool-grid,
    .feature-zone-grid .feature-grid,
    .feature-announce-flow,
    .video-system-grid,
    .tool-entry-grid,
    .subpage-grid.four-col {
        grid-template-columns: 1fr;
    }

    .color-nav {
        grid-template-columns: repeat(2, 1fr);
    }

    .logo-img {
        width: 148px;
        height: auto;
    }

    .switch_style {
        font-size: 14px;
        height: 20px;
        line-height: 20px;
        padding: 0 10px;
    }

    .carousel-container {
        height: auto;
    }

    .lotteryTitle {
        height: auto;
        padding: 10px 14px;
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }

    .lotteryTitle-l {
        font-size: 18px;
    }

    .lotteryTitle-r {
        font-size: 13px;
    }

    .open_code_zone_left-title {
        margin-bottom: 18px;
    }

    .open_code_zone_left-content,
    .his-items {
        flex-wrap: wrap;
    }

    .open_code_zone_left-item-number {
        width: 52px;
        height: 52px;
        font-size: 26px;
    }

    .hisCode-item-number {
        width: 34px;
        height: 34px;
        font-size: 20px;
    }

    .open_code_zone_left-item-zodiac {
        font-size: 16px;
    }

    .countdown-item {
        width: 36px;
        height: 42px;
        font-size: 28px;
        margin-left: 0;
    }

    .countdown-split {
        margin-left: 0;
        font-size: 28px;
    }

    .hisSubject {
        display: none;
    }

    .hisItem {
        display: grid;
        grid-template-columns: 1fr;
        gap: 8px;
        justify-items: start;
        text-align: left;
        padding: 14px 16px;
    }

    .hisIssue,
    .hisTime,
    .hisCode,
    .hisPlay {
        width: 100%;
        justify-content: flex-start;
    }

    .hisPlay {
        display: flex;
    }

    .button-primary {
        width: 72px;
        height: 30px;
        line-height: 30px;
        font-size: 13px;
    }

    .macaujc-pagination {
        justify-content: center;
    }
}

.target-page-intro {
    background: #fff;
    border: 1px solid #d8dfeb;
    border-radius: 12px;
    padding: 18px 22px;
    margin-bottom: 18px;
}

.target-page-intro h1 {
    margin: 0 0 8px;
    font-size: 24px;
    color: #1a3d96;
}

.target-page-intro p {
    margin: 0;
    color: #5f6b7a;
    font-size: 14px;
}

.target-card {
    background: #fff;
    border: 1px solid #d8dfeb;
    border-radius: 12px;
    padding: 18px 20px;
    box-shadow: 0 8px 24px rgba(12, 28, 63, 0.05);
}

.target-trend-grid,
.target-api-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.target-trend-card h2,
.target-api-card h2,
.target-picker-group h2 {
    margin: 0 0 12px;
    font-size: 18px;
    color: #1a3d96;
}

.target-inline-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #39465b;
    margin-bottom: 12px;
}

.target-small-input {
    width: 88px;
    height: 34px;
    border: 1px solid #d6dce8;
    border-radius: 8px;
    background: #f8fbff;
    text-align: center;
    color: #1a3d96;
    font-weight: 700;
}

.target-chart-placeholder {
    min-height: 110px;
    border: 1px dashed #c5d0e2;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8592a5;
    background: linear-gradient(180deg, #fbfdff 0%, #f4f8ff 100%);
}

.target-api-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}

.target-api-method {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 58px;
    height: 28px;
    border-radius: 999px;
    background: #1a3d96;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
}

.target-api-url {
    padding: 10px 12px;
    border-radius: 8px;
    background: #f5f8ff;
    color: #0f3f93;
    font-size: 14px;
    word-break: break-all;
    margin-bottom: 10px;
}

.target-api-desc {
    margin: 0 0 10px;
    color: #61708a;
    font-size: 14px;
}

.target-api-response {
    margin: 0;
    padding: 12px 14px;
    border-radius: 10px;
    background: #0f172a;
    color: #d7e3ff;
    overflow: auto;
    white-space: pre-wrap;
    font-size: 13px;
    line-height: 1.6;
}

.target-picker-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: #fff;
    border: 1px solid #d8dfeb;
    border-radius: 12px;
    padding: 16px 20px;
    margin-bottom: 16px;
}

.target-picker-result {
    font-size: 18px;
    font-weight: 700;
    color: #1a3d96;
}

.target-picker-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.target-action {
    border: 1px solid #d7deea;
    background: #fff;
    color: #1a3d96;
    border-radius: 8px;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 700;
}

.target-action.primary {
    background: linear-gradient(180deg, #1f7bff 0%, #156ef5 100%);
    color: #fff;
    border-color: #156ef5;
}

.target-picker-group {
    margin-bottom: 16px;
}

.target-picker-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.target-picker-tag {
    border: 1px solid #d7deea;
    background: #fff;
    color: #25324a;
    border-radius: 999px;
    padding: 8px 14px;
    font-size: 14px;
    line-height: 1;
}

.target-contact-card {
    display: flex;
    align-items: center;
    gap: 18px;
}

.target-contact-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(180deg, #1f7bff 0%, #156ef5 100%);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 700;
}

.target-contact-label {
    font-size: 14px;
    color: #5f6b7a;
    margin-bottom: 6px;
}

.target-contact-mail {
    font-size: 22px;
    font-weight: 700;
    color: #1a3d96;
}

.target-trend-tabs {
    margin-bottom: 14px;
}

.target-trend-toolbar {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    margin-bottom: 18px;
}

.target-bar-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.target-bar-row {
    display: grid;
    grid-template-columns: 72px 1fr 52px;
    align-items: center;
    gap: 10px;
    font-size: 13px;
}

.target-bar-label,
.target-bar-value {
    color: #334155;
    font-weight: 700;
}

.target-bar-track {
    height: 12px;
    border-radius: 999px;
    background: #edf2f9;
    overflow: hidden;
}

.target-bar-fill {
    display: block;
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, #1f57b8 0%, #2b6ee6 100%);
}

.target-picker-layout {
    display: grid;
    grid-template-columns: 1fr 1.25fr;
    gap: 18px;
}

.target-picker-panel-head h1,
.target-picker-title {
    margin: 0 0 12px;
    font-size: 24px;
    color: #111827;
}

.target-picker-result-box {
    width: 100%;
    min-height: 300px;
    border: 1px solid #b8c6dd;
    border-radius: 6px;
    padding: 14px;
    font-size: 14px;
    line-height: 1.7;
    color: #172033;
    background: #fff;
}

.target-picker-ball-box {
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 10px;
}

.target-picker-empty {
    color: #6b7280;
    font-size: 15px;
}

.target-picker-copy-text {
    position: absolute;
    opacity: 0;
    pointer-events: none;
    width: 1px;
    height: 1px;
}

.target-picker-actions-bottom {
    justify-content: flex-end;
    margin-top: 10px;
}

.target-picker-controls {
    padding-top: 14px;
}

.target-picker-section {
    padding: 14px 0;
    border-top: 1px solid #dce5f2;
}

.target-picker-section:first-of-type {
    border-top: 0;
    padding-top: 0;
}

.target-picker-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 12px;
}

.target-picker-tag {
    min-width: 72px;
    border: 1px solid #9fb1ca;
    background: #fff;
    color: #1f2937;
    border-radius: 6px;
    padding: 8px 14px;
    font-size: 14px;
    line-height: 1;
}

.target-picker-tag.is-active {
    background: linear-gradient(180deg, #1f7bff 0%, #156ef5 100%);
    border-color: #156ef5;
    color: #fff;
}

.target-picker-ball {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #fff;
    border: 4px solid #2f7dff;
    color: #2f7dff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    font-weight: 800;
    line-height: 1;
}

.target-picker-ball.red {
    border-color: #ed1c2e;
    color: #ed1c2e;
}

.target-picker-ball.blue {
    border-color: #2f7dff;
    color: #2f7dff;
}

.target-picker-ball.green {
    border-color: #20bf6b;
    color: #20bf6b;
}

@media (max-width: 900px) {
    .target-trend-grid,
    .target-api-list,
    .target-picker-layout {
        grid-template-columns: 1fr;
    }

    .target-picker-toolbar,
    .target-contact-card,
    .target-trend-toolbar {
        flex-direction: column;
        align-items: flex-start;
    }

    .target-bar-row {
        grid-template-columns: 64px 1fr 46px;
    }
}