/* eko-world-hide.v1.css — O2 (spec §3.8 + §7): hide world-only in-game
 * surfaces that have NO Flash counterpart, from the DEFAULT in-game path.
 *
 * Hiding is by entry point / panel root, never deletion: the code and data stay
 * and removing this stylesheet fully restores them. Nothing here touches a
 * surface that has a Flash counterpart (moon->house/garden, siege,
 * roulette/fashion->contests, newspaper, settings) — see the "NOT hidden" block
 * at the bottom for the controls deliberately left alone.
 *
 * Selector evidence: every class/art below is real and present in the SERVED
 * client chunks under /var/www/mikmak/assets (not the *.deob.js copies). Panel
 * roots come from the JSX `className:"source-…"` sites; entry controls from the
 * same JSX and from scripts/verify-panels-browser.mjs (the live HUD button
 * labels). See docs/mikmak-client/25-flash-parity-spec-and-plan.md §3.2 (H4),
 * §3.8 and the O2 decision in §7.
 */

/* ---- eco-phone (spec §3.8; no phone in MainMenu.as) ----
 * Entry: the HUD button whose art is /ui/source/hud-phone*.svg
 *        (wIgY76Qw.js: {name:"buddies", art:"phone", onClick: open phone};
 *        its live aria-label starts with "האקו-פון", per verify-panels-browser).
 * Panel root: `.fon` (verify-panels-browser PANELS phone root).
 * CAVEAT for the owner: this is the only entry to the friend/buddy list in the
 * modern client, so hiding it also hides buddy access. It is hidden because the
 * O2 list names eco-phone explicitly as having no counterpart. */
.source-hud-button:has(img[src*="hud-phone"]),
.fon {
  display: none !important;
}

/* ---- journey (spec §3.8 "journey"; P2: source-journey is not in main.swf) ---- */
/* panel root: chunk className:"source-journey" (component Pn, opened from Help) */
.source-journey,
/* its Help-panel entry: the "המסע לירח" link (inline top:78.65 in the Help
 * panel; the other three .source-help__link rows are 116.85/155.05/193.25) */
.source-help__link[style*="78.65"] {
  display: none !important;
}

/* ---- camera (spec §3.8; no camera in Flash) ---- */
/* phone camera app panel root: chunk className:"source-camera" */
.source-camera,
/* its phone-home entry: the camera app tile (art /ui/phone/app-camera.webp) */
.fon-app:has(img[src*="app-camera"]) {
  display: none !important;
}

/* ---- credits-editor (spec §3.8; world admin-only tool) ---- */
/* panel root: chunk className:"source-credits-editor" */
.source-credits-editor {
  display: none !important;
}

/* ---- skills / classes / season (spec §3.8; P3/P4: browser-only class system) ---- */
/* roots: chunk className:"source-skills-pane" (+ -daily-pane variant),
 *        "source-class-season", "source-class-level", "source-class-summary",
 *        "source-class-join-native", "source-class-daily-bar",
 *        "source-season-claim" */
.source-skills-pane,
.source-class-season,
.source-class-level,
.source-class-summary,
.source-class-join-native,
.source-class-daily-bar,
.source-season-claim {
  display: none !important;
}

/* ---- blog (spec §3.8; in-game entry is the newspaper panel's /blog/ tile) ---- */
/* the paper panel (HUD "paperBut", aria-label "בלוג ועיתון") renders its tiles
 * as a.source-paper__tile; the /blog/ tile is hidden, the sibling tile that
 * points at the ORIGINAL Newspaper.html is left visible. The public /blog/ page
 * itself is a separate route and is untouched. */
.source-paper__tile[href*="/blog/"] {
  display: none !important;
}

/* ---- impostor (spec §3.8; world social game, no Flash counterpart) ---- */
/* phone-home folder entry: chunk className:"imp-folder" (folder whose only app
 * is {app:"impostor", art:"/ui/phone/app-impostor.webp"}). Redundant while the
 * eco-phone is hidden, kept explicit so it stays hidden if the phone returns. */
.imp-folder {
  display: none !important;
}

/* ---------------------------------------------------------------------------
 * NOT hidden — deliberately, because a CSS hide here would break the original
 * UI or could not be identified with certainty (reported to the owner instead):
 *
 *  switchAccount  No distinct panel/entry exists: the HUD userSettingsBut
 *             reuses the switchAccount art but opens the Flash-counterpart
 *             settings panel. No safe selector.
 *  hide&seek  No unique class token or app art found in the served chunks.
 *  discovery  Public-site page family (source-discovery is the /discovery page
 *             root); no in-game entry point found. A global hide would break
 *             the public page, which is out of scope for the in-game path.
 * ------------------------------------------------------------------------- */
