
/* ===== Interface principale v2 : barre haute, objectifs, contrat, ville, horloge, navigation 6 onglets ===== */
:root{--h2bg:rgba(9,22,18,.84);--h2bd:rgba(201,164,92,.42);--h2em:#3ee08a;--h2tx:#efe7d4;--h2mu:#9fb8aa}
#top>#card,#top>#clk,#top>#qb,#top>#dq,#bellb,#gearb,#ctb,#navd,#twa{display:none!important}
#nav{visibility:hidden!important}
#zoomc{top:112px!important;bottom:auto!important;right:8px!important;gap:6px!important}
#zoomc button{width:38px!important;height:38px!important;min-height:0!important}
#smokeb{right:96px!important}
#msg{bottom:118px!important;left:96px!important;right:110px!important}
.h2p{background:var(--h2bg);box-shadow:inset 0 0 0 1px var(--h2bd),0 4px 14px rgba(0,0,0,.45);border-radius:14px;color:var(--h2tx);font-family:GrowLab,system-ui,sans-serif}
#h2top{position:absolute;left:6px;right:6px;top:6px;z-index:7;display:flex;align-items:center;gap:5px;pointer-events:none}
#h2top>*{pointer-events:auto}
#h2prof{display:flex;align-items:center;gap:6px;padding:4px 8px 4px 4px;flex:1.25;min-width:0;cursor:pointer}
#h2av{width:40px;height:40px;border-radius:50%;flex:none;box-shadow:0 0 0 2px #c9a45c;background:#1b2a24;image-rendering:pixelated;position:relative;overflow:visible}
#h2av canvas{width:40px;height:40px;border-radius:50%}
#h2lv{position:absolute;right:-5px;bottom:-5px;width:18px;height:18px;border-radius:50%;background:linear-gradient(#f3d48a,#c9a45c);color:#2b1d08;font:800 10px GrowLab,system-ui;display:flex;align-items:center;justify-content:center;box-shadow:0 0 0 1.5px #3a2a10}
#h2xp{flex:1;min-width:0}
#h2xp b{display:block;font-size:10px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#h2xp i{display:block;height:7px;border-radius:5px;background:rgba(255,255,255,.1);margin-top:3px;overflow:hidden}
#h2xp i em{display:block;height:100%;border-radius:5px;background:linear-gradient(90deg,#2fbf6f,#6ff0a4);box-shadow:0 0 6px rgba(62,224,138,.6)}
#h2xp small{display:block;font-size:8.5px;color:var(--h2mu);margin-top:2px}
.h2chip{display:flex;align-items:center;gap:5px;padding:6px 8px;height:44px;box-sizing:border-box;flex:none;cursor:pointer}
.h2chip .ic{font-size:17px;line-height:1}
.h2chip .v{font:700 13.5px GrowLab,system-ui;color:#f3d48a;white-space:nowrap}
.h2chip .s{display:block;font-size:9.5px;color:var(--h2mu);font-weight:600}
#h2gr .v{color:#9cf0b6}
.h2sq{width:40px;height:44px;flex:none;display:flex;align-items:center;justify-content:center;cursor:pointer;position:relative;font-size:18px}
.h2sq .bd{position:absolute;top:-4px;right:-4px;min-width:16px;height:16px;padding:0 3px;border-radius:9px;background:#e0533a;color:#fff;font:700 9.5px/16px GrowLab,system-ui;text-align:center;box-shadow:0 0 0 2px #0b1a14;display:none}
#h2obj{position:absolute;left:6px;top:58px;z-index:6;width:min(64%,250px);overflow:hidden;transition:max-height .3s ease}
#h2obj .hd{display:flex;align-items:center;gap:7px;padding:8px 10px;cursor:pointer;font-size:12.5px;font-weight:700}
#h2obj .hd .ch{margin-left:auto;transition:transform .25s;color:var(--h2mu)}
#h2obj.min .hd .ch{transform:rotate(180deg)}
#h2obj .rows{border-top:1px solid rgba(201,164,92,.25)}
#h2obj.min .rows{display:none}
#h2obj .r{display:flex;align-items:center;gap:8px;padding:6px 10px;font-size:10.5px;line-height:1.25;border-bottom:1px solid rgba(255,255,255,.05);cursor:pointer}
#h2obj .r:last-child{border-bottom:0}
#h2obj .cb{width:15px;height:15px;border-radius:4px;flex:none;box-shadow:inset 0 0 0 1.5px rgba(239,231,212,.55);display:flex;align-items:center;justify-content:center;font-size:10px;color:#0b1a14}
#h2obj .r.ok .cb{background:var(--h2em);box-shadow:none}
#h2obj .r.ok .t{color:var(--h2mu);text-decoration:line-through}
#h2obj .r .t{flex:1;min-width:0}
#h2obj .r .n{color:var(--h2mu);font-size:10px;white-space:nowrap}
#h2obj .r.lvq{background:rgba(201,164,92,.08)}
#h2obj .r.claim .n{color:#f3d48a;font-weight:700}
#h2ct{position:absolute;right:6px;top:58px;z-index:6;display:none;align-items:center;gap:8px;padding:6px 8px 6px 6px;cursor:pointer;max-width:46%;box-shadow:inset 0 0 0 1px rgba(201,164,92,.7),0 4px 14px rgba(0,0,0,.45)}
#h2ct .ci{width:34px;height:34px;border-radius:50%;background:#1b2a24;box-shadow:0 0 0 1.5px #c9a45c;display:flex;align-items:center;justify-content:center;flex:none}
#h2ct b{display:block;font-size:12px}
#h2ct small{display:block;font-size:11px;color:#f3d48a}
#h2ct .go{font-size:20px;color:var(--h2tx);margin-left:2px}
#h2city{position:absolute;left:8px;bottom:84px;z-index:6;width:66px;height:70px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;cursor:pointer;font-size:11px;font-weight:700}
#h2city .mp{font-size:28px;line-height:1}
#h2clk{position:absolute;right:8px;bottom:84px;z-index:6;width:78px;height:78px;border-radius:50%;cursor:pointer;filter:drop-shadow(0 4px 8px rgba(0,0,0,.5))}
#h2clk canvas{width:78px;height:78px;background:transparent!important;box-shadow:none!important;border:0!important}
#h2nav{position:fixed;z-index:20;display:flex;gap:4px;padding:5px 4px;box-sizing:border-box}
#h2nav button{flex:1;min-width:0;height:100%;border-radius:12px!important;border:0!important;background:linear-gradient(180deg,rgba(24,40,32,.95),rgba(12,24,19,.95))!important;box-shadow:inset 0 0 0 1px rgba(201,164,92,.35),0 3px 8px rgba(0,0,0,.4)!important;color:var(--h2tx)!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:3px!important;padding:4px 0!important;font:600 10.5px GrowLab,system-ui,sans-serif!important;position:relative;min-height:0!important;margin:0!important;transition:transform .12s,box-shadow .2s}
#h2nav button .ic{font-size:21px;line-height:1;filter:drop-shadow(0 1px 0 rgba(0,0,0,.6))}
#h2nav button.on{box-shadow:inset 0 0 0 2px var(--h2em),0 0 14px rgba(62,224,138,.45),0 3px 8px rgba(0,0,0,.4)!important;background:linear-gradient(180deg,rgba(28,70,46,.96),rgba(14,40,26,.96))!important}
#h2nav button:active{transform:scale(.95)}
#h2nav button .dot{position:absolute;top:5px;right:7px;width:9px;height:9px;border-radius:50%;background:#e0533a;box-shadow:0 0 0 2px #0b1a14;display:none}
#h2nav button .cnt{position:absolute;top:3px;right:4px;min-width:15px;height:15px;padding:0 3px;border-radius:8px;background:#e0533a;color:#fff;font:700 9px/15px GrowLab,system-ui;display:none}
#h2nav button.tuth{box-shadow:0 0 0 3px #6dff8a,0 0 18px rgba(110,255,150,.8)!important}
@media (max-width:360px){#h2nav button{font-size:9.5px!important}#h2nav button .ic{font-size:19px}.h2chip .v{font-size:12px}#h2prof{padding-right:6px}}
body.inQ #h2city,body.inQ #h2obj{display:none}
