# === Shadowrocket 现有 default.conf 增量规则片段 (AI Ultra 20x (30TB) · 1个月 $0 免费试用直通版 (1month_eft.acq · 已实测复现)) ===
# 说明：5x($9.99) 请打开 iOS Gemini App；20x($19.99)/Pro($1.99) 请打开 Google 搜索 App (彩色 G 图标)！

[Rule]
AND,((PROTOCOL,UDP),(DEST-PORT,443)),REJECT-NO-DROP
DOMAIN-SUFFIX,itunes.apple.com,DIRECT
DOMAIN-SUFFIX,apps.apple.com,DIRECT
DOMAIN-SUFFIX,mzstatic.com,DIRECT
DOMAIN-SUFFIX,xp.apple.com,DIRECT
DOMAIN-SUFFIX,apple.com,DIRECT
DOMAIN-SUFFIX,icloud.com,DIRECT

[Header Rewrite]
http-request ^https://subscriptionsmobile\-pa\.googleapis\.com/\$rpc/.*GetDynamicStorefrontInfo header-replace Accept-Encoding identity
http-request ^https://subscriptionsmobile\-pa\.googleapis\.com/\$rpc/.*GetDynamicStorefrontInfo header-replace grpc-accept-encoding identity

[Body Rewrite]
http-response ^https://one\.google\.com/ai.*$ g1\.ios\.20tb\.m\.v2 g1.ai.ultra.1month_eft.acq
http-response ^https://one\.google\.com/(?:u/\d+/)?ai.*$ g1\.ios\.20tb\.m\.v2 g1.ai.ultra.1month_eft.acq
http-response ^https://one\.google\.com/(?:u/\d+/)?ai.*$ g1\.ios\.30tb\.ai\.pro\.m g1.ai.ultra.1month_eft.acq

[MITM]
enable = true
hostname = %APPEND% one.google.com, subscriptionsmobile-pa.googleapis.com
