/* KONEBE V2.109. Existing dark mobile shell; single scrolling content region. */
.scc-layout{height:100%;min-height:0;display:flex;flex-direction:column;color:#edf8ff;background:transparent;font:13px/1.5 Inter,system-ui,sans-serif}
.scc-toolbar{height:58px;flex:0 0 58px;display:flex;align-items:center;justify-content:center;position:relative;border-bottom:1px solid rgba(155,184,190,.18);margin:0 18px}
.scc-toolbar h1{font-size:17px;line-height:1.3;text-align:center;font-weight:750;margin:0}
.scc-back{position:absolute;left:0;top:7px;border:0!important;background:transparent!important;color:#c2ff65!important;font:400 30px/1 Inter,system-ui;min-width:44px;min-height:44px;padding:0;cursor:pointer}
.scc-scroll{flex:1 1 auto;min-height:0;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:none;padding:15px 20px 30px;overflow-anchor:none}
.scc-scroll::-webkit-scrollbar{width:0;height:0;display:none}
.scc-progress{text-align:center;color:#baff63;font-weight:700;font-size:11px;letter-spacing:.05em;margin:0 0 15px;text-transform:uppercase}
.scc-form{display:grid;gap:12px}
.scc-layout label{display:flex;flex-direction:column;gap:6px;font-size:11px;font-weight:700;color:#e4edf8;min-width:0}
.scc-layout input:not([type=checkbox]):not([type=radio]):not([type=file]),.scc-layout textarea,.scc-layout select{background:#1b3440;border:1px solid #637d91;color:#f6fcff;border-radius:10px;min-height:47px;box-sizing:border-box;padding:11px 12px;font:500 13px Inter,system-ui;display:block;width:100%;min-width:0;outline-offset:2px}
.scc-layout input:focus-visible,.scc-layout select:focus-visible,.scc-layout textarea:focus-visible,.scc-layout button:focus-visible{outline:2px solid #baff55;outline-offset:2px}
.scc-layout textarea{min-height:66px;resize:vertical}
.scc-layout input[type=file]{max-width:100%;font-size:11px}
.scc-layout h2{font-size:15px;margin:5px 0 14px;color:#fff}
.scc-layout small,.scc-note{color:#b2c3d3;font-size:11px;line-height:1.5}
.scc-network{padding:9px 13px;border-radius:10px;background:#304254;color:#c0ff74;font-weight:750;border:1px solid #456875}
.scc-layout details{border:1px solid #536b7e;background:#273447;border-radius:13px;padding:12px}
.scc-layout details summary{cursor:pointer;font-weight:750;color:#dbf1e0}
.scc-layout details[open]{display:grid;gap:14px}
.scc-layout .scc-check{display:flex;flex-direction:row;gap:12px;align-items:flex-start;font-size:11.5px;line-height:1.45}
.scc-check input{width:18px;height:18px;flex:0 0 18px;accent-color:#baff45;margin:0}
.scc-options{display:grid;gap:11px}
.scc-options label{display:flex;flex-direction:row;align-items:center;gap:12px;min-height:58px;padding:14px;border:1px solid #638194;border-radius:13px;background:linear-gradient(150deg,#31485a,#29394a);box-shadow:0 9px 18px #0b132844;cursor:pointer}
.scc-options label.chosen{border-color:#bdff55;box-shadow:0 9px 19px #080d1966,inset 3px 0 #c0ff63}
.scc-options input{width:18px;height:18px;accent-color:#bfff4d;flex:0 0 auto;margin:0}
.scc-actions{display:flex;gap:9px;margin:22px 0 8px}
.scc-primary,.scc-secondary{border-radius:11px;border:1px solid #b8ff4c;min-height:46px;padding:12px 15px;cursor:pointer;font:750 12px Inter,system-ui}
.scc-primary{background:linear-gradient(150deg,#c4ff61,#abf53a);color:#102124;box-shadow:0 10px 20px rgba(134,200,52,.15);flex:1}
.scc-secondary{background:#273c49;color:#eaf5fc;border-color:#567c87;flex:1}
.scc-primary:disabled,.scc-secondary:disabled{opacity:.5;cursor:default}
.scc-summary{border:1px solid #566f86;border-radius:14px;background:linear-gradient(145deg,#35465f,#26364b);padding:15px;display:grid;gap:7px;min-width:0;overflow-wrap:anywhere}
.scc-summary strong{font-size:16px}
.scc-summary span{font-size:11px;color:#c3d5df}
.scc-summary>div{display:grid;gap:4px;border-top:1px solid #63788b;padding-top:12px;margin-top:6px}
.scc-summary b{color:#c3ff63}
.scc-confirm{border:1px solid #6b818c;border-radius:10px;background:#243a49;padding:13px;margin-top:18px}
.scc-alert{border-left:3px solid #bfd85c;padding:9px 12px;background:#41452d22;color:#f4eaca;font-size:11px}
.scc-error{color:#ffc5c3;background:#5a2c34;border:1px solid #b86b72;padding:10px 12px;border-radius:10px;overflow-wrap:anywhere}
.scc-status,.scc-balance{padding:12px;background:#233f48;border-radius:11px;color:#ddedfd;font-size:11px}
.scc-logo-preview{width:56px;height:56px;object-fit:cover;border-radius:13px;border:1px solid #6d9b87}
.scc-layout a{color:#c2ff73;word-break:break-all}
@media(max-width:359px){.scc-scroll{padding:11px 13px 24px}.scc-toolbar{margin:0 13px}.scc-layout h1{font-size:16px}.scc-options label{padding:10px}}

/* V2.113: creation entry - concise fee disclosure and always-visible authorities. */
.scc-cost-card{display:grid;gap:4px;padding:12px 14px;margin:0 0 12px;border-radius:12px;
  border:1px solid rgba(191,255,84,.64);background:linear-gradient(130deg,#314354,#243b46);
  box-shadow:0 7px 18px rgba(7,15,26,.25);color:#edf8ff}
.scc-cost-card strong{font-size:12px;line-height:1.4;font-weight:750;color:#c5ff62}
.scc-cost-card span{font-size:11px;line-height:1.45;color:#e1ecf6}
.scc-intro{text-align:center;padding:0 3px 3px;margin:0}
.scc-intro h2{font-size:14px!important;line-height:1.35;margin:0 0 5px!important;font-weight:750;color:#f5fcff}
.scc-intro p{font-size:11.5px;line-height:1.4;color:#c6d9e6;margin:0 0 9px}
.scc-advanced{border:1px solid #536b7e;background:#273447;border-radius:13px;
  padding:12px 13px;display:grid;gap:12px;min-width:0}
.scc-advanced h2{font-size:12.5px;margin:0 0 1px;color:#e9f8ee;font-weight:750}
.scc-advanced .scc-check{min-height:29px;align-items:center;cursor:pointer}
.scc-advanced .scc-check input{margin:0;accent-color:#baff45}
@media(max-width:359px){.scc-cost-card{padding:11px 12px;margin-bottom:11px}.scc-intro h2{font-size:13px!important}}

.scc-entry-balance{text-align:right;font-size:11px;color:#b9d3df;margin:-4px 0 0}
.scc-entry-balance strong{color:#c7ff67;font-size:12px}

/* KONEBE V2.113 — compact mobile layout and the same floating wallet selector
   interaction as Token personalizado. Do not modify that existing product. */
.scc-layout{min-width:0}
.scc-toolbar{margin-inline:10px}
.scc-scroll{padding:11px 10px 28px;overflow-x:hidden}
.scc-form{gap:10px;min-width:0}
.scc-cost-card{padding:10px 12px;margin-bottom:10px}
.scc-progress{margin-bottom:10px}
.scc-intro{min-width:0;padding:0;margin-bottom:0}
/* A single line on narrow phone screens, not a two-line heading. */
.scc-intro h2{white-space:nowrap!important;overflow:visible;letter-spacing:-.035em;font-size:clamp(9px,2.48vw,10.8px)!important;line-height:1.4!important;margin:0 0 6px!important}
.scc-intro p{margin-bottom:7px}
.scc-network{padding:8px 11px}
.scc-wallet-anchor{position:relative;display:flex;flex-direction:column;gap:6px;min-width:0;z-index:2}
.scc-wallet-anchor.is-open{z-index:100}
.scc-wallet-label{font-size:11px;font-weight:750;color:#ecf4fc}
.scc-wallet-picker{appearance:none;display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;min-width:0;min-height:52px;box-sizing:border-box;padding:8px 12px;text-align:left;border:1px solid rgba(138,161,194,.58);border-radius:11px;background:linear-gradient(150deg,#27394d,#1a303d);box-shadow:0 7px 17px rgba(7,13,28,.2);color:#f5f9ff;cursor:pointer}
.scc-wallet-picker[aria-expanded=true]{border-color:#bcff56;box-shadow:0 0 0 1px rgba(185,255,73,.23),0 9px 20px rgba(8,13,25,.3)}
.scc-wallet-picker-text{display:flex;flex:1;min-width:0;flex-direction:column;gap:3px}
.scc-wallet-picker-text strong{font:750 12px/1.4 Inter,system-ui,sans-serif;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.scc-wallet-picker-text small{font:500 10px/1.3 Inter,system-ui,sans-serif;color:#b4c7d5;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.scc-wallet-chevron{flex:0 0 9px;width:9px;height:9px;border-right:2px solid #baff4b;border-bottom:2px solid #baff4b;transform:rotate(45deg) translateY(-2px)}
.scc-wallet-picker[aria-expanded=true] .scc-wallet-chevron{transform:rotate(225deg) translateY(-1px)}
.scc-wallet-list{position:absolute;z-index:150;inset-inline:0;top:calc(100% + 6px);max-height:min(310px,42dvh);overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;display:flex;flex-direction:column;gap:4px;box-sizing:border-box;margin:0;padding:6px;background:#fff;color:#172638;border:1px solid #becbd7;border-radius:12px;box-shadow:0 18px 44px rgba(0,0,0,.48);scrollbar-width:none;-ms-overflow-style:none}
.scc-wallet-list::-webkit-scrollbar{display:none!important;width:0!important;height:0!important}
.scc-wallet-anchor.is-above .scc-wallet-list{top:auto;bottom:calc(100% + 6px)}
.scc-wallet-option{appearance:none;display:flex;align-items:center;justify-content:space-between;gap:9px;flex:0 0 auto;width:100%;min-width:0;min-height:48px;box-sizing:border-box;border:1px solid #e0e7ed;border-radius:9px;background:#fff;color:#132738;text-align:left;padding:8px 10px;cursor:pointer}
.scc-wallet-option:hover,.scc-wallet-option:focus-visible{background:#f0f7e4;border-color:#8fb948;box-shadow:0 2px 8px rgba(30,45,55,.1)}
.scc-wallet-option.is-selected{background:#edf9de;border-color:#92bb49;box-shadow:inset 3px 0 0 #8fc33d}
.scc-wallet-option-copy{display:flex;flex:1;flex-direction:column;gap:3px;min-width:0}
.scc-wallet-option-copy strong{font:750 12px/1.35 Inter,system-ui,sans-serif;color:#142839}
.scc-wallet-option-copy small{font:500 10px/1.3 Inter,system-ui,sans-serif;color:#506579;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.scc-wallet-check{font-size:17px;font-weight:800;color:#43891b}
/* Available balance is fetched for the selected payer before enabling stage 2. */
.scc-balance-gate{display:grid;grid-template-columns:1fr auto;gap:3px 9px;align-items:center;background:#223844;border:1px solid rgba(137,177,186,.35);border-radius:10px;padding:9px 11px;font-size:11px;color:#d5e6f1}
.scc-balance-gate>strong{color:#c2ff62;font-size:13px;font-weight:800;font-variant-numeric:tabular-nums}
.scc-balance-gate>small,.scc-balance-retry{grid-column:1/-1}
.scc-balance-gate .scc-balance-warning{color:#ffccc7}
.scc-balance-retry{border:1px solid #8daebb;border-radius:8px;background:#344758;color:#f5fbff;min-height:37px;padding:7px 11px;cursor:pointer}
.scc-advanced{gap:11px;padding:12px}
/* Native checkboxes are explicitly restored; the global app styles must not hide them. */
.scc-layout .scc-advanced label.scc-check{display:flex!important;flex-direction:row!important;align-items:center!important;gap:11px!important;min-height:36px!important;color:#f5f8ff!important;font-size:12px!important;font-weight:650!important;cursor:pointer}
.scc-layout .scc-advanced label.scc-check>input[type="checkbox"]{appearance:checkbox!important;-webkit-appearance:checkbox!important;display:inline-block!important;position:static!important;opacity:1!important;visibility:visible!important;clip:auto!important;transform:none!important;min-width:19px!important;width:19px!important;max-width:19px!important;height:19px!important;min-height:19px!important;flex:0 0 19px!important;padding:0!important;margin:0!important;accent-color:#b9fa4b!important;pointer-events:auto!important;cursor:pointer}
@media(max-width:359px){.scc-scroll{padding:10px 7px 24px}.scc-toolbar{margin-inline:8px}.scc-intro h2{font-size:clamp(9px,2.6vw,10px)!important}.scc-wallet-option{padding:8px}}

/* V2.121 — Creator page aligned with Carteiras/Token personalizado. */
.app-device .app-content.scc-page{padding-inline:15px;min-width:0}
.scc-layout{min-width:0}
.scc-toolbar{height:58px;flex:0 0 58px;display:grid;grid-template-columns:40px minmax(0,1fr) 40px;align-items:center;gap:7px;margin:0 0 9px;padding:5px 0 8px;border-bottom:1px solid rgba(151,172,199,.24)}
.scc-toolbar .scc-back{position:static!important;display:grid;place-items:center;width:40px;min-width:40px;height:42px;min-height:42px;padding:0;border-radius:0!important;background:transparent!important;border:0!important;box-shadow:none!important;font:inherit;color:#b8ff3b!important}
.scc-toolbar .scc-back svg{width:22px;height:22px}
.scc-toolbar .scc-back:hover{color:#d7ff9b!important;transform:translateX(-2px)}
.scc-heading{min-width:0;text-align:center}
.scc-toolbar .scc-heading h1{margin:0 0 2px;font:500 15px/1.18 Inter,system-ui,sans-serif;letter-spacing:-.018em;color:#f5f7fd}
.scc-heading small{display:block;font:400 10.5px/1.35 Inter,system-ui,sans-serif;color:#c5d3e1;white-space:normal}
.scc-toolbar-spacer{width:40px;height:42px}
.scc-scroll{padding:2px 0 25px;min-width:0}
.scc-cost-card{border-radius:10px;padding:11px 12px;margin:0 0 11px;gap:3px;border-color:rgba(177,228,107,.46);background:linear-gradient(145deg,#2c4151,#263844);box-shadow:0 6px 14px rgba(5,11,21,.2)}
.scc-cost-card strong{font-size:11.6px;font-weight:650;line-height:1.4;color:#d1ff89}
.scc-cost-card span{font-size:11px;line-height:1.42;color:#e0ecf4}
.scc-progress{font-size:11px;letter-spacing:0;text-transform:none;text-align:left;margin:1px 0 13px;font-weight:600;color:#c8ff81}
.scc-form{gap:11px}
.scc-network-anchor{position:relative;display:flex;flex-direction:column;gap:8px;min-width:0;z-index:2}
.scc-network-anchor.is-open{z-index:170}
.scc-network-label{font:700 12px/1.45 Inter,system-ui,sans-serif;color:#e5ebf5}
.scc-network-picker{appearance:none;display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;min-width:0;box-sizing:border-box;min-height:48px;padding:8px 10px;border:1px solid rgba(255,255,255,.14);border-radius:13px;background:rgba(255,255,255,.04);color:#f5f8ff;text-align:left;box-shadow:none;cursor:pointer}
.scc-network-picker:hover,.scc-network-picker[aria-expanded=true]{border-color:rgba(184,255,59,.65);background:rgba(255,255,255,.065)}
.scc-network-icon{display:grid;place-items:center;width:26px;min-width:26px;flex:0 0 26px;height:26px}
.scc-network-icon img{display:block;width:24px;height:24px;object-fit:contain}
.scc-network-value{display:flex;flex:1;flex-direction:column;gap:1px;min-width:0;text-align:left}
.scc-network-value strong{font:700 12px/1.3 Inter,system-ui,sans-serif;color:#f5f9ff}
.scc-network-value small{font:500 10px/1.3 Inter,system-ui,sans-serif;color:#b8cbdc}
.scc-network-chevron{flex:0 0 9px;width:9px;height:9px;margin-right:3px;border-right:2px solid #b8ff3b;border-bottom:2px solid #b8ff3b;transform:rotate(45deg) translateY(-2px)}
.scc-network-picker[aria-expanded=true] .scc-network-chevron{transform:rotate(225deg) translateY(-1px)}
.scc-network-list{position:absolute;z-index:175;inset-inline:0;top:calc(100% + 6px);max-height:min(300px,42dvh);overflow-y:auto;overscroll-behavior:contain;box-sizing:border-box;display:flex;flex-direction:column;gap:4px;margin:0;padding:6px;border:1px solid rgba(130,161,180,.34);border-radius:13px;background:#111a27;box-shadow:0 20px 42px rgba(0,0,0,.62)}
.scc-network-anchor.is-above .scc-network-list{top:auto;bottom:calc(100% + 6px)}
.scc-network-option{display:flex;align-items:center;gap:10px;width:100%;min-height:45px;box-sizing:border-box;padding:9px 11px;text-align:left;border:1px solid transparent;border-radius:9px;background:rgba(255,255,255,.024);color:#f2f6fc;cursor:pointer}
.scc-network-option.is-selected{border-color:#b8ff3b;background:linear-gradient(145deg,#354c4f,#2d4b43);box-shadow:inset 4px 0 0 #b8ff3b}
.scc-network-option .scc-wallet-check{color:#b8ff3b}
.scc-wallet-anchor{gap:8px}
.scc-wallet-picker{min-height:49px}
.scc-balance-gate{grid-template-columns:minmax(0,1fr) auto;column-gap:6px;row-gap:3px;min-height:36px;padding:8px 9px;line-height:1.35;background:#223744;border-radius:9px}
.scc-balance-gate>span{min-width:0;font-size:10.8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.scc-balance-gate>strong{font-size:11.3px;font-weight:700;white-space:nowrap}
.scc-balance-gate .scc-balance-warning{color:#ffd1cc}
.scc-balance-gate>small{grid-column:1/-1;font-size:10px}
.scc-balance-retry{grid-column:2;grid-row:1;min-height:26px;min-width:28px;padding:0 5px;border:1px solid rgba(141,174,187,.5);border-radius:7px;background:#344758;font-size:19px;line-height:1;color:#f5fbff}
.scc-description-counter{margin-top:-7px;text-align:right;font-size:10px}
@media(max-width:359px){.app-device .app-content.scc-page{padding-inline:12px}.scc-scroll{padding:2px 0 25px}.scc-toolbar{margin:0 0 8px}.scc-toolbar .scc-heading h1{font-size:14px}.scc-heading small{font-size:10px}.scc-cost-card{padding:9px 10px}}

/* V2.134 — One-line minimum; temporary navigation and history controls removed. */
.scc-cost-card span:last-child{font-size:clamp(8.5px,2.45vw,10px);letter-spacing:-.018em;white-space:nowrap;line-height:1.45}
.scc-balance-gate>small.scc-balance-warning{font-size:clamp(8.5px,2.4vw,9.7px);letter-spacing:-.016em;white-space:nowrap}

/* V2.151: finalization overlay; shown only for a persisted signed intent. */
.scc-layout{position:relative}
.scc-creation-overlay{position:absolute;inset:0;z-index:25;display:flex;align-items:center;justify-content:center;padding:20px;background:rgba(8,15,31,.90);backdrop-filter:blur(5px);box-sizing:border-box}
.scc-creation-overlay-panel{width:min(100%,330px);display:flex;flex-direction:column;align-items:center;gap:14px;text-align:center;padding:26px 18px;border:1px solid #60788c;border-radius:18px;background:#27374d;color:#edf8ff;box-shadow:0 20px 50px #0008}
.scc-creation-overlay-panel strong{font-size:17px;color:#baff59;line-height:1.35}
.scc-creation-overlay-panel small{font-size:12px;color:#d4e4f1;line-height:1.5}
.scc-progress-spinner{display:block;width:49px;height:49px;border:4px solid #9bc97648;border-top-color:#baff56;border-radius:50%;animation:scc-real-progress 1s linear infinite}
@keyframes scc-real-progress{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.scc-progress-spinner{animation-duration:2s}}

/* V2.155 — Consent checkbox: visible outline on dark backgrounds on PWA and desktop.
   Native input remains keyboard-accessible and drives the actual consent state. */
.scc-layout label.scc-confirm{position:relative;display:flex!important;flex-direction:row!important;align-items:flex-start!important;gap:11px!important;cursor:pointer!important}
.scc-layout label.scc-confirm>#scc-agree[type="checkbox"]{position:absolute!important;left:13px!important;top:13px!important;width:22px!important;height:22px!important;opacity:0!important;margin:0!important;z-index:1!important;cursor:pointer!important}
.scc-layout label.scc-confirm>.scc-confirm-indicator{display:inline-grid!important;place-items:center!important;width:22px!important;height:22px!important;min-width:22px!important;flex:0 0 22px!important;box-sizing:border-box!important;border:2px solid #e2f0f6!important;border-radius:5px!important;background:#101f2c!important;box-shadow:0 0 0 1px rgba(0,0,0,.28)!important;pointer-events:none!important}
.scc-layout label.scc-confirm>.scc-confirm-copy{flex:1;min-width:0;line-height:1.5;color:#f5faff;font-weight:650}
.scc-layout label.scc-confirm>#scc-agree:checked+.scc-confirm-indicator{border-color:#baff45!important;background:#baff45!important;box-shadow:0 0 0 2px rgba(186,255,69,.22)!important}
.scc-layout label.scc-confirm>#scc-agree:checked+.scc-confirm-indicator::after{content:'✓';font-family:Arial,sans-serif;font-size:16px;font-weight:900;line-height:1;color:#17321b}
.scc-layout label.scc-confirm>#scc-agree:focus-visible+.scc-confirm-indicator{outline:3px solid #fff!important;outline-offset:3px!important}

/* V3.04: somente a apresentacao da opcao de novas emissoes fica oculta.
   O campo e a leitura original do formulario permanecem intactos. */
.scc-layout .scc-advanced label.scc-check.scc-mint-option-hidden{display:none!important}


/* V3.15: a book page turns slowly toward the left. The stable mount
   carries the animation, so creator re-renders never restart it mid-payment. */
.app-device .scc-page{perspective:1200px;overflow:hidden}
.app-device .scc-page-mount{transform-origin:left center;backface-visibility:hidden;
  animation:sccBookOpen .82s cubic-bezier(.20,.74,.17,1) both}
.app-device .scc-page-mount.scc-page-leaving{pointer-events:none;
  animation:sccBookClose .80s cubic-bezier(.42,.04,.74,.33) both}
@keyframes sccBookOpen{from{opacity:.45;transform:rotateY(68deg);filter:brightness(.70)}to{opacity:1;transform:rotateY(0);filter:brightness(1)}}
@keyframes sccBookClose{from{opacity:1;transform:rotateY(0);filter:brightness(1)}to{opacity:.45;transform:rotateY(-72deg);filter:brightness(.70)}}
@media(prefers-reduced-motion:reduce){.app-device .scc-page-mount,.app-device .scc-page-mount.scc-page-leaving{animation:none!important}}

/* V3.16: right-to-left book opening with stable 3D geometry; exact inverse closing.
   No filter/brightness animation (previous version caused flicker on GPU layers). */
.app-device .scc-page{perspective:1600px;perspective-origin:12% 50%;}
.app-device .scc-page-mount{transform-origin:left center!important;backface-visibility:hidden;
 -webkit-backface-visibility:hidden;transform-style:preserve-3d;will-change:transform,opacity;
 animation:sccBookOpen316 .98s cubic-bezier(.15,.73,.18,1) both!important;}
.app-device .scc-page-mount.scc-page-leaving{
 animation:sccBookClose316 .98s cubic-bezier(.44,.03,.78,.29) both!important;pointer-events:none;}
@keyframes sccBookOpen316{from{opacity:.7;transform:rotateY(-82deg)}to{opacity:1;transform:rotateY(0deg)}}
@keyframes sccBookClose316{from{opacity:1;transform:rotateY(0deg)}to{opacity:.7;transform:rotateY(-82deg)}}
.app-device .scc-power-close{color:#e9f3ff;display:inline-flex;align-items:center;justify-content:center;}
.app-device .scc-power-close svg{display:block;width:23px;height:23px;}
@media(prefers-reduced-motion:reduce){.app-device .scc-page-mount,.app-device .scc-page-mount.scc-page-leaving{animation:none!important;}}

/* V3.19: the opening book is visible only after the real form has mounted.
   Keep the same left-hand hinge and exact reverse close; no financial state changes. */
.app-device .scc-page-mount:not(.scc-page-ready){animation:none!important;visibility:hidden;}
.app-device .scc-page-mount.scc-page-ready:not(.scc-page-leaving){
  animation:sccBookOpen316 1.12s cubic-bezier(.17,.71,.2,1) both!important;
}
.app-device .scc-page-mount.scc-page-ready.scc-page-leaving{
  animation:sccBookClose316 1.12s cubic-bezier(.42,.06,.75,.3) both!important;
}
@media(prefers-reduced-motion:reduce){
 .app-device .scc-page-mount.scc-page-ready:not(.scc-page-leaving),
 .app-device .scc-page-mount.scc-page-ready.scc-page-leaving{animation:none!important;visibility:visible!important;}
}

/* V3.21 — same 3-D geometry and timing as Private Moovie. One animation per route,
   never on individual form updates. The complete close button is tappable. */
.app-device .scc-page{perspective:none!important;overflow:hidden}
.app-device .scc-page-mount.scc-page-ready:not(.scc-page-leaving){
  transform-origin:right center!important;
  animation:sccMoovieOpen321 .48s cubic-bezier(.18,.78,.2,1) both!important;
}
.app-device .scc-page-mount.scc-page-ready.scc-page-leaving{
  transform-origin:right center!important;
  animation:sccMoovieClose321 .26s cubic-bezier(.55,.02,.76,.36) both!important;
}
@keyframes sccMoovieOpen321{
  from{transform:perspective(980px) rotateY(82deg) translateZ(0);opacity:.42}
  to{transform:perspective(980px) rotateY(0deg) translateZ(0);opacity:1}
}
@keyframes sccMoovieClose321{
  from{transform:perspective(980px) rotateY(0deg) translateZ(0);opacity:1}
  to{transform:perspective(980px) rotateY(82deg) translateZ(0);opacity:.42}
}
.app-device .scc-toolbar .scc-back.scc-power-close{
  position:relative!important;z-index:5;display:flex!important;flex:0 0 48px;
  width:48px!important;height:48px!important;min-width:48px!important;min-height:48px!important;
  margin:0;padding:0!important;align-items:center;justify-content:center;
  cursor:pointer;pointer-events:auto;touch-action:manipulation;
}
.app-device .scc-toolbar .scc-power-close svg{width:23px;height:23px;pointer-events:none}
.app-device .scc-toolbar{grid-template-columns:48px minmax(0,1fr) 48px}
.app-device .scc-toolbar-spacer{width:48px}
@media(prefers-reduced-motion:reduce){
 .app-device .scc-page-mount.scc-page-ready:not(.scc-page-leaving),
 .app-device .scc-page-mount.scc-page-ready.scc-page-leaving{animation:none!important;transform:none!important;opacity:1!important}
}

/* V3.31: Criar Token uses the exact Private Moovie cube-turn animation.
   Retains the one-time ready class and the existing 270ms exit lifecycle. */
.app-device .scc-page-mount.scc-page-ready:not(.scc-page-leaving){
  transform-origin:right center!important;
  animation:moovieCubeInRight .48s cubic-bezier(.18,.78,.2,1) both!important;
}
.app-device .scc-page-mount.scc-page-ready.scc-page-leaving{
  transform-origin:right center!important;
  animation:moovieCubeOutRight .26s cubic-bezier(.55,.02,.76,.36) both!important;
}
@media(prefers-reduced-motion:reduce){
  .app-device .scc-page-mount.scc-page-ready:not(.scc-page-leaving),
  .app-device .scc-page-mount.scc-page-ready.scc-page-leaving{
    animation:none!important;transform:none!important;opacity:1!important;
  }
}

/* V3.40 - network choice is a two-button segmented control, never an overlapping dropdown. */
.scc-layout .scc-network-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;width:100%;min-width:0;isolation:isolate}
.scc-layout .scc-network-choice{display:flex;align-items:center;justify-content:center;gap:7px;min-width:0;min-height:50px;padding:9px 8px;border:1px solid rgba(151,182,194,.40);border-radius:12px;background:linear-gradient(145deg,#293e4a,#192d38);color:#e7f3fb;font:700 clamp(10px,2.8vw,12px)/1.3 Inter,system-ui,sans-serif;cursor:pointer;touch-action:manipulation}
.scc-layout .scc-network-choice img{display:block;flex:0 0 22px;width:22px;height:22px;object-fit:contain}
.scc-layout .scc-network-choice-name{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}
.scc-layout .scc-network-choice.is-selected{border-color:#baff59;color:#fbfff4;background:linear-gradient(145deg,#314c43,#253d37);box-shadow:inset 0 -3px 0 #a8eb4f}
.scc-layout .scc-network-choice:focus-visible{outline:2px solid #baff59;outline-offset:2px}
.scc-layout .scc-network-choice:disabled{opacity:.65;cursor:default}
.scc-layout .scc-network-context{margin:0;white-space:normal;min-width:0}
.scc-layout .scc-network-context span:last-child{white-space:normal;letter-spacing:normal;font-size:11px}
.scc-layout .scc-form>.scc-network-choices{margin-bottom:0}
@media(max-width:350px){.scc-layout .scc-network-choices{gap:5px}.scc-layout .scc-network-choice{gap:4px;padding:8px 4px;font-size:10px}.scc-layout .scc-network-choice img{width:19px;height:19px;flex-basis:19px}}

/* V3.40: the BSC approval uses the proven Solana confirmation layout. */
.scc-layout label.scc-confirm>#bsc-accept[type="checkbox"]{position:absolute!important;left:13px!important;top:13px!important;width:22px!important;height:22px!important;opacity:0!important;margin:0!important;z-index:1!important;cursor:pointer!important}
.scc-layout label.scc-confirm>#bsc-accept:checked+.scc-confirm-indicator{border-color:#baff45!important;background:#baff45!important;box-shadow:0 0 0 2px rgba(186,255,69,.22)!important}
.scc-layout label.scc-confirm>#bsc-accept:checked+.scc-confirm-indicator::after{content:'✓';font:900 16px/1 Arial,sans-serif;color:#17321b}
.scc-layout label.scc-confirm>#bsc-accept:focus-visible+.scc-confirm-indicator{outline:3px solid #fff!important;outline-offset:3px!important}

/* V3.41 - shared creator header alignment, compact title; BNB live-balance layout. */
.app-device .scc-layout .scc-toolbar{display:grid;grid-template-columns:48px minmax(0,1fr) 48px;align-items:center;min-height:63px;height:auto;gap:4px;padding-top:7px;padding-bottom:7px}
.app-device .scc-layout .scc-toolbar>.scc-back.scc-power-close{position:static!important;grid-column:1;align-self:center;justify-self:center;display:grid!important;place-items:center;flex:none!important;margin:0!important;transform:none!important}
.app-device .scc-layout .scc-toolbar>.scc-heading{grid-column:2;align-self:center;min-width:0;text-align:center}
.app-device .scc-layout .scc-toolbar>.scc-toolbar-spacer{grid-column:3;align-self:center;justify-self:center}
.app-device .scc-layout .scc-toolbar .scc-heading h1{font-size:clamp(12px,3.4vw,14px)!important;line-height:1.25!important;letter-spacing:-.018em;font-weight:550}
.app-device .scc-layout .scc-toolbar .scc-heading small{font-size:clamp(9px,2.5vw,10px);line-height:1.28}
.scc-layout .scc-balance-gate>small.scc-balance-warning{grid-column:1/-1;white-space:normal!important;overflow-wrap:anywhere;line-height:1.4}

/* V3.41 - Token Creator immersive arrival, one time per page entry.
   Previous Private Moovie rules never ran because the runtime mount lacked
   the .scc-page-mount class. This class is now applied in app/main.js.
   Animation stays on the stable mount, not on the re-rendered financial form. */
.app-device .scc-page{position:relative;perspective:1250px;perspective-origin:72% 28%;overflow:hidden}
.app-device .scc-page-mount{position:relative;isolation:isolate;transform-origin:right 35%;backface-visibility:hidden;-webkit-backface-visibility:hidden}
.app-device .scc-page-mount.scc-page-ready:not(.scc-page-leaving){
  visibility:visible;
  animation:sccTokenEntranceV341 .76s cubic-bezier(.17,.79,.18,1) both!important;
}
@keyframes sccTokenEntranceV341{
  0%{opacity:.27;transform:perspective(1250px) translate3d(26px,14px,0) rotateY(36deg) scale(.982)}
  52%{opacity:.94;transform:perspective(1250px) translate3d(5px,2px,0) rotateY(7deg) scale(.996)}
  100%{opacity:1;transform:perspective(1250px) translate3d(0,0,0) rotateY(0) scale(1)}
}
/* Light arrival wash is attached to the stable mount; it never intercepts taps. */
.app-device .scc-page-mount::before{
  content:'';position:absolute;z-index:3;pointer-events:none;
  inset:0 0 auto;height:170px;
  background:radial-gradient(ellipse 67% 98% at 53% 0%,rgba(194,255,105,.17),rgba(108,207,183,.07) 52%,transparent 82%);
  opacity:0;
}
.app-device .scc-page-mount.scc-page-ready:not(.scc-page-leaving)::before{
  animation:sccTokenGlowV341 1.06s ease-out both;
}
@keyframes sccTokenGlowV341{
  0%{opacity:0;transform:translateY(-20px)}
  35%{opacity:1;transform:translateY(0)}
  100%{opacity:0;transform:translateY(12px)}
}
@media(prefers-reduced-motion:reduce){
  .app-device .scc-page-mount.scc-page-ready:not(.scc-page-leaving){
    animation:none!important;transform:none!important;opacity:1!important;visibility:visible!important;
  }
  .app-device .scc-page-mount::before,
  .app-device .scc-page-mount.scc-page-ready:not(.scc-page-leaving)::before{display:none!important;animation:none!important}
}

/* Final high-specificity header rule: global wallet typography must not override
   the reduced creator title. */
.app-device .app-content.scc-page .scc-layout .scc-toolbar .scc-heading h1{font-size:clamp(12px,3.4vw,14px)!important;line-height:1.25!important}
@media (prefers-reduced-motion:reduce){
 .app-device .app-content.scc-page .scc-page-mount.scc-page-ready{animation:none!important;visibility:visible!important;opacity:1!important;transform:none!important}
}

/* V3.75 — A single entrance per route opening; balance refreshes, network
   selection and asynchronous rendering do not restart the page animation. */
.app-device .scc-page-mount.scc-skip-repeat-entrance,
.app-device .scc-page-mount.scc-skip-repeat-entrance.scc-page-ready:not(.scc-page-leaving){
  visibility:visible!important;opacity:1!important;transform:none!important;animation:none!important;
}
.app-device .scc-page-mount.scc-skip-repeat-entrance::before,
.app-device .scc-page-mount.scc-skip-repeat-entrance.scc-page-ready:not(.scc-page-leaving)::before{animation:none!important;display:none!important}
