
#winwin-community-app-entry, #winwin-community-app-guide, #winwin-community-app-entry *, #winwin-community-app-guide * { box-sizing: border-box; }
#winwin-community-app-entry { position: relative; grid-column: 1 / -1; min-width: 0; margin: 0; padding: 6px 10px; border: 0; border-top: 1px solid #f0dca3; background: #fffdf5; color: #4a2528; font-family: inherit; }
#winwin-community-app-entry .wwag-card-heading { display: flex; align-items: center; gap: 11px; }
#winwin-community-app-entry strong { display: block; font-size: 15px; line-height: 1.6; font-weight: 900; color: #ad0011; }
#winwin-community-app-entry p { margin: 3px 0 0; font-size: 12px; line-height: 1.7; color: #65494c; }
#winwin-community-app-entry .wwag-card-actions { display: flex; align-items: center; gap: 8px; }
#winwin-community-app-entry button, #winwin-community-app-guide button, #winwin-community-app-guide input { font-family: inherit; font-weight: 800; font-size: 14px; line-height: 1.5; cursor: pointer; }
#winwin-community-app-entry .wwag-primary, #winwin-community-app-guide .wwag-primary { min-height: 46px; padding: 10px 16px; border: 2px solid #b00012; border-radius: 12px; color: #fff6ad; background: linear-gradient(#e40021, #bd0016); box-shadow: 0 3px 0 #85000d; text-align: center; }
#winwin-community-app-entry .wwag-primary { flex: 1; display: flex; justify-content: center; align-items: center; gap: 8px; min-width: 0; min-height: 46px; padding: 5px 8px; }
#winwin-community-app-entry .wwag-primary svg { width: 24px; height: 24px; flex: 0 0 24px; }
#winwin-community-app-entry .wwag-primary small { display: block; font-size: 11px; line-height: 1.4; }
#winwin-community-app-entry .wwag-later { min-height: 44px; padding: 8px 10px; border: 0; border-radius: 8px; background: transparent; color: #6e4b4d; box-shadow: none; }
#winwin-community-app-entry.wwag-minimized { background: #fff; padding-block: 2px; text-align: center; }
#winwin-community-app-entry .wwag-reopen { display: inline-flex; justify-content: center; align-items: center; gap: 7px; min-height: 44px; padding: 7px 12px; border: 0; border-radius: 10px; background: #fff; color: #ad0011; box-shadow: none; font-size: 14px; }
#winwin-community-app-entry .wwag-reopen svg { width: 21px; height: 21px; }
#winwin-community-app-entry .wwag-app-icon, #winwin-community-app-guide .wwag-app-icon { display: grid; place-items: center; width: 44px; height: 44px; flex: 0 0 44px; border: 2px solid #b40012; border-radius: 12px; background: white; color: #b40012; font-family: inherit; font-weight: 900; font-size: 29px; line-height: 1; }
#winwin-community-app-guide { width: min(650px, calc(100% - 20px)); max-height: calc(100vh - 24px); max-height: calc(100dvh - 24px); margin: auto; padding: 20px max(16px, env(safe-area-inset-right)) max(20px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left)); overflow: auto; overscroll-behavior: contain; border: 2px solid #ebcf7f; border-radius: 22px; color: #41252a; background: #fff; font-family: inherit; box-shadow: 0 18px 70px #2d101947; }
#winwin-community-app-guide::backdrop { background: #1d111099; }
#winwin-community-app-guide .wwag-dialog-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
#winwin-community-app-guide .wwag-dialog-head h2 { margin: 2px 0 0; color: #b40012; font-size: clamp(20px, 5.5vw, 27px); line-height: 1.5; font-weight: 900; }
#winwin-community-app-guide .wwag-dialog-head button { flex: 0 0 42px; width: 42px; height: 42px; border: 1px solid #ecd8db; border-radius: 50%; background: white; color: #b40012; font-size: 26px; box-shadow: none; padding: 0; }
#winwin-community-app-guide p { line-height: 1.75; }
#winwin-community-app-guide .wwag-intro { margin: 12px 0 16px; font-size: 14px; }
#winwin-community-app-guide .wwag-shortcut-note { padding: 10px 12px; border-radius: 12px; background: #fff7df; color: #65434c; font-size: 12px; }
#winwin-community-app-guide .wwag-device { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; margin-bottom: 16px; }
#winwin-community-app-guide .wwag-device button { min-height: 46px; padding: 9px 6px; border: 2px solid #e7c8cb; border-radius: 12px; color: #8c0010; background: white; box-shadow: none; }
#winwin-community-app-guide .wwag-device button[aria-pressed="true"] { border-color: #b40012; background: #fff1f2; box-shadow: inset 0 -3px 0 #b40012; }
#winwin-community-app-guide .wwag-browser-note { padding: 12px 14px; border-radius: 13px; background: #fff6d9; border: 1px solid #ead08a; font-size: 14px; }
#winwin-community-app-guide .wwag-browser-note strong { color: #9a0010; }
#winwin-community-app-guide .wwag-browser-note p { margin: 5px 0 0; }
#winwin-community-app-guide .wwag-browser-hint, #winwin-community-app-guide .wwag-small { margin: 8px 0 14px; font-size: 12px; color: #725057; }
#winwin-community-app-guide .wwag-before { margin: 16px 0 8px; font-size: 14px; }
#winwin-community-app-guide .wwag-before strong { color: #a50013; }
#winwin-community-app-guide .wwag-image-label { margin: 10px 0 6px; font-size: 11px; color: #77616a; }
#winwin-community-app-guide .wwag-manual { margin-top: 14px; }
#winwin-community-app-guide .wwag-manual summary { padding: 8px 0; color: #9d0011; font-size: 13px; font-weight: 800; cursor: pointer; }
#winwin-community-app-guide .wwag-steps { list-style: none; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; padding: 0; margin: 0; }
#winwin-community-app-guide .wwag-steps li { position: relative; min-width: 0; padding: 14px 10px; border: 2px solid #efd484; border-radius: 16px; background: linear-gradient(145deg,#fffdf5,#fff8f8); text-align: center; }
#winwin-community-app-guide .wwag-number { position: absolute; inset: 8px auto auto 8px; display: grid; place-items: center; width: 25px; height: 25px; border-radius: 50%; background: #b40012; color: white; font-size: 14px; font-weight: 900; }
#winwin-community-app-guide .wwag-step-icon { display: grid; place-items: center; height: 70px; color: #b40012; }
#winwin-community-app-guide .wwag-step-icon svg { width: 40px; height: 40px; padding: 2px; }
#winwin-community-app-guide .wwag-steps strong { display: block; font-size: 14px; line-height: 1.6; font-weight: 900; color: #ad0011; }
#winwin-community-app-guide .wwag-steps li > span:last-child { display: block; margin-top: 5px; font-size: 12px; line-height: 1.7; color: #65434c; }
#winwin-community-app-guide .wwag-install, #winwin-community-app-guide .wwag-done { display: block; width: 100%; min-height: 46px; margin-top: 16px; }
#winwin-community-app-guide .wwag-install:disabled { opacity: .65; cursor: wait; }
#winwin-community-app-guide .wwag-login-note { margin: 16px 0 0; font-size: 12px; color: #725057; }
#winwin-community-app-guide .wwag-copy { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 8px; margin-top: 16px; }
#winwin-community-app-guide .wwag-copy label { grid-column: 1 / -1; font-size: 12px; font-weight: 800; }
#winwin-community-app-guide .wwag-copy input { min-width: 0; width: 100%; border: 1px solid #d9bcc0; border-radius: 8px; padding: 8px; font-size: 16px; color: #57333d; background: #fff; cursor: text; }
#winwin-community-app-guide .wwag-copy button, #winwin-community-app-guide .wwag-done { border: 1px solid #e3be59; border-radius: 10px; padding: 10px 12px; color: #5b3900; background: #fff1ba; box-shadow: none; }
#winwin-community-app-guide .wwag-status { margin: 10px 0 0; min-height: 1em; font-size: 12px; font-weight: 700; color: #a00017; }
#winwin-community-app-entry button:focus-visible, #winwin-community-app-guide button:focus-visible, #winwin-community-app-guide input:focus-visible { outline: 3px solid #206ed2; outline-offset: 3px; }
@media (max-width:360px) { #winwin-community-app-entry { padding-inline: 6px; } #winwin-community-app-entry .wwag-primary { font-size: 13px; } #winwin-community-app-guide { padding-inline: 12px; } #winwin-community-app-guide .wwag-steps { gap: 8px; } #winwin-community-app-guide .wwag-steps li { padding-inline: 7px; } #winwin-community-app-guide .wwag-steps strong { font-size: 13px; } #winwin-community-app-guide .wwag-device button { font-size: 12px; } #winwin-community-app-guide .wwag-copy { grid-template-columns: minmax(0,1fr); } }
@media (orientation:landscape) and (min-width:600px) { #winwin-community-app-guide .wwag-steps { grid-template-columns: repeat(4,minmax(0,1fr)); } }
