/* Application design system: warm surfaces, clear hierarchy, one navigation model. */
.tienlo-app.tienlo-light { --app-ink:#233e46;--app-muted:#637b7b;--app-brand:#286c59;--app-line:#d5dfd6;--app-paper:#fffef9;--app-soft:#edf3eb;--app-nav-height:0px;color-scheme:light; }
.tienlo-app.tienlo-light body { font-family:'Be Vietnam Pro',system-ui,sans-serif;color:var(--app-ink);background:#e9efeb; }
.tienlo-app.tienlo-light .ux-bottom-nav { display:none; }
.tienlo-app.tienlo-light .modal-window,.tienlo-app.tienlo-light .feature-window { border:1px solid #c5d5cc!important;border-radius:12px!important;background:var(--app-paper)!important;box-shadow:0 20px 70px #152f3f30!important; }
.tienlo-app.tienlo-light .modal-header { background:#f4f7ef!important;border-bottom:1px solid var(--app-line)!important;padding:18px 22px; }
.tienlo-app.tienlo-light .modal-header h2 { font-family:inherit!important;font-size:18px!important;font-weight:600!important;color:var(--app-ink)!important;line-height:1.5;letter-spacing:0!important; }
.tienlo-app.tienlo-light .modal-subtitle { color:var(--app-muted)!important;font-size:11px;line-height:1.7; }
.tienlo-app.tienlo-light .modal-body { scrollbar-color:#b7cbbb transparent; }
.tienlo-app.tienlo-light .modal-body input:not([type=checkbox]):not([type=radio]),.tienlo-app.tienlo-light .modal-body select,.tienlo-app.tienlo-light .modal-body textarea,.tienlo-app.tienlo-light .feature-field input,.tienlo-app.tienlo-light .feature-field select { background:#fffefb!important;color:var(--app-ink)!important;border:1px solid #b7cdc0!important;border-radius:7px!important;box-shadow:none!important;min-height:44px;padding:10px 12px; }
.tienlo-app.tienlo-light .modal-body button:not(.inv-item-card),.tienlo-app.tienlo-light .feature-button,.tienlo-app.tienlo-light .system-btn { border-radius:7px!important;border:1px solid #b3cbbb!important;background:#f3f7ef!important;color:#315d50!important;box-shadow:none!important;font-size:12px;line-height:1.5;min-height:40px; }
.tienlo-app.tienlo-light .modal-body button:hover:not(:disabled),.tienlo-app.tienlo-light .system-btn:hover:not(:disabled) { background:#e3eee1!important; }
.tienlo-app.tienlo-light button:focus-visible,.tienlo-app.tienlo-light input:focus-visible,.tienlo-app.tienlo-light select:focus-visible { outline:2px solid #438a72!important;outline-offset:3px; }
.tienlo-app.tienlo-light button:disabled { opacity:.5; }
.tienlo-app.tienlo-light .modal-close-btn { border-radius:50%!important;width:40px;height:40px;border:1px solid #cad8cb!important;background:#fffef8!important;color:#587267!important; }
.tienlo-app.tienlo-light .feature-toolbar { background:#fafbf5!important;border-color:var(--app-line)!important;padding:10px 22px; }
.tienlo-app.tienlo-light #featureBody[data-view=hub] { padding-top:16px!important; }
.tienlo-app.tienlo-light .feature-hub-intro { margin-bottom:12px; }
.tienlo-app.tienlo-light #featureBody[data-view=hub] .feature-card { padding:14px 0;min-height:74px; }
.tienlo-app.tienlo-light .feature-card h3 { font-size:14px!important;font-weight:600!important;line-height:1.6; }
.tienlo-app.tienlo-light .feature-card-description,.tienlo-app.tienlo-light .feature-summary>p { font-size:12px!important;line-height:1.75; }
.tienlo-app.tienlo-light .feature-summary { border:0!important;border-left:3px solid #a3b990!important;border-radius:0!important;background:#f1f6eb!important;padding:16px 18px;box-shadow:none!important; }
.tienlo-app.tienlo-light .feature-summary h3 { font-size:17px;font-weight:600;color:#355646; }
.tienlo-app.tienlo-light .feature-tabs,.tienlo-app.tienlo-light .forge-tabs,.tienlo-app.tienlo-light .stats-detail-tabs { gap:8px; }
.tienlo-app.tienlo-light .feature-tabs .feature-button.active,.tienlo-app.tienlo-light .forge-tabs .active,.tienlo-app.tienlo-light .stats-detail-tabs .active { color:#fffef5!important;background:#39745e!important;border-color:#39745e!important; }
.tienlo-app.tienlo-light .feature-section-title { font-size:12px;letter-spacing:0; }
.tienlo-app.tienlo-light .feature-empty { color:#647c74!important;background:#f1f6ed!important;border:1px dashed #bfd0c0!important;border-radius:8px!important;padding:22px!important;font-size:13px!important;line-height:1.8; }
.tienlo-app.tienlo-light .feature-skeleton { color:#678276!important;font-size:13px; }
.tienlo-app.tienlo-light .inv-item-card { background:#f3f6ee!important;border:1px solid #d3dfd1!important;border-radius:8px!important;box-shadow:none!important; }
.tienlo-app.tienlo-light .inv-item-icon-wrap { background:transparent!important;border:0!important; }
.tienlo-app.tienlo-light .inv-item-name { color:#35534a!important;font-size:12px;font-weight:500;line-height:1.6; }
.tienlo-app.tienlo-light #inventoryGridContainer { height:auto!important;max-height:none!important;overflow:visible!important;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px; }
.tienlo-app.tienlo-light .comparison-table th,.tienlo-app.tienlo-light .comparison-table td { background:transparent!important;border-bottom:1px solid var(--app-line)!important; }
.tienlo-app.tienlo-light .comparison-table thead { background:#f0f5e9; }
.tienlo-app.tienlo-light .comparison-piece { background:#f5f8f0;border-radius:8px;padding:12px; }
.tienlo-app.tienlo-light .comparison-art { background:none; }
.tienlo-app.tienlo-light .comparison-substats summary,.tienlo-app.tienlo-light .forge-stone-details>summary,.tienlo-app.tienlo-light .pond-fish-bag summary { padding:12px 0; }
.tienlo-app.tienlo-light .ux-screen-actions { flex:none;display:flex;gap:10px;padding:14px 20px;background:#fafcf5;border-top:1px solid var(--app-line); }
.tienlo-app.tienlo-light .ux-screen-actions[hidden] { display:none!important; }
.tienlo-app.tienlo-light .ux-screen-actions button,.tienlo-app.tienlo-light .forge-quote>button,.tienlo-app.tienlo-light .forge-confirm>button:first-of-type,.tienlo-app.tienlo-light .steal-confirm>button:first-of-type,.tienlo-app.tienlo-light .tn-btn-single { flex:1;min-height:46px;border-radius:8px!important;background:#34735d!important;color:#fffef5!important;border-color:#34735d!important;font-weight:600; }
.tienlo-app.tienlo-light #modalItemDetail.equipment-comparing .item-detail-action-card>div:last-child { display:none; }
.tienlo-app.tienlo-light .ux-status-slot { flex:none; }
.tienlo-app.tienlo-light #toastNotification { position:relative!important;inset:auto!important;transform:none!important;display:none;width:100%;max-width:none;border:0;border-radius:0!important;margin:0;padding:10px 18px;background:#eaf4e4!important;color:#30553e!important;box-shadow:none!important;font-size:12px;line-height:1.7;pointer-events:none;max-height:100px;overflow:auto; }
.tienlo-app.tienlo-light #toastNotification.show { display:block; }
.tienlo-app.tienlo-light .forge-fact { padding:10px 0; }.tienlo-app.tienlo-light .forge-quote { background:#eef5e7;border-color:#c0d2b9; }
.tienlo-app.tienlo-light .shop-card-v2,.tienlo-app.tienlo-light .shop-card { border-bottom-color:var(--app-line)!important; }
.tienlo-app.tienlo-light .shop-card-img-wrap,.tienlo-app.tienlo-light .shop-img-wrap { background:#f1f6e9!important; }
.tienlo-app.tienlo-light .tienngu-tab-switcher { display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:0;border-bottom:1px solid var(--app-line);padding-bottom:0; }
.tienlo-app.tienlo-light .modal-body .tienngu-tab-btn { background:transparent!important;border:0!important;border-bottom:3px solid transparent!important;border-radius:0!important;padding:10px 4px;font-size:12px;white-space:nowrap; }
.tienlo-app.tienlo-light .modal-body .tienngu-tab-btn.active { background:#edf5e6!important;color:#285d47!important;border-bottom-color:#4d865e!important;font-weight:600; }
.tienlo-app.tienlo-light .shop-nav-tabs { background:#f8faf2!important; }.tienlo-app.tienlo-light .shop-tab-btn { font-size:12px!important;min-height:44px; }
.tienlo-app.tienlo-light .shop-curr-chip,.tienlo-app.tienlo-light .tienngu-header-badges .tn-badge { border:0!important;background:#e8f0e4!important;color:#47705b!important; }
.tienlo-app.tienlo-light .equip-character-preview { background:linear-gradient(#f1f6eb,#e4eee2)!important;border:1px solid var(--app-line)!important; }
.tienlo-app.tienlo-light .equip-slot-card { background:#f4f7ef!important;border:1px solid #d2ddce!important;border-radius:8px!important;box-shadow:none!important; }
.tienlo-app.tienlo-light .equip-slot-card .equip-slot-name { font-weight:500;color:#355249!important; }
.tienlo-app.tienlo-light .equip-slot-icon-wrap { border:0!important;background:#edf4e7!important; }
.tienlo-app.tienlo-light .stats-detail-note { font-size:12px; }
.tienlo-app.tienlo-light .stats-detail-row { padding:12px 0; }
@media(max-width:760px){
 .tienlo-app.tienlo-light { --app-nav-height:calc(64px + env(safe-area-inset-bottom)); }
 .tienlo-app.tienlo-light.ux-keyboard { --app-nav-height:0px; }
 .tienlo-app.tienlo-light body { padding-bottom:var(--app-nav-height); }
 .tienlo-app.tienlo-light.ux-has-screen body { overflow:hidden; }
 .tienlo-app.tienlo-light .viewport-container { padding:8px 8px 16px;min-height:calc(100dvh - var(--app-nav-height)); }
 .tienlo-app.tienlo-light .system-bar { border:0;box-shadow:none;background:transparent; }
 .tienlo-app.tienlo-light .system-bar .character-select-dropdown { border:0;background:transparent;color:#5f756c;font-size:11px; }
 .tienlo-app.tienlo-light .game-stage { border:0;border-radius:12px;box-shadow:0 10px 35px #24483a15;padding:12px;gap:12px;min-height:0; }
 .tienlo-app.tienlo-light .profile-capsule { box-shadow:none;border-radius:10px;padding:12px; }
 .tienlo-app.tienlo-light .profile-name { font-size:17px; }
 .tienlo-app.tienlo-light .currency-pill { min-height:44px;border:0;box-shadow:none;border-radius:7px;background:#fcfff5f5!important; }
 .tienlo-app.tienlo-light .left-nav-dock,.tienlo-app.tienlo-light .bottom-quick-dock { display:none!important; }
 .tienlo-app.tienlo-light .hero-avatar-center { height:245px!important;flex-basis:245px; }
 .tienlo-app.tienlo-light .hero-sprite-art { height:238px!important;width:205px!important; }
 .tienlo-app.tienlo-light .power-hero-banner { border:0;background:#f8fcf1ed;box-shadow:none;border-radius:8px;padding:10px; }
 .tienlo-app.tienlo-light .power-hero-value { font-size:27px; }
 .tienlo-app.tienlo-light .stats-compact-grid { background:#fcfff4ef!important;border:0;box-shadow:none;border-radius:8px;gap:0;min-height:84px; }
 .tienlo-app.tienlo-light .stat-chip { padding:8px 3px; }.tienlo-app.tienlo-light .stat-chip-label { color:#6b8071;font-size:9px; }.tienlo-app.tienlo-light .stat-chip-val { color:#32513f;font-size:11px; }
 .tienlo-app.tienlo-light .widget-glass-card,.tienlo-app.tienlo-light .event-showcase-card,.tienlo-app.tienlo-light .live-chat-dock { border:0;box-shadow:none;border-radius:8px; }
 .tienlo-app.tienlo-light .checklist-open-button { padding:3px 0; }.tienlo-app.tienlo-light .checklist-progress-container.checklist-open-button { padding:8px 0; }
 .tienlo-app.tienlo-light .ux-bottom-nav { position:fixed;z-index:9000;left:0;right:0;bottom:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));padding:6px 8px max(6px,env(safe-area-inset-bottom));height:var(--app-nav-height);background:#fffef9;border-top:1px solid #cad9cc;box-shadow:0 -5px 24px #294c3d0c; }
 .tienlo-app.tienlo-light .ux-nav-button { display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-height:48px;background:none;border:0;border-radius:9px;color:#6a8175;font:500 11px 'Be Vietnam Pro',system-ui,sans-serif; }
 .tienlo-app.tienlo-light .ux-nav-button svg { width:22px;height:22px; }.tienlo-app.tienlo-light .ux-nav-button.active { color:#2d6e52;background:#eaf3e3;font-weight:600; }
 .tienlo-app.tienlo-light.ux-keyboard .ux-bottom-nav { display:none; }
 .tienlo-app.tienlo-light .modal-overlay { padding:0!important;top:0;bottom:auto;height:calc(var(--mobile-window-height) - var(--app-nav-height));max-height:none;align-items:stretch;background:#eef3eb;backdrop-filter:none; }
 .tienlo-app.tienlo-light .modal-overlay .modal-window,.tienlo-app.tienlo-light .modal-overlay .feature-window,.tienlo-app.tienlo-light #modalDailyChecklist .modal-window,.tienlo-app.tienlo-light #modalItemDetail .modal-window { width:100%!important;max-width:100%!important;min-height:0!important;height:100%!important;max-height:100%!important;border:0!important;border-radius:0!important;box-shadow:none!important; }
 .tienlo-app.tienlo-light .modal-header { padding:12px 16px!important;gap:10px;min-height:68px;flex-shrink:0; }
 .tienlo-app.tienlo-light .modal-header h2 { font-size:16px!important;font-weight:600!important;line-height:1.5; }
 .tienlo-app.tienlo-light .modal-close-btn { width:40px!important;height:40px!important;flex-basis:40px!important; }
 .tienlo-app.tienlo-light .modal-subtitle { font-size:10px!important;line-height:1.6; }
 .tienlo-app.tienlo-light .modal-body { padding:16px!important;min-height:0;overflow-y:auto!important;overflow-x:hidden!important;scroll-padding-block:16px; }
 .tienlo-app.tienlo-light .modal-body input:not([type=checkbox]):not([type=radio]),.tienlo-app.tienlo-light .modal-body select,.tienlo-app.tienlo-light .modal-body textarea { font-size:16px!important; }
 .tienlo-app.tienlo-light .modal-body button { min-height:44px; }
 .tienlo-app.tienlo-light .feature-toolbar { padding:8px 16px!important;min-height:48px; }
 .tienlo-app.tienlo-light #featureBody[data-view=hub] { padding-top:12px!important; }
 .tienlo-app.tienlo-light #featureBody[data-view=hub] .feature-hub-intro { font-size:12px; }
 .tienlo-app.tienlo-light #featureBody[data-view=hub] .feature-grid { display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 16px; }
 .tienlo-app.tienlo-light #featureBody[data-view=hub] .feature-card { display:flex!important;flex-direction:column;align-items:stretch;gap:6px;min-height:0;padding:14px 0; }
 .tienlo-app.tienlo-light #featureBody[data-view=hub] .feature-card-heading { align-items:start;gap:7px; }.tienlo-app.tienlo-light #featureBody[data-view=hub] .feature-card-icon { flex:0 0 19px;width:19px; }.tienlo-app.tienlo-light #featureBody[data-view=hub] .feature-card h3 { font-size:12px!important; }
 .tienlo-app.tienlo-light #featureBody[data-view=hub] .feature-card-description { display:none; }
 .tienlo-app.tienlo-light #featureBody[data-view=hub] .feature-card>.feature-button { margin:0 0 0 26px;min-height:36px;font-size:11px;padding:6px; }
 .tienlo-app.tienlo-light .feature-field { margin:8px 0 12px;font-size:11px; }.tienlo-app.tienlo-light .feature-tabs { margin:0 0 6px;gap:6px; }
 .tienlo-app.tienlo-light .feature-tabs .feature-button { font-size:11px;padding:8px 10px;min-height:40px; }
 .tienlo-app.tienlo-light #featureBody:not([data-view=hub]) .feature-card { padding:18px 0; }.tienlo-app.tienlo-light .feature-summary { padding:14px 16px; }
 .tienlo-app.tienlo-light #inventoryGridContainer { grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:10px; }
 .tienlo-app.tienlo-light .inv-item-card { padding:10px 6px;min-height:112px; }.tienlo-app.tienlo-light .inv-item-img { width:48px;height:48px;object-fit:contain; }.tienlo-app.tienlo-light .inv-item-name { font-size:11px; }
 .tienlo-app.tienlo-light #modalInventory .inv-tab-row { gap:6px;overflow-x:auto;flex-wrap:nowrap; }.tienlo-app.tienlo-light #modalInventory .inv-tab-btn { flex:0 0 auto;white-space:nowrap;min-height:40px;font-size:11px; }
 .tienlo-app.tienlo-light .equip-character-preview { display:grid;grid-template-columns:100px minmax(0,1fr);align-items:center;gap:6px 12px;padding:12px; }
 .tienlo-app.tienlo-light .preview-avatar-large { width:100px;height:135px;max-height:135px;grid-column:1;grid-row:1/4;justify-self:center; }
 .tienlo-app.tienlo-light #modalPreviewName,.tienlo-app.tienlo-light #modalPreviewRealm,.tienlo-app.tienlo-light #equipSetBonusCard { grid-column:2; }
 .tienlo-app.tienlo-light .equip-character-preview>div:last-child { grid-column:1/-1; }.tienlo-app.tienlo-light .equip-setbonus-card { padding:7px;font-size:10px; }
 .tienlo-app.tienlo-light .equip-special-slots-grid { gap:8px; }.tienlo-app.tienlo-light .special-slot-card { padding:7px 4px; }
 .tienlo-app.tienlo-light .equip-grid-8slots { gap:10px; }.tienlo-app.tienlo-light .equip-slot-card { min-height:108px;padding:10px 6px;gap:4px; }.tienlo-app.tienlo-light .equip-slot-icon-wrap { width:44px;height:44px; }.tienlo-app.tienlo-light .equip-slot-img { width:40px;height:40px; }.tienlo-app.tienlo-light .equip-slot-name { font-size:11px;line-height:1.6; }.tienlo-app.tienlo-light .equip-slot-tier { font-size:9px; }
 .tienlo-app.tienlo-light .equipment-facts { gap:14px; }.tienlo-app.tienlo-light .equipment-art { display:flex;gap:14px;align-items:center;padding:12px; }.tienlo-app.tienlo-light .equipment-art img { width:80px;height:80px;flex:0 0 80px; }.tienlo-app.tienlo-light .equipment-art p { margin:0;text-align:left; }
 .tienlo-app.tienlo-light .comparison-previews { gap:10px; }.tienlo-app.tienlo-light .comparison-piece { padding:10px; }.tienlo-app.tienlo-light .comparison-art { width:54px;height:54px; }
 .tienlo-app.tienlo-light .comparison-table th,.tienlo-app.tienlo-light .comparison-table td { padding:12px 4px;font-size:11px; }.tienlo-app.tienlo-light .comparison-table th:first-child { width:31%; }
 .tienlo-app.tienlo-light .ux-screen-actions { padding:12px 16px; }.tienlo-app.tienlo-light .ux-screen-actions button { min-height:46px;font-size:13px; }
 .tienlo-app.tienlo-light #modalFishing .modal-header { grid-template-columns:minmax(0,1fr) 40px; }
 .tienlo-app.tienlo-light #modalFishing .modal-subtitle { display:none; }.tienlo-app.tienlo-light #modalFishing .tienngu-header-badges { justify-content:flex-start;gap:8px; }
 .tienlo-app.tienlo-light .tienngu-tab-switcher { display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr));overflow:visible;gap:0;padding:0;margin-bottom:14px; }
 .tienlo-app.tienlo-light .modal-body .tienngu-tab-btn { white-space:nowrap;min-height:44px;font-size:11px;padding:10px 0; }
 .tienlo-app.tienlo-light .celestial-pond-stage { height:200px;padding:10px;border-radius:9px; }.tienlo-app.tienlo-light .tienngu-action-row button { font-size:12px; }.tienlo-app.tienlo-light .haul-drawer-box { border:1px solid var(--app-line);border-radius:8px;background:#f5f9ee; }
 .tienlo-app.tienlo-light .haul-drawer-header { background:#edf4e7; }.tienlo-app.tienlo-light .haul-cards-scrollable { padding:10px; }
 .tienlo-app.tienlo-light .shop-card-v2 { padding:16px 0;gap:10px; }.tienlo-app.tienlo-light .shop-card-bot { padding-left:65px; }.tienlo-app.tienlo-light .shop-card-title { font-size:13px; }.tienlo-app.tienlo-light .shop-card-desc { font-size:12px; }
 .tienlo-app.tienlo-light .shop-card-price { font-size:12px; }.tienlo-app.tienlo-light .shop-nav-tabs { display:grid;grid-template-columns:repeat(4,minmax(0,1fr));overflow:visible; }.tienlo-app.tienlo-light .shop-tab-btn { font-size:10px!important;padding:8px 2px; }
 .tienlo-app.tienlo-light #modalDailyChecklist .inv-tab-row { display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr));overflow:visible; }.tienlo-app.tienlo-light #modalDailyChecklist .inv-tab-row button { font-size:10px;padding:8px 2px; }
 .tienlo-app.tienlo-light .stats-detail-note { font-size:11px; }.tienlo-app.tienlo-light .stats-detail-tabs { gap:6px; }.tienlo-app.tienlo-light .stats-detail-tabs button { padding:8px 12px;font-size:12px; }
 .tienlo-app.tienlo-light .forge-section { padding:16px 0; }.tienlo-app.tienlo-light .forge-lock { padding:12px 0;font-size:12px; }.tienlo-app.tienlo-light .forge-quote { padding:14px; }
 .tienlo-app.tienlo-light .forge-stone-details>summary { font-size:12px; }.tienlo-app.tienlo-light .forge-stone { gap:10px;padding:10px 0; }.tienlo-app.tienlo-light .forge-stone-art { width:30px;height:30px;flex-basis:30px; }
}
@media(max-width:380px){.tienlo-app.tienlo-light .modal-body { padding:14px!important; }.tienlo-app.tienlo-light .modal-body .tienngu-tab-btn { font-size:10px; }.tienlo-app.tienlo-light .feature-tabs .feature-button { padding:8px;font-size:10px; }}

.tienlo-app.tienlo-light .modal-body :is(.forge-quote,.forge-confirm,.steal-confirm)>button:first-of-type,.tienlo-app.tienlo-light .modal-body .tn-btn-single { background:#34735d!important;color:#fffef5!important;border-color:#34735d!important; }
.ux-clear-search[hidden],.ux-feature-more[hidden] { display:none!important; }.ux-feature-more { width:100%;margin-top:16px;min-height:44px; }
.tienlo-app.tienlo-light .feature-toolbar[hidden] { display:none!important; }
.tienlo-app.tienlo-light .modal-body button.feature-card.ux-hub-link { display:flex!important;flex-direction:row!important;align-items:center;justify-content:space-between;gap:10px;padding:16px 0!important;min-height:68px!important;background:transparent!important;border:0!important;border-bottom:1px solid #d8e2d6!important;border-radius:0!important;text-align:left;box-shadow:none; }
.tienlo-app.tienlo-light .ux-hub-link .feature-card-heading { flex:1;min-width:0;margin:0;gap:9px;align-items:center; }.tienlo-app.tienlo-light .ux-hub-link .feature-card-title { font-size:13px;font-weight:500;color:#325548;line-height:1.6; }.tienlo-app.tienlo-light .ux-hub-arrow { font-size:22px;font-weight:400;color:#94ae98; }
.tienlo-app.tienlo-light .modal-body button.inv-item-card { background:#f4f7ef!important;border:1px solid #d5dfd2!important;border-radius:8px!important;color:#36594b!important;box-shadow:none!important; }
.tienlo-app.tienlo-light .comparison-table tbody tr:nth-child(n) { background:#fffef9!important; }
.tienlo-app.tienlo-light #modalItemDetail.equipment-comparing .item-detail-action-card>div:last-child { display:none!important; }
@media(max-width:760px){.tienlo-app.tienlo-light .ux-hub-link .feature-card-title { font-size:12px; }.tienlo-app.tienlo-light .modal-body button.feature-card.ux-hub-link { min-height:70px!important;padding:14px 0!important; }}
.tienlo-app.tienlo-light .ux-side-entry { gap:9px; }.tienlo-app.tienlo-light .ux-side-entry>svg { width:20px;height:20px;flex:0 0 20px; }
/* Tầm Bảo: an illustrated reveal, driven exclusively by server receipts. */
.tb-wallet { display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;border-bottom:1px solid #d9e2d6;padding-bottom:16px;margin-bottom:16px; }.tb-wallet span,.tb-wallet strong { display:block; }.tb-wallet span { font-size:11px;color:#6b8277;margin-bottom:5px; }.tb-wallet strong { font-size:17px;font-weight:500;color:#315546; }
.tb-pool-tabs { display:flex;gap:10px;margin-bottom:16px; }.tb-pool-tabs button { flex:1; }
.tienlo-app.tienlo-light .modal-body .tb-pool-tabs button.active { color:#fff9e8!important;background:#356e58!important;border-color:#356e58!important; }
.tb-stage { position:relative;isolation:isolate;height:300px;overflow:hidden;border:1px solid #bba46e;border-radius:12px;background:radial-gradient(ellipse at 50% 42%,#26413988,#162f2520 50%),url('/assets/ui/tambao-dragon-phoenix-subtle.png') center/cover,#172d25;box-shadow:inset 0 0 0 5px #d3bc7420,inset 0 0 80px #07130b88;color:#e8d7a8; }
.tb-stage-eyebrow { position:absolute;top:18px;left:0;right:0;text-align:center;letter-spacing:.22em;font-size:9px;color:#c6ba92; }.tb-stage-title { position:absolute;bottom:37px;left:18px;right:18px;text-align:center;margin:0;font-family:'Playfair Display',Georgia,serif;font-size:21px;font-weight:500;color:#f3e5ba;line-height:1.5; }.tb-stage-caption { position:absolute;bottom:15px;left:15px;right:15px;text-align:center;margin:0;font-size:11px;color:#c0bc9e; }
.tb-wheel,.tb-orbit { position:absolute;left:50%;top:43%;width:170px;height:170px;border:1px solid #cbb46b88;border-radius:50%;transform:translate(-50%,-50%);pointer-events:none;animation:tb-wheel-turn 26s linear infinite; }.tb-wheel::before,.tb-wheel::after { content:'';position:absolute;inset:10px;border:1px dashed #c0b27866;border-radius:50%; }.tb-wheel::after { inset:27px;border-style:solid;border-color:#d5bc6c33; }.tb-orbit { width:210px;height:210px;border-color:#afbc6a2c;animation-direction:reverse;animation-duration:38s; }.tb-orbit::after { content:'';position:absolute;inset:8px;border:1px dashed #dbc4772c;border-radius:50%; }
.tb-wheel>span { position:absolute;font:14px serif;color:#d9c789; }.tb-wheel>span:nth-child(1) { top:0;left:50%;transform:translate(-50%,-50%); }.tb-wheel>span:nth-child(2) { bottom:0;left:50%;transform:translate(-50%,50%); }.tb-wheel>span:nth-child(3) { left:0;top:50%;transform:translate(-50%,-50%); }.tb-wheel>span:nth-child(4) { right:0;top:50%;transform:translate(50%,-50%); }
.tb-core { position:absolute;left:50%;top:43%;transform:translate(-50%,-50%);display:grid;place-items:center;width:98px;height:98px;border-radius:50%;border:1px solid #bbaa7188;background:radial-gradient(circle,#44634c,#1d3427);box-shadow:0 0 22px #cfb76f20,inset 0 0 24px #d6ca8130; }.tb-seal { font:52px serif;color:#d9c797;text-shadow:0 2px 10px #0006; }.tb-prize-art { width:86px;height:86px;object-fit:contain;filter:drop-shadow(0 3px 9px #071008aa); }
.tb-stage.is-spinning .tb-wheel { animation-duration:.8s; }.tb-stage.is-spinning .tb-orbit { animation-duration:1.8s; }.tb-stage.is-spinning .tb-core { box-shadow:0 0 42px #e0c36570,inset 0 0 32px #ddc57133; }.tb-stage.is-revealed .tb-prize-art { animation:tb-prize-reveal .4s ease-out; }
.tienlo-app.tienlo-light .modal-body button.tb-skip { position:absolute;top:12px;right:12px;min-height:32px;font-size:10px;padding:6px 10px;background:#2a4032cc!important;color:#d7c99d!important;border-color:#bba87566!important; }
.tb-roll-controls { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:16px 0; }.tienlo-app.tienlo-light .modal-body button.tb-roll { background:#346c53!important;color:#fff9e9!important;border-color:#346c53!important;padding:12px;min-height:62px; }.tb-roll strong,.tb-roll span { display:block; }.tb-roll strong { font-size:14px;font-weight:600; }.tb-roll span { font-size:11px;opacity:.8;margin-top:4px; }
.tb-rewards { border-top:1px solid #cbdac8;margin-top:20px;padding-top:18px; }.tb-rewards h3 { font-size:16px;color:#365642; }.tb-reward-grid { display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px; }.tb-reward { border:1px solid #c7d5c3;border-radius:8px;background:#f4f7ec;padding:12px 8px;text-align:center; }.tb-reward-art { width:62px;height:62px;object-fit:contain;display:block;margin:0 auto 8px; }.tb-reward strong { display:block;font-size:12px;color:#34513f;line-height:1.6;font-weight:500; }.tb-reward span { display:block;font-size:10px;color:#78846a;margin-top:5px; }.tb-reward[data-tier=THIEN],.tb-reward[data-tier=TIEN] { border-color:#bda56b;background:#f8f5e5; }
.tb-details { border-top:1px solid #d5dfd0;margin:12px 0;padding:10px 0;color:#63765f;font-size:12px;line-height:1.8; }.tb-details summary { cursor:pointer;min-height:36px;padding:7px 0; }.tb-details p { margin:7px 0; }
@keyframes tb-wheel-turn { from { transform:translate(-50%,-50%) rotate(0); } to { transform:translate(-50%,-50%) rotate(360deg); } }
@keyframes tb-prize-reveal { from { opacity:0;transform:scale(.55); } to { opacity:1;transform:scale(1); } }
.effects-off .tb-wheel,.effects-off .tb-orbit,.effects-off .tb-prize-art { animation:none!important; }.modal-overlay:not(.active) .tb-wheel,.modal-overlay:not(.active) .tb-orbit,.fx-page-hidden .tb-wheel,.fx-page-hidden .tb-orbit { animation-play-state:paused; }
@media(prefers-reduced-motion:reduce){.tb-wheel,.tb-orbit,.tb-prize-art { animation:none!important; }}
@media(max-width:760px){.tb-wallet { gap:10px;padding-bottom:12px;margin-bottom:12px; }.tb-wallet strong { font-size:15px; }.tb-wallet span { font-size:10px; }.tb-stage { height:246px;border-radius:9px;background-position:center; }.tb-wheel { width:145px;height:145px; }.tb-orbit { width:182px;height:182px; }.tb-core { width:82px;height:82px; }.tb-seal { font-size:44px; }.tb-prize-art { width:72px;height:72px; }.tb-stage-title { font-size:17px;bottom:36px; }.tb-stage-eyebrow { font-size:8px;top:12px; }.tb-stage-caption { font-size:10px; }.tb-roll-controls { margin:12px 0;gap:10px; }.tb-reward-grid { grid-template-columns:repeat(2,minmax(0,1fr));gap:10px; }.tb-reward-art { width:54px;height:54px; }}
@media(max-width:760px){.tienlo-app.tienlo-light .modal-close-btn { width:44px!important;height:44px!important;flex-basis:44px!important; }.tienlo-app.tienlo-light #modalFishing .modal-header { grid-template-columns:minmax(0,1fr) 44px; }}

/* Keep the ritual artwork readable above legacy modal color rules. */
.tienlo-app.tienlo-light #featureBody .tb-stage-title { color:#f3e5ba!important; }
.tienlo-app.tienlo-light #featureBody .tb-stage-caption { color:#ded2ae!important; }
.tienlo-app.tienlo-light #featureBody button.tb-roll { display:flex!important;flex-direction:column;gap:2px;background:#346c53!important;color:#fff9e9!important;border-color:#346c53!important; }
.tienlo-app.tienlo-light #featureBody button.tb-roll strong,.tienlo-app.tienlo-light #featureBody button.tb-roll span { color:inherit!important; }

/* Keep the equipped title above a smaller, raised character. */
.tienlo-app.tienlo-light .hero-active-title{position:absolute;top:4px;left:50%;transform:translateX(-50%);z-index:6;max-width:100%;width:max-content;padding:6px 18px;border:1px solid #d7bd78;border-radius:18px;background:linear-gradient(110deg,#fffdf2f2,#f8edccef,#fffdf2f2);color:#806026;font-size:14px;font-weight:600;text-align:center;line-height:1.5;overflow-wrap:anywhere;box-shadow:0 3px 14px #233f3820;text-shadow:0 1px #fff;}
.tienlo-app.tienlo-light .hero-active-title[hidden]{display:none;}
@media(min-width:761px){
 .tienlo-app.tienlo-light .hero-avatar-center{bottom:90px;height:370px;}
 .tienlo-app.tienlo-light .hero-sprite-art{width:230px;height:320px;}
}
@media(max-width:760px){
 .tienlo-app.tienlo-light .hero-avatar-center{height:245px!important;flex-basis:245px;}
 .tienlo-app.tienlo-light .hero-sprite-art{height:205px!important;width:177px!important;bottom:12px;}
 .tienlo-app.tienlo-light .hero-active-title{top:0;font-size:12px;max-width:90%;padding:5px 14px;}
}

.tienlo-app.tienlo-light .hero-active-title.has-title-art{top:-30px;width:250px;max-width:100%;height:76px;padding:0;border:0;border-radius:0;background:none;box-shadow:none;text-shadow:none;}
.tienlo-app.tienlo-light .hero-title-art{display:block;width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 3px 5px #243b4550);}
@media(max-width:760px){.tienlo-app.tienlo-light .hero-active-title.has-title-art{top:-18px;width:180px;height:48px;}}

.equipment-power{font-size:13px;font-weight:600;color:#8b6527;padding:10px 0;}
.equipment-skill{margin:14px 0;padding:16px 18px;border-left:3px solid #b79751;background:linear-gradient(110deg,#fbf4df,#f1f7ec);border-radius:0 10px 10px 0;}
.equipment-skill h3{font-size:15px;color:#75531e;margin:0 0 10px;}.equipment-skill p{font-size:12px;line-height:1.8;margin:7px 0;color:#436452;}.equipment-skill .equipment-skill-next{color:#8b713e;border-top:1px solid #d7ddc4;padding-top:10px;}
