/* O助手 v2.6.56 / UI-19 — account messages, safety, VIP states and introduction.
 * Scoped to new components; the UI-17 / UI-18 layout and button handlers stay intact. */

/* A: message page, one recognizable return control at the TOP only. */
#page .ozs2656-message-head{display:flex;justify-content:space-between;align-items:start;gap:14px;min-width:0}
#page .ozs2656-message-head>div{min-width:0;flex:1}
.ozs2656-return-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:44px;padding:9px 13px;border:1px solid #d9e5d7;border-radius:12px;background:#fffdf8;color:#345845;font-size:12px;font-weight:700;cursor:pointer;white-space:nowrap;transition:background .18s ease,transform .18s ease}
.ozs2656-return-button .icon{height:17px;width:17px;flex:none;stroke-width:2.1px}
.ozs2656-return-button:hover{background:#eaf3e8;transform:translateX(-2px)}
.ozs2656-return-button:focus-visible{outline:2px solid #286947;outline-offset:3px}

/* B: confirmation is a guarded action, never a passive logout link. */
.ozs2656-exit-icon{background:#f2eae3!important;color:#9b634c!important}
.ozs2656-exit-icon .icon{height:23px;width:23px}
#confirmModal .ozs2656-logout-content h2{color:#213a30;letter-spacing:-.025em}
#confirmModal .ozs2656-logout-content p{color:#6f8278;font-size:13px}
#confirmModal .ozs2656-logout-actions{margin-top:25px}
#confirmModal .ozs2656-logout-confirm{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;border:1px solid #b97362;border-radius:10px;background:#ad6e5d;color:#fff;font-size:13px;font-weight:750;cursor:pointer}
#confirmModal .ozs2656-logout-confirm:hover{background:#965848}
#confirmModal .ozs2656-logout-confirm .icon{width:17px;height:17px}
#confirmModal button:focus-visible{outline:2px solid #286947;outline-offset:3px}

/* C: six bespoke, consistent 18px line icons; preserve original actions. */
#page[data-view="account"] .ozs-account-links .ozs2656-security-action{justify-content:flex-start!important;gap:9px!important;min-width:0;min-height:48px!important;padding:11px 13px!important;line-height:1.5!important;white-space:normal}
.ozs2656-security-icon{display:inline-flex;align-items:center;justify-content:center;flex:none;width:28px;height:28px;border-radius:9px;background:#eaf2e9;color:#466d58}
.ozs2656-security-icon .icon{width:17px;height:17px;stroke-width:1.9px}
#page[data-view="account"] .ozs2656-security-action>.icon:last-child{margin-left:auto;flex:none;width:15px;height:15px}
#page[data-view="account"] .ozs2656-security-action[data-ozs-logout] .ozs2656-security-icon{background:#f6eeea;color:#9c6454}

/* D: 18px gray crown beside name; ONLY outside yellow ring breathes. */
#page[data-view="account"] .profile-summary .ozs2656-account-name{display:flex;align-items:center;gap:6px;min-width:0;flex-wrap:wrap}
.ozs2656-crown-link{position:relative;isolation:isolate;display:inline-grid;place-items:center;flex:none;width:27px;height:27px;padding:0;border:0;border-radius:50%;background:transparent;color:#929a96;cursor:pointer}
.ozs2656-crown-link .ozs2656-crown-art{width:18px;height:18px;color:#929a96;stroke-width:1.5px;fill:none;flex:none;position:relative;z-index:2}
.ozs2656-crown-ring{position:absolute;inset:1px;border:1px solid #e9b545;border-radius:50%;box-shadow:0 0 0 0 #f2c45d77;pointer-events:none;animation:ozs2656-ring-breathe 2.3s ease-in-out infinite;z-index:1}
@keyframes ozs2656-ring-breathe{0%,100%{box-shadow:0 0 0 0 #f2c45d99;opacity:.75}50%{box-shadow:0 0 0 5px #f2c45d14;opacity:1}}
.ozs2656-crown-link:hover .ozs2656-crown-ring{border-color:#d6a026}
.ozs2656-crown-link:focus-visible{outline:2px solid #357958;outline-offset:4px}
.ozs2656-avatar-holder{display:inline-block;position:relative;flex:none;width:64px;height:64px}
.ozs2656-avatar-holder>.ozs-big-avatar{width:64px;height:64px}
.ozs2656-vip-on-avatar{position:absolute;z-index:3;top:-6px;right:-9px;display:grid;place-items:center;width:27px;height:27px;border-radius:50%;background:#fff7df;border:1px solid #dfb156;color:#b7801f;box-shadow:0 2px 7px #4c33152b;transform:rotate(18deg);pointer-events:none}
.ozs2656-vip-on-avatar .ozs2656-crown-art{width:18px;height:18px;fill:none;stroke-width:1.65px;color:#b7801f}

/* E: independent VIP introduction. Price lives ONLY inside buy button. */
#page .ozs2656-vip-page{max-width:920px;margin:0 auto 64px;padding:2px 0 22px;color:#253d31}
.ozs2656-vip-top{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:12px}
.ozs2656-lifetime-label{display:inline-flex;align-items:center;gap:6px;background:#fff1d7;color:#a96c10;border-radius:100px;padding:6px 12px;font-weight:750;font-size:12px}
.ozs2656-lifetime-label .icon{width:15px;height:15px}
.ozs2656-vip-hero{border:1px solid #f0eadb;border-radius:22px;padding:33px 22px 34px;background:radial-gradient(circle at 50% 0%,#ffefd7 0%,#fbf6ed 45%,#f6f8f2 100%);text-align:center}
.ozs2656-vip-hero-art{width:64px;height:64px;display:inline-grid;place-items:center;border:1px solid #e8d5af;border-radius:50%;background:#fff4dc;color:#cb901d;margin-bottom:10px;box-shadow:0 6px 20px #b88f3817}
.ozs2656-vip-hero-art .icon{height:35px;width:35px;stroke-width:1.6px}
.ozs2656-vip-hero small{display:block;color:#a57b42;font-size:12px;font-weight:700;letter-spacing:.1em}
.ozs2656-vip-hero h1{font-size:clamp(24px,3.8vw,35px);line-height:1.3;color:#273d30;margin:13px 0 11px}
.ozs2656-vip-hero p{margin:0 auto;max-width:560px;color:#738072;line-height:1.85;font-size:14px}
.ozs2656-vip-content{margin-top:16px;padding:26px 26px 22px;background:#fff;border:1px solid #e1e9dd;border-radius:20px}
.ozs2656-vip-content h2{margin:0 0 17px;font-size:17px;color:#263d2f}
.ozs2656-vip-benefits{list-style:none;margin:0;padding:0;display:grid;gap:13px}
.ozs2656-vip-benefits li{display:flex;gap:10px;align-items:flex-start;font-size:13px;color:#465e51;line-height:1.6}
.ozs2656-vip-benefits .icon{flex:none;color:#238b57;width:18px;height:18px;margin-top:1px}
.ozs2656-vip-cta{border-top:1px solid #e6ede5;margin-top:24px;padding-top:20px}
.ozs2656-vip-buy{display:flex;width:100%;min-height:52px;align-items:center;justify-content:center;gap:11px;border:0;border-radius:13px;padding:12px 18px;background:#264e3c;color:#fff;font-size:15px;font-weight:750;cursor:pointer;transition:background .18s ease}
.ozs2656-vip-buy:hover{background:#1b4030}
.ozs2656-vip-buy strong{display:inline-flex;align-items:center;border-left:1px solid #ffffff5d;padding-left:10px;font-size:15px;color:#ffe7aa;white-space:nowrap;font-variant-numeric:tabular-nums}
.ozs2656-vip-buy .icon{width:16px;height:16px}
.ozs2656-vip-cta p{margin:10px 0 0;text-align:center;font-size:11px;color:#7e8a7f;line-height:1.65}
.ozs2656-vip-owned,.ozs2656-vip-unavailable{min-height:51px;display:flex;justify-content:center;align-items:center;gap:9px;border:1px solid #d9e7da;border-radius:12px;background:#edf7eb;color:#2d6c4b;font-size:14px;font-weight:700;padding:12px}
.ozs2656-vip-unavailable{background:#f5f5f2;color:#87938b;border-color:#e3e7e0}
.ozs2656-vip-owned .icon{width:17px;height:17px}

@media(max-width:700px){
  #page .ozs2656-message-head{flex-wrap:wrap;align-items:start;gap:6px}
  #page .ozs2656-message-head>div{flex:1 1 100%}
  #page .ozs2656-message-head .ozs2656-return-button{margin-left:auto;margin-top:-5px}
  #page .ozs2656-vip-page{padding-inline:2px}
  .ozs2656-vip-hero{padding:28px 16px}
  .ozs2656-vip-content{padding:21px 16px}
}
@media(max-width:380px){
  #page[data-view="account"] .ozs-account-links .ozs2656-security-action{padding:10px 9px!important;gap:6px!important;font-size:10px!important}
  .ozs2656-security-icon{height:25px;width:25px;border-radius:7px}
  .ozs2656-security-icon .icon{width:15px;height:15px}
  .ozs2656-vip-top .ozs2656-return-button{padding-inline:8px}
}
html[data-ozs-theme="dark"] .ozs2656-return-button{background:#203a2e;color:#ddf1dd;border-color:#416449}
html[data-ozs-theme="dark"] #page[data-view="account"] .ozs2656-security-icon{background:#2a4a38;color:#d1e9d4}
html[data-ozs-theme="dark"] .ozs2656-vip-on-avatar{background:#46361c;border-color:#be9450;color:#ffd27b}
html[data-ozs-theme="dark"] .ozs2656-vip-page{color:#e7efdd}
html[data-ozs-theme="dark"] .ozs2656-vip-hero{background:linear-gradient(150deg,#3d3426,#20372d);border-color:#66553b}
html[data-ozs-theme="dark"] .ozs2656-vip-hero h1,html[data-ozs-theme="dark"] .ozs2656-vip-content h2{color:#f1eddf}
html[data-ozs-theme="dark"] .ozs2656-vip-content{background:#1b3027;border-color:#41574b}
html[data-ozs-theme="dark"] .ozs2656-vip-benefits li,html[data-ozs-theme="dark"] .ozs2656-vip-hero p{color:#bfd0be}
@media(prefers-reduced-motion:reduce){.ozs2656-crown-ring{animation:none;box-shadow:0 0 0 2px #f2c45d44}.ozs2656-return-button,.ozs2656-vip-buy{transition:none}}
