/* Tiên Giới Truyện 3D V15.75 — nhiệm vụ/điểm danh và studio VIP */
.tg75-member-center{font-family:"Times New Roman",serif;min-width:0;margin:22px auto;color:#f4e5cb}
.tg75-member-header{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:14px 18px;border:1px solid #755a30;border-radius:17px 17px 0 0;background:#151822}
.tg75-member-header strong{font-size:1.05rem;color:#f5d185}
.tg75-member-header>div{display:flex;flex-wrap:wrap;gap:8px}
.tg75-member-header .simple-btn{padding:8px 12px;font-size:.85rem}
.tg75-checkin{position:relative;padding:20px;border:1px solid rgba(224,176,75,.4);border-top:0;border-radius:0 0 20px 20px;background:radial-gradient(circle at 90% 0,rgba(224,169,48,.14),transparent 45%),linear-gradient(150deg,#191b22,#111822);box-shadow:0 15px 35px #0005;color:#f9e9cb}
.tg75-checkin header{display:flex;gap:13px;align-items:flex-start}
.tg75-checkin header>span{font-size:2rem;display:grid;place-items:center;width:56px;height:56px;border-radius:18px;background:#2b2519;border:1px solid #b38a3f;flex:0 0 56px}
.tg75-checkin small{color:#ecc46f;letter-spacing:.09em;font-size:.7rem}
.tg75-checkin h3{font-size:clamp(1.3rem,2.8vw,1.7rem);color:#f9d886;margin:4px 0}
.tg75-checkin p{margin:0;line-height:1.5;color:#d9cdb5}
.tg75-checkin-meta{margin:15px 0;display:flex;flex-wrap:wrap;justify-content:space-between;gap:7px;font-size:.9rem;color:#e8d5b2}
.tg75-checkin-meta strong{color:#ffda7a}
.tg75-checkin-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:7px;margin:15px 0 18px}
.tg75-check-day{display:flex;flex-direction:column;gap:5px;align-items:center;justify-content:center;background:#14151c;border:1px solid #5c4a2c;border-radius:10px;padding:9px 3px;color:#d1c5ae;font-size:.8rem}
.tg75-check-day b{font-size:1.3rem;color:#8a7953;line-height:1}
.tg75-check-day.is-checked{border-color:#e6c46b;background:#302518;color:#ffe09a}
.tg75-check-day.is-checked b{color:#ffdc80}
.tg75-checkin .gold-btn{width:100%;min-height:44px;font-weight:bold}
.tg75-checkin .gold-btn:disabled{opacity:.75;cursor:default}
.tg75-checkin .tg75-checkin-note{margin-top:10px;font-size:.77rem;color:#aead9c;text-align:center}
.tg75-member-center .tg74-dashboard{margin-top:14px}
.tg75-member-center .tg74-quest-groups{scroll-margin-top:100px}
#tg75-checkin,#tg75-quest-area{scroll-margin-top:110px}
.tg75-studio{padding:24px;border:1px solid #594528;border-radius:22px;background:radial-gradient(circle at 98% 0,#34261755,transparent 33%),linear-gradient(165deg,#1a1a21,#0b1018);color:#f5e6c4;font-family:"Times New Roman",serif}
.tg75-title{display:flex;align-items:center;justify-content:space-between;gap:15px;border-bottom:1px solid #57482b;padding-bottom:18px}
.tg75-title h2{color:#ffe09b;font-size:clamp(1.5rem,3vw,2.2rem);margin:6px 0 10px}
.tg75-title p{margin:0;color:#d1bf9d;line-height:1.65}
.tg75-title small{color:#d5a948;letter-spacing:.12em}.tg75-crown{font-size:3rem;color:#edbd55;text-shadow:0 0 16px #bf812c}
.tg75-help{margin:20px 0;padding:14px 16px;border-radius:12px;border:1px solid #4b422e;background:#23211c;color:#e3d4b4;line-height:1.6}
.tg75-admin-columns{display:grid;grid-template-columns:minmax(210px,1fr) minmax(250px,1.25fr);gap:22px;align-items:start}
.tg75-admin-columns h3,.tg75-member-admin h3{color:#f3cd7d;margin:9px 0 14px}
.tg75-tier-list{display:grid;gap:7px;max-height:620px;overflow:auto;padding-right:6px}
.tg75-tier-option{display:flex;align-items:center;gap:12px;padding:12px 14px;text-align:left;width:100%;color:#faebcc;background:#161a21;border:1px solid #4d422f;border-radius:13px;cursor:pointer;font-family:inherit}
.tg75-tier-option:hover,.tg75-tier-option:focus-visible{border-color:#cf9e4b;background:#272318}
.tg75-tier-option>span:nth-child(2){flex:1;min-width:0;display:grid;gap:5px}
.tg75-tier-option small{color:#c3b393}.tg75-tier-option i{width:12px;height:12px;flex-shrink:0;border-radius:50%;box-shadow:0 0 8px currentColor}
.tg75-mini{display:grid;place-items:center;border:1px solid var(--vip-color,#d8ac54);width:38px;height:38px;color:var(--vip-color,#d8ac54);background:#1f2027;border-radius:50%}
.tg75-editor{display:grid;gap:13px;background:#131820;border:1px solid #504229;border-radius:18px;padding:18px}
.tg75-editor label{display:grid;gap:7px;color:#e2d0ac;font-weight:600}
.tg75-editor input,.tg75-editor select,.tg75-roster-search input,.tg75-roster-row select{min-height:42px;width:100%;box-sizing:border-box;border:1px solid #80643b;border-radius:9px;background:#12151b;color:#faf0da;padding:9px;font:inherit}
.tg75-editor input[type=color]{padding:3px;max-width:150px;cursor:pointer}
.tg75-editor input[type=file]{font-size:.8rem}.tg75-editor label small{font-weight:normal;color:#aeb0ae}
.tg75-aperture{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}
.tg75-frame-preview{display:grid;place-items:center;min-height:170px;padding:14px;background:radial-gradient(circle,#242c38,#0b0d12);border:1px solid #715630;border-radius:16px;overflow:hidden}
.tg75-frame-preview .tgvip-avatar-wrap{--vip-frame-size:138px!important;margin:6px auto!important}
.tg75-actions button{width:100%;min-height:44px}.tg75-status{color:#f2ce7f;min-height:1.5em;line-height:1.5;overflow-wrap:anywhere}
.tg75-member-admin{margin-top:26px;border-top:1px solid #584424;padding-top:20px}
.tg75-member-admin p{color:#c7bb9e;line-height:1.6}.tg75-roster-search{display:flex;gap:9px;margin-bottom:16px}
.tg75-roster-search input{flex:1;min-width:0}
.tg75-roster-row{display:grid;grid-template-columns:minmax(0,1fr) 210px 80px;gap:12px;padding:12px;align-items:center;background:#151922;border:1px solid #56482d;border-radius:12px;margin-bottom:9px}
.tg75-roster-row>div{min-width:0;overflow-wrap:anywhere}.tg75-roster-row small{display:block;color:#bbad95;margin-top:5px}
.tg75-roster-row button{min-height:42px}
@media(max-width:800px){.tg75-admin-columns{grid-template-columns:1fr}.tg75-tier-list{max-height:300px}.tg75-roster-row{grid-template-columns:1fr 155px 70px}}
@media(max-width:560px){.tg75-studio{padding:14px}.tg75-title{align-items:flex-start}.tg75-crown{font-size:2rem}.tg75-aperture{grid-template-columns:1fr 1fr}.tg75-roster-search{flex-direction:column}.tg75-roster-row{grid-template-columns:1fr}.tg75-checkin{padding:14px}.tg75-member-header{padding:12px}.tg75-checkin header>span{width:42px;height:42px;flex-basis:42px}.tg75-checkin-days{gap:4px}.tg75-check-day{padding:8px 1px;font-size:.7rem}}
@media(prefers-reduced-motion:reduce){.tg75-tier-option{transition:none}}

/* V15.77: chỉ hiển thị xóa cấp VIP mở rộng cuối cùng */
.tg77-delete-tier:not([hidden]){border:1px solid #d88377;color:#ffc4b4;background:#251719;min-height:42px}
.tg77-delete-tier:not([hidden]):hover{background:#4d2227}
.tg77-delete-help{font-size:.86rem;line-height:1.6;opacity:.82}
