/* Samsung One UI look. Applies only inside .dev-samsung (stock Android and iOS are untouched).
   Google/Microsoft/WatchGuard apps (.gm, .ps, .ol-s, .ap-s, .web-s) keep their own look, as on a real Galaxy. */
.verwrap { display: flex; align-items: center; gap: 8px; color: #94a3b8; font-size: 12px; margin-left: -6px; }
.verwrap select { background: #1e293b; color: #e2e8f0; border: 1px solid #334155; border-radius: 8px; padding: 6px 8px; font: inherit; font-size: 13px; }

#layers { position: absolute; left: 0; right: 0; top: 0; bottom: 0; }
.dev-samsung #layers { bottom: 46px; }
.dev-samsung .toast { bottom: 60px; }

/* 3-button navigation bar */
.samnav { position: absolute; left: 0; right: 0; bottom: 0; height: 46px; background: #f6f6f6; z-index: 65; display: flex; justify-content: space-around; align-items: center; border-top: 1px solid #ececec; }
.samb { width: 34%; height: 100%; display: flex; align-items: center; justify-content: center; gap: 4px; cursor: pointer; color: #222; border-radius: 12px; }
.samb:hover { background: rgba(37, 99, 235, .12); }
.samb:not(.home):not(.back) i { width: 3px; height: 15px; background: #222; border-radius: 2px; display: block; }
.samb.home i { width: 17px; height: 17px; border: 2.5px solid #222; border-radius: 50%; display: block; }
.samb.back svg { width: 24px; height: 24px; stroke-width: 2.6; }
.samb.active { outline: 3px solid var(--hint); outline-offset: -4px; }
.dev-samsung .hot[data-zone="top"] { top: 0; left: 10%; right: 10%; height: 26px; }
.dev-samsung .hot[data-zone="up"] { left: 18%; right: 18%; bottom: 150px; height: 46px; }

/* One UI settings-style pages */
.dev-samsung .screen { font-family: "Samsung One", "SamsungOne", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; }
.dev-samsung .and-s:not(.gm):not(.ps) { background: #f6f6f6; }
.dev-samsung .and-s:not(.gm):not(.ps) h1.lt { font-size: 32px; font-weight: 500; margin: 34px 8px 24px; }
.dev-samsung .and-s:not(.gm):not(.ps) .agrp { gap: 0; background: #fff; border-radius: 26px; overflow: hidden; margin-bottom: 14px; }
.dev-samsung .and-s:not(.gm):not(.ps) .agrp > .arow { border-radius: 0 !important; border-bottom: 1px solid #f1f1f1; min-height: 64px; background: #fff; }
.dev-samsung .and-s:not(.gm):not(.ps) .agrp > .arow:last-child { border-bottom: 0; }
.dev-samsung .and-s:not(.gm):not(.ps) .ah { color: #3e91ff; font-weight: 500; }
.dev-samsung .and-s:not(.gm):not(.ps) .sbar2 { background: #ececec; }
.dev-samsung .ai { color: #fff; }
.dev-samsung .ai svg { width: 21px; height: 21px; }
.dev-samsung .asw { width: 50px; height: 30px; border: 0; background: #c9c9c9; }
.dev-samsung .asw i { top: 3px; left: 3px; width: 24px; height: 24px; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .3); }
.dev-samsung .arow.on .asw { background: #3e91ff; }
.dev-samsung .arow.on .asw i { left: 23px; top: 3px; width: 24px; height: 24px; }
.dev-samsung .arow.on .arad { border-color: #3e91ff; } .dev-samsung .arow.on .arad i { background: #3e91ff; }
.dev-samsung .atick, .dev-samsung .abtn.tx, .dev-samsung .adbtn { color: #3e91ff; }
.dev-samsung .abtn2.filled, .dev-samsung .adbtn.fill { background: #3e91ff; }
.dev-samsung .abtn2.outlined { color: #3e91ff; border-color: #3e91ff; }
.dev-samsung .abtn2.tonal { background: #dbeaff; color: #0b3a8a; }
.dev-samsung .adlg { background: #fff; border-radius: 30px; }
.dev-samsung .asheet { background: #fff; }
.dev-samsung .afield { border-radius: 14px; } .dev-samsung .afield label { background: #f6f6f6; }
.dev-samsung .dlgf .afield label { background: #fff; }
.dev-samsung .and-s:not(.gm):not(.ps) .abar { height: 52px; }
.dev-samsung .and-s:not(.gm):not(.ps) .abar .at { font-size: 20px; font-weight: 500; }
.dev-samsung .ainfo b { font-weight: 500; }
.dev-samsung .gdi.on { background: #dbeaff; }
.dev-samsung .dtitle.sam { color: #222; font-weight: 500; }
.dev-samsung .drawer-panel { background: #f6f6f6; }
.dev-samsung .agear { border-left: 0; }

/* bottom action bar (Open / Force stop, Forget, Delete account...) */
.sambar { flex: none; display: flex; background: #fff; border-top: 1px solid #ececec; padding: 8px 6px 10px; }
.sb { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 12px; color: #222; cursor: pointer; padding: 6px 2px; border-radius: 14px; }
.sb svg { width: 22px; height: 22px; } .sb:active { background: #f0f0f0; }
.sambar.one .sb { flex-direction: row; justify-content: center; gap: 8px; font-size: 14px; color: #3e91ff; }
.sam-fab { position: absolute; right: 18px; bottom: 26px; width: 56px; height: 56px; border-radius: 50%; background: #3e91ff; color: #fff; display: grid; place-items: center; box-shadow: 0 4px 12px rgba(0, 0, 0, .3); cursor: pointer; z-index: 6; }
.sam-fab svg { width: 26px; height: 26px; }

/* launcher */
.sam-home { position: absolute; inset: 0; background: linear-gradient(170deg, #2b6cb0 0%, #3aa6b9 45%, #7fd6c2 100%); padding: calc(var(--sb) + 14px) 18px 0; }
.sclockw { text-align: center; margin-top: 10px; color: #fff; } .sclockw b { display: block; font-size: 64px; font-weight: 300; line-height: 1; } .sclockw small { font-size: 16px; opacity: .92; }
.sgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px 6px; margin-top: 40px; }
.sam-home .app .aicon, .samd .app .aicon, .folderbox .app .aicon { width: 56px; height: 56px; }
.aicon.sq { border-radius: 30%; } .aicon.sq svg { width: 30px; height: 30px; }
.sam-home .alab { font-size: 12px; } .samd .alab, .folderbox .alab { color: #1f1f1f; text-shadow: none; font-size: 12px; }
.sdots { position: absolute; left: 0; right: 0; bottom: 118px; display: flex; justify-content: center; gap: 8px; } .sdots i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, .5); } .sdots i.on { background: #fff; }
.sdock { position: absolute; left: 16px; right: 16px; bottom: 28px; display: flex; justify-content: space-around; }
.samd .scroll { padding-top: 10px; } .sgrid.apps { margin-top: 6px; gap: 22px 4px; }
.aicon.fld { background: #e9eaee; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 7px; box-shadow: none; } .aicon.fld i { display: grid; place-items: center; background: #fff; border-radius: 7px; color: #555; } .aicon.fld i svg { width: 14px; height: 14px; }
.folderwrap { position: absolute; inset: 0; background: rgba(0, 0, 0, .35); display: grid; place-items: center; } .folderwrap .scrim { z-index: 0; }
.folderbox { position: relative; z-index: 1; width: 82%; background: #f3f3f3; border-radius: 30px; padding: 18px 16px 24px; } .folderbox b { display: block; text-align: center; margin-bottom: 16px; font-weight: 500; }
.folderbox .sgrid { margin-top: 0; grid-template-columns: repeat(3, 1fr); }
.sqs-wrap { position: absolute; inset: 0; background: rgba(0, 0, 0, .3); } .sqs-wrap .scrim { z-index: 0; top: 440px; }
.sqs { position: relative; z-index: 1; background: #f2f2f2; border-radius: 0 0 30px 30px; padding: calc(var(--sb) + 8px) 16px 18px; }
.sqh { display: flex; align-items: center; gap: 10px; padding: 6px 4px 14px; } .sqh span { font-size: 26px; } .sqh small { color: #555; } .sqh em { flex: 1; } .sqb { width: 38px; height: 38px; border-radius: 50%; background: #e5e5e5; display: grid; place-items: center; cursor: pointer; } .sqb svg { width: 19px; height: 19px; }
.sqgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px 6px; }
.sq { display: flex; flex-direction: column; align-items: center; gap: 6px; cursor: pointer; } .sq small { font-size: 11.5px; color: #222; text-align: center; }
.sqi { width: 58px; height: 58px; border-radius: 50%; background: #e2e2e2; display: grid; place-items: center; color: #333; } .sqi svg { width: 26px; height: 26px; } .sq.on .sqi { background: #3e91ff; color: #fff; }
.sqhold { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 14px 4px 0; font-size: 12px; color: #555; } .sqhold .chip { background: #e5e5e5; border-radius: 14px; padding: 5px 10px; cursor: pointer; color: #1f1f1f; }
.sqbr { margin: 16px 4px 8px; } .sqbr i { display: block; height: 30px; border-radius: 15px; background: #e2e2e2; overflow: hidden; } .sqbr b { display: block; height: 100%; background: #3e91ff; }
.sqn { margin-top: 8px; }
