/* FarmDay 1.6.4 shared player frame, status badges and checkout. */
.fd-player-shell164 .workspace{min-width:0}.fd-player-shell164 .fd-portal-content164{width:100%;max-width:1320px;margin:0 auto;padding:24px;box-sizing:border-box}.fd-player-shell164 .portal-hero{padding:16px 0;margin:0 0 20px}.fd-player-shell164 #mobile-nav{z-index:45}.fd-player-shell164 #mobile-nav .mobile-nav-icon{display:block;font-size:23px}.fd-player-shell164 #mobile-nav .mobile-nav-label{font-size:10px!important}.fd-player-shell164 #mobile-nav{grid-template-columns:repeat(5,minmax(0,1fr))!important}.fd-player-shell164 #mobile-nav .mobile-more{grid-column:5;grid-row:1/3;background:#214d39;color:#fff;justify-content:center}.fd-player-shell164 #mobile-nav button:not(.mobile-more){min-width:0}.fd-player-shell164 #fd-shell-menu164{width:min(600px,calc(100% - 24px));max-height:85dvh;overflow:auto}.fd-player-shell164 .profile-name{color:inherit}.fd-admin-banner164{border:1px solid #c9aa65;background:#fff5d9;color:#594520;border-radius:10px;padding:11px 14px;font-size:12px;margin-bottom:14px}.fd-admin-banner164 a{color:inherit;font-weight:700}.fd-admin-tag164{display:inline-block;padding:3px 7px;border-radius:6px;background:#214d39;color:#ffe8a3;font-size:10px;font-weight:700;margin-left:5px}
.rank-premium td{background:#fff7df!important;border-top:1px solid #e4cb85!important;border-bottom:1px solid #e4cb85!important}.rank-premium .rank-player-name{color:#886416!important}.rank-premium-badge{display:inline-flex!important;align-items:center;gap:4px;font-size:9px!important;padding:3px 6px;border:1px solid #caa353;border-radius:6px;background:#f4df9d;color:#634717!important;margin-left:5px}.fd-chat-premium164 .chat-bubble{background:linear-gradient(120deg,#fff9e8,#fffdf7)!important;border:1px solid #d5b669!important;box-shadow:inset 3px 0 #c5a15c}.fd-chat-premium164 .chat-bubble>header>a{color:#876419!important;font-weight:800}.chat-label.chat-premium{background:#ead38c!important;color:#634719!important;border:1px solid #c8a45b}
.payment-pack .btn,.payment-pack .btn.secondary,.payment-pack.featured .btn{background:#214d39!important;color:#fff!important;border-color:#214d39!important;box-shadow:0 4px 0 #153b2a!important}.payment-pack .btn:hover{background:#2c6047!important}
.fd-payment-summary164{display:flex;align-items:center;gap:14px;flex-wrap:wrap}.fd-payment-summary164 strong{font-size:22px}.fd-payment-summary164>b{font-size:22px;margin-left:auto}.fd-payment-methods164{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:16px 0}.fd-payment-methods164>.portal-card{display:flex;flex-direction:column;margin:0;padding:20px}.fd-payment-methods164 h2{font-size:20px}.fd-payment-methods164 p{font-size:13px;flex:1}.fd-payment-art164{display:block;width:100%;max-width:300px;height:90px;object-fit:contain;margin-bottom:12px}.fd-transfer164{max-width:840px}.fd-transfer164 dl{display:grid;grid-template-columns:minmax(120px,1fr) minmax(0,2fr);gap:10px 14px;padding:16px;background:#edf3e7;border-radius:12px}.fd-transfer164 dt{font-size:12px;color:#596b55}.fd-transfer164 dd{margin:0;font-size:14px;font-weight:700;overflow-wrap:anywhere}.fd-payment-history164{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px 0;border-bottom:1px solid #dce5d3}.fd-payment-history164 small{display:block;font-size:11px;margin-top:5px}.fd-payment-history164 .btn{font-size:12px;padding:8px 12px}.fd-player-shell164 .btn{white-space:normal}
html[data-theme=dark] .rank-premium td{background:#3c3825!important}html[data-theme=dark] .rank-premium .rank-player-name{color:#ffe3a0!important}html[data-theme=dark] .fd-chat-premium164 .chat-bubble{background:#373824!important;color:#f4edd4!important}html[data-theme=dark] .fd-chat-premium164 .chat-bubble>header>a{color:#ffe3a0!important}html[data-theme=dark] .fd-transfer164 dl{background:#223d2b}html[data-theme=dark] .fd-transfer164 dt{color:#c8d5bc}
@media(min-width:761px){.fd-player-shell164 #mobile-nav{display:none!important}}
@media(max-width:760px){.fd-player-shell164 .fd-portal-content164{padding:16px 14px 30px}.fd-player-shell164 .workspace{margin-left:0!important}.fd-player-shell164 .fg-footer{padding-bottom:170px}.fd-player-shell164 #mobile-nav{display:grid!important;gap:3px;padding:7px 6px calc(7px + env(safe-area-inset-bottom));bottom:0;position:fixed;left:0;right:0}.fd-player-shell164 #mobile-nav button{padding:5px 2px;gap:3px;min-height:48px}.fd-player-shell164 .sidebar{display:none!important}.fd-payment-methods164{grid-template-columns:1fr;gap:10px}.fd-payment-methods164>.portal-card{padding:16px}.fd-payment-methods164 .fd-payment-art164{height:60px;max-width:200px}.fd-payment-summary164{gap:9px}.fd-payment-summary164 strong,.fd-payment-summary164>b{font-size:18px}.fd-transfer164 dl{grid-template-columns:1fr;gap:5px}.fd-transfer164 dd{margin-bottom:10px}.fd-payment-history164{align-items:flex-start}.fd-admin-banner164{font-size:11px}.fd-player-shell164 .topbar .mobile-brand{min-width:0!important}}
/* Navigation must remain available before any JS enhancement. */
.fd-player-shell164 .sidebar{display:block;visibility:visible}.fd-player-shell164 .sidebar #nav{display:flex!important;flex-direction:column}.fd-game-lock{display:inline-flex!important;align-items:center;font-size:12px!important;line-height:1.2!important;margin-left:6px!important;color:inherit}.fd-social-icon180{width:30px;height:30px;vertical-align:middle;object-fit:contain}.plot small .fd-ruby-icon{width:15px!important;height:15px!important;vertical-align:middle}.return-day .fd-ruby-icon{vertical-align:middle}
@media(min-width:761px){.fd-player-shell164 .sidebar{position:fixed!important;top:0!important;bottom:0!important;left:0!important;width:240px!important;display:flex!important;flex-direction:column;overflow-y:auto!important}.fd-player-shell164 .workspace{margin-left:240px!important}}
@media(max-width:760px){.fd-player-shell164 .sidebar{display:none!important}.fd-player-shell164 #mobile-nav{display:grid!important;visibility:visible!important;z-index:60!important}.fd-player-shell164 #mobile-nav .mobile-more{grid-column:5;grid-row:1/3}.fd-player-shell164 .workspace{margin-left:0!important}}
