/* AdminMind 6.9.89 — recherche uniquement dans la barre basse + Home connecté. */

/* L'accueil n'affiche plus un second moteur de recherche : la fonction est globale en bas. */
#home .amUniversesTitleV7{margin-top:18px!important}

/* HOME Universe */
.amHomeUniverseV657{padding-bottom:18px}
.amHomeWorldHeroV657{
  display:flex;align-items:center;gap:14px;padding:18px;border-radius:25px;
  background:
    radial-gradient(circle at 92% 3%,rgba(255,255,255,.16),transparent 28%),
    linear-gradient(135deg,#e9a55c 0%,#df8b5a 55%,#b46f79 120%);
  color:#fff;border:1px solid rgba(255,255,255,.24);
  box-shadow:0 18px 40px rgba(165,105,77,.18),inset 0 1px 0 rgba(255,255,255,.26);
}
.amHomeWorldHeroIconV657{
  width:54px;height:54px;flex:0 0 auto;border-radius:17px;display:grid;place-items:center;
  background:rgba(255,255,255,.18);border:1px solid rgba(255,255,255,.22);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.25);
}
.amHomeWorldHeroIconV657 svg{width:29px;height:29px;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.amHomeWorldHeroV657 small{font-size:8.5px;font-weight:950;letter-spacing:.7px;opacity:.75}
.amHomeWorldHeroV657 h2{font-size:25px;letter-spacing:-.55px;margin:4px 0}
.amHomeWorldHeroV657 p{font-size:10px;line-height:1.4;margin:0;color:rgba(255,255,255,.82)}

.amHomeWorldStatusV657{
  margin-top:10px;padding:12px 13px;border-radius:18px;display:flex;align-items:center;gap:10px;
  background:linear-gradient(180deg,rgba(239,250,244,.91),rgba(231,246,238,.76));
  border:1px solid rgba(255,255,255,.86);box-shadow:0 8px 20px rgba(45,35,70,.04),inset 0 1px 0 #fff;
}
.amHomeWorldStatusIconV657{width:34px;height:34px;border-radius:11px;display:grid;place-items:center;background:#dff4e8;color:#2f7d53;font-weight:950}
.amHomeWorldStatusV657 b{display:block;font-size:11.5px}
.amHomeWorldStatusV657 small{display:block;font-size:8.7px;color:var(--muted);margin-top:2px}

.amHomeWorldSectionTitleV657{display:flex;align-items:end;justify-content:space-between;margin:18px 2px 8px}
.amHomeWorldSectionTitleV657 b{font-size:15px}
.amHomeWorldSectionTitleV657 small{font-size:8.5px;color:var(--muted)}
.amHomeWorldGridV657{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.amHomeWorldGridV657>button{
  min-height:118px;padding:13px;border-radius:21px;text-align:left;color:var(--text);
  border:1px solid rgba(255,255,255,.84);
  background:linear-gradient(180deg,rgba(255,255,255,.84),rgba(255,255,255,.60));
  box-shadow:0 11px 26px rgba(45,35,70,.06),inset 0 1px 0 rgba(255,255,255,.95);
}
.amHomeWorldGridV657>button:active{transform:scale(.98)}
.amHomeWorldTileIconV657{
  width:39px;height:39px;border-radius:13px;display:grid;place-items:center;
  background:linear-gradient(180deg,#fff3e7,#fee3ce);color:#c67942;
  box-shadow:inset 0 1px 0 #fff;
}
.amHomeWorldTileIconV657 svg{width:20px;height:20px;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.amHomeWorldGridV657 b{display:block;font-size:12px;margin-top:12px}
.amHomeWorldGridV657 small{display:block;color:var(--muted);font-size:8.7px;margin-top:2px}
.amHomeWorldGridV657 .amHomeWorldAddV657 .amHomeWorldTileIconV657{
  color:#6a55d3;background:linear-gradient(180deg,#f4f0ff,#e8e1ff)
}

.amHomeWorldInfoV657{
  border-radius:21px;padding:0 13px;
  background:linear-gradient(180deg,rgba(255,255,255,.82),rgba(255,255,255,.59));
  border:1px solid rgba(255,255,255,.84);box-shadow:0 10px 25px rgba(45,35,70,.05),inset 0 1px 0 #fff;
}
.amHomeWorldInfoV657>div{display:flex;align-items:center;gap:10px;padding:12px 0;border-bottom:1px solid color-mix(in srgb,var(--border) 70%,transparent)}
.amHomeWorldInfoV657>div:last-child{border-bottom:0}
.amHomeWorldInfoV657>div>span{width:30px;height:30px;border-radius:10px;display:grid;place-items:center;background:#fff0e5;color:#bd7344;font-size:8px;font-weight:950}
.amHomeWorldInfoV657 p{margin:0;min-width:0}
.amHomeWorldInfoV657 p b{display:block;font-size:11px}
.amHomeWorldInfoV657 p small{display:block;font-size:8.5px;color:var(--muted);margin-top:2px}

/* Recherche globale depuis le bouton Rechercher de la barre basse. */
.amGlobalSearchOverlayV657{
  position:fixed;inset:0;z-index:2147481850;display:flex;align-items:flex-end;justify-content:center;
  background:rgba(23,18,35,.25);opacity:0;visibility:hidden;pointer-events:none;
  transition:opacity .18s ease,visibility .18s ease;
  -webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);
}
.amGlobalSearchOverlayV657.show{opacity:1;visibility:visible;pointer-events:auto}
.amGlobalSearchSheetV657{
  width:min(100%,480px);max-height:min(72dvh,650px);overflow:auto;
  padding:9px 14px calc(18px + env(safe-area-inset-bottom));border-radius:30px 30px 0 0;
  background:linear-gradient(180deg,rgba(255,255,255,.97),rgba(247,245,252,.95));
  border:1px solid rgba(255,255,255,.88);border-bottom:0;
  box-shadow:0 -24px 70px rgba(21,16,35,.18);transform:translateY(18px);transition:transform .2s ease;
}
.amGlobalSearchOverlayV657.show .amGlobalSearchSheetV657{transform:translateY(0)}
.amGlobalSearchHandleV657{width:38px;height:4px;border-radius:999px;background:#d7d2dd;margin:0 auto 12px}
.amGlobalSearchHeadV657{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:13px}
.amGlobalSearchHeadV657 small{display:block;color:#6d58d4;font-size:8px;font-weight:950;letter-spacing:.65px}
.amGlobalSearchHeadV657 h3{font-size:21px;letter-spacing:-.5px;margin:3px 0 2px}
.amGlobalSearchHeadV657 p{margin:0;color:var(--muted);font-size:9.5px}
.amGlobalSearchHeadV657>button{
  width:38px;height:38px;border:1px solid rgba(255,255,255,.84);border-radius:13px;
  background:rgba(255,255,255,.72);font-size:22px;color:var(--muted);
  box-shadow:inset 0 1px 0 #fff,0 6px 15px rgba(45,35,70,.05);
}
.amGlobalSearchInputV657{
  min-height:52px;display:flex;align-items:center;gap:10px;padding:0 14px;border-radius:17px;
  background:linear-gradient(180deg,rgba(255,255,255,.88),rgba(249,247,253,.76));
  border:1px solid rgba(255,255,255,.88);box-shadow:0 9px 22px rgba(45,35,70,.05),inset 0 1px 0 #fff;
}
.amGlobalSearchInputV657 svg{width:20px;height:20px;stroke:#777181;fill:none;stroke-width:1.8;stroke-linecap:round}
.amGlobalSearchInputV657 input{flex:1;min-width:0;border:0!important;outline:0!important;background:transparent!important;color:var(--text)!important;font-size:14px!important;box-shadow:none!important}
.amGlobalSearchResultsV657{margin-top:10px}
.amGlobalSearchResultsV657 .smartSearchResult{
  border-radius:16px!important;margin-bottom:7px!important;
  border:1px solid rgba(255,255,255,.84)!important;background:rgba(255,255,255,.70)!important;
}
.amGlobalSearchHintV657{font-size:8.5px;line-height:1.4;color:var(--muted);padding:7px 3px 0}

/* Home n'est plus verrouillé. */
#home .amUniverseV7.isLocked{opacity:1!important}

html[data-theme="dark"] .amHomeWorldGridV657>button,
html[data-theme="dark"] .amHomeWorldInfoV657,
html[data-theme="dark"] .amGlobalSearchSheetV657,
html[data-theme="dark"] .amGlobalSearchInputV657{
  background:linear-gradient(180deg,rgba(31,34,45,.96),rgba(23,26,37,.91))!important;
  border-color:rgba(255,255,255,.07)!important;
}
html[data-theme="dark"] .amGlobalSearchHeadV657>button{background:#242734;border-color:#313544}
html[data-theme="dark"] .amHomeWorldStatusV657{background:#20342b!important;border-color:#2d4739!important}
