.in-competence-gallery #world-ui{display:none!important}
.in-competence-gallery .edition{opacity:0}
#competence-gallery-ui{position:fixed;inset:0;z-index:5;pointer-events:none;font-family:Manrope,Arial,sans-serif}
#competence-gallery-ui::before{content:"";position:absolute;inset:0;pointer-events:none;background:radial-gradient(ellipse at 50% 42%,#d5cce8,#777294 70%,#34344e);opacity:var(--cg-veil,0)}
#competence-gallery-ui button{pointer-events:auto;min-height:44px;border:1px solid #d8c7ed7a;color:#f8efff;background:#211a34bd;border-radius:8px;font:11px/1.4 Manrope,Arial,sans-serif;backdrop-filter:blur(18px);cursor:pointer}
#competence-gallery-ui button:hover{background:#564065e6;border-color:#f1d9ff}
#competence-gallery-ui button:disabled{opacity:.35;cursor:default}
#competence-gallery-ui button:focus-visible{outline:3px solid #f5d7a5;outline-offset:3px}
.cg-heading{position:absolute;top:108px;left:34px;right:34px;display:flex;align-items:start;justify-content:space-between;gap:20px;color:#fff9fc;text-shadow:0 2px 12px #1c102a}
.cg-heading p{font-size:8px;letter-spacing:2px;margin:0 0 8px;color:#f0d2c9}
.cg-heading h2{font:400 34px/1.1 Cormorant,Georgia,serif;margin:0 0 8px}
.cg-heading span{font-size:11px;color:#e7dae8}
.cg-heading>button{padding:10px 16px}
.cg-controls{position:absolute;bottom:20px;left:50%;transform:translateX(-50%);width:min(720px,calc(100% - 200px));pointer-events:auto;border:1px solid #c6a1d055;border-radius:16px;background:linear-gradient(125deg,#241a39ed,#101425ed);padding:12px 15px 9px;box-shadow:0 20px 60px #07030e90,inset 0 1px #f6dcf227;backdrop-filter:blur(22px);color:#f7ecfa}
.cg-cycles{display:flex;justify-content:center;gap:6px;margin-bottom:8px}
#competence-gallery-ui .cg-controls button{background:#e5d4ff08;color:#f1def8;border-color:#d5abe729;backdrop-filter:none}
#competence-gallery-ui .cg-controls button:hover{background:#b487d82e;border-color:#d8b4ee88}
#competence-gallery-ui .cg-cycles button{flex:1;min-height:34px;border-radius:30px;font-size:10px;white-space:nowrap}
.cg-cycles small{font-size:8px;color:#b9a3c5;margin-left:5px}
#competence-gallery-ui .cg-cycles button[aria-pressed=true]{background:linear-gradient(110deg,#775395,#543d71);color:#fff7ed;border-color:#e8bed460;box-shadow:inset 0 1px #ffffff18,0 0 18px #b378cb16}
#competence-gallery-ui .cg-cycles button[aria-pressed=true] small{color:#eadff4}
.cg-travel{display:flex;gap:8px;align-items:center}
.cg-travel>button{width:44px;flex:none;font-size:19px!important}
.cg-location{flex:1;text-align:center;letter-spacing:1px;font-size:10px;font-weight:700}
#competence-gallery-ui .cg-travel .cg-catalog{width:auto;font-size:10px!important;padding:6px 12px}
.cg-readings{display:flex;gap:8px;margin-top:8px}
#competence-gallery-ui .cg-readings button{flex:1;position:relative;min-width:0;text-align:left;padding:9px 30px 10px 13px;background:linear-gradient(120deg,#f0c7e80d,#abbdff06);min-height:65px}
.cg-readings small{display:block;color:#c8a5ce;font-size:8px;letter-spacing:1px;margin-bottom:4px}
.cg-readings span{display:block;font-size:11px;font-weight:600;color:#f8eef8}
.cg-readings b{position:absolute;right:11px;top:27px;font-size:17px;color:#eac49e}
.cg-hint{margin:7px 0 0;text-align:center;font-size:8px;color:#b5a1c2}
body.inside-world.in-competence-gallery .tools{top:auto;bottom:24px;right:28px;flex-direction:column}
body.quiet #competence-gallery-ui{visibility:hidden}
@media(max-width:900px){.cg-heading{left:23px;right:23px;top:100px}.cg-controls{width:min(650px,calc(100% - 120px));left:20px;transform:none}.cg-heading h2{font-size:31px}.cg-heading span{font-size:10px}}
@media(max-width:600px){
 body.inside-world.in-competence-gallery .tools{top:135px;bottom:auto;right:14px}
 .cg-heading{left:18px;right:18px;top:83px;gap:8px}.cg-heading h2{font-size:25px;max-width:230px}.cg-heading p{font-size:6px;letter-spacing:1.4px;margin-bottom:5px}.cg-heading span{display:none}.cg-heading>button{font-size:9px!important;padding:6px 9px;max-width:95px;min-height:40px!important}
 .cg-controls{left:12px;right:12px;bottom:calc(12px + env(safe-area-inset-bottom,0px));width:auto;transform:none;padding:9px 10px 7px;border-radius:12px}.cg-cycles{gap:4px;margin-bottom:6px}.cg-cycles small{display:none}#competence-gallery-ui .cg-cycles button{font-size:10px;min-height:40px}.cg-location{font-size:9px;letter-spacing:.6px}.cg-travel{gap:6px}#competence-gallery-ui .cg-travel .cg-catalog{padding:5px 8px;font-size:9px!important}.cg-travel>button{width:40px}.cg-readings{margin-top:6px}.cg-readings span{font-size:12px}.cg-hint{display:none}.in-competence-gallery .tools{top:135px;bottom:auto;right:14px}.in-competence-gallery #quality,.in-competence-gallery #quiet{display:none}
}
@media(max-height:570px) and (min-width:601px){.cg-heading{top:85px}.cg-heading h2{font-size:27px}.cg-heading span{display:none}.cg-controls{padding:8px 12px;bottom:10px}.cg-hint{display:none}.cg-readings button{min-height:49px!important;padding-block:6px!important}.cg-cycles{margin-bottom:5px}}
