#v39BottomNav.v197-public-nav{grid-template-columns:repeat(6,minmax(0,1fr))!important}
#v39BottomNav .v197-wheat{display:grid;place-items:center;width:36px;height:36px;font-size:30px;line-height:1}
#v39BottomNav.v197-public-nav button{min-width:0!important;font-size:clamp(9px,2.4vw,13px)!important}
.v197-dashboard{color:#fff3d4;display:grid;gap:8px}.v197-banner{display:block;width:100%;height:auto;border-radius:10px;border:1px solid #d2ae65;box-sizing:border-box}.v197-preview{text-align:center;background:#634426;border:1px solid #c8a05c;border-radius:20px;padding:4px 10px;justify-self:center;font-weight:700;font-size:13px}.v197-summary{background:#234e31;border:1px solid #d1af69;border-radius:12px;padding:12px;display:grid;grid-template-columns:1fr auto;gap:8px;align-items:center}.v197-summary small{display:block;color:#e4e6cc;font-size:12px}.v197-summary strong{color:#bfe88c;font-size:19px;white-space:nowrap}.v197-xp{grid-column:1/-1;font-size:13px}.v197-xp progress{display:block;width:100%;height:13px;accent-color:#8fbd39;margin-top:3px}.v197-summary>small{grid-column:1/-1}.v197-tiles{display:grid;gap:7px}.v197-dashboard .v197-tile{box-sizing:border-box;width:100%;min-height:65px;background:linear-gradient(125deg,#2c613a,#20492e)!important;border:1.5px solid #d1ad66!important;color:#fff4d8!important;border-radius:12px!important;padding:5px 8px!important;display:grid!important;grid-template-columns:60px minmax(0,1fr) 24px;align-items:center;gap:9px;text-align:left!important;box-shadow:inset 0 0 0 1px #ffffff18!important}.v197-tile img{width:60px;height:45px;object-fit:contain;border-radius:5px}.v197-tile b{display:block;font-size:clamp(14px,3.8vw,20px);line-height:1.15;overflow-wrap:anywhere}.v197-tile small{display:block;font-size:clamp(11px,3vw,14px);line-height:1.25;color:#e5e2c7;font-weight:400;margin-top:3px}.v197-tile i{font-style:normal;text-align:center;border:1px solid #d7c374;border-radius:7px;font-size:27px;line-height:25px;background:linear-gradient(#8bc328,#427812);color:#fff8df}.v197-tasklinks{display:grid;gap:6px}.v197-tasklinks button{width:100%}
/* V198 — green/gold theme scoped to collective pages only; loaded after legacy styles. */
#game #screen .v43-groups {--col-panel:#254f35;--col-inner:#183e2b;--col-line:#c8ab70;--col-text:#f9f0d7;--col-muted:#d8e6cb;color:var(--col-text)!important}
#game #screen .v43-groups .v43-card,
#game #screen .v85-collective.v91-colhoz-interior .v43-content .v43-card{background:linear-gradient(155deg,#315e40,#204831 65%,#1b402b)!important;border:1.5px solid var(--col-line)!important;border-radius:12px!important;box-shadow:inset 0 1px 0 #d9e3b51f,0 2px 6px #102f2170!important;color:var(--col-text)!important;padding:12px!important}
#game #screen .v43-groups .v43-card :is(h3,h4,b,strong),
#game #screen .v85-collective.v91-colhoz-interior .v43-content .v43-card :is(h3,h4,b,strong){color:#ffe6a9!important;-webkit-text-fill-color:#ffe6a9!important;text-shadow:0 1px 2px #122e20!important}
#game #screen .v43-groups .v43-card :is(p,label,small,span,li,time,.v43-muted),
#game #screen .v85-collective.v91-colhoz-interior .v43-content .v43-card :is(p,label,small,span,li,time,.v43-muted){color:var(--col-muted)!important;-webkit-text-fill-color:var(--col-muted)!important;text-shadow:none!important}
#game #screen .v43-groups .v85-collective-name{background:linear-gradient(#386844,#244f36)!important;border:1px solid var(--col-line)!important;border-radius:10px!important;padding:7px!important;margin-bottom:10px!important}
#game #screen .v43-groups .v85-collective-name h2{color:#fff3d4!important;-webkit-text-fill-color:#fff3d4!important;overflow-wrap:anywhere;min-width:0}
#game #screen .v43-groups :is(.v85-level,.v89-rating-launch){background:linear-gradient(#78a84a,#315c29)!important;border-color:var(--col-line)!important;box-shadow:inset 0 1px 1px #e2edb344!important}
#game #screen .v43-groups :is(.v43-list-card,.v43-bank,.v43-chat-row,.v43-topic,.v43-post,.v43-overview-metrics,.v43-overview-metrics>div,.v43-trophies>div,.v85-member,.v85-member-avatar,.v43-donations>div,.v44-shop-details,.v43-chat-list,.v43-progress),
#game #screen .v85-collective.v91-colhoz-interior .v43-content :is(.v44-statline,.v44-shop-item,.v43-member,.v43-requests article,.v44-events>div,.v43-bank,.v43-post,.v43-topic,.v43-chat-list,.v43-chat-row,.v43-progress,.v44-shop-details){background:var(--col-inner)!important;border-color:#aab776!important;color:var(--col-text)!important;box-shadow:none!important;border-radius:9px!important}
#game #screen .v85-collective.v91-colhoz-interior .v43-content .v44-shop-details{background:transparent!important;border:0!important;box-shadow:none!important}
#game #screen .v43-groups .v43-progress>span{background:linear-gradient(90deg,#79af36,#e1ca67)!important}
#game #screen .v43-groups .v43-form :is(input:not([type=hidden]),textarea,select),
#game #screen .v85-collective.v91-colhoz-interior .v43-content .v43-form :is(input:not([type=hidden]),textarea,select){background:#e5efcc!important;color:#173c26!important;-webkit-text-fill-color:#173c26!important;caret-color:#173c26!important;border:1px solid #b1c48b!important;box-shadow:none!important;box-sizing:border-box!important}
#game #screen .v85-collective.v91-colhoz-interior .v43-content .v43-form :is(input,textarea)::placeholder{color:#506847!important;-webkit-text-fill-color:#506847!important;opacity:1!important}
#game #screen .v43-groups :is(.v43-button,.v43-small-action,.v90-section-back,.v87-role-apply):not(.v43-danger),
#game #screen .v85-collective.v91-colhoz-interior .v43-content :is(.v43-button,.v43-small-action):not(.v43-danger){background:linear-gradient(#8ac329,#4d891a 55%,#316b16)!important;border:1.5px solid #d5bd71!important;color:#fff9de!important;-webkit-text-fill-color:#fff9de!important;box-shadow:inset 0 1px 0 #e5f4a27a,0 2px 3px #142c1d77!important;text-shadow:0 1px 2px #173a18!important}
#game #screen .v43-groups .v43-danger,#game #screen .v85-collective.v91-colhoz-interior .v43-content .v43-danger{background:linear-gradient(#965b4b,#71392f)!important;border-color:#dc9a85!important;color:#fff3df!important;-webkit-text-fill-color:#fff3df!important}
#game #screen .v85-collective.v91-colhoz-interior .v43-content .v44-good{color:#c5f193!important;-webkit-text-fill-color:#c5f193!important}
#game #screen .v43-groups .v43-player{background:none!important;border:0!important;box-shadow:none!important;color:#fff3d4!important;-webkit-text-fill-color:#fff3d4!important}
#game #screen .v89-ratings{background:linear-gradient(155deg,#315e40,#1c412b)!important;border:1.5px solid #c8ab70!important;color:#fff3d4!important;box-shadow:none!important}
#game #screen .v89-ratings .v89-rating-row{background:#183e2b!important;border-color:#aab776!important;color:#fff3d4!important}
#game #screen .v89-ratings :is(.v89-rank-back,.v89-ratings-tabs button,[data-v89-ratings-refresh]){background:linear-gradient(#538b39,#2a5b2b)!important;border-color:#c8ab70!important;color:#fff3d4!important}
#game #screen .v89-ratings .v89-ratings-tabs button.is-active{background:linear-gradient(#91c638,#527f1c)!important;color:#fffbe8!important}
#game #screen .v89-ratings .v89-ratings-hint{color:#d8e6cb!important}
#game #screen .v43-groups .v197-dashboard .v85-announcement{margin-top:4px!important}
#v39BottomNav.v197-public-nav button[data-v197-nav]{min-width:0!important;padding-inline:0!important}
@media(max-width:360px){#v39BottomNav.v197-public-nav button{font-size:10px!important;gap:1px!important}#v39BottomNav.v197-public-nav button img,#v39BottomNav.v197-public-nav .v197-wheat{width:29px!important;height:29px!important;font-size:25px!important}}
#game #screen .v43-groups .v43-head{background:linear-gradient(#386844,#244f36)!important;border:1px solid var(--col-line)!important;outline:0!important;box-shadow:none!important}
#game #screen .v85-collective .v87-role-form select{background:#e5efcc!important;color:#173c26!important;-webkit-text-fill-color:#173c26!important;border-color:#b1c48b!important}
#game #screen .v85-collective.v91-colhoz-interior .v43-content .v43-chat-row.v86-chat-own{background:#35643d!important;border-color:#b4cf80!important}
#game #screen .v43-groups .v43-chat-row .v42-chat-profile-link{color:#ffe6a9!important;-webkit-text-fill-color:#ffe6a9!important;background:none!important;border:0!important}

/* V200: keep the chat clear of the fixed navigation and optional APK row. */
#game #screen .v85-collective.v200-chat-page{padding-bottom:calc(var(--v200-dock, 140px) + 12px)!important;}
#game #screen .v85-collective.v200-chat-page .v43-chat-list{max-height:var(--v200-chat-height, 310px)!important;min-height:100px!important;scroll-padding-bottom:10px;overflow-y:auto!important;}
#game #screen .v85-collective.v200-chat-page .v43-chat-row{flex:0 0 auto!important;}
#game #screen .v85-collective.v200-chat-page .v43-chat-compose{scroll-margin-bottom:calc(var(--v200-dock, 140px) + 12px);}
#game #screen .v197-dashboard > .v197-tile[data-v90-colhoz-section="v197_chat"]{border-color:#e4c47d!important;background:linear-gradient(125deg,#407b42,#235432)!important;}

/* V202: compact roster. Keep role controls readable and independent of the farm's other lists. */
#game #screen .v85-collective .v85-member-list{gap:3px!important;margin-top:5px!important}
#game #screen .v85-collective .v85-member{min-height:36px!important;padding:3px 6px!important;gap:6px!important;border-radius:7px!important;box-sizing:border-box!important}
#game #screen .v85-collective .v85-member .v85-member-avatar{width:26px!important;height:26px!important;min-width:26px!important;flex:0 0 26px!important;font-size:15px!important}
#game #screen .v85-collective .v85-member-detail{gap:0!important;line-height:1.15!important}
#game #screen .v85-collective .v85-member .v43-player{font-size:13px!important;line-height:1.2!important;min-height:0!important;padding:0!important;text-align:left!important;overflow-wrap:anywhere!important;white-space:normal!important}
#game #screen .v85-collective .v85-member-detail small{font-size:11px!important;line-height:1.2!important}
#game #screen .v85-collective .v87-role-form{gap:3px!important;align-items:center!important}
#game #screen .v85-collective .v87-role-label{display:none!important}
#game #screen .v85-collective .v87-role-form select{min-height:28px!important;height:28px!important;padding:2px 3px!important;font-size:11px!important}
#game #screen .v85-collective .v87-role-apply{height:28px!important;min-height:28px!important;width:28px!important;flex-basis:28px!important;padding:0!important}
#game #screen .v85-collective :is(.v43-member,.v43-small-member){min-height:36px!important;padding:4px 5px!important;gap:4px!important;box-sizing:border-box!important}
#game #screen .v85-collective :is(.v43-member,.v43-small-member) .v43-small-action{padding:3px 5px!important;min-height:28px!important;font-size:11px!important}
@media(max-width:360px){#game #screen .v85-collective .v87-role-form{max-width:49%!important}#game #screen .v85-collective .v87-role-form select{font-size:10px!important}}

/* V204: compact collective bonus overview */
#game #screen .v204-bonuses-entry{grid-column:1/-1;width:100%;margin:0;min-height:36px;font-weight:700;}
#game #screen .v204-bonuses .v204-bonus-total{display:grid;gap:3px;text-align:center;padding:10px;border:1px solid #b8a063;border-radius:8px;background:#1f492c;color:#f6e8be;}
#game #screen .v204-bonuses .v204-bonus-total strong{font-size:26px;color:#c2ee92;}
#game #screen .v204-bonuses .v204-bonus-row{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:7px 0;border-bottom:1px solid #d5bd7133;}
#game #screen .v204-bonuses .v204-bonus-row small{display:block;font-size:12px;line-height:1.3;opacity:.9;}
#game #screen .v204-bonuses .v204-bonus-row strong{white-space:nowrap;color:#c2ee92;}

#v39BottomNav [data-v197-nav][hidden]{display:none!important}
#v39BottomNav [data-v197-nav] img{object-fit:contain}

/* V222: direct dashboard hit areas */
#game #screen .v197-tile,#game #screen [data-v90-colhoz-section],#game #screen [data-v90-colhoz-back]{pointer-events:auto!important;cursor:pointer;touch-action:manipulation;}
#game #screen .v197-tile img,#game #screen .v197-tile span,#game #screen .v197-tile i{pointer-events:none!important;}
