/* O助手 v2.6.42 — mobile form, account, VIP and payment presentation. */
/* Mobile Safari zooms focused form controls whose computed font-size is <16px. */
@media(max-width:767px){
  #page .ozs-custom-page :is(input:not([type=checkbox]):not([type=radio]),select,textarea){font-size:16px!important;line-height:1.4;max-width:100%;min-width:0;box-sizing:border-box}
  #page .ozs-custom-page .ozs-form-grid,#page .ozs-custom-page .ozs-field-unit{min-width:0;max-width:100%;box-sizing:border-box}
  #page .ozs-custom-page input[type=date]{display:block;width:100%;min-width:0;max-width:100%;-webkit-appearance:none;appearance:none;overflow:hidden}
  #page .ozs-custom-page .ozs-field-unit:has(input[type=date]){min-width:0;overflow:hidden}
  #page .ozs-custom-page :is(.ozs-form-grid,.ozs-custom-form){overflow-wrap:anywhere}
}
/* Compact account title with icon-only inbox button. */
#page .ozs2642-profile-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:20px;min-width:0}
#page .ozs2642-profile-heading>.ozs-section-heading{flex:1;min-width:0;margin:0!important}
#page .ozs2642-account-mail-button{position:relative;display:grid;place-items:center;flex:0 0 44px;width:44px;height:44px;min-width:44px;min-height:44px;padding:0;border-radius:14px;border:1px solid #d8e5d9;background:#f6faf3;color:#315c45;cursor:pointer;transition:background .18s,transform .18s}
#page .ozs2642-account-mail-button:hover{background:#e9f3e7;transform:translateY(-1px)}
#page .ozs2642-account-mail-button:focus-visible{outline:2px solid #376d50;outline-offset:3px}
#page .ozs2642-account-mail-button>.icon{width:23px;height:23px}
#page .ozs2642-account-mail-dot{position:absolute;right:7px;top:6px;width:10px;height:10px;border-radius:50%;border:2px solid #f6faf3;background:#d86657;box-sizing:border-box}
#page .ozs2642-account-mail-dot[hidden]{display:none!important}
#page .detail-tile>span{display:flex;align-items:center;gap:7px;min-width:0}
#page .ozs2642-tile-icon{display:inline-flex;align-items:center;justify-content:center;flex:0 0 17px;color:#658874}
#page .ozs2642-tile-icon>.icon{width:17px;height:17px}
#page .detail-tile strong{overflow-wrap:anywhere;word-break:normal}
/* Distinct gold SVG instead of the legacy text chess crown. */
#page .ozs2642-vip-crown{display:inline-block;vertical-align:-.19em;flex:0 0 auto;width:1.3em;height:1.3em}
#page .ozs2641-vip-icon{background:linear-gradient(145deg,#fff7e2,#f8edcc)!important;border:1px solid #ead5a6!important;color:#a2752d!important}
#page .ozs2641-vip-icon .ozs2642-vip-crown{width:29px;height:29px}
#page .ozs2641-vip-badge{color:#9d6c25!important}
/* Independent success result; all paid states are confirmed by the server. */
.ozs2642-payment-success{text-align:center;display:grid;justify-items:center;gap:13px;padding:10px 4px 4px}
.ozs2642-payment-success .ozs2642-success-mark{display:grid;place-items:center;width:72px;height:72px;border-radius:23px;background:linear-gradient(145deg,#e8f6e9,#cee7d3);color:#2d6545;box-shadow:0 12px 26px #315f4420}
.ozs2642-payment-success .ozs2642-success-mark .icon{width:36px;height:36px}
.ozs2642-payment-success h2{margin:3px 0 0;font-size:25px;color:#244536}
.ozs2642-payment-success p{margin:0;max-width:340px;line-height:1.7;color:#657f6e}
.ozs2642-payment-success .ozs2642-result-summary{display:flex;justify-content:space-between;gap:16px;align-items:center;width:100%;padding:13px 15px;box-sizing:border-box;border:1px solid #dce9db;border-radius:12px;background:#f7faf5;color:#4d6758}
.ozs2642-payment-success .ozs2642-result-summary b{color:#2d6545}
.ozs2642-payment-success .btn{width:100%;min-height:48px}
.ozs2642-payment-success .ozs2642-success-secondary{padding:9px 16px;border:0;background:transparent;color:#456453;font-weight:650;cursor:pointer}
.ozs2642-payment-success.is-simulation .ozs2642-success-mark{background:#fff3dd;color:#966626}
.ozs2642-payment-success.is-simulation .ozs2642-result-summary b{color:#95662c}
.ozs2642-sim-button{display:flex;align-items:center;justify-content:center;gap:8px;margin-top:12px;width:100%;padding:11px 15px;border-radius:11px;border:1px dashed #bb9d66;background:#fff8e9;color:#765321;font-size:13px;font-weight:700;cursor:pointer}
html[data-ozs-theme=dark] #page .ozs2642-account-mail-button{background:#253e32;border-color:#416550;color:#d5e6d5}
html[data-ozs-theme=dark] #page .ozs2642-account-mail-dot{border-color:#253e32}
html[data-ozs-theme=dark] .ozs2642-payment-success .ozs2642-result-summary{background:#243e32;border-color:#48634e;color:#e5eee7}
html[data-ozs-theme=dark] .ozs2642-payment-success h2{color:#f1f7ee}
@media(max-width:390px){
  #page .ozs2642-profile-heading{gap:8px}
  #page .ozs2642-account-mail-button{flex-basis:42px;width:42px;height:42px;min-width:42px;min-height:42px}
  #page .detail-tile>span{gap:5px}
}
