/* Peramban meniru Safari di macOS Tahoe: toolbar pil menyatu dengan title bar, Halaman Mulai abu-abu,
   ikhtisar tab. Situs yang dibuka adalah halaman fiktif (lihat js/peramban.js). */
.app-peramban { --pb-bg:#e9e9ec; --pb-card:#f6f6f8; --pb-ink:#2a2a2e; --pb-soft:#5f5f67; --pb-blue:#2a6df0; border-radius:26px; background:var(--pb-bg); }
.app-peramban .titlebar { position:absolute; top:0; left:0; right:0; z-index:4; height:52px; padding-left:20px; background:none; border:0; border-radius:26px 26px 0 0; }
.app-peramban .win-title { display:none; }
.app-peramban .win-body { position:relative; overflow:hidden; background:var(--pb-bg); border-radius:26px; }
.window.is-maximized.app-peramban .win-body { border-radius:0; }

.pb { position:absolute; inset:0; display:flex; flex-direction:column; font-size:13px; color:var(--pb-ink); }
.pb-toolbar { position:absolute; z-index:5; top:0; left:92px; right:12px; height:52px; display:flex; align-items:center; gap:10px; pointer-events:none; }
.pb-toolbar > * { pointer-events:auto; }
.pb-pill { display:flex; align-items:center; flex:none; height:34px; padding:0 3px; background:#ffffffee; border-radius:17px; box-shadow:0 1px 6px #0000001f, 0 0 0 .5px #0000000f; }
.pb-btn-ico { display:grid; place-items:center; width:34px; height:28px; padding:0; border:0; background:none; color:#55555b; border-radius:14px; cursor:default; font:inherit; }
.pb-btn-ico:hover:not(:disabled) { background:#0000000a; }
.pb-btn-ico:disabled { opacity:.35; }
.pb-btn-ico[aria-pressed=true], .pb-btn-ico[aria-expanded=true] { background:#0000001a; }
.pb-chev { width:30px; }
.pb-div { width:1px; height:15px; background:#0000001a; }
.pb-solo { width:36px; height:34px; border-radius:17px; background:#ffffffee; box-shadow:0 1px 6px #0000001f, 0 0 0 .5px #0000000f; }
.pb-address { flex:1 1 auto; min-width:90px; max-width:640px; margin:0 auto; padding:0 14px; gap:7px; height:34px; }
.pb-address:focus-within { box-shadow:0 0 0 3px #2a6df066, 0 1px 6px #0000001f; }
.pb-ic { display:grid; color:#5f5f67; }
.pb-address input { flex:1; min-width:0; border:0; outline:0; background:none; font:inherit; font-size:14px; color:inherit; text-align:center; }
.pb-address input:focus { text-align:left; }
.pb-address input::placeholder { color:#6e6e76; }
.pb-right { display:flex; gap:8px; flex:none; }

.pb-main { flex:1; min-height:0; display:flex; padding-top:52px; }
.pb-side { flex:0 0 190px; padding:6px 10px 12px 12px; overflow:auto; }
.pb-side[hidden] { display:none; }
.pb-side-h { margin:14px 6px 4px; font-size:11px; font-weight:600; color:var(--pb-soft); }
.pb-side-item { display:block; width:100%; text-align:left; border:0; background:none; font:inherit; font-size:13px; padding:6px 9px; border-radius:8px; cursor:default; }
.pb-side-item:hover { background:#0000000a; }
.pb-side-item.is-active { background:#0000001a; }
.pb-col { flex:1; min-width:0; display:flex; flex-direction:column; }
.pb-tabs { display:flex; gap:6px; padding:0 12px 8px; overflow-x:auto; }
.pb-tabs[hidden], .pb-page[hidden], .pb-overview[hidden], .pb-menu[hidden], .pb-toast[hidden] { display:none; }
.pb-tab { display:flex; align-items:center; flex:1 1 0; min-width:96px; max-width:210px; height:28px; border-radius:9px; background:#0000000d; }
.pb-tab.is-active { background:#fff; box-shadow:0 1px 3px #0002; }
.pb-tab-open { flex:1; min-width:0; border:0; background:none; font:inherit; font-size:12px; padding:0 4px 0 12px; text-align:left; overflow:hidden; white-space:nowrap; text-overflow:ellipsis; cursor:default; }
.pb-tab-close { border:0; background:none; width:22px; color:#777; cursor:default; font-size:15px; }
.pb-page { flex:1; min-height:0; overflow:auto; outline:0; background:#fff; border-radius:12px 12px 0 0; }
.pb-page.is-start { background:transparent; }

/* ----- Halaman Mulai ----- */
.pb-start { max-width:1030px; margin:0 auto; padding:34px 28px 60px; position:relative; }
.pb-banner { position:relative; display:flex; align-items:center; justify-content:center; gap:34px; padding:26px 30px; border-radius:18px; background:var(--pb-card); }
.pb-banner-x { position:absolute; left:12px; top:10px; width:22px; height:22px; border:0; background:none; font-size:20px; line-height:1; color:#222; cursor:default; }
.pb-banner-art { position:relative; width:160px; height:112px; flex:none; }
.pb-banner-art span { position:absolute; border-radius:10px; }
.pb-art-a { inset:0 0 18px 28px; background:linear-gradient(135deg,#e8a090,#c26b8a); opacity:.8; }
.pb-art-b { inset:12px 8px 6px 14px; background:linear-gradient(135deg,#d4806d,#6f8fd0); opacity:.85; }
.pb-art-c { inset:26px 0 0 0; background:linear-gradient(180deg,#8aa6d8,#5b79b8); box-shadow:0 6px 14px #0003; padding:8px; display:flex; flex-direction:column; gap:18px; }
.pb-art-c i { font-style:normal; font-size:8px; color:#ffffffd0; font-weight:600; }
.pb-banner-txt h2 { margin:0 0 6px; font-size:21px; }
.pb-banner-txt p { margin:0 0 14px; color:var(--pb-soft); max-width:30ch; line-height:1.4; }
.pb-pill-btn { font:inherit; font-size:13px; font-weight:500; color:#fff; background:var(--pb-blue); border:0; border-radius:14px; padding:6px 14px; cursor:default; }
.pb-sec { font-size:20px; margin:34px 0 14px; letter-spacing:-.01em; }
.pb-fav { display:grid; grid-template-columns:repeat(auto-fill,76px); gap:22px 14px; }
.pb-fav-item { display:flex; flex-direction:column; align-items:center; gap:7px; text-decoration:none; color:inherit; }
.pb-fav-tile { width:68px; height:68px; border-radius:17px; display:grid; place-items:center; color:#fff; font-size:30px; font-weight:500; background:#8f8f98; box-shadow:0 1px 4px #0002; }
.pb-fav-tile.is-plain { background:#9a9aa3; }
.pb-fav-name { font-size:11px; text-align:center; line-height:1.25; }
.pb-privacy { display:grid; grid-template-columns:1fr 1.1fr; gap:26px; padding:26px 24px; border-radius:18px; background:var(--pb-card); }
.pb-privacy-main { display:flex; flex-direction:column; justify-content:space-between; gap:20px; }
.pb-privacy-main p { margin:0; font-size:15px; line-height:1.45; max-width:34ch; }
.pb-privacy-head { font-size:12px; color:var(--pb-soft); margin-bottom:8px; }
.pb-privacy-stats { display:grid; grid-template-columns:1fr 1fr; gap:8px; align-content:start; }
.pb-privacy-head { grid-column:1/-1; margin-bottom:0; }
.pb-stat { background:#0000000a; border-radius:10px; padding:12px 14px; display:flex; flex-direction:column; gap:10px; font-size:12px; color:#55555b; }
.pb-stat strong { font-size:19px; color:var(--pb-ink); }
.pb-stat-wide { grid-column:1/-1; }
.pb-stat-wide strong { font-size:17px; }
.pb-reading { display:grid; grid-template-columns:repeat(auto-fill,minmax(250px,1fr)); gap:14px; }
.pb-read-card { display:flex; flex-direction:column; gap:3px; padding:14px 16px; border-radius:14px; background:var(--pb-card); text-decoration:none; color:inherit; }
.pb-read-card strong { font-size:14px; }
.pb-read-card span { font-size:11px; color:var(--pb-soft); }
.pb-read-card p { margin:6px 0 0; font-size:12px; color:#55555b; line-height:1.4; }
.pb-edit { display:block; margin:26px 0 0 auto; font:inherit; font-size:12px; font-weight:500; color:#555; background:#d8d8dc; border:0; border-radius:14px; padding:6px 14px; cursor:default; }

/* ----- Ikhtisar tab ----- */
.pb-overview { flex:1; min-height:0; overflow:auto; padding:6px 24px 30px; }
.pb-ov-bar { display:flex; justify-content:flex-end; margin-bottom:14px; }
.pb-ov-search { display:flex; align-items:center; gap:6px; width:200px; height:28px; padding:0 10px; border-radius:14px; background:#ffffffee; box-shadow:0 0 0 .5px #0002; color:#5f5f67; }
.pb-ov-search input { flex:1; min-width:0; border:0; outline:0; background:none; font:inherit; font-size:13px; color:var(--pb-ink); }
.pb-ov-grid { display:grid; grid-template-columns:repeat(auto-fill,300px); gap:26px; justify-content:start; }
.pb-ov-card { width:300px; }
.pb-ov-head { display:flex; align-items:center; height:24px; border-radius:8px 8px 0 0; background:#ffffffee; font-size:12px; }
.pb-ov-x { width:26px; border:0; background:none; font-size:16px; color:#333; cursor:default; }
.pb-ov-title { flex:1; display:flex; align-items:center; justify-content:center; gap:5px; margin-right:26px; min-width:0; }
.pb-ov-title span { overflow:hidden; white-space:nowrap; text-overflow:ellipsis; }
.pb-ov-thumb { display:block; width:300px; height:190px; padding:0; border:0; background:#f2f2f4; overflow:hidden; position:relative; border-radius:0 0 8px 8px; cursor:default; box-shadow:0 2px 8px #0002; }
.pb-ov-card.is-active .pb-ov-thumb { outline:3px solid var(--pb-blue); outline-offset:-1px; }
.pb-ov-inner { position:absolute; left:0; top:0; width:1000px; transform:scale(.3); transform-origin:0 0; pointer-events:none; text-align:left; }
.pb-ov-add { width:300px; height:214px; border:0; border-radius:8px; background:#d4d4d8; color:#555; display:grid; place-items:center; cursor:default; }
.pb-ov-add svg { width:54px; height:54px; stroke-width:1.1; }

/* ----- Menu dan toast ----- */
.pb-menu { position:absolute; z-index:6; min-width:230px; padding:6px; border-radius:14px; background:#f8f8fa; box-shadow:0 10px 36px #0003, 0 0 0 .5px #0002; }
.pb-menu-item { display:flex; align-items:center; gap:8px; width:100%; border:0; background:none; font:inherit; font-size:14px; text-align:left; padding:7px 10px; border-radius:8px; cursor:default; }
.pb-menu-item:hover, .pb-menu-item:focus-visible { background:#2a6df0; color:#fff; outline:0; }
.pb-menu-check { width:14px; text-align:center; }
.pb-menu-sep { height:1px; background:#0000001a; margin:5px 8px; }
.pb-toast { position:absolute; z-index:6; left:50%; bottom:22px; transform:translateX(-50%); background:#2a2a2eee; color:#fff; padding:7px 14px; border-radius:14px; font-size:12px; max-width:80%; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }

/* ----- Isi situs fiktif ----- */
.pb-wrap { max-width:720px; margin:0 auto; padding:28px 24px 40px; }
.pb-center { text-align:center; padding-top:70px; }
.pb-h1 { font-size:24px; margin:0 0 8px; letter-spacing:-.01em; }
.pb-h2 { font-size:16px; margin:22px 0 6px; }
.pb-lead { color:#6a6a74; margin:0 0 18px; line-height:1.5; }
.pb-p { line-height:1.6; margin:0 0 8px; max-width:62ch; }
.pb-center .pb-p { margin-left:auto; margin-right:auto; }
.pb-note, .pb-hint, .pb-source { color:#8a8a92; font-size:12px; margin-top:18px; }
.pb-hint { margin:8px 0 0; font-family:ui-monospace,Menlo,monospace; }
.pb-link, .pb-back { color:#0a6ee0; text-decoration:none; }
.pb-back { display:inline-block; margin-bottom:12px; font-size:12px; }
.pb-card { background:#f4f4f7; border-radius:12px; padding:14px 16px; margin-bottom:14px; }
.pb-card h3 { margin:0 0 4px; font-size:14px; }
.pb-card p { margin:0; color:#6a6a74; line-height:1.45; }
.pb-card-link { display:block; text-decoration:none; color:inherit; }
.pb-card-link:hover { background:#ebebf1; }
.pb-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(220px,1fr)); gap:14px; }
.pb-grid .pb-card { margin:0; }
.pb-mail { border:1px solid #e4e4e8; border-radius:10px; overflow:hidden; }
.pb-mail-row { display:grid; grid-template-columns:150px 1fr 110px; gap:10px; padding:10px 14px; text-decoration:none; color:inherit; border-bottom:1px solid #eee; }
.pb-mail-row:last-child { border-bottom:0; }
a.pb-mail-row:hover { background:#f4f4f7; }
.pb-mail-from { font-weight:600; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.pb-mail-subj { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.pb-mail-time { color:#8a8a92; font-size:12px; text-align:right; }
.pb-meta { color:#6a6a74; font-size:12px; line-height:1.6; border-bottom:1px solid #eee; padding-bottom:10px; margin-bottom:12px; }
.pb-body p { line-height:1.6; margin:0 0 10px; }
.pb-cta { display:inline-block; background:#0a6ee0; color:#fff; padding:7px 16px; border-radius:8px; text-decoration:none; margin-top:6px; }
.pb-actions { margin-top:20px; }
.pb-btn { font:inherit; padding:6px 14px; border-radius:8px; border:1px solid #d0d0d6; background:#fff; cursor:default; }
.pb-btn:disabled { opacity:.55; }
.pb-result { margin:12px 0 0; line-height:1.55; max-width:62ch; }
@media (max-width:760px) { .pb-privacy, .pb-banner { grid-template-columns:1fr; flex-direction:column; text-align:center; } .pb-mail-row { grid-template-columns:1fr; gap:2px; } .pb-mail-time { text-align:left; } .pb-side { display:none; } }
