.tienlo-app.tienlo-light #featureBody.world-view{--world-border:#ccdac8;--world-green:#32694d;}
.world-header{position:relative;overflow:hidden;padding:22px;margin-bottom:18px;border-radius:12px;background:#eaf1e4;isolation:isolate;min-height:112px;}
.world-header-art{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.18;z-index:-1;}
.tienlo-app.tienlo-light #featureBody .world-header h3{font:600 23px/1.4 Georgia,serif!important;color:#244e3d!important;margin:7px 0;}
.world-header p{max-width:600px;font-size:13px;line-height:1.7;margin:0;}.world-eyebrow{font-size:9px;letter-spacing:.17em;color:#4b6e58;}
.world-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:14px 0 20px;}.world-facts div{border-bottom:1px solid var(--world-border);padding-bottom:10px;min-width:0;}.world-facts dt{font-size:11px;color:#687c70;}.world-facts dd{margin:5px 0 0;font-size:15px;font-weight:600;overflow-wrap:anywhere;color:#315846;}
.world-field{display:flex;flex-direction:column;gap:7px;margin:12px 0;font-size:12px;color:#496754;}.world-field input,.world-field select{width:100%;min-width:0;}
.world-tools,.world-tabs,.world-presets{display:flex;flex-wrap:wrap;gap:9px;margin:14px 0;}
.tienlo-app.tienlo-light #featureBody .world-button{min-height:44px;padding:10px 16px;background:#edf4e9!important;color:#315e49!important;border:1px solid #abc2ac!important;border-radius:8px!important;white-space:normal;line-height:1.5;}
.tienlo-app.tienlo-light #featureBody .world-button[aria-pressed=true],.tienlo-app.tienlo-light #featureBody .world-confirm button:first-of-type{background:#356c50!important;color:#fffdf3!important;}
.tienlo-app.tienlo-light #featureBody .world-button:disabled{opacity:.48;cursor:not-allowed;}.world-button:focus-visible{outline:3px solid #68a786;outline-offset:3px;}
.world-note{font-size:12px;line-height:1.8;color:#617568;white-space:pre-line;}.world-confirm{padding:16px;margin:15px 0;background:#f3ecd9;border-left:3px solid #b79b58;border-radius:8px;}.world-confirm h4{margin:0 0 8px;}.world-confirm p{line-height:1.8;font-size:13px;}.world-confirm button{margin-right:8px;}
.world-log{margin:18px 0;border-top:1px solid var(--world-border);padding:14px 0;}.world-log summary{cursor:pointer;font-weight:600;min-height:36px;}.world-log p{font-size:12px;line-height:1.8;overflow-wrap:anywhere;}
.world-meter{position:relative;display:flex;flex-direction:column;gap:5px;margin:12px 0;}.world-meter progress{width:100%;height:9px;accent-color:#54835b;border:0;border-radius:6px;overflow:hidden;}.world-meter progress::-webkit-progress-bar{background:#dce5d9;}.world-meter progress::-webkit-progress-value{background:#54835b;border-radius:6px;}.world-meter span{font-size:11px;color:#57715e;}
.world-battle,.world-encounter,.beast-care,.vein-owned{padding:22px;background:#f4f7ee;border-radius:12px;margin:16px 0;overflow:hidden;}.world-enemy-art{display:block;height:220px;max-width:100%;width:100%;object-fit:contain;margin:0 auto 12px;}.world-encounter>.world-button{margin:6px 8px 6px 0;}
.world-battle{background:radial-gradient(ellipse at top,#d6e6dc,#f3f6ec 70%);}.world-battle .world-enemy-art{height:180px;}.world-battle>h3{text-align:center;}
.garden-field{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:16px;padding:24px 20px;background:radial-gradient(ellipse at 20% 20%,#93ae6a55,transparent 50%),repeating-linear-gradient(8deg,#81945f10 0 1px,transparent 1px 9px),#e6e9ce;border:1px solid #c0caa8;border-radius:18px;box-shadow:inset 0 0 40px #7e92592a;}
.tienlo-app.tienlo-light #featureBody button.garden-plot{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:end;min-height:155px;padding:14px 5px 10px;border:0!important;border-bottom:6px solid #8c6646!important;border-radius:34% 34% 16px 16px!important;background:repeating-linear-gradient(165deg,#a38460 0 5px,#92704c 6px 7px,#aa8965 8px 15px)!important;box-shadow:0 7px 0 #7a5c3f30!important;transition:filter .18s,transform .18s;}
.tienlo-app.tienlo-light #featureBody .garden-plot[aria-pressed=true]{outline:3px solid #456b41;outline-offset:4px;transform:translateY(-3px);}.tienlo-app.tienlo-light #featureBody .garden-plot.state-locked{filter:saturate(.3);opacity:.65;background:#a6aa91!important;border-bottom-color:#797f65!important;}.garden-plot-number{position:absolute;left:10px;top:10px;font-size:10px;color:#fff3d5;}.garden-plot-label{z-index:1;font-size:11px;text-align:center;color:#fff9e9!important;text-shadow:0 1px 2px #493c29;padding:3px 5px;max-width:100%;overflow-wrap:anywhere;}.garden-timer,.garden-ready{font-size:10px;padding:2px 7px;border-radius:10px;background:#ead6ac;color:#54412b!important;z-index:1;}.garden-ready{background:#e5edac;color:#3e581b!important;}.garden-sprout{position:absolute;bottom:49px;width:4px;height:66px;border-radius:3px;background:#426b34;transform:scale(var(--growth,1));transform-origin:center bottom;filter:drop-shadow(2px 3px 2px #273d2033);}.garden-leaf{position:absolute;width:30px;height:16px;background:linear-gradient(145deg,#94b956,#426e33);border-radius:90% 5% 80% 10%;transform-origin:right bottom;right:1px;top:18px;transform:rotate(20deg);border-bottom:1px solid #335a2b;}.garden-leaf.leaf-1{left:3px;right:auto;top:30px;transform:scaleX(-1) rotate(20deg);}.garden-leaf.leaf-2{top:0;width:23px;transform:rotate(40deg);}.garden-leaf.leaf-3{top:7px;left:4px;right:auto;width:23px;transform:scaleX(-1) rotate(40deg);}.state-ready .garden-leaf{background:linear-gradient(135deg,#d4c967,#679344);}.garden-empty-mark{position:absolute;top:0;left:-12px;font-size:33px;color:#f1dcbb;}.state-empty .garden-sprout,.state-locked .garden-sprout{background:transparent;}
.garden-panel{margin:22px 0;padding:18px 20px;border-radius:12px;background:#f1f5e9;border-left:3px solid #6f8f50;}.garden-panel>button{margin:5px 8px 5px 0;}.garden-seed-info{display:flex;align-items:center;gap:12px;}.garden-seed-art{width:55px;height:55px;object-fit:contain;}
.beast-roster{display:flex;gap:10px;overflow-x:auto;padding:8px 3px 16px;scroll-snap-type:x proximity;}.tienlo-app.tienlo-light #featureBody .beast-roster-item{flex:0 0 105px;display:flex;flex-direction:column;align-items:center;gap:5px;padding:9px;font-size:11px;scroll-snap-align:start;}.beast-thumb{width:65px;height:65px;object-fit:contain;}.beast-portrait{display:block;width:100%;height:245px;object-fit:contain;background:radial-gradient(ellipse,#c4dcb977,transparent 65%);}.beast-care>h3{text-align:center;}.beast-feeding{margin:18px 0;padding:16px;background:#fffdf6;border-radius:10px;}.world-presets button{min-width:52px;}.world-shop-item,.beast-incubator{padding:18px 0;border-bottom:1px solid var(--world-border);}.world-shop-item .world-field{max-width:260px;}
.vein-map{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;padding:18px;background:radial-gradient(ellipse at 50% 10%,#e0eadd,#f0f2e5);border-radius:16px;}.vein-node{position:relative;text-align:center;padding:18px 10px;border-bottom:1px solid #c4d4ba;min-width:0;}.vein-node h4{margin:8px 0;}.vein-node p{font-size:12px;line-height:1.7;}.vein-mountain{display:block;width:72px;height:55px;margin:auto;font-size:0;background:linear-gradient(135deg,#567d60,#b0c2a0);clip-path:polygon(0 100%,20% 47%,35% 70%,58% 0,80% 60%,88% 45%,100% 100%);}.vein-node.is-occupied{background:#faf5e8;border-radius:10px;}.vein-node.is-own .vein-mountain{background:linear-gradient(135deg,#99752b,#d6c986);}.vein-owned{border:1px solid #c3bf8d;}
.stage-chapters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;}.stage-chapter{overflow:hidden;border-bottom:1px solid var(--world-border);padding-bottom:20px;}.stage-cover{width:100%;height:190px;object-fit:cover;border-radius:12px;}.stage-detail-art{width:100%;height:270px;object-fit:cover;border-radius:12px;margin-bottom:16px;}.stage-enemy{padding:12px 0;border-bottom:1px solid var(--world-border);}
@media(max-width:760px){.world-header{padding:18px;}.world-facts{gap:10px;}.world-facts dd{font-size:13px;}.world-header h3{font-size:21px;}.world-battle,.world-encounter,.beast-care{padding:16px;}.world-enemy-art{height:190px;}.garden-field{grid-template-columns:repeat(3,minmax(0,1fr));gap:15px 12px;padding:18px 12px;}.tienlo-app.tienlo-light #featureBody button.garden-plot{min-height:140px;}.garden-plot-label{font-size:10px;}.garden-sprout{bottom:48px;height:55px;}.garden-leaf{width:25px;}.garden-panel{padding:15px;}.world-tools>button{flex:1;}.world-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;}.tienlo-app.tienlo-light #featureBody .world-tabs button{padding:9px 5px;}.beast-portrait{height:220px;}.vein-map{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:10px;}.vein-node{padding:15px 5px;}.vein-node h4{font-size:13px;}.tienlo-app.tienlo-light #featureBody .vein-node button{padding:9px 7px;font-size:11px;}.stage-chapters{grid-template-columns:1fr;}.stage-cover{height:175px;}.stage-detail-art{height:200px;}.world-confirm button{min-width:90px;}}

/* Keep selected soil textured and put care controls within easy reach. */
.tienlo-app.tienlo-light #featureBody button.garden-plot[aria-pressed=true]{background:repeating-linear-gradient(165deg,#a38460 0 5px,#92704c 6px 7px,#aa8965 8px 15px)!important;}
.beast-identity{display:grid;grid-template-columns:170px minmax(0,1fr);gap:5px 20px;align-items:center;}
.beast-identity .beast-portrait{grid-row:1/4;width:170px;height:180px;margin:0;}
.beast-identity h3{margin:0;}.beast-identity .world-note{margin:0;}.beast-identity .world-meter{margin:0;}
@media(max-width:760px){.beast-identity{grid-template-columns:115px minmax(0,1fr);gap:5px 12px;}.beast-identity .beast-portrait{width:115px;height:145px;}.beast-identity h3{font-size:17px;}.beast-identity .world-note{font-size:11px;}.beast-identity .world-meter span{font-size:10px;}}

.garden-harvest-art{float:right;width:64px;height:64px;object-fit:contain;margin:0 0 10px 10px;}
.garden-blossom{position:absolute;top:-9px;left:-9px;width:23px;height:23px;border-radius:40% 60% 40% 60%;background:radial-gradient(circle,#efdc82 0 20%,#d484a1 25% 55%,#e9b0c2 65%);box-shadow:4px 1px 0 -3px #f6d6df;}
[data-seed=hat_to_linh] .garden-blossom{background:radial-gradient(circle,#d3e6f0,#659ab5 60%,#c3d9e5);border-radius:50%;}
[data-seed=hat_pha_canh] .garden-blossom{background:radial-gradient(circle,#f3d98e,#d8a043 60%,#ebcb79);border-radius:50% 50% 40% 40%;}
.garden-plot.is-watered::after{content:'';position:absolute;right:10px;top:12px;width:7px;height:10px;background:#c6e3df;border-radius:70% 20% 60% 40%;transform:rotate(25deg);}
.garden-plot[aria-pressed=true].state-growing .garden-sprout{animation:garden-breeze 3.2s ease-in-out infinite;}
@keyframes garden-breeze{0%,100%{transform:scale(var(--growth,1)) rotate(-2deg)}50%{transform:scale(var(--growth,1)) rotate(2deg)}}
.effects-off .garden-sprout{animation:none!important;}
@media(prefers-reduced-motion:reduce){.garden-sprout{animation:none!important;}.garden-plot{transition:none!important;}}
.incubator-picker{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:16px 0;}
.tienlo-app.tienlo-light #featureBody .incubator-choice{display:flex;flex-direction:column;align-items:center;gap:5px;padding:10px 6px;min-width:0;}
.incubator-thumb{width:70px;height:78px;object-fit:contain;}.incubator-choice span{font-size:10px;}.incubator-choice strong{font-size:12px;}
.incubator-scene{position:relative;height:300px;background:radial-gradient(ellipse at 50% 65%,#ddcf9240,#edf6e475);border-radius:16px;overflow:hidden;}
.incubator-structure{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;}
.incubator-egg{position:absolute;left:50%;top:43%;transform:translate(-50%,-50%);height:28%;width:25%;object-fit:contain;filter:drop-shadow(0 2px 8px #d6b96555);}
.incubator-empty{position:absolute;left:0;right:0;top:48%;text-align:center;color:#6e784c;font-size:12px;}
.breeding-parents{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;}.breeding-pair-art{display:flex;justify-content:center;gap:30px;padding:14px 0;}.breeding-parent-art{width:115px;height:125px;object-fit:contain;}
.hatch-result{padding:20px;background:radial-gradient(ellipse,#fff5ce,#edf8e8);border:1px solid #dcc48b;border-radius:14px;margin:16px 0;text-align:center;}.hatch-result-art{width:150px;height:170px;object-fit:contain;}
.breeding-farm-preview{width:100%;height:230px;object-fit:cover;border-radius:12px;}
.incubator-scene.is-ready .incubator-egg{animation:egg-ready 2.5s ease-in-out infinite;}
@keyframes egg-ready{0%,100%{transform:translate(-50%,-50%) rotate(-2deg);filter:drop-shadow(0 0 7px #e7bf5f55);}50%{transform:translate(-50%,-50%) rotate(2deg);filter:drop-shadow(0 0 12px #e7bf5f99);}}
.effects-off .incubator-egg{animation:none!important;}
@media(max-width:760px){.incubator-picker{gap:8px;}.incubator-scene{height:245px;}.incubator-thumb{width:60px;height:65px;}.breeding-parents{grid-template-columns:minmax(0,1fr);gap:0;}.breeding-parent-art{width:100px;height:110px;}.breeding-pair-art{gap:22px;}}
@media(prefers-reduced-motion:reduce){.incubator-egg{animation:none!important;}}
.gear-filters{display:grid;grid-template-columns:2fr 1fr 1fr;gap:12px;}.gear-visual-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;}
.gear-visual-card{--gear-tone:#91a887;min-width:0;padding:14px;border:1px solid #c7dcca;border-top:3px solid var(--gear-tone);border-radius:12px;background:linear-gradient(150deg,#fffef8,#eff8ef);}
.gear-visual-card[data-tier=HUYEN]{--gear-tone:#519b9e;}.gear-visual-card[data-tier=DIA]{--gear-tone:#9c80b3;}.gear-visual-card[data-tier=THIEN]{--gear-tone:#b49b46;}.gear-visual-card[data-tier=TIEN]{--gear-tone:#d5a146;}
.tienlo-app.tienlo-light #featureBody button.gear-card-detail{display:block;background:transparent!important;border:0!important;padding:0;width:100%;text-align:left;color:#294f40!important;box-shadow:none!important;}
.gear-art-wrap{position:relative;display:grid;place-items:center;min-height:130px;margin-bottom:12px;border-radius:10px;background:radial-gradient(ellipse,#d3e9d670,transparent 72%);}
.gear-art{display:block;width:100%;height:120px;object-fit:contain;filter:drop-shadow(0 4px 5px #29482d20);}
.gear-level,.gear-refine{position:absolute;top:0;background:#e4efe3;border:1px solid #bbd1b6;padding:3px 7px;border-radius:6px;font-size:10px;color:#476541;}.gear-level{left:0;}.gear-refine{right:0;background:#fff2ca;border-color:#d5ba77;color:#8c651f;}
.gear-tier{font-size:10px;color:#8b6a2a;font-weight:600;}.gear-visual-card h4{font-size:13px;line-height:1.6;margin:4px 0;color:#294f40;}.gear-position{font-size:10px;color:#718374;}.gear-stat-caption{display:block;margin-top:12px;color:#728372;font-size:10px;}
.gear-stats{margin:6px 0 0;display:grid;gap:5px;font-size:11px;}.gear-stats div{display:flex;justify-content:space-between;gap:5px;}.gear-stats dt{color:#607661;}.gear-stats dd{margin:0;font-weight:600;color:#2f654c;}.gear-substat-count{font-size:10px;color:#8c784b;margin:9px 0 0;}
.gear-card-actions{display:flex;flex-wrap:wrap;gap:7px;margin-top:14px;}.gear-card-actions>button{flex:1;font-size:11px!important;padding:9px 7px!important;}
.gear-merge-preview{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;margin:20px 0;}.gear-merge-preview>div{padding:12px;background:#eff8ed;border-radius:10px;text-align:center;}.gear-merge-preview strong,.gear-merge-preview span{display:block;font-size:11px;line-height:1.7;}.gear-merge-preview .gear-art{height:100px;}
@media(max-width:760px){.gear-visual-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;}.gear-visual-card{padding:10px;}.gear-art-wrap{min-height:110px;}.gear-art{height:100px;}.gear-visual-card h4{font-size:12px;}.gear-filters{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 10px;}.gear-filters>.world-field:first-child{grid-column:1/-1;}.gear-merge-preview{gap:8px;}.gear-merge-preview>div{padding:8px;}.gear-merge-preview .gear-art{height:70px;}}
.tienlo-app.tienlo-light #modalLeaderboard table[hidden]{display:none!important;}
.board-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px;}.board-heading h3{margin:0;color:#27684e;}
.board-controls{display:flex;align-items:end;gap:12px;margin-bottom:16px;}.board-controls .world-field{flex:1;margin:0;}.board-controls button{flex:0 0 auto;min-height:44px;margin:0;}
.board-list{display:grid;gap:10px;}.board-entry{display:grid;grid-template-columns:40px minmax(0,1fr) 120px;align-items:center;gap:14px;padding:15px 16px;background:#f5faf0;border-bottom:1px solid #cfdfc8;border-radius:9px;}
.board-entry[data-rank="1"]{background:linear-gradient(100deg,#fff2c6,#fffdf1);border-color:#e3c873;}.board-entry[data-rank="2"]{background:linear-gradient(100deg,#edf4f5,#fafcf8);}.board-entry[data-rank="3"]{background:linear-gradient(100deg,#f9eddb,#fcfaf1);}.board-entry.is-self{outline:2px solid #74b695;outline-offset:-1px;background:#e5f7ea;}
.board-rank{text-align:center;font-size:20px;color:#938044;}.board-player{min-width:0;}.board-player strong{font-size:14px;overflow-wrap:anywhere;color:#2b5844;}.board-player .world-note{margin:5px 0 0;font-size:11px;}.board-score{text-align:right;}.board-score strong{display:block;font-size:17px;font-weight:600;color:#327457;}.board-score span{font-size:10px;color:#7b8969;}.board-more{display:block;margin:20px auto;}
.tienlo-app.tienlo-light #modalLeaderboard .leaderboard-tabs{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px;}.tienlo-app.tienlo-light #modalLeaderboard .lb-tab-btn{white-space:normal;min-width:0;}
@media(max-width:760px){.board-entry{grid-template-columns:28px minmax(0,1fr) 90px;gap:9px;padding:13px 10px;}.board-rank{font-size:17px;}.board-player strong{font-size:12px;}.board-score strong{font-size:14px;}.board-controls{gap:8px;}.board-controls button{padding:10px;font-size:11px;}}
.feature-item-art{display:block;width:82px;height:82px;object-fit:contain;margin:0 auto 14px;filter:drop-shadow(0 3px 5px #30523f20);}.ingredient-art{display:inline-block;width:26px;height:26px;object-fit:contain;vertical-align:middle;margin-right:5px;}
.tienlo-app.tienlo-light #featureBody[data-view=skills] .feature-summary{background:linear-gradient(100deg,#e7f5e7f0,#f6fbefcb),url('/assets/ui/skill_board_bg.png') center/cover!important;}
.tienlo-app.tienlo-light #featureBody[data-view=tranyeu] .feature-summary{background:linear-gradient(100deg,#e7f5e7f5,#f6fbefc9),url('/assets/ui/tran_yeu_thap_banner.jpg') center/cover!important;}
.tienlo-app.tienlo-light #featureBody[data-view=luyendan] .feature-summary{background:linear-gradient(100deg,#e7f5e7ef,#f6fbefce),url('/assets/ui/uiluyendan.png') center/cover!important;}

@media(max-width:760px){
 .world-header{padding:14px 16px;min-height:0;margin-bottom:12px;}.world-header .world-eyebrow{display:none;}
 .tienlo-app.tienlo-light #featureBody .world-header h3{font-size:20px!important;margin:0 0 5px;}.world-header p{font-size:11px;line-height:1.7;}
 .gear-filters>.world-field{font-size:0;gap:0;margin:6px 0;}.gear-filters input,.gear-filters select{font-size:16px!important;}
 #featureBody[data-view=linhthu][data-beast-tab=breeding]>.world-header,#featureBody[data-view=linhthu][data-beast-tab=breeding]>.world-facts{display:none;}
 .breeding-intro h3{margin:12px 0 5px;}.breeding-intro .world-note{margin-top:0;}
}
