/* A familiar brass signpost, always within one tap of the night. */
/* Books scroll themselves. Restoring focus must never scroll the whole world. */
body.curio-world{overflow:clip}
body.curio-world .top-buttons #settings-shortcut{
 display:flex;align-items:center;justify-content:center;gap:6px;flex:none;
 width:auto;min-width:92px;min-height:48px;height:48px;padding:8px 11px;
 border:1px solid #d9c28d;border-radius:16px 7px 14px 7px;
 background:linear-gradient(145deg,#475d50,#283e3d);color:#f2dfb8;
 box-shadow:inset 0 0 0 3px #e5ca8a0d,0 3px 0 #10252b;
 font:14px Georgia,serif;letter-spacing:0;touch-action:manipulation;
}
body.curio-world .top-buttons #settings-shortcut svg{width:20px;height:20px;flex:none;color:#e6bf7e}
body.curio-world .top-buttons #settings-shortcut:hover{background:#496357}
.curio-entry .curio-entry-utilities{display:flex;justify-content:flex-start;margin:8px 0 12px;gap:12px}
.curio-entry .curio-entry-settings{
 display:inline-flex;align-items:center;justify-content:center;min-height:44px;min-width:118px;
 padding:9px 17px;background:#e9d6ab;color:#30453d;border:1px solid #9a916e;
 border-radius:5px 15px 5px 12px;box-shadow:0 2px 0 #9b865b3d;
 font:15px Georgia,serif;letter-spacing:0;touch-action:manipulation;
}
.curio-entry .curio-entry-settings:hover{background:#f5e7c5}
#settings-shortcut:focus-visible,.curio-entry-settings:focus-visible{outline:3px solid #edbd75;outline-offset:3px}

@media(max-width:699px){
 body.curio-world.compact-ui>header{padding-inline:12px;gap:5px}
 body.curio-world.compact-ui>header .brand{max-width:32px;flex:0 0 32px}
 body.curio-world.compact-ui>header .brand>span:last-child{display:none}
 body.curio-world.compact-ui>header .brandmark{min-width:30px;width:30px}
 body.curio-world.compact-ui .top-buttons{width:auto;gap:5px;flex:none}
 body.curio-world.compact-ui .top-buttons #sound{display:none}
 body.curio-world.compact-ui .top-buttons #open-satchel{min-width:78px;padding-inline:4px 6px;height:44px}
 body.curio-world.compact-ui .top-buttons #settings-shortcut{min-width:78px;width:78px;height:44px;min-height:44px;padding:6px;gap:4px;font-size:12px}
 body.curio-world.compact-ui .top-buttons #settings-shortcut svg{width:17px;height:17px}
 body.curio-world.compact-ui .top-buttons #toggle-mobile-view{width:44px;min-width:44px;height:44px}
 body.curio-world.compact-ui .top-buttons #pause{width:52px;min-width:52px;height:44px;padding:5px;font-size:11px}
}
@media(max-width:350px){
 body.curio-world.compact-ui>header{padding-inline:8px;gap:4px}
 body.curio-world.compact-ui .top-buttons{gap:4px}
 body.curio-world.compact-ui .top-buttons #open-satchel{min-width:70px}
 body.curio-world.compact-ui .top-buttons #settings-shortcut{min-width:74px;width:74px;font-size:11px}
 body.curio-world.compact-ui .top-buttons #pause{width:48px;min-width:48px}
}
@media(max-height:500px){
 .curio-entry .curio-entry-utilities{margin-block:5px}
}
