/* A personal card archive: violet cloth, foil, and translucent pockets. */
:root{--binder-accent:#c9a4ff;--binder-light:#eee0ff;--binder-line:#c6a2f126}
body[data-view="binders"],body[data-view="binder"]{background:radial-gradient(ellipse at 75% 0,#603f8840,transparent 48%),#100d16}body[data-view="binders"] main{max-width:1100px}body[data-view="binder"] main{max-width:1060px}body[data-view="binder"] header{display:none}body[data-view="binder"] #sync-panel{display:none}
#binders .primary,#binder .primary,.b-dialog .primary{background:linear-gradient(120deg,#c7a2f9,#a87bdf);border-color:#e8ceff55;color:#261438;box-shadow:inset 0 1px #f3e4ff77,0 8px 26px #8b4dd521}#binders .primary:hover,#binder .primary:hover,.b-dialog .primary:hover{background:linear-gradient(120deg,#dbbcff,#bb90ef)}
.b-heading{display:flex;justify-content:space-between;align-items:center;gap:25px;margin:10px 0 24px}.b-heading h1{font-size:48px;letter-spacing:-2.4px;margin:12px 0 10px;font-weight:600}.b-heading h1>span{color:#b78ce8}.b-heading p{font-size:13px;margin:0;color:#a699b6}.b-heading>.primary{width:auto;flex-shrink:0;min-width:175px}.b-heading .eyebrow{font-size:8px;letter-spacing:1.7px;color:#ac8bc8}.b-sync{display:flex;gap:8px;align-items:center;font-size:10px;color:#a290b5;padding:10px 0 18px;border-bottom:1px solid #b692df14;margin-bottom:30px}.b-sync>i{width:5px;height:5px;border-radius:50%;background:#ad91ca;flex-shrink:0}.b-sync>i[data-state="saved"]{background:#99cfb2}.b-sync>i[data-state="error"],.b-sync>i[data-state="conflict"]{background:#edbb8b}.b-sync>.text-btn{margin-left:auto;font-size:10px;min-height:28px;padding:4px}.b-footnote{font-size:10px;color:#93829f;line-height:1.7;margin:25px 0 5px}.b-shelf{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:30px}.b-shelf-item{display:block;text-align:left;background:none;border:0;padding:0;color:inherit;min-width:0;perspective:1000px}.b-shelf-item .binder-cover{width:100%;aspect-ratio: .76;max-height:360px}.b-shelf-info{padding:17px 2px 0}.b-shelf-title{display:flex;gap:14px;align-items:center;justify-content:space-between}.b-shelf-title h2{font-size:17px;letter-spacing:-.4px;margin:0;overflow-wrap:anywhere;font-weight:600}.b-shelf-title>span{color:#aa8bc2;font-size:16px}.b-shelf-info p{font-size:10px;color:#947fa7;margin:8px 0 13px}.b-progress-track{height:3px;width:100%;background:#d3b0ff10;border-radius:3px;overflow:hidden}.b-progress-track>span{display:block;height:100%;background:linear-gradient(90deg,#9266c1,#dab8fc);border-radius:inherit;transition:width .5s cubic-bezier(.2,.8,.2,1)}
.binder-cover{--cover:#604083;--cover-deep:#21142e;--cover-ink:#ead1ff;position:relative;isolation:isolate;overflow:hidden;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:30px 24px 30px 39px;border:1px solid #ffffff20;border-radius:9px 23px 23px 9px;background:radial-gradient(ellipse at 85% 0,#fff2,transparent 70%),linear-gradient(140deg,var(--cover),var(--cover-deep));color:var(--cover-ink);box-shadow:inset 1px 0 #fff2,inset 12px 0 14px #0003,inset -4px 0 #0002,5px 5px 0 -1px #2e223d,8px 8px 0 -2px #594666,0 25px 35px #0005;transform-origin:10% 50%;transition:transform .5s cubic-bezier(.2,.8,.2,1),box-shadow .5s}
[data-theme="amethyst"]{--cover:#704995;--cover-deep:#2c193e;--cover-ink:#f0d9ff}[data-theme="lavender"]{--cover:#a087c3;--cover-deep:#534164;--cover-ink:#f9eaff}[data-theme="plum"]{--cover:#76486e;--cover-deep:#30182e;--cover-ink:#f7d7f6}[data-theme="midnight"]{--cover:#38325f;--cover-deep:#171426;--cover-ink:#d9d0ff}[data-theme="iris"]{--cover:#645ca2;--cover-deep:#252044;--cover-ink:#e3ddff}[data-theme="pearl"]{--cover:#d2bddc;--cover-deep:#897096;--cover-ink:#34223f}
.binder-cover:before{content:'';position:absolute;top:0;bottom:0;left:17px;width:2px;background:#10071e33;box-shadow:1px 0 #ffffff0d;pointer-events:none}.binder-cover:after{content:'';position:absolute;inset:12px 12px 12px 29px;border:1px solid #ffffff12;border-radius:2px 14px 14px 2px;pointer-events:none}.binder-cover[data-pattern="aurora"]{background:radial-gradient(ellipse at 20% 0,#ca8fe933,transparent 55%),radial-gradient(ellipse at 110% 70%,#d2cced22,transparent 60%),linear-gradient(135deg,var(--cover),var(--cover-deep))}.binder-cover[data-pattern="linen"]{background:repeating-linear-gradient(0deg,transparent 0 2px,#00000009 2px 3px),repeating-linear-gradient(90deg,transparent 0 2px,#ffffff05 2px 3px),linear-gradient(135deg,var(--cover),var(--cover-deep))}.binder-cover[data-pattern="stars"]{background:radial-gradient(circle at 15% 20%,#f4ddff66 0 1px,transparent 1.5px),radial-gradient(circle at 65% 70%,#f4ddff44 0 1px,transparent 1.5px),radial-gradient(circle at 80% 20%,#f4ddff55 0 1px,transparent 1.5px),linear-gradient(140deg,var(--cover),var(--cover-deep));background-size:49px 69px,83px 109px,121px 91px,100% 100%}
.b-cover-brand{position:absolute;top:25px;left:33px;right:15px;font-size:6px;letter-spacing:1.9px;opacity:.6;font-weight:600}.b-cover-emblem{display:grid;place-items:center;width:78px;height:78px;font:400 65px Georgia,serif;margin:12px 0 22px;color:var(--cover-ink);text-shadow:0 1px #0003;filter:drop-shadow(0 0 15px #e7b8ff15)}.binder-cover>b{font:500 clamp(22px,3vw,34px)/1.25 'Manrope',sans-serif;letter-spacing:-1px;overflow-wrap:anywhere;max-width:100%;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.b-cover-line{width:30px;height:1px;background:currentColor;opacity:.4;margin:20px 0 16px}.binder-cover>small{font-size:6px;line-height:1.8;letter-spacing:1.3px;opacity:.65;max-width:100%;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.b-shelf-item:hover .binder-cover{transform:perspective(1000px) rotateY(-7deg) translateY(-5px);box-shadow:inset 1px 0 #fff2,inset 12px 0 14px #0003,inset -4px 0 #0002,7px 5px 0 -1px #2e223d,10px 8px 0 -2px #594666,0 35px 45px #0006}.b-shelf-item:focus-visible{outline:2px solid #d1adf8;outline-offset:10px;border-radius:20px}
.b-empty{display:grid;grid-template-columns:1fr 1.1fr;align-items:center;gap:65px;padding:45px 55px 55px;border:1px solid #b78ddb22;border-radius:30px;background:radial-gradient(ellipse at 20% 60%,#9161c324,transparent 70%),linear-gradient(145deg,#23182c77,#17111e)}.b-demo{perspective:1000px;padding:15px}.b-demo .binder-cover{width:100%;aspect-ratio:.76;max-width:280px;margin:auto;transform:rotate(-8deg) rotateY(12deg)}.b-empty h2{font-size:42px;line-height:1.15;letter-spacing:-1.5px;font-weight:500;margin:18px 0}.b-empty p{font-size:13px;line-height:1.9;max-width:380px;margin-bottom:24px}.b-empty .primary{max-width:300px;font-size:12px}.b-empty .eyebrow{font-size:8px}.b-feature-notes{display:flex;flex-wrap:wrap;gap:9px 16px;font-size:8px;color:#9e85b4;margin-top:25px}
.b-home-shortcut{width:100%;display:flex;gap:18px;align-items:center;text-align:left;border:1px solid #b58ce03b;border-radius:22px;padding:23px 26px;margin:0 0 30px;background:radial-gradient(ellipse at 100% 0,#9867c726,transparent 70%),linear-gradient(100deg,#2d1d40,#1b1623);color:#eadaf7;box-shadow:inset 0 1px #ffffff07}.b-home-mini{font:30px Georgia,serif;width:42px;height:57px;border:1px solid #c89aef35;border-radius:3px 9px 9px 3px;display:grid;place-items:center;background:linear-gradient(145deg,#8059a5,#332243);box-shadow:3px 3px 0 #9a70bb22;transform:rotate(-6deg);flex-shrink:0}.b-home-shortcut>span:nth-child(2){flex:1;min-width:0}.b-home-shortcut small{font-size:7px;color:#b393d3;letter-spacing:1.3px}.b-home-shortcut b{display:block;font:600 23px 'Manrope',sans-serif;letter-spacing:-.5px;margin:5px 0}.b-home-shortcut>span>span{font-size:11px;color:#a692ba}.b-home-shortcut>i{font-style:normal;font-size:24px;color:#c6a2e9}.b-home-shortcut:hover{border-color:#d3afff70}.b-home-shortcut:hover .b-home-mini{transform:rotate(0) translateY(-3px)}.b-home-mini{transition:transform .4s}.b-collection-tabs{display:flex;gap:8px;border-bottom:1px solid #ffffff0d;margin-top:17px;padding-bottom:10px}.b-collection-tabs button{font-size:11px;padding:9px 13px;background:none;border:0;color:#9c87b2;border-radius:9px}.b-collection-tabs button.active{background:#bb91e315;color:#debcfc}.b-detail-add{margin:20px 0 8px;border-color:#c39be744!important;background:#b28dde12!important;color:#dfc3f8!important}
/* The page is a real grid of card-shaped sleeves. */
.b-reader-top{display:flex;align-items:center;gap:15px;margin:12px 0 22px}.b-reader-top>div{flex:1;min-width:0}.b-reader-top h1{font-size:25px;font-weight:600;line-height:1.3;letter-spacing:-.8px;margin:5px 0 0;overflow-wrap:anywhere}.b-reader-top .eyebrow{font-size:7px;letter-spacing:1.5px}.b-reader-top .eyebrow:before{display:none}.b-icon-button{width:43px;height:43px;display:grid;place-items:center;flex-shrink:0;border-radius:13px;border:1px solid #c49feb24;background:#c49feb08;color:#cdb0e7;font-size:25px}.b-icon-button svg{width:20px;height:20px}.b-icon-button:hover{background:#c49feb16}.b-reader-meta{display:flex;justify-content:space-between;gap:20px;align-items:center;font-size:10px;color:#9d85b2;margin:0 0 12px}.b-reader-meta>span:first-child{overflow-wrap:anywhere}.b-reader-meta>span:last-child{flex-shrink:0;color:#c4a5df}.b-reader-actions{display:flex;gap:10px;align-items:center;margin:22px 0 24px}.b-reader-actions>.primary,.b-reader-actions>.secondary{width:auto;font-size:12px;min-height:45px;padding:12px 18px}.b-reader-actions>.b-icon-button{margin-left:auto}.b-icon-button[aria-pressed="true"]{background:#b489db30;border-color:#cfa6f2aa}.b-page-window{--b-cols:3;--b-rows:3;overflow-x:auto;padding:10px 10px 25px;scrollbar-width:thin;scrollbar-color:#8b61b1 #1c1425;overscroll-behavior-x:contain}.b-book{position:relative;width:min(100%,calc(68svh * var(--b-cols) / var(--b-rows) * .716 + 72px));min-width:calc(var(--b-cols) * 44px + (var(--b-cols) - 1) * 6px + 55px);margin:0 auto;padding:20px 20px 15px 38px;border:1px solid #c39fe332;border-radius:12px 24px 24px 12px;background:radial-gradient(ellipse at 90% 0,#c6a0ea09,transparent 80%),#221a2c;box-shadow:inset 0 1px #fff1,4px 6px 0 -1px #100b18,5px 7px 0 0 #9e7aba25,0 20px 35px #0004}.b-book:before{content:'';position:absolute;left:19px;top:0;bottom:0;width:1px;background:#0c061799;box-shadow:1px 0 #ffffff06}.b-binding{position:absolute;left:7px;top:24%;bottom:24%;display:flex;flex-direction:column;justify-content:space-between;z-index:2}.b-binding i{display:block;width:19px;height:8px;border:1px solid #b9a7c959;border-radius:7px;background:linear-gradient(#40364f,#b3a2c3 45%,#4b3c5d);box-shadow:0 2px 4px #0006}.b-page-header,.b-page-footer{display:flex;justify-content:space-between;gap:10px;font-size:7px;letter-spacing:1.4px;color:#9783a8;margin:0 0 14px}.b-page-footer{font-size:6px;margin:14px 0 0;color:#73617f}.b-page{display:grid;grid-template-columns:repeat(var(--b-cols),minmax(0,1fr));gap:8px;transform-origin:left center}.b-pocket{isolation:isolate;position:relative;aspect-ratio:63/88;border:1px solid #a889c32b;border-radius:9px;overflow:hidden;padding:5px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;background:linear-gradient(145deg,#ffffff07,#ffffff00 45%),#16101f;box-shadow:inset 0 1px 2px #ffffff0c,inset 0 -1px 3px #0008;cursor:pointer;min-width:0;color:#a686be;transition:border-color .25s,background .25s,transform .25s}.b-pocket:before{content:'';position:absolute;inset:4px;border:1px dashed #b28cc22b;border-radius:5px;pointer-events:none;z-index:-1}.b-pocket:after{content:'';position:absolute;inset:0;border-radius:inherit;background:linear-gradient(125deg,#fff1,transparent 28%,transparent 75%,#cfb6e907);pointer-events:none}.b-pocket[data-filled="true"]{padding:3px;background:#100c15;border-color:#b896d33b}.b-pocket[data-filled="true"]:before{border:0}.b-pocket-art{display:block;width:100%;height:100%;object-fit:contain;border-radius:5px;filter:drop-shadow(0 3px 3px #0008);transition:transform .35s}.b-pocket-plus{font-size:clamp(15px,3vw,29px);font-weight:300;line-height:1;color:#9b7caf}.b-pocket-hint{font-size:8px;color:#746080}.b-pocket-number{position:absolute;bottom:7px;left:8px;font-size:6px;color:#80668f;letter-spacing:1px;pointer-events:none}.b-pocket[data-filled="true"] .b-pocket-number{bottom:4px;left:4px;background:#16101fcc;padding:3px 4px;border-radius:4px;color:#d3b5ea;opacity:0;transition:opacity .2s}.b-pocket:hover{border-color:#cda6f370;background-color:#2b1d3a}.b-pocket:hover .b-pocket-art{transform:translateY(-2px) scale(1.015)}.b-pocket:hover .b-pocket-number,.b-pocket:focus-visible .b-pocket-number{opacity:1}.b-pocket-fallback{font-size:clamp(7px,1.3vw,12px);line-height:1.5;overflow-wrap:anywhere;max-width:100%;padding:8px;color:#c1a1d8}.b-pocket[data-moving="true"]{border-color:#efc5ff;box-shadow:0 0 0 2px #bd8bf899,inset 0 0 18px #d8b0ff11}.b-pocket.is-dragging{opacity:.4}.b-pocket.drop-target{border-color:#e4bbff;background:#8054aa66;transform:scale(1.035)}.b-page-window[data-zoom="true"] .b-book{width:980px;max-width:none;min-width:980px}.b-page-window[data-zoom="true"] .b-pocket-hint{font-size:10px}.b-page-window[data-zoom="true"] .b-pocket-number{font-size:9px}
.b-pagination{display:flex;align-items:center;gap:15px;width:max-content;max-width:100%;margin:8px auto 12px;border:1px solid #bd97de22;border-radius:28px;padding:5px 7px;background:#1c1425}.b-pagination button{width:42px;height:42px;background:none;border:0;border-radius:50%;color:#ca9eea;font-size:29px}.b-pagination button:hover{background:#b487d810}.b-pagination button:disabled{opacity:.25}.b-pagination select{width:auto;min-width:130px;min-height:40px;border:0;background:none;color:#d6bee8;text-align:center;font-size:12px;padding:9px 6px}.b-reader-bottom{display:flex;gap:20px;align-items:center;justify-content:center;margin:8px auto 0;max-width:730px}.b-reader-bottom p{font-size:10px;line-height:1.8;color:#897498;margin:0;max-width:470px}.b-reader-bottom button{white-space:nowrap;font-size:10px}.b-reader-bottom+.b-footnote{text-align:center;font-size:9px;margin-top:14px}.b-move-banner{display:flex;align-items:center;gap:12px;justify-content:space-between;border:1px solid #cfa4ef55;background:#8654b122;border-radius:14px;padding:13px 16px;font-size:11px;color:#d9bbee;margin-bottom:14px}.b-move-banner .text-btn{padding:0;font-size:11px}
/* Native dialogs provide focus containment and keyboard dismissal. */
.b-dialog{color-scheme:dark;border:1px solid #c9a3ef32;background:radial-gradient(ellipse at 100% 0,#623d8026,transparent 60%),#19121f;color:#f3e8fc;border-radius:27px;padding:27px;width:min(780px,calc(100% - 32px));max-height:calc(100svh - 40px);overflow:auto;overscroll-behavior:contain;box-shadow:0 30px 120px #0009;scrollbar-width:thin;scrollbar-color:#74528d #19121f}.b-dialog::backdrop{background:#09050dcc;backdrop-filter:blur(9px)}.b-dialog-heading{display:flex;gap:20px;justify-content:space-between;align-items:flex-start;margin:0 0 24px}.b-dialog-heading h2{font-size:25px;line-height:1.3;font-weight:500;letter-spacing:-.8px;margin:8px 0 0;overflow-wrap:anywhere}.b-dialog-heading .eyebrow{font-size:7px;letter-spacing:1.5px;color:#ad85cb}.b-dialog-heading .eyebrow:before{display:none}.b-dialog-heading p{font-size:11px;margin:8px 0 0;color:#a48ab7}.b-dialog .b-icon-button{border-radius:50%;width:36px;height:36px;background:#ffffff04;font-size:23px}.b-dialog label,.b-dialog legend{font-size:11px;font-weight:500;color:#c8aedc}.b-dialog label{margin:19px 0 8px}.b-dialog input:not([type="checkbox"]),.b-dialog select{font-size:12px;min-height:46px;border-color:#b48bd323;background:#110b19;color:#ede0f7;border-radius:12px}.b-dialog input::placeholder{color:#756080}.b-dialog input:focus,.b-dialog select:focus{border-color:#b88ce1;box-shadow:0 0 0 3px #bd91e313}.b-optional{color:#80678f;font-size:9px;font-weight:400;margin-left:5px}.b-config-layout{display:grid;grid-template-columns:220px minmax(0,1fr);gap:30px;align-items:start}.b-config-preview{position:sticky;top:0;padding:10px 7px 0 0}.b-config-preview .binder-cover{width:100%;aspect-ratio:.73;max-height:310px;padding-left:32px}.b-config-preview .binder-cover>b{font-size:25px}.b-config-preview .b-cover-emblem{font-size:51px;width:64px;height:64px;margin:20px 0}.b-config-preview .b-cover-brand{font-size:5px;letter-spacing:1px;left:27px;top:22px}.b-config-preview .binder-cover>small{font-size:5px}.b-preview-capacity{text-align:center;margin:25px 0 15px}.b-preview-capacity strong{font:500 28px 'Manrope',sans-serif;color:#dab6fc;font-variant-numeric:tabular-nums}.b-preview-capacity span{display:block;font-size:9px;color:#8d739f;margin-top:6px}.b-config-fields{min-width:0}.b-config-fields>label:first-child{margin-top:0}.b-dialog fieldset{padding:0;border:0;margin:24px 0 0;min-width:0}.b-dialog legend{padding:0;margin:0 0 13px;line-height:1.6}.b-themes{display:flex;gap:12px;flex-wrap:wrap}.b-themes button{width:34px;height:34px;border-radius:50%;background:var(--swatch);border:1px solid #ffffff24;position:relative;box-shadow:inset 0 1px #ffffff20}.b-themes button[aria-pressed="true"]:before{content:'';position:absolute;inset:-4px;border:1px solid #d0adee;border-radius:50%}.b-themes button[aria-pressed="true"]:after{content:'✓';font-size:16px;color:#fff;text-shadow:0 1px 3px #0008}.b-patterns{display:flex;gap:8px}.b-patterns button{flex:1;background:#ffffff03;border:1px solid #a97fc223;border-radius:10px;padding:10px 6px;min-height:40px;font-size:10px;color:#a48cb7}.b-patterns button[data-value="linen"]{background:repeating-linear-gradient(0deg,#ffffff04 0 1px,transparent 1px 3px)}.b-patterns button[data-value="stars"]{background:radial-gradient(circle,#ffffff10 1px,transparent 1px);background-size:9px 9px}.b-patterns button[aria-pressed="true"],.b-emblems button[aria-pressed="true"]{background-color:#ab7dd124;border-color:#b78bda88;color:#e4c8fc}.b-emblems{display:flex;flex-wrap:wrap;gap:10px}.b-emblems button{width:48px;height:40px;border-radius:10px;background:#ffffff03;border:1px solid #a97fc223;color:#af91c6;font:24px Georgia,serif}.b-layouts{display:grid;grid-template-columns:1fr 1fr;gap:9px}.b-layout-choice{display:flex;align-items:center;gap:13px;padding:12px;border:1px solid #9c76b622;background:#ffffff02;border-radius:12px;text-align:left;color:#b495cc;min-height:71px}.b-layout-choice[aria-pressed="true"]{background:linear-gradient(130deg,#9262bb25,#b17ed00d);border-color:#bc8ce5;box-shadow:inset 0 0 0 1px #b081d955}.b-layout-choice>span:last-child{min-width:0}.b-layout-choice b{display:block;font-size:14px;font-weight:500;color:#dcc0f1;white-space:nowrap}.b-layout-choice small{display:block;font-size:8px;color:#8f6da5;margin-top:5px;white-space:nowrap}.b-mini-grid{display:grid;grid-template-columns:repeat(var(--mini-cols),1fr);gap:3px;flex-shrink:0;width:30px}.b-mini-grid i{display:block;aspect-ratio:63/88;border-radius:1px;background:#9a74b74d}.b-layout-choice[aria-pressed="true"] .b-mini-grid i{background:#b78ade}.b-page-stepper{display:flex;align-items:center;gap:9px}.b-page-stepper button{width:36px;height:40px;flex-shrink:0;border:1px solid #b888da25;border-radius:10px;background:#b88cda08;color:#c29cdd;font-size:19px}.b-page-stepper input{width:65px;text-align:center;min-height:40px!important;padding:10px;-moz-appearance:textfield}.b-page-stepper input::-webkit-inner-spin-button{display:none}.b-page-stepper>span{font-size:9px;color:#826690;margin-left:4px}.b-config-fields .fine{font-size:10px;color:#8b719c;line-height:1.7;margin:13px 0 0}.b-dialog-footer{display:flex;gap:15px;align-items:center;justify-content:space-between;margin-top:25px;padding:20px 0 0;border-top:1px solid #b590d420}.b-dialog-footer .primary{max-width:300px;margin-left:auto;font-size:12px}.b-danger{color:#d3a1b5!important}.b-dialog-footer .b-danger{font-size:11px}.b-error{font-size:11px;line-height:1.7;background:#ac728612;color:#e2acc0;border:1px solid #d395ad33;padding:13px 15px;border-radius:12px;margin:17px 0 0}
/* Selecting cards is a gallery, with quantities and an explicit capacity preview. */
.b-picker-dialog{width:min(840px,calc(100% - 32px));padding-bottom:0}.b-picker-filters{display:flex;gap:10px}.b-picker-filters input{flex:1;min-width:0}.b-picker-filters select{width:170px}.b-picker-tools{display:flex;gap:12px;align-items:center;margin:12px 0 16px}.b-picker-tools>span{font-size:10px;color:#8f75a2;flex:1}.b-picker-tools button{font-size:10px;min-height:32px;padding:7px 0}.b-picker-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px}.b-pick-item{border:1px solid #a77bc222;border-radius:16px;background:#100b16;overflow:hidden;min-width:0;transition:border-color .2s,background .2s}.b-pick-item[data-selected="true"]{border-color:#bd8be4;background:#291a37;box-shadow:0 0 0 1px #b184d455}.b-pick-card{display:block;width:100%;text-align:left;padding:9px;background:none;border:0;color:inherit}.b-pick-art{position:relative;height:170px;display:grid;place-items:center;background:radial-gradient(ellipse at 50% 90%,#9f64ca14,transparent 75%);border-radius:9px}.b-pick-art>img{height:100%;width:100%;object-fit:contain;filter:drop-shadow(0 4px 5px #0006)}.b-pick-art>span:not(.b-pick-check){font-size:35px;color:#ae83cc}.b-pick-check{position:absolute;top:2px;right:2px;border:1px solid #c89ee53b;border-radius:50%;width:24px;height:24px;display:grid;place-items:center;background:#21132ee6;color:#d1abed;font-size:14px}.b-pick-item[data-selected="true"] .b-pick-check{background:#c39ae5;color:#261137;border-color:#e1b9ff}.b-pick-card>b{display:block;font-size:11px;font-weight:500;line-height:1.5;margin:12px 1px 5px;overflow-wrap:anywhere}.b-pick-card>small{display:block;font-size:8px;line-height:1.5;color:#9578aa;padding:0 1px}.b-copy-controls{display:flex;gap:6px;align-items:center;justify-content:center;min-height:37px;padding:3px 6px 7px}.b-copy-controls>span{font-size:9px;color:#aa8dbe;text-align:center}.b-copy-controls button{width:29px;height:29px;border:1px solid #b78fce2b;border-radius:8px;background:#ffffff04;color:#ddbcf5;font-size:16px}.b-picker-footer{position:sticky;bottom:0;background:#19121ff5;backdrop-filter:blur(20px);border-top:1px solid #c69ce62b;margin:22px -27px 0;padding:15px 27px 22px;z-index:3}.b-picker-footer>div{display:flex;gap:18px;align-items:center;justify-content:space-between}.b-picker-footer>div>span{font-size:11px;color:#c5a4dc;line-height:1.6}.b-picker-footer .primary{max-width:240px;min-height:47px;font-size:12px}.b-grow-label{display:flex;align-items:center;gap:9px;font-size:10px!important;line-height:1.6;margin:0 0 13px!important;color:#967da6!important}.b-grow-label input{width:16px;height:16px;min-height:0;padding:0;accent-color:#ba90e0;flex-shrink:0}.b-picker-empty{padding:35px 15px;text-align:center;font-size:12px;line-height:1.8;color:#a386b8}.b-picker-dialog>.secondary{margin-top:16px;font-size:11px}.b-slot-dialog{max-width:410px}.b-slot-dialog .b-dialog-heading h2{font-size:22px}.b-slot-dialog>img{display:block;max-width:65%;max-height:34svh;object-fit:contain;border-radius:10px;margin:10px auto 20px;filter:drop-shadow(0 12px 15px #0005)}.b-slot-dialog>p:not(.b-footnote){font-size:11px;text-align:center;line-height:1.8;color:#a78ab9}.b-slot-actions{display:grid;gap:9px}.b-slot-actions>.primary,.b-slot-actions>.secondary{font-size:11px;min-height:45px}.b-slot-actions>.text-btn{font-size:11px}.b-slot-dialog .b-footnote{font-size:9px;text-align:center;margin-top:12px}.b-choose-dialog{max-width:440px}.b-choose-item{display:flex;gap:15px;align-items:center;width:100%;text-align:left;border:1px solid #b686d52b;border-radius:15px;padding:15px;background:#a376c407;margin-bottom:10px}.b-choose-cover{display:grid;place-items:center;width:37px;height:50px;border-radius:3px 9px 9px 3px;flex-shrink:0;background:linear-gradient(145deg,var(--cover),var(--cover-deep));color:var(--cover-ink);font:24px Georgia,serif;border:1px solid #fff2}.b-choose-item>span:nth-child(2){flex:1;min-width:0}.b-choose-item b{display:block;font-size:13px;overflow-wrap:anywhere;font-weight:500;color:#dec3ee}.b-choose-item small{display:block;font-size:9px;margin-top:5px;color:#9d79b6}.b-choose-item>span:last-child{color:#a27fb9}.b-choose-dialog>.secondary{margin-top:18px;font-size:11px}
@keyframes binder-open{from{opacity:0;transform:translateY(16px) scale(.97)}to{opacity:1;transform:none}}@keyframes binder-cover-rise{from{opacity:0;transform:translateY(15px) rotateY(-10deg)}to{opacity:1;transform:none}}@media(prefers-reduced-motion:no-preference){.b-dialog[open]{animation:binder-open .3s cubic-bezier(.2,.8,.2,1)}.b-shelf-item{animation:binder-cover-rise .45s cubic-bezier(.2,.8,.2,1) both}.b-shelf-item:nth-child(2){animation-delay:.05s}.b-shelf-item:nth-child(3){animation-delay:.1s}.b-pick-item{animation:binder-open .22s ease-out both}}
@media(max-width:850px){.b-shelf{grid-template-columns:repeat(2,minmax(0,1fr));gap:25px}.b-empty{gap:35px;padding:35px}.b-empty h2{font-size:35px}.b-empty p{font-size:12px}.b-config-layout{grid-template-columns:190px minmax(0,1fr);gap:25px}.b-pick-art{height:150px}}
@media(max-width:700px){
 .b-heading{gap:10px;flex-wrap:wrap;margin-top:6px;margin-bottom:19px}.b-heading h1{font-size:36px;letter-spacing:-1.6px;margin:10px 0}.b-heading p{font-size:11px}.b-heading .eyebrow{font-size:6px;letter-spacing:1.4px}.b-heading>.primary{font-size:10px;min-width:0;min-height:43px;padding:11px 14px;border-radius:12px}.b-sync{font-size:9px;margin-bottom:23px;padding-bottom:13px}.b-sync>.text-btn{font-size:9px}.b-shelf{gap:24px 18px}.b-shelf-item .binder-cover{aspect-ratio:.72;max-height:none;padding:23px 13px 23px 23px;border-radius:7px 17px 17px 7px}.binder-cover:before{left:12px}.binder-cover:after{inset:8px 8px 8px 21px;border-radius:2px 9px 9px 2px}.b-cover-brand{top:17px;left:23px;font-size:4px;letter-spacing:.7px}.b-shelf-item .b-cover-emblem{width:45px;height:45px;font-size:39px;margin:10px 0 13px}.b-shelf-item .binder-cover>b{font-size:20px;letter-spacing:-.6px}.b-cover-line{width:20px;margin:13px 0 10px}.b-shelf-item .binder-cover>small{font-size:4px;letter-spacing:.8px}.b-shelf-info{padding-top:14px}.b-shelf-title h2{font-size:13px;line-height:1.5;letter-spacing:-.2px}.b-shelf-title>span{font-size:13px}.b-shelf-info p{font-size:8px;line-height:1.7;margin:5px 0 10px}.b-empty{display:flex;flex-direction:column;gap:30px;padding:30px 24px;border-radius:24px;text-align:center}.b-demo{padding:10px 30px 5px;width:100%;max-width:270px}.b-demo .binder-cover{min-height:250px;max-height:280px}.b-demo .binder-cover>b{font-size:28px}.b-demo .b-cover-emblem{font-size:50px;width:60px;height:60px;margin:10px 0 15px}.b-demo .b-cover-brand{font-size:5px;left:26px;top:22px}.b-demo .binder-cover>small{font-size:5px}.b-empty h2{font-size:33px;line-height:1.2;margin:15px 0}.b-empty h2 br{display:none}.b-empty .eyebrow{font-size:7px}.b-empty p{font-size:11px;line-height:1.9;margin-bottom:20px}.b-empty .primary{max-width:none;font-size:11px;min-height:48px}.b-feature-notes{justify-content:center;font-size:7px;gap:8px 12px;margin-top:19px}.b-home-shortcut{padding:19px 18px;gap:15px;border-radius:19px;margin-bottom:25px}.b-home-shortcut small{font-size:5.5px;letter-spacing:.8px}.b-home-shortcut b{font-size:21px;margin:5px 0}.b-home-shortcut>span>span{font-size:9px;line-height:1.7;display:block}.b-home-shortcut>i{font-size:19px}.b-home-mini{width:35px;height:49px;font-size:25px}.b-footnote{font-size:9px;margin-top:23px}.b-reader-top{margin:5px 0 18px;gap:12px}.b-reader-top h1{font-size:21px;letter-spacing:-.6px}.b-reader-top .eyebrow{font-size:6px}.b-reader-top .round-control,.b-reader-top .b-icon-button{height:38px;width:38px}.b-reader-meta{font-size:8px;gap:10px}.b-reader-actions{gap:8px;margin:18px 0 13px}.b-reader-actions>.primary,.b-reader-actions>.secondary{font-size:10px;min-height:43px;padding:10px 13px}.b-reader-actions>.b-icon-button{width:38px;height:40px}.b-page-window{padding:8px 7px 20px;margin:0 -7px}.b-book{padding:15px 12px 12px 26px;min-width:calc(var(--b-cols) * 44px + (var(--b-cols) - 1) * 5px + 40px);width:min(100%,calc(68svh * var(--b-cols) / var(--b-rows) * .716 + 50px));border-radius:9px 18px 18px 9px}.b-book:before{left:13px}.b-binding{left:3px}.b-binding i{width:16px;height:6px}.b-page{gap:5px}.b-page-header{font-size:6px;letter-spacing:1px;margin-bottom:11px}.b-page-footer{font-size:5px;letter-spacing:1px;margin-top:10px}.b-pocket{border-radius:7px;gap:6px;padding:3px}.b-pocket:before{inset:3px;border-radius:4px}.b-pocket[data-filled="true"]{padding:2px}.b-pocket-art{border-radius:3px}.b-pocket-plus{font-size:21px}.b-pocket-hint{font-size:6px}.b-pocket-number{font-size:5px;bottom:5px;left:6px}.b-pocket-fallback{font-size:8px;padding:4px}.b-pagination{gap:10px;padding:3px 5px;margin:4px auto 12px}.b-pagination button{width:37px;height:37px;font-size:26px}.b-pagination select{font-size:11px;min-width:120px;min-height:37px}.b-reader-bottom{display:block;text-align:center;margin-top:3px}.b-reader-bottom p{font-size:9px;max-width:300px;margin:auto}.b-reader-bottom button{font-size:10px;min-height:32px;margin-top:6px}.b-reader-bottom+.b-footnote{font-size:8px;margin-top:7px}.b-move-banner{font-size:10px;padding:11px 13px;line-height:1.7;gap:9px}.b-move-banner .text-btn{font-size:10px}.b-page-window[data-zoom="true"] .b-book{min-width:600px;width:600px}.b-page-window[data-zoom="true"] .b-pocket-hint{font-size:9px}
 .b-dialog{padding:21px;width:calc(100% - 18px);max-height:calc(100svh - 24px);border-radius:24px}.b-dialog-heading{gap:12px;margin-bottom:22px}.b-dialog-heading h2{font-size:23px;letter-spacing:-.7px}.b-dialog-heading .eyebrow{font-size:6px;letter-spacing:1.2px}.b-dialog-heading p{font-size:10px}.b-config-layout{display:block}.b-config-preview{position:static;display:flex;gap:24px;align-items:center;padding:0 3px 25px;border-bottom:1px solid #be93dc17;margin-bottom:24px}.b-config-preview .binder-cover{width:132px;min-width:132px;aspect-ratio:.75;padding:25px 12px 18px 24px;border-radius:6px 13px 13px 6px;max-height:180px}.b-config-preview .binder-cover>b{font-size:17px;letter-spacing:-.5px}.b-config-preview .b-cover-emblem{font-size:30px;width:34px;height:34px;margin:8px 0 12px}.b-config-preview .b-cover-brand{font-size:3px;letter-spacing:.6px;left:20px;top:15px}.b-config-preview .binder-cover>small{font-size:3px;letter-spacing:.5px}.b-config-preview .b-cover-line{margin:10px 0 8px;width:18px}.b-preview-capacity{margin:0;text-align:left;min-width:0}.b-preview-capacity strong{font-size:35px}.b-preview-capacity span{font-size:10px;line-height:1.7;max-width:95px;margin-top:8px}.b-dialog input:not([type="checkbox"]),.b-dialog select{font-size:16px;min-height:47px}.b-dialog label,.b-dialog legend{font-size:11px}.b-optional{font-size:9px}.b-themes{gap:15px}.b-themes button{width:34px;height:34px}.b-patterns button{font-size:10px}.b-layouts{gap:9px}.b-layout-choice{padding:13px 11px;gap:12px;min-height:76px}.b-layout-choice b{font-size:15px}.b-layout-choice small{font-size:9px}.b-mini-grid{width:32px;gap:3px}.b-page-stepper input{width:65px}.b-page-stepper>span{font-size:9px}.b-dialog-footer{position:sticky;bottom:-21px;background:#19121ff5;backdrop-filter:blur(15px);padding:18px 0 21px;margin:22px 0 -21px;gap:10px;z-index:3}.b-dialog-footer .primary{font-size:12px;min-height:47px;max-width:235px}.b-dialog-footer .b-danger{font-size:10px;max-width:80px;line-height:1.5}.b-picker-dialog{padding-bottom:0}.b-picker-filters{gap:8px;flex-wrap:wrap}.b-picker-filters input{width:100%;flex-basis:100%;font-size:16px}.b-picker-filters select{font-size:12px;min-height:39px;width:100%;padding:10px}.b-picker-tools{gap:10px;margin:9px 0 14px}.b-picker-tools>span{font-size:9px}.b-picker-tools button{font-size:9px}.b-picker-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.b-pick-item{border-radius:12px}.b-pick-card{padding:6px}.b-pick-art{height:125px}.b-pick-card>b{font-size:9px;line-height:1.5;margin-top:9px}.b-pick-card>small{font-size:6.5px;line-height:1.6}.b-pick-check{width:21px;height:21px;font-size:12px}.b-copy-controls{min-height:31px;gap:3px;padding:2px 3px 5px}.b-copy-controls>span{font-size:7px}.b-copy-controls button{width:25px;height:25px;font-size:14px;border-radius:6px}.b-picker-footer{margin:20px -21px 0;padding:14px 21px 20px}.b-picker-footer>div{gap:10px}.b-picker-footer .primary{width:auto;max-width:none;font-size:11px;min-height:44px;padding:12px 15px;flex-shrink:0}.b-picker-footer>div>span{font-size:9px;line-height:1.7}.b-grow-label{font-size:9px!important;margin-bottom:10px!important;align-items:flex-start}.b-grow-label input{width:16px;height:16px;margin-top:2px}.b-error{font-size:10px;padding:11px 13px}.b-slot-dialog{max-width:370px}.b-slot-dialog .b-dialog-heading h2{font-size:21px}.b-slot-dialog>img{max-height:32svh}.b-slot-dialog .b-footnote{font-size:8px}.b-choose-item{padding:12px;gap:13px}.b-choose-item b{font-size:12px}.b-choose-item small{font-size:8px}.b-choose-dialog{max-width:400px}
}
@media(max-width:370px){.b-heading h1{font-size:32px}.b-heading>.primary{font-size:9px;padding:10px 11px}.b-shelf{gap:22px 14px}.b-shelf-item .binder-cover>b{font-size:18px}.b-config-preview .binder-cover{width:115px;min-width:115px}.b-themes{gap:13px}.b-themes button{width:30px;height:30px}.b-dialog{padding:18px}.b-layout-choice{gap:10px;padding:12px 9px}.b-mini-grid{width:27px}.b-dialog-footer{bottom:-18px;margin-bottom:-18px;padding-bottom:18px}.b-picker-dialog{padding-bottom:0}.b-picker-footer{margin-left:-18px;margin-right:-18px;padding-left:18px;padding-right:18px}.b-pick-art{height:105px}.b-reader-actions>.primary,.b-reader-actions>.secondary{font-size:9px;padding:10px 11px}}
@media(prefers-reduced-motion:reduce){.b-dialog,.b-shelf-item,.b-pick-item,.binder-cover,.b-pocket,.b-pocket-art,.b-home-mini{animation:none!important;transition:none!important}.b-shelf-item:hover .binder-cover,.b-pocket:hover .b-pocket-art{transform:none}}
.add-source-options{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:20px 0 28px}.add-source-options button{display:flex;flex-direction:column;align-items:flex-start;text-align:left;gap:7px;padding:20px;min-height:94px}.add-source-options b{font-size:15px}.add-source-options span{font-size:12px;font-weight:400;opacity:.8}.add-destination{padding:12px 18px;margin:16px auto;border:1px solid #9c77e451;border-radius:16px;background:#9b68e512;display:flex;align-items:center;justify-content:space-between;gap:12px;max-width:750px;font-size:13px}.add-destination[hidden]{display:none}body[data-lookup-mode="catalog"] #processing .processing-symbol{display:none}body[data-lookup-mode="catalog"] #processing .aim-pill{font-size:0}body[data-lookup-mode="catalog"] #processing .aim-pill:after{content:'Katalog kart';font-size:13px}body[data-lookup-mode="catalog"] #catalog-panel{border-color:#9c77e4}body[data-lookup-mode="catalog"] #processing h1{margin-top:28px}@media(max-width:480px){.add-source-options{grid-template-columns:1fr}.add-source-options button{min-height:76px;padding:16px}}
.b-value-panel{margin:20px 0;padding:22px;border:1px solid #a178d94d;border-radius:22px;background:linear-gradient(120deg,#895bce1f,#bfa0ef08)}.b-value-panel>strong{display:block;font-size:clamp(25px,5vw,38px);letter-spacing:-1px;margin:10px 0}.b-value-panel>p{margin:8px 0 14px}.b-price-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:20px 0}.b-price-grid>div{padding:15px;border:1px solid #9878b735;border-radius:14px;background:#9676bb0c}.b-price-grid>div:last-child{grid-column:1/-1}.b-price-grid small,.b-price-grid span{display:block;font-size:11px;color:var(--muted,#aaa);line-height:1.5}.b-price-grid strong{display:block;font-size:24px;margin:8px 0}.b-price-grid [data-trend=up]{color:#78dcb0}.b-price-grid [data-trend=down]{color:#f19ba7}.b-manual-price{margin:18px 0}.b-manual-price input,.b-manual-price select{margin:8px 0}
html,body{touch-action:pan-x pan-y;overscroll-behavior-x:none}button,a,input,select,summary{touch-action:manipulation}input,select,textarea{font-size:16px!important}/* Compact currency control next to the profile; exchange details at the end of the page. */
.header-end{gap:10px;flex-shrink:0}.header-currency{position:relative;flex-shrink:0}.header-currency:after{content:'';position:absolute;right:13px;top:calc(50% - 4px);width:6px;height:6px;border-right:1.5px solid #cbb8e0;border-bottom:1.5px solid #cbb8e0;transform:rotate(45deg);pointer-events:none}.header-currency #display-currency{appearance:none;-webkit-appearance:none;width:80px;min-height:40px;height:40px;margin:0;padding:0 27px 0 12px;border:1px solid #c9ade72b;border-radius:13px;background:#c4a5e50b;color:#e4d6f1;font-weight:600;line-height:normal;cursor:pointer}.header-currency #display-currency:focus-visible{outline:2px solid #c29bf5;outline-offset:3px}.pricing-footer{margin:42px 0 0;padding:20px 0 4px;border-top:1px solid #c4a5e51c;color:#93879e;font-size:11px;line-height:1.7}.pricing-footer-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.pricing-footer-heading>span{color:#b5a5c5;font-weight:600}.pricing-footer #fx-refresh{margin:0;min-height:40px;padding:8px 0;font-size:11px;white-space:nowrap}.pricing-footer #fx-refresh>span{margin-right:5px}.pricing-footer p{margin:6px 0 0;font-size:11px;line-height:1.7;color:inherit}@media(max-width:600px){.header-end{gap:8px}.header-currency #display-currency{width:76px;min-height:36px;height:36px;border-radius:12px;padding-left:10px}.pricing-footer{margin-top:32px;padding-top:16px}.pricing-footer p{font-size:10px}}@media(max-width:350px){header .brand{font-size:20px;gap:8px}.header-end{gap:6px}}

/* The pockets, page number and footer turn together around the book's spine. */
.b-book{perspective:1800px;perspective-origin:50% 45%}.b-sheet{position:relative;transform-origin:left center;backface-visibility:hidden;background:#221a2c;border-radius:3px 12px 12px 3px}.b-sheet:after{content:'';position:absolute;inset:0;pointer-events:none;border-radius:inherit;background:linear-gradient(90deg,#09041155,transparent 15%,#dbb8ff0a 80%,#e6caff19);opacity:0;transition:opacity .18s}.b-page-window[data-turning] .b-sheet{will-change:transform,filter;pointer-events:none}.b-page-window[data-turning] .b-sheet:after{opacity:1}.b-page-window[data-turning="previous"] .b-sheet:after{transform:scaleX(-1)}.b-page-window[data-turning] .b-pocket{animation:none!important}.b-pagination button{transition:background .2s,color .2s,opacity .2s}.b-pagination button:disabled{opacity:.3}@media(prefers-reduced-motion:reduce){.b-sheet:after{transition:none}}
