.tg-hidden { display: none !important; } #loggedInBox:not(.tg-hidden) { display: flex; } .tg-hero { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr); gap: 20px; align-items: stretch; padding: 28px; border-radius: var(--radius-lg); background: linear-gradient(135deg, #102b6a 0%, #194f82 100%); color: #fff; box-shadow: var(--shadow-sm); } .tg-eyebrow { display: inline-flex; align-items: center; height: 28px; padding: 0 12px; border-radius: 999px; background: rgba(255, 185, 0, 0.16); color: #ffd36a; font-size: 13px; font-weight: 800; } .tg-hero h1 { margin: 16px 0 10px; font-size: 26px; font-weight: 900; line-height: 1.35; } .tg-hero p { max-width: 720px; color: rgba(255, 255, 255, 0.82); font-size: 14px; line-height: 1.8; } .tg-hero-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; } .tg-hero-tags span { display: inline-flex; align-items: center; justify-content: center; height: 30px; padding: 0 13px; border: 1px solid rgba(255, 255, 255, 0.24); border-radius: 999px; background: rgba(255, 255, 255, 0.08); color: #fff; font-size: 13px; font-weight: 700; } .tg-share-card { display: flex; flex-direction: column; justify-content: center; min-width: 0; padding: 22px; border-radius: 14px; background: rgba(255, 255, 255, 0.96); color: var(--text-dark); } .tg-share-title, .tg-title { position: relative; color: var(--text-dark); font-size: 20px; font-weight: 900; line-height: 1.3; padding-left: 14px; } .tg-share-title::before, .tg-title::before { content: ""; position: absolute; left: 0; top: 4px; width: 4px; height: 20px; border-radius: 4px; background: var(--orange); } .tg-share-row { display: flex; gap: 10px; margin-top: 18px; } .tg-share-row input { flex: 1; min-width: 0; height: 42px; padding: 0 13px; border: 1px solid var(--border-light); border-radius: 8px; background: #f5f7fb; color: var(--text-dark); font-size: 13px; } .tg-btn { display: inline-flex; align-items: center; justify-content: center; height: 42px; padding: 0 18px; border: 1px solid transparent; border-radius: 9px; cursor: pointer; font-size: 14px; font-weight: 800; white-space: nowrap; } .tg-btn-primary { background: var(--primary); color: #fff; box-shadow: 0 8px 18px rgba(16, 43, 106, 0.18); } .tg-btn-light { border-color: var(--border-light); background: #fff; color: var(--primary); } .tg-invite-code { margin-top: 12px; color: var(--text-muted); font-size: 13px; } .tg-invite-code strong { color: var(--primary); font-weight: 900; } .tg-stats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-top: 18px; } .tg-stat { min-width: 0; padding: 18px; border: 1px solid var(--border-light); border-radius: var(--radius-md); background: #fff; box-shadow: var(--shadow-sm); } .tg-stat span, .tg-stat em { display: block; color: var(--text-muted); font-size: 12px; font-style: normal; } .tg-stat strong { display: block; margin: 8px 0 7px; color: var(--primary); font-size: 22px; font-weight: 900; line-height: 1.2; } .tg-card, .tg-rule-card { margin-top: 18px; padding: 24px 28px; border: 1px solid var(--border-light); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-sm); } .tg-card-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 18px; padding-bottom: 18px; border-bottom: 1px solid var(--border-light); } .tg-desc { margin-top: 8px; color: var(--text-muted); font-size: 13px; } .tg-segment { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; } .tg-segment button { height: 34px; padding: 0 14px; border: 1px solid var(--border-light); border-radius: 999px; background: #f7f9fc; color: var(--text-muted); cursor: pointer; font-size: 13px; font-weight: 800; } .tg-segment button.active, .tg-segment button:hover { border-color: var(--primary); background: rgba(16, 43, 106, 0.08); color: var(--primary); } .tg-table-wrap { margin-top: 16px; overflow-x: auto; } .tg-table { width: 100%; min-width: 860px; border-collapse: collapse; } .tg-table th { padding: 14px 16px; background: #f3f6fb; color: var(--primary); font-size: 13px; font-weight: 900; text-align: left; white-space: nowrap; } .tg-table td { padding: 15px 16px; border-bottom: 1px solid var(--border-light); color: var(--text-dark); font-size: 13px; white-space: nowrap; } .tg-table tr:hover td { background: rgba(16, 43, 106, 0.03); } .tg-positive { color: #e04828 !important; font-weight: 900; } .tg-empty-cell { height: 90px; color: var(--text-muted) !important; text-align: center !important; } .tg-status { display: inline-flex; align-items: center; justify-content: center; min-width: 62px; height: 26px; padding: 0 10px; border-radius: 999px; font-size: 12px; font-weight: 800; } .tg-status.success { background: rgba(35, 175, 92, 0.12); color: #15824a; } .tg-status.pending { background: rgba(255, 185, 0, 0.16); color: #a56d00; } .tg-status.withdrawn { background: rgba(16, 43, 106, 0.1); color: var(--primary); } .tg-status.muted { background: #eef1f6; color: #667085; } .tg-rule-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 16px; } .tg-rule-item { display: flex; gap: 10px; min-width: 0; padding: 14px; border: 1px solid var(--border-light); border-radius: var(--radius-md); background: #f8fafd; color: var(--text-muted); font-size: 13px; line-height: 1.6; } .tg-rule-item b { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 50%; background: var(--primary); color: #fff; font-size: 12px; } .tg-modal-mask { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(8, 20, 48, 0.55); } .tg-modal { position: relative; width: 320px; max-width: 100%; padding: 24px; border-radius: var(--radius-lg); background: #fff; box-shadow: 0 18px 50px rgba(10, 24, 60, 0.24); text-align: center; } .tg-modal h3 { color: var(--text-dark); font-size: 18px; font-weight: 900; } .tg-modal-close { position: absolute; top: 12px; right: 12px; display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border: 1px solid var(--border-light); border-radius: 50%; background: #fff; color: var(--text-muted); cursor: pointer; font-size: 18px; line-height: 1; } .tg-qr-box { display: flex; align-items: center; justify-content: center; width: 200px; height: 200px; margin: 18px auto 12px; border: 1px solid var(--border-light); border-radius: 12px; background: #fff; } .tg-modal p { margin-bottom: 16px; color: var(--text-muted); font-size: 13px; } @media (max-width: 1100px) { .tg-hero, .tg-stats, .tg-rule-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } } @media (max-width: 720px) { .tg-hero, .tg-stats, .tg-rule-grid { grid-template-columns: 1fr; } .tg-card-head, .tg-share-row { flex-direction: column; align-items: stretch; } .tg-segment { justify-content: flex-start; } }