.autorenew-choice { position:relative;box-sizing:border-box;min-height:72px;margin:0; }
.autorenew-choice label { position:relative;display:flex;align-items:center;gap:12px;box-sizing:border-box;cursor:pointer;width:100%;min-height:72px;padding:12px;border:1px solid var(--home-v2-line,rgba(175,191,186,.16));border-radius:18px;background:rgba(20,25,24,.75);touch-action:manipulation;-webkit-tap-highlight-color:transparent; }
.autorenew-choice label:has(input:checked) { border-color:rgba(255,62,75,.3);background:rgba(255,52,63,.055); }
.autorenew-choice label:has(input:disabled) { cursor:wait; }
.autorenew-choice[hidden],#autorenew-management-details[hidden],#autorenew-management-action[hidden] { display:none!important; }
.autorenew-choice span { min-width:0; }
.autorenew-choice strong { display:block;font-size:13px;line-height:1.4;font-weight:600; }
.autorenew-choice small { display:block;margin-top:3px;color:#aeb8b4;font-size:11px;line-height:1.45; }
.autorenew-choice input { appearance:none;-webkit-appearance:none;flex:0 0 22px;width:22px;height:22px;margin:0;border:1.5px solid #74817b;border-radius:6px;background:transparent;display:grid;place-items:center;cursor:pointer; }
.autorenew-choice input:checked { background:#ff343f;border-color:#ff343f; }
.autorenew-choice input:checked::after { content:"\ea5e";font-family:"tabler-icons";color:#fff;font-size:16px; }
.autorenew-choice input:focus-visible,#autorenew-sheet button:focus-visible { outline:2px solid #ff575f;outline-offset:4px; }
html.home-v2 #paymethod-sheet { max-height:calc(var(--app-viewport-stable-height, var(--tg-viewport-stable-height, 100dvh)) - var(--tg-effective-safe-area-inset-top,0px) - 12px);overflow-y:auto; }
html.home-v2 #paymethod-sheet[tabindex="-1"]:focus { outline:none; }
/* The old sheet combined flex gap with child margins, leaving a large empty
   band around the checkbox and pushing the legal text below short viewports. */
html.home-v2 #paymethod-sheet .paymethod-amount-label { margin:0 2px; }
html.home-v2 #paymethod-sheet .paymethod-options { margin-bottom:0; }
html.home-v2 #paymethod-sheet .paymethod-v2-legal { margin:0 8px; }
html.home-v2 #paymethod-sheet .paymethod-v2-header { grid-template-columns:minmax(0,1fr) 44px;min-height:44px; }
html.home-v2 #paymethod-sheet .paymethod-close-v2 { width:44px;height:44px; }
html.home-v2 #paymethod-sheet .paymethod-close-v2:focus-visible { outline:2px solid var(--home-v2-red-bright,#ff575f);outline-offset:2px; }
html.home-v2 #autorenew-sheet[tabindex="-1"]:focus { outline:none; }
html.home-v2 #paymethod-save { border:0;background:transparent;box-shadow:none;padding:7px 2px;margin:0 0 10px; }
html.home-v2 #paymethod-save .paymethod-save__badge { display:none; }
#autorenew-sheet { max-height:calc(var(--app-viewport-stable-height, var(--tg-viewport-stable-height, 100dvh)) - var(--tg-effective-safe-area-inset-top,0px) - 12px);overflow-y:auto; }
#autorenew-sheet .autorenew-copy { color:#aeb8b4;font-size:13px;line-height:1.5;margin:0 0 16px; }
#autorenew-management-details { padding:15px;margin:0 0 18px;background:rgba(20,25,24,.75);border-radius:21px; }
#autorenew-management-price { display:block;color:#f5f7f6;font-size:20px;line-height:1.4; }
#autorenew-management-date,#autorenew-management-card { display:block;margin-top:8px;color:#aeb8b4;font-size:13px;line-height:1.4; }
#autorenew-sheet .primary-btn { min-height:52px;border-radius:26px;font-size:14px; }
/* Reuse the current checkout shell, not the old orange global sheet button. */
html.home-v2 #autorenew-sheet { padding:20px 16px calc(20px + var(--tg-effective-safe-area-inset-bottom,0px));border-radius:30px 30px 0 0;border:1px solid rgba(175,191,186,.16);border-bottom:0;background:rgba(13,20,18,.96);color:var(--home-v2-text,#f5f7f6); }
html.home-v2 #autorenew-sheet .sheet-handle { display:none; }
html.home-v2 #autorenew-sheet::before,html.home-v2 #autorenew-sheet::after { display:none; }
html.home-v2 #autorenew-sheet .sheet-body-pad { padding:0; }
html.home-v2 #autorenew-sheet .paymethod-v2-header { display:flex;align-items:center;justify-content:space-between;gap:16px;width:100%;min-height:44px;margin:0 0 18px;padding:0; }
html.home-v2 #autorenew-title { position:static;flex:1;min-width:0;margin:0;padding:0;font-size:21px;line-height:1.2;letter-spacing:-.025em; }
html.home-v2 #autorenew-close { position:static;flex:0 0 44px;width:44px;height:44px;margin:0; }
html.home-v2 #autorenew-close:focus:not(:focus-visible) { outline:none; }
html.home-v2 [data-home-v2-action="autorenew"][aria-busy="true"] { opacity:.65;cursor:progress; }
html.home-v2 #autorenew-sheet .primary-btn { width:100%;background:linear-gradient(135deg,var(--home-v2-red-bright,#ff575f),var(--home-v2-red,#ff343f) 54%,#ef152c);border:0;box-shadow:none;animation:none;color:#090a0a;font-weight:720; }
html.home-v2 #autorenew-sheet .primary-btn::before,html.home-v2 #autorenew-sheet .primary-btn::after { display:none; }
