/* Onehub: a tablet on a site. Squircle apps, glass bars, wallpapers. */
:root { --ac: #06b6d4; --ac-rgb: 6, 182, 212; --or: #f97316; --ink: #0f2a35; --dim: #5b7683; --panel: rgba(255, 255, 255, .78); --panel2: #ffffff; --line: rgba(15, 42, 53, .12); --glass: rgba(255, 255, 255, .26); --glass-line: rgba(255, 255, 255, .5); --fg: #08303f; --wall1: #bff3fb; --wall2: #ffe6cc; --wall3: #7dd3fc; }
* { box-sizing: border-box; font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; height: 100%; overflow: hidden; background: #0b2a3a; color: var(--ink); }
button, input, select, textarea { font: inherit; color: inherit; } button { cursor: pointer; }
h1, h2, h3, .sq.letter, #tm { font-family: 'Space Grotesk', 'Inter', system-ui, sans-serif; }
[hidden] { display: none !important; }
#tablet { position: fixed; inset: 0; overflow: hidden; --fg: #08303f; }
#tablet[data-dark='1'] { --ink: #e6f6fb; --dim: #8fb4c2; --panel: rgba(10, 32, 45, .86); --panel2: #0d2735; --line: rgba(255, 255, 255, .12); --fg: #eaf8fc; --glass: rgba(8, 30, 42, .45); --glass-line: rgba(255, 255, 255, .16); }
/* wallpapers */
#wall { position: absolute; inset: 0; overflow: hidden; background: linear-gradient(160deg, var(--wall1), var(--wall2) 55%, var(--wall3)); transition: background .4s; }
#tablet[data-wall='pool'] #wall { --wall1: #bff3fb; --wall2: #fff0dc; --wall3: #7dd3fc; } #tablet[data-wall='sunset'] #wall { --wall1: #ffd8a8; --wall2: #ffb48a; --wall3: #fb8c5c; } #tablet[data-wall='night'] #wall { --wall1: #0a2230; --wall2: #0b3345; --wall3: #0e5a6e; } #tablet[data-wall='mono'] #wall { --wall1: #f4f7f9; --wall2: #e5ebef; --wall3: #cfd9df; }
#tablet[data-custom='1'] #wall { background: linear-gradient(160deg, var(--wall1), var(--wall2) 55%, var(--wall3)); }
#tablet[data-wall='night'], #tablet[data-custom='1'] { --fg: #eaf8fc; } #tablet[data-wall='night'] #status, #tablet[data-custom='1'] #status { color: #eaf8fc; }
#wall i { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; animation: drift 24s ease-in-out infinite alternate; } #wall .b1 { width: 46vmax; height: 46vmax; left: -10vmax; top: -12vmax; background: var(--ac); opacity: .28; } #wall .b2 { width: 40vmax; height: 40vmax; right: -10vmax; bottom: -14vmax; background: var(--or); opacity: .25; animation-delay: -8s; } #wall .b3 { width: 28vmax; height: 28vmax; left: 40%; top: 30%; background: #fff; opacity: .3; animation-delay: -15s; }
@keyframes drift { to { transform: translate(8vmax, 5vmax) scale(1.15); } }
/* status bar */
#status { position: absolute; left: 0; right: 0; top: 0; height: 34px; z-index: 30; display: flex; align-items: center; justify-content: space-between; padding: 0 18px; color: var(--fg); font-size: 13px; font-weight: 600; }
#status .l { display: flex; gap: 10px; align-items: baseline; cursor: pointer; } #tm { font-size: 15px; font-weight: 700; } #dt { opacity: .75; } #status .r { display: flex; gap: 12px; align-items: center; }
#syncdot { width: 9px; height: 9px; border-radius: 50%; background: #f59e0b; box-shadow: 0 0 0 3px rgba(245, 158, 11, .25); } #syncdot.ok { background: #22c55e; box-shadow: 0 0 0 3px rgba(34, 197, 94, .22); } #syncdot.error { background: #ef4444; box-shadow: 0 0 0 3px rgba(239, 68, 68, .25); }
#bell { position: relative; border: 0; background: none; width: 26px; height: 26px; padding: 0; color: inherit; display: grid; place-items: center; } #bell svg { width: 19px; height: 19px; }
.bdg { position: absolute; top: -3px; right: -5px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px; background: var(--or); color: #fff; font: 700 10.5px/17px 'Inter', sans-serif; font-style: normal; text-align: center; box-shadow: 0 0 0 2px rgba(255, 255, 255, .8); }
/* screen */
#screen { position: absolute; left: 0; right: 0; top: 34px; bottom: 44px; }
#home { position: absolute; inset: 0; transition: opacity .25s, transform .25s; } #home.hide { opacity: 0; transform: scale(.94); pointer-events: none; }
#pager { position: absolute; left: 0; right: 0; top: 0; bottom: 116px; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; } #pager::-webkit-scrollbar { display: none; }
.pg { flex: none; width: 100%; height: 100%; scroll-snap-align: start; padding: 10px 24px; overflow-y: auto; scrollbar-width: none; }
.grid { display: grid; gap: 22px 10px; padding-top: 6px; align-content: start; justify-items: center; }
.app { position: relative; display: grid; justify-items: center; gap: 7px; width: 112px; padding: 6px 0 2px; border: 0; background: none; color: var(--fg); font-weight: 600; font-size: 12.5px; transition: transform .18s cubic-bezier(.34, 1.56, .64, 1); } .app:hover { transform: translateY(-3px) scale(1.04); } .app:active { transform: scale(.94); }
.app .nm { max-width: 108px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-shadow: 0 1px 6px rgba(255, 255, 255, .5); } #tablet[data-dark='1'] .app .nm, #tablet[data-wall='night'] .app .nm { text-shadow: 0 1px 6px rgba(0, 0, 0, .4); } .nolabels .app .nm { display: none; }
.app .bdg { top: 0; right: 14px; } .app .rm { position: absolute; top: 0; left: 12px; width: 22px; height: 22px; border-radius: 50%; background: #475569; color: #fff; display: grid; place-items: center; font-style: normal; font-size: 15px; line-height: 1; cursor: pointer; box-shadow: 0 0 0 2px #fff; }
.editing .app { animation: wob .32s ease-in-out infinite alternate; } .editing .app:nth-child(2n) { animation-delay: -.16s; } @keyframes wob { from { transform: rotate(-1.6deg); } to { transform: rotate(1.6deg); } }
#dots { position: absolute; left: 0; right: 0; bottom: 124px; display: flex; gap: 8px; justify-content: center; align-items: center; } #dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 50%; background: rgba(8, 48, 63, .28); transition: .2s; } #dots button.on { width: 22px; border-radius: 5px; background: var(--ac); } #dots .done { width: auto; height: auto; padding: 5px 14px; border-radius: 999px; background: var(--or); color: #fff; font-weight: 700; font-size: 12px; margin-left: 12px; }
/* squircle icons */
.sq { position: relative; display: inline-grid; place-items: center; width: 74px; height: 74px; overflow: hidden; -webkit-mask: var(--sq) center / 100% 100% no-repeat; mask: var(--sq) center / 100% 100% no-repeat; color: #fff; flex: none; filter: drop-shadow(0 8px 14px rgba(8, 51, 68, .25)); }
.sq img { width: 100%; height: 100%; object-fit: cover; display: block; background: #fff; } .sq.glyph svg { width: 46%; height: 46%; position: relative; } .sq .glow { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255, 255, 255, .42), rgba(255, 255, 255, 0) 55%); } .sq.letter { font-weight: 800; font-size: 30px; }
.sq.xs { width: 36px; height: 36px; font-size: 15px; } .sq.md { width: 50px; height: 50px; font-size: 20px; } .sq.lg { width: 84px; height: 84px; }
.app .sq { box-shadow: none; }
/* dock and bar */
#dock { position: absolute; left: 50%; bottom: 52px; transform: translateX(-50%); display: flex; gap: 14px; padding: 10px 16px; border-radius: 30px; background: var(--glass); border: 1px solid var(--glass-line); -webkit-backdrop-filter: blur(22px) saturate(1.4); backdrop-filter: blur(22px) saturate(1.4); box-shadow: 0 14px 40px -16px rgba(8, 51, 68, .45); z-index: 20; transition: opacity .25s, transform .25s; max-width: calc(100% - 24px); } .inapp #dock { opacity: 0; pointer-events: none; transform: translate(-50%, 30px); }
.dk { position: relative; border: 0; background: none; padding: 0; transition: transform .18s cubic-bezier(.34, 1.56, .64, 1); } .dk:hover { transform: translateY(-6px) scale(1.08); } .dk .sq { width: 60px; height: 60px; } .dk.run::after { content: ''; position: absolute; left: 50%; bottom: -7px; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: var(--fg); opacity: .7; } .dk .bdg { top: -4px; right: -4px; }
#bar { position: absolute; left: 0; right: 0; bottom: 0; height: 44px; z-index: 30; display: flex; align-items: center; justify-content: center; gap: 20px; color: var(--fg); }
#bar button { border: 0; background: none; color: inherit; width: 44px; height: 36px; display: grid; place-items: center; border-radius: 12px; padding: 0; } #bar button:hover { background: var(--glass); } #bar svg { width: 20px; height: 20px; }
#bar .b-rec, #bar .b-tab, #bar #wtitle { opacity: .0; pointer-events: none; transition: opacity .2s; } #bar.app .b-rec, #bar.app .b-tab { opacity: 1; pointer-events: auto; } #bar.app #wtitle { opacity: .8; } #bar:not(.app) .b-rec { opacity: 1; pointer-events: auto; }
#homebtn { width: 120px !important; } #homebtn i { width: 92px; height: 6px; border-radius: 4px; background: var(--fg); opacity: .55; transition: .2s; } #homebtn:hover i { opacity: .9; }
#wtitle { font-weight: 700; font-size: 13px; min-width: 100px; text-align: center; } 
/* windows */
#wins { position: absolute; inset: 0; pointer-events: none; }
.win { position: absolute; inset: 0 0 0 0; display: none; background: var(--panel2); border-radius: 22px 22px 0 0; overflow: hidden; pointer-events: auto; box-shadow: 0 -8px 40px -10px rgba(8, 51, 68, .35); } .win.on { display: block; animation: winin .26s cubic-bezier(.2, .9, .3, 1.1); } @keyframes winin { from { opacity: 0; transform: scale(.9) translateY(24px); } }
.win iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #fff; opacity: 0; transition: opacity .25s; } .win.ready iframe { opacity: 1; } .wload { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 14px; color: var(--dim); font-weight: 600; } .win.ready .wload { display: none; }
.nview { position: absolute; inset: 0; overflow-y: auto; padding: 22px 26px 30px; color: var(--ink); background: var(--panel2); }
/* switcher and shade */
#switcher { position: absolute; inset: 34px 0 44px; z-index: 40; background: rgba(8, 30, 42, .45); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); display: grid; align-content: center; justify-items: center; gap: 18px; color: #fff; }
.sw-top { display: flex; gap: 18px; align-items: center; } .sw-top b { font: 700 18px 'Space Grotesk'; } .sw-top button { border: 0; border-radius: 999px; padding: 6px 14px; background: rgba(255, 255, 255, .18); color: #fff; font-weight: 600; }
.sw-row { display: flex; gap: 16px; overflow-x: auto; max-width: 96vw; padding: 10px 20px; } .sw-card { position: relative; flex: none; width: 160px; height: 200px; border-radius: 24px; background: var(--glass); border: 1px solid var(--glass-line); display: grid; place-content: center; justify-items: center; gap: 10px; cursor: pointer; transition: transform .18s; } .sw-card:hover { transform: translateY(-4px); } .sw-card.cur { box-shadow: 0 0 0 3px var(--ac); } .sw-x { position: absolute; top: 8px; right: 8px; width: 28px; height: 28px; border-radius: 50%; border: 0; background: rgba(0, 0, 0, .35); color: #fff; font-size: 18px; line-height: 1; padding: 0; }
#shade { position: absolute; top: 34px; right: 10px; width: min(420px, calc(100% - 20px)); max-height: calc(100% - 100px); z-index: 50; overflow-y: auto; border-radius: 26px; padding: 16px 16px 12px; background: var(--panel); border: 1px solid var(--glass-line); -webkit-backdrop-filter: blur(26px) saturate(1.5); backdrop-filter: blur(26px) saturate(1.5); box-shadow: 0 24px 60px -18px rgba(8, 51, 68, .55); animation: shin .22s ease-out; color: var(--ink); } @keyframes shin { from { opacity: 0; transform: translateY(-14px); } }
.sh-top { display: flex; justify-content: space-between; align-items: center; } .sh-top h2 { margin: 0; font-size: 20px; } .sh-top div { display: flex; gap: 6px; align-items: center; } .sh-clear { border: 0; background: none; color: var(--ac); font-weight: 700; } .sh-close { border: 0; background: rgba(0, 0, 0, .06); width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; padding: 0; color: inherit; } .sh-close svg { width: 16px; height: 16px; }
.qts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 12px 0; } .qt { border: 0; border-radius: 16px; padding: 10px 4px 8px; display: grid; justify-items: center; gap: 4px; background: rgba(var(--ac-rgb), .08); color: inherit; font-weight: 600; } .qt svg { width: 22px; height: 22px; } .qt.on { background: var(--ac); color: #fff; } .qt small { font-size: 11px; }
.nl { display: grid; gap: 6px; } .nitem { position: relative; display: grid; grid-template-columns: auto 1fr auto auto; gap: 10px; align-items: center; padding: 9px 10px; border-radius: 16px; background: rgba(255, 255, 255, .4); cursor: pointer; } #tablet[data-dark='1'] .nitem { background: rgba(255, 255, 255, .06); } .nitem.new { box-shadow: inset 3px 0 0 var(--or); } .nitem .tx { min-width: 0; } .nitem b, .nitem small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .nitem small { color: var(--dim); font-size: 12px; } .nitem time { color: var(--dim); font-size: 11px; } .nx { border: 0; background: none; width: 24px; height: 24px; padding: 0; opacity: .5; color: inherit; } .nx svg { width: 14px; height: 14px; } .nx:hover { opacity: 1; }
#banners { position: absolute; top: 40px; left: 50%; transform: translateX(-50%); z-index: 60; display: grid; gap: 8px; width: min(440px, calc(100% - 20px)); pointer-events: none; } .banner { pointer-events: auto; display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: center; padding: 10px 14px; border-radius: 22px; background: var(--panel); -webkit-backdrop-filter: blur(22px); backdrop-filter: blur(22px); border: 1px solid var(--glass-line); box-shadow: 0 16px 40px -14px rgba(8, 51, 68, .5); opacity: 0; transform: translateY(-20px) scale(.96); transition: .35s cubic-bezier(.2, .9, .3, 1.2); cursor: pointer; color: var(--ink); } .banner.in { opacity: 1; transform: none; } .banner b, .banner small { display: block; } .banner small { color: var(--dim); }
/* Today page */
.today { max-width: 980px; margin: 0 auto; padding: 8px 0 30px; color: var(--fg); } .hello h1 { margin: 6px 0 2px; font-size: clamp(30px, 5vw, 46px); letter-spacing: -.02em; } .hello p { margin: 0 0 18px; opacity: .8; font-weight: 500; }
.wgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 14px; } .wd { padding: 14px 14px 10px; border-radius: 26px; background: var(--glass); border: 1px solid var(--glass-line); -webkit-backdrop-filter: blur(20px) saturate(1.4); backdrop-filter: blur(20px) saturate(1.4); color: var(--ink); } .wd h3 { margin: 0 0 8px; font-size: 14px; text-transform: uppercase; letter-spacing: .08em; color: var(--dim); }
.wrow { display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; padding: 6px 4px; border: 0; background: none; border-radius: 12px; } .wrow:hover { background: rgba(var(--ac-rgb), .09); } .wrow span { min-width: 0; } .wrow b, .wrow small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .wrow small { color: var(--dim); font-size: 12px; } .wrow .sq { width: 34px; height: 34px; }
.mut { color: var(--dim); margin: 6px 0; font-size: 13.5px; } .mut.big { font-size: 16px; padding: 14px 4px; } .mut.sm { font-size: 12px; }
/* native apps */
.nhead { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; } .nhead h2 { margin: 0; font-size: 28px; letter-spacing: -.02em; } .sp { flex: 1; }
input[type=search], input[type=text], input[type=url], input[type=number], input[type=time], .ntitle { height: 38px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--panel2); outline: 0; min-width: 0; } input:focus { border-color: var(--ac); box-shadow: 0 0 0 3px rgba(var(--ac-rgb), .18); }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; } .chips button { border: 1px solid var(--line); background: var(--panel2); border-radius: 999px; padding: 6px 14px; font-weight: 600; font-size: 13px; } .chips button.on { background: var(--ac); border-color: var(--ac); color: #fff; }
.pill { display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); background: var(--panel2); border-radius: 999px; padding: 7px 16px; font-weight: 700; font-size: 13px; color: var(--ink); } .pill.pri { background: var(--ac); border-color: var(--ac); color: #fff; box-shadow: 0 8px 18px -8px rgba(var(--ac-rgb), .7); } .pill:disabled { opacity: .5; } .ghost { border: 0; background: none; color: var(--dim); font-weight: 600; font-size: 12.5px; padding: 6px 8px; border-radius: 10px; } .ghost:hover { background: rgba(var(--ac-rgb), .1); color: var(--ink); }
.fgrid, .agrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 10px; } .fcard, .acard { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 20px; background: var(--panel2); border: 1px solid var(--line); } .fcard { cursor: pointer; } .fcard:hover { border-color: var(--ac); } .tx { min-width: 0; flex: 1; } .tx b, .tx small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .tx small { color: var(--dim); font-size: 12.5px; } .ab { display: flex; gap: 6px; align-items: center; }
.empty { grid-column: 1 / -1; padding: 40px 10px; text-align: center; border: 2px dashed var(--line); border-radius: 22px; } .foot { margin-top: 18px; text-align: center; }
.store h3 { margin: 22px 0 10px; font-size: 18px; } .feature { display: flex; align-items: center; gap: 18px; padding: 18px 20px; border-radius: 28px; background: linear-gradient(120deg, rgba(var(--ac-rgb), .2), rgba(249, 115, 22, .18)); border: 1px solid var(--line); } .feature small { color: var(--or); font-weight: 800; letter-spacing: .1em; font-size: 11px; } .feature h3 { margin: 2px 0; } .feature p { margin: 0; color: var(--dim); } .feature > div { flex: 1; }
.addweb { padding: 16px; border-radius: 22px; border: 1px solid var(--line); background: var(--panel2); } .frow { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-top: 10px; } .frow input { flex: 1; min-width: 150px; }
.settings { display: grid; grid-template-columns: 210px 1fr; gap: 22px; height: 100%; } .snav { display: grid; align-content: start; gap: 4px; } .snav button { text-align: left; border: 0; background: none; padding: 10px 14px; border-radius: 14px; font-weight: 600; } .snav button.on { background: rgba(var(--ac-rgb), .14); color: var(--ac); } .spane { overflow-y: auto; padding-right: 6px; } .spane h2 { margin: 0 0 14px; font-size: 28px; } .spane h3 { margin: 22px 0 10px; font-size: 16px; }
.srow { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); } .srow small { display: block; color: var(--dim); font-size: 12.5px; max-width: 460px; margin-top: 2px; }
.toggle { position: relative; width: 46px; height: 26px; border-radius: 999px; border: 0; background: #cbd5e1; padding: 0; transition: .2s; flex: none; } .toggle i { position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, .25); transition: .2s; } .toggle.on { background: var(--ac); } .toggle.on i { transform: translateX(20px); }
.status-card { display: flex; gap: 14px; align-items: center; padding: 14px 16px; border-radius: 20px; background: rgba(var(--ac-rgb), .1); margin-bottom: 14px; } .status-card i { width: 14px; height: 14px; border-radius: 50%; background: #f59e0b; flex: none; } .status-card.ok i { background: #22c55e; } .status-card.error i { background: #ef4444; } .status-card small { display: block; color: var(--dim); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 10px 0 6px; } .stats div { padding: 12px; border-radius: 18px; background: var(--panel2); border: 1px solid var(--line); } .stats b { font-size: 20px; display: block; } .stats small { color: var(--dim); }
.walls { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; } .wp { height: 74px; border-radius: 20px; border: 3px solid transparent; color: #08303f; font-weight: 700; display: grid; align-items: end; justify-items: start; padding: 8px 10px; } .wp.on { border-color: var(--ac); } .w-pool { background: linear-gradient(160deg, #bff3fb, #fff0dc 55%, #7dd3fc); } .w-sunset { background: linear-gradient(160deg, #ffd8a8, #ffb48a 55%, #fb8c5c); } .w-night { background: linear-gradient(160deg, #0a2230, #0b3345 55%, #0e5a6e); color: #fff; } .w-mono { background: linear-gradient(160deg, #f4f7f9, #e5ebef 55%, #cfd9df); }
.accs { display: flex; gap: 10px; align-items: center; margin-bottom: 10px; } .accs button { width: 34px; height: 34px; border-radius: 50%; border: 3px solid #fff; box-shadow: 0 0 0 1px var(--line); } .accs button.on { box-shadow: 0 0 0 3px var(--ink); } .swatch { display: flex; } .swatch i { width: 16px; height: 34px; } .swatch i:first-child { border-radius: 10px 0 0 10px; } .swatch i:last-child { border-radius: 0 10px 10px 0; }
.lead { font-size: 17px; line-height: 1.5; }
.notes { display: grid; grid-template-columns: 240px 1fr; gap: 18px; height: 100%; } .nlist { display: grid; align-content: start; gap: 6px; overflow-y: auto; } .nitem2 { text-align: left; border: 1px solid var(--line); background: var(--panel2); border-radius: 16px; padding: 10px 12px; } .nitem2.on { border-color: var(--ac); } .nitem2 b, .nitem2 small { display: block; } .nitem2 small { color: var(--dim); } .ned { display: grid; grid-template-rows: auto 1fr auto; gap: 10px; min-height: 0; } .ntitle { font: 700 20px 'Space Grotesk'; border-radius: 14px; } .nbody { border: 1px solid var(--line); border-radius: 18px; padding: 14px; resize: none; background: var(--panel2); outline: 0; line-height: 1.55; }
.calc { max-width: 360px; margin: 0 auto; outline: 0; } .cout { height: 110px; display: grid; align-content: end; text-align: right; padding: 8px 6px 14px; } .cout small { color: var(--dim); font-size: 16px; min-height: 22px; } .cout b { font: 700 46px 'Space Grotesk'; overflow: hidden; } .cpad { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; } .ck { height: 62px; border: 0; border-radius: 22px; background: var(--panel2); border: 1px solid var(--line); font: 600 22px 'Space Grotesk'; } .ck.op { background: rgba(var(--ac-rgb), .14); color: var(--ac); } .ck.fn { background: rgba(120, 140, 150, .16); } .ck.eq { background: var(--or); color: #fff; border-color: var(--or); } .ck:active { transform: scale(.95); }
.clock .big { font: 700 64px 'Space Grotesk'; text-align: center; margin: 24px 0; font-variant-numeric: tabular-nums; } .cbtn { display: flex; gap: 10px; justify-content: center; } .zones { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; } .zone { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; border-radius: 20px; background: var(--panel2); border: 1px solid var(--line); } .zone b { font-variant-numeric: tabular-nums; } .zone > b { font-size: 22px; } .zone small { display: block; color: var(--dim); }
.paint { display: grid; grid-template-rows: auto 1fr; gap: 10px; height: 100%; } .ptools { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; } .dotc { width: 30px; height: 30px; border-radius: 50%; border: 3px solid #fff; box-shadow: 0 0 0 1px var(--line); } .sketch { width: 100%; height: 100%; min-height: 0; border-radius: 22px; border: 1px solid var(--line); background: #fff; touch-action: none; cursor: crosshair; }
@media (max-width: 720px) { .settings, .notes { grid-template-columns: 1fr; } .snav { grid-auto-flow: column; overflow-x: auto; } .stats { grid-template-columns: repeat(2, 1fr); } #dock { gap: 8px; padding: 8px 10px; } .dk .sq { width: 52px; height: 52px; } .pg { padding: 8px 8px; } .nview { padding: 16px 14px 24px; } .app { width: 86px; } }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }

/* =====================================================================================================================
   Vida's Poolside look for Onehub: pool-dot wallpaper, white glass cards, pill buttons (Snorkel Mask for the main ones), Pool Volleyball chips,
   towel-stripe labels, float switches and noodle sliders. Windows cover the whole screen and a small Back tab floats at the edge.
   ===================================================================================================================== */
#wall canvas { position: absolute; inset: 0; display: block; }
#tablet[data-wall='pool'] #wall { background: #ffffff; } #tablet[data-wall='pool'] #wall i { display: none; } #tablet:not([data-wall='pool']) #bg-canvas, #tablet[data-custom='1'] #bg-canvas { display: none; }
#tablet[data-dark='1'][data-wall='pool'] #wall { background: #07202c; } #tablet[data-dark='1'] #bg-canvas { opacity: .35; }

/* windows: the whole screen, nothing left out */
#wins { position: absolute; inset: 0; z-index: 36; pointer-events: none; }
.win { position: absolute; inset: 0; border-radius: 0; box-shadow: none; } .win.on { pointer-events: auto; animation: winin2 .28s cubic-bezier(.2, .9, .3, 1.05); } @keyframes winin2 { from { opacity: 0; transform: scale(.94); } }
.nview { padding: 26px 30px 34px 56px; background: #fff; } #tablet[data-dark='1'] .nview { background: var(--panel2); }
#screen { bottom: 0; } #dock { bottom: 56px; }
.inapp #status, .inapp #bar { opacity: 0; pointer-events: none; transform: translateY(-8px); } #status, #bar { transition: opacity .25s, transform .25s; }
#handle { position: absolute; left: 0; top: 50%; transform: translateY(-50%); z-index: 60; display: none; align-items: center; gap: 4px; filter: drop-shadow(0 8px 16px rgba(8, 51, 68, .35)); }
.inapp #handle { display: flex; } #switcher, #shade { z-index: 70; } #banners { z-index: 80; }
#handle .hb, #handle .hgrip { border: 0; cursor: pointer; background: rgba(255, 255, 255, .92); color: #0c3a4a; -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
#handle .back { display: flex; align-items: center; gap: 4px; height: 34px; padding: 0 12px 0 6px; border-radius: 0 999px 999px 0; font-weight: 800; font-size: 13px; border: 1px solid rgba(8, 145, 178, .35); border-left: 0; opacity: .55; transition: opacity .18s, transform .18s cubic-bezier(.34, 1.56, .64, 1), padding .18s; } #handle .back b { max-width: 0; overflow: hidden; white-space: nowrap; transition: max-width .2s; } #handle .back span { display: grid; width: 18px; height: 18px; } #handle .back svg { width: 18px; height: 18px; }
#handle:hover .back, #handle.open .back { opacity: 1; } #handle:hover .back b, #handle.open .back b { max-width: 60px; }
#handle .hgrip { width: 18px; height: 34px; border-radius: 999px; padding: 0; display: grid; place-items: center; opacity: .0; transition: opacity .18s; } #handle .hgrip i { width: 4px; height: 16px; border-radius: 3px; background: repeating-linear-gradient(180deg, #06b6d4 0 4px, #fb923c 4px 8px); } #handle:hover .hgrip, #handle.open .hgrip { opacity: 1; }
#handle .hmore { display: none; gap: 4px; } #handle.open .hmore { display: flex; } #handle .hmore .hb { display: grid; justify-items: center; gap: 2px; width: 58px; padding: 6px 0 5px; border-radius: 14px; font-size: 10.5px; font-weight: 700; } #handle .hmore .hb span { width: 20px; height: 20px; display: grid; } #handle .hmore .hb svg { width: 20px; height: 20px; } #handle .hmore .hb:hover { background: #e8fcfe; }

/* the Snorkel Mask look for the built-in apps: a thick colored rim, a soft two-step fill, a glint of glass and the glyph in a round lens */
.sq.glyph { background: linear-gradient(180deg, color-mix(in srgb, var(--c) 40%, #fff), color-mix(in srgb, var(--c) 78%, #fff)); box-shadow: none; }
.sq.glyph::after { content: ''; position: absolute; inset: 0; background: transparent; box-shadow: inset 0 0 0 5px var(--o), inset 0 3px 0 5px rgba(255, 255, 255, .55); pointer-events: none; }
.sq.glyph .glint { position: absolute; left: -6%; top: 0; width: 112%; height: 44%; background: linear-gradient(180deg, rgba(255, 255, 255, .55), rgba(255, 255, 255, 0)); border-radius: 0 0 60% 60% / 0 0 100% 100%; }
.sq.glyph .lens { position: relative; display: grid; place-items: center; width: 56%; height: 56%; border-radius: 50%; background: rgba(255, 255, 255, .66); border: 3px solid var(--o); color: color-mix(in srgb, var(--o) 45%, #000); } .sq.glyph .lens svg { width: 62%; height: 62%; }
.sq.xs.glyph::after { box-shadow: inset 0 0 0 3px var(--o), inset 0 2px 0 3px rgba(255, 255, 255, .55); } .sq.xs.glyph .lens { border-width: 2px; }
.sq.plain img { padding: 12%; background: #fff; object-fit: contain; }

/* pill buttons */
.pill { height: 36px; padding: 0 16px; border-radius: 12px; border: 1px solid rgba(226, 232, 240, .95); background: #fff; color: #334155; font-weight: 700; gap: 7px; transition: transform .14s cubic-bezier(.34, 1.56, .64, 1), box-shadow .15s, background .15s; }
.pill:hover:not(:disabled):not(.pri) { background: linear-gradient(90deg, #ffe6cf, #e8fcfe 60%, #c7f1f6); border-color: rgba(255, 255, 255, .9); box-shadow: inset 0 0 10px 2px rgba(255, 255, 255, .9); transform: translateY(-1px); }
.pill.pri { --o: #ff7a00; --c: #ffb03b; --dk: #4a2600; position: relative; overflow: hidden; border: 3px solid var(--o); border-radius: 14px 14px 10px 10px / 12px 12px 14px 14px; background: linear-gradient(180deg, color-mix(in srgb, var(--c) 35%, #fff), color-mix(in srgb, var(--c) 60%, #fff)); color: var(--dk); font-weight: 900; box-shadow: inset 0 2px 0 rgba(255, 255, 255, .8); padding: 0 18px; }
.pill.pri::before { content: ''; position: absolute; left: -10%; top: 0; width: 120%; height: 42%; pointer-events: none; background: linear-gradient(180deg, rgba(255, 255, 255, .45), rgba(255, 255, 255, 0)); border-radius: 0 0 60% 60% / 0 0 100% 100%; } .pill.pri:hover:not(:disabled) { transform: translateY(-1px); filter: brightness(1.04); } .pill.pri:active:not(:disabled) { transform: translateY(1px) scale(.98); }
.ghost:hover { background: linear-gradient(90deg, #ffe6cf, #e8fcfe 60%, #c7f1f6); }
/* Pool Volleyball chips */
.chips button { border-radius: 999px; border: 1px solid rgba(226, 232, 240, .95); background: #fff; color: #475569; font-weight: 700; padding: 7px 16px; transition: box-shadow .15s, background .15s; }
.chips button.on { background: linear-gradient(90deg, #ffdcbc 0%, #fff4e8 30%, #e8fcfe 62%, #bdeff5 100%); box-shadow: inset 0 0 12px 3px rgba(255, 255, 255, .95), 0 6px 14px -8px rgba(6, 182, 212, .6); color: #0c2f3f; border: 1px solid rgba(255, 255, 255, .85); }
.snav button { border-radius: 999px; font-weight: 700; } .snav button.on { background: linear-gradient(90deg, #ffdcbc 0%, #fff4e8 30%, #e8fcfe 62%, #bdeff5 100%); box-shadow: inset 0 0 12px 3px rgba(255, 255, 255, .95), 0 6px 14px -8px rgba(6, 182, 212, .6); color: #0c2f3f; }
/* towel-stripe labels */
.store h3, .spane h3, .wd h3, .addweb h3 { width: fit-content; padding: 3px 12px; border-radius: 999px; background: linear-gradient(90deg, #ffe4cc, #f2fdff 55%, #c9f3f8); color: #0c4a6e; font: 700 11px 'Space Grotesk', 'Inter', sans-serif; letter-spacing: .1em; text-transform: uppercase; box-shadow: inset 0 0 8px rgba(255, 255, 255, .9); }
/* cards: white glass */
.fcard, .acard, .stats div, .zone, .addweb, .nitem2, .status-card { background: rgba(255, 255, 255, .88); border: 1px solid rgba(226, 232, 240, .95); border-radius: 20px; box-shadow: 0 10px 24px -18px rgba(8, 51, 68, .55); } #tablet[data-dark='1'] .fcard, #tablet[data-dark='1'] .acard, #tablet[data-dark='1'] .stats div, #tablet[data-dark='1'] .zone, #tablet[data-dark='1'] .addweb, #tablet[data-dark='1'] .nitem2, #tablet[data-dark='1'] .status-card { background: rgba(13, 39, 53, .9); border-color: var(--line); }
.fcard:hover, .acard:hover { border-color: #67e8f9; box-shadow: 0 14px 28px -16px rgba(6, 182, 212, .55); } .status-card { background: linear-gradient(90deg, rgba(255, 244, 232, .9), rgba(232, 252, 254, .9)); }
.feature { border: 1px solid rgba(255, 255, 255, .9); box-shadow: inset 0 0 18px rgba(255, 255, 255, .8); }
/* fields: the speckled Concrete Deck look */
input[type=search], input[type=text], input[type=url], input[type=number], input[type=time] { --md: #0e7490; --ml: #22d3ee; --mx: #ecfeff; --mk: #083344; height: 38px; background: radial-gradient(circle, color-mix(in srgb, var(--md) 30%, transparent) .6px, transparent 1px) 0 0 / 5px 4px, radial-gradient(circle, rgba(255, 255, 255, .9) .6px, transparent 1px) 2px 2px / 6px 5px, var(--mx); color: var(--mk); border: 0; border-bottom: 3px solid var(--ml); border-radius: 8px; font-weight: 700; box-shadow: none; } input:focus { border-bottom-color: var(--or) !important; box-shadow: none !important; }
.ntitle { background: transparent !important; border: 0 !important; border-bottom: 3px solid #22d3ee !important; border-radius: 6px !important; color: #083344; }
/* float switches and noodle sliders */
.toggle { width: 42px; height: 24px; border: 1px solid rgba(226, 232, 240, .95); background: linear-gradient(90deg, #e8eef3, #f6f9fb); } .toggle i { top: 2px; left: 2px; width: 18px; height: 18px; background: radial-gradient(circle, #ecfeff 0 26%, transparent 30%), conic-gradient(#fb923c 0 25%, #fff 0 50%, #fb923c 0 75%, #fff 0); box-shadow: 0 2px 5px rgba(15, 23, 42, .3); transition: transform .22s cubic-bezier(.34, 1.56, .64, 1); } .toggle.on { background: linear-gradient(90deg, #22d3ee, #bdeff5); border-color: rgba(6, 182, 212, .6); } .toggle.on i { transform: translateX(18px); }
input[type=range] { -webkit-appearance: none; appearance: none; height: 22px; background: transparent; cursor: pointer; } input[type=range]::-webkit-slider-runnable-track { height: 10px; border-radius: 999px; background: linear-gradient(90deg, #22d3ee, #e8fcfe 52%, #fdba74); box-shadow: inset 0 1px 3px rgba(8, 51, 68, .25); } input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; margin-top: -6px; border-radius: 50%; border: 0; background: radial-gradient(circle, #ecfeff 0 28%, transparent 31%), conic-gradient(#f97316 0 25%, #fff 0 50%, #f97316 0 75%, #fff 0); box-shadow: 0 3px 7px rgba(15, 23, 42, .35); }
.walls .wp { border-radius: 18px; } .calc .ck.eq { --o: #ff7a00; border: 3px solid var(--o); background: linear-gradient(180deg, #ffe3c2, #ffcf94); color: #4a2600; font-weight: 800; }
.w-pool { background: #fff radial-gradient(circle, rgba(6, 182, 212, .35) 1.5px, transparent 2px) 0 0 / 14px 14px; }
@media (max-width: 720px) { .nview { padding: 20px 14px 28px 40px; } }
.wd { background: rgba(255, 255, 255, .88); border: 1px solid rgba(226, 232, 240, .95); box-shadow: 0 14px 30px -20px rgba(8, 51, 68, .5); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); } #tablet[data-dark='1'] .wd { background: rgba(13, 39, 53, .88); border-color: var(--line); }
.nview { padding-left: 70px; } @media (max-width: 720px) { .nview { padding-left: 46px; } }
