.apple-modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:rgba(0,0,0,.4);backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);z-index:10000;display:flex;align-items:center;justify-content:center;padding:24px;opacity:0;animation:appleModalFadeIn .25s ease forwards}@keyframes appleModalFadeIn{0%{opacity:0}to{opacity:1}}.apple-modal{background:#fff;border-radius:20px;width:100%;max-width:640px;max-height:85vh;display:flex;flex-direction:column;overflow:hidden;box-shadow:0 0 0 1px rgba(0,0,0,.04),0 8px 40px rgba(0,0,0,.12),0 24px 80px rgba(0,0,0,.08);transform:scale(.96) translateY(12px);animation:appleModalSlideUp .3s cubic-bezier(.32,.72,0,1) forwards}@keyframes appleModalSlideUp{0%{transform:scale(.96) translateY(12px);opacity:.8}to{transform:scale(1) translateY(0);opacity:1}}.apple-modal-close{position:absolute;top:16px;right:16px;width:44px;height:44px;min-width:44px;min-height:44px;border-radius:50%;background:rgba(0,0,0,.06);border:none;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:background .15s ease;z-index:10;touch-action:manipulation;-webkit-tap-highlight-color:transparent;pointer-events:auto}.apple-modal-close:hover,.apple-modal-close:active{background:rgba(0,0,0,.12)}.apple-modal-close svg{width:14px;height:14px;color:rgba(0,0,0,.5);pointer-events:none}.apple-modal-header{padding:32px 32px 24px;position:relative;border-bottom:1px solid rgba(0,0,0,.06)}.apple-modal-category{display:inline-flex;align-items:center;gap:6px;padding:6px 12px;background:rgba(0,122,255,.08);color:#007aff;border-radius:100px;font-size:12px;font-weight:600;letter-spacing:-.01em;margin-bottom:16px}.apple-modal-title{font-size:28px;font-weight:700;letter-spacing:-.02em;line-height:1.2;color:#1d1d1f;margin:0;padding-right:40px}.apple-modal-content{flex:1;overflow-y:auto;padding:0;-webkit-overflow-scrolling:touch}.apple-section{padding:24px 32px;border-bottom:1px solid rgba(0,0,0,.06)}.apple-section:last-child{border-bottom:none}.apple-section-title{font-size:13px;font-weight:600;color:#86868b;text-transform:uppercase;letter-spacing:.02em;margin:0 0 16px}.apple-summary{font-size:17px;line-height:1.65;color:#1d1d1f;margin:0}.apple-steps{display:flex;flex-direction:column;gap:0}.apple-step{display:flex;gap:16px;padding:16px 0;border-bottom:1px solid rgba(0,0,0,.04)}.apple-step:last-child{border-bottom:none;padding-bottom:0}.apple-step:first-child{padding-top:0}.apple-step-number{flex-shrink:0;width:28px;height:28px;background:#007aff;color:#fff;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:14px;font-weight:600}.apple-step-text{flex:1;font-size:16px;line-height:1.6;color:#1d1d1f;padding-top:3px}.apple-warning{background:#fff9e6;border-radius:12px;padding:16px;margin-top:8px}.apple-warning-title{display:flex;align-items:center;gap:8px;font-size:14px;font-weight:600;color:#b25000;margin-bottom:8px}.apple-warning-text{font-size:15px;line-height:1.5;color:#6b4d00}.apple-cost{background:#f5f5f7;border-radius:12px;padding:16px;margin-top:8px}.apple-cost-row{display:flex;justify-content:space-between;align-items:center;padding:8px 0;border-bottom:1px solid rgba(0,0,0,.06)}.apple-cost-row:last-child{border-bottom:none;padding-bottom:0}.apple-cost-row:first-child{padding-top:0}.apple-cost-label{font-size:15px;color:#1d1d1f}.apple-cost-value{font-size:15px;font-weight:600;color:#1d1d1f}.apple-refs{display:flex;flex-direction:column;gap:8px}.apple-ref{display:flex;align-items:center;gap:12px;padding:14px 16px;background:#f5f5f7;border-radius:12px;text-decoration:none;color:#1d1d1f;transition:background .15s ease}.apple-ref:hover{background:#ebebed}.apple-ref-icon{width:36px;height:36px;background:#fff;border-radius:8px;display:flex;align-items:center;justify-content:center;font-size:18px;box-shadow:0 1px 3px rgba(0,0,0,.08)}.apple-ref-text{flex:1;min-width:0}.apple-ref-title{font-size:15px;font-weight:500;color:#1d1d1f;margin-bottom:2px;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}.apple-ref-url{font-size:12px;color:#86868b;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}.apple-ref-arrow{color:#86868b;font-size:16px}.apple-tags{display:flex;flex-wrap:wrap;gap:8px}.apple-tag{padding:8px 14px;background:#f5f5f7;border-radius:100px;font-size:14px;font-weight:500;color:#1d1d1f}.apple-modal-footer{padding:20px 32px;background:#f5f5f7;display:flex;gap:12px;justify-content:center}.apple-btn{padding:12px 28px;border-radius:100px;font-size:15px;font-weight:600;cursor:pointer;transition:all .15s ease;border:none;display:inline-flex;align-items:center;gap:8px;min-height:44px;-webkit-tap-highlight-color:transparent;touch-action:manipulation}.apple-btn-primary{background:#007aff;color:#fff}.apple-btn-primary:hover{background:#0066d6}.apple-btn-secondary{background:#fff;color:#1d1d1f;box-shadow:0 0 0 1px rgba(0,0,0,.1)}.apple-btn-secondary:hover{background:#f5f5f7}.apple-jargon{display:flex;flex-direction:column;gap:12px}.apple-jargon-item{padding:16px;background:#f5f5f7;border-radius:12px}.apple-jargon-term{font-size:15px;font-weight:600;color:#1d1d1f;margin-bottom:6px}.apple-jargon-def{font-size:14px;line-height:1.5;color:#6e6e73}.apple-id{font-size:12px;color:#86868b;text-align:center;padding-top:12px}@media(max-width:640px){.apple-modal-overlay{padding:0;align-items:flex-end}.apple-modal{max-width:100%;max-height:95vh;border-radius:20px 20px 0 0;animation:appleModalSlideUpMobile .35s cubic-bezier(.32,.72,0,1) forwards}@keyframes appleModalSlideUpMobile{0%{transform:translateY(100%)}to{transform:translateY(0)}}.apple-modal-close{width:48px;height:48px;min-width:48px;min-height:48px;top:12px;right:12px}.apple-modal-close svg{width:16px;height:16px}.apple-modal-header{padding:24px 20px 20px}.apple-modal-title{font-size:22px}.apple-section{padding:20px}.apple-modal-footer{padding:16px 20px calc(16px + env(safe-area-inset-bottom,8px))}.apple-btn{flex:1;justify-content:center;padding:14px 20px;min-height:48px;font-size:16px}}.apple-modal-content::-webkit-scrollbar{width:6px}.apple-modal-content::-webkit-scrollbar-track{background:transparent}.apple-modal-content::-webkit-scrollbar-thumb{background:rgba(0,0,0,.15);border-radius:3px}.apple-modal-content::-webkit-scrollbar-thumb:hover{background:rgba(0,0,0,.25)}
