/* Growth screen: Flutter SurfaceCard, _StatStrip, _QuestCard and _BadgeTile. */
.journey-app{position:relative;isolation:isolate;min-width:0;min-height:100svh;padding:16px 16px calc(132px + env(safe-area-inset-bottom));color:#111;word-break:keep-all;overflow-wrap:normal;container-type:inline-size;background:radial-gradient(circle 90px at calc(100% - 62px) 34px,#ffb86c33,#ff8a3d11 78%,transparent 100%),radial-gradient(circle 70px at 28px 202px,#1e88e522,#1e88e511 78%,transparent 100%),linear-gradient(#fff8ee 0,#f6f2ff 34%,#fff 100%)}
.journey-app *{box-sizing:border-box;min-width:0;word-break:keep-all}
.journey-app h1,.journey-app h2,.journey-app h3,.journey-app p{margin:0;color:inherit;letter-spacing:-.025em}
.journey-app svg{width:24px;height:24px;fill:currentColor;flex:none}
.journey-app .growth-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 4px 16px}
.journey-app .growth-heading h1{font-size:28px;font-weight:900;line-height:1.35}
.journey-app .growth-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:10px 16px;border:1px solid #e6e8ec;border-radius:14px;background:#fff;color:#111;font:inherit;font-size:14px;font-weight:800;line-height:1.45;cursor:pointer;text-align:center;white-space:normal}
.journey-app .growth-button:hover{background:#f2f2f2}
.journey-app .growth-button--primary{background:#2563eb;border-color:#2563eb;color:#fff;font-size:16px;min-height:52px}
.journey-app .growth-button--primary:hover{background:#1d4ed8}
.journey-app .growth-refresh{border:0;min-width:44px;padding:10px;background:transparent;color:#667085}
.journey-app .growth-layout{display:flex;flex-direction:column;gap:20px;align-items:stretch}
.journey-app .growth-primary,.journey-app .growth-secondary{display:contents}
.journey-app .growth-player{order:0}.journey-app .growth-quests{order:1}.journey-app .growth-missions{order:2}.journey-app .growth-badges{order:3}.journey-app .growth-stamps{order:4}.journey-app .growth-leaderboard{order:5}.journey-app .growth-season{order:6}
.journey-app .growth-card{padding:16px;background:#fffffff5;border:0;border-radius:20px;box-shadow:0 3px 10px #1111110b;min-width:0}
.journey-app .growth-player{display:flex;flex-direction:column;gap:16px}
.journey-app .growth-identity{display:flex;align-items:center;gap:12px}
.journey-app .growth-circle{width:48px;height:48px;display:flex;align-items:center;justify-content:center;flex:none;background:#2563eb29;border:1px solid #e6e8ec;border-radius:50%;color:#111}
.journey-app .growth-avatar{width:60px;height:60px;background:#f43f7b;border:0}
.journey-app .growth-avatar svg{width:32px;height:32px}
.journey-app .growth-player-name{flex:1}
.journey-app .growth-level{display:inline-flex;max-width:100%;padding:5px 10px;border-radius:999px;background:#111;color:#fff;font-size:12px;font-weight:900;line-height:1.4}
.journey-app .growth-player-name h2{font-size:18px;font-weight:900;line-height:1.35;margin-top:5px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.journey-app .growth-identity>.growth-button{flex:none;max-width:38%}
.journey-app .growth-level-progress{display:flex;align-items:center;gap:12px;color:#667085;font-size:12px;font-weight:700;line-height:1.4}
.journey-app .growth-level-progress>span{flex:none;white-space:nowrap}
.journey-app .growth-level-progress>.growth-progress{flex:1;margin:0}
.journey-app .growth-progress{height:12px;border-radius:999px;background:#e8f0fe;overflow:hidden;margin-top:8px}
.journey-app .growth-progress>span{display:block;height:100%;background:#10b981;border-radius:inherit}
.journey-app .growth-progress--unknown{background:#edf0f5}
.journey-app .growth-stat-strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));padding:12px 0;border:1px solid #e6e8ec;border-radius:12px;background:#f2f2f299}
.journey-app .growth-stat{position:relative;display:flex;flex-direction:column;gap:2px;align-items:center;justify-content:center;text-align:center;padding:0 4px;line-height:1.3}
.journey-app .growth-stat+.growth-stat:before{content:'';position:absolute;left:0;top:50%;height:30px;width:1px;background:#e6e8ec;transform:translateY(-50%)}
.journey-app .growth-stat strong{font-size:20px;font-weight:900;line-height:1.35;font-variant-numeric:tabular-nums}
.journey-app .growth-stat>span{color:#667085;font-size:11px;font-weight:700}
.journey-app .growth-player-hint{display:flex;align-items:center;gap:8px;padding:8px 12px;border-radius:8px;background:#e8f0fe;color:#1d2c5a}
.journey-app .growth-player-hint svg{width:18px;height:18px;color:#2563eb}
.journey-app .growth-player-hint p{font-size:13px;font-weight:700;line-height:1.5}
.journey-app .growth-section-heading{margin-bottom:16px}
.journey-app .growth-section-heading h2{font-size:18px;font-weight:900;line-height:1.4}
.journey-app .growth-section-heading p{margin-top:4px;font-size:13px;font-weight:700;line-height:1.5;color:#667085}
.journey-app .growth-section-body{display:flex;flex-direction:column;gap:8px}
.journey-app .growth-section-body>.growth-button{align-self:flex-start}
.journey-app .growth-quest-card,.journey-app .growth-mission-card,.journey-app .growth-season-card{display:flex;gap:12px;align-items:flex-start}
.journey-app .growth-card-detail{flex:1}
.journey-app .growth-card-detail h3{font-size:16px;font-weight:900;line-height:1.4}
.journey-app .growth-card-title{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}
.journey-app .growth-card-title h3{flex:1}
.journey-app .growth-card-title>.growth-pill{max-width:50%;flex:none}
.journey-app .growth-description{font-size:13px;font-weight:600;line-height:1.5;color:#667085;margin-top:4px}
.journey-app .growth-card-detail p.growth-description{color:#667085}
.journey-app .growth-pills{display:flex;flex-wrap:wrap;gap:4px 8px;margin-top:8px}
.journey-app .growth-pill{display:inline-flex;align-items:center;justify-content:center;border:1px solid #e6e8ec;background:#f2f2f2;border-radius:999px;padding:5px 10px;font-size:12px;font-weight:800;line-height:1.35;color:#111;max-width:100%;text-align:center}
.journey-app .growth-quest-card--claimed>.growth-circle{background:#10b98129}
.journey-app .growth-mission-circle{background:#ff6b3d29}
.journey-app .growth-season-circle{background:#8b5cf629}
.journey-app .growth-note{font-size:12px;font-weight:600;line-height:1.5;color:#667085}
.journey-app p.growth-note{color:#667085}
.journey-app .growth-card-detail>.growth-note{margin-top:8px}
.journey-app p.growth-error{color:#b42318}
.journey-app p.growth-confirmed{color:#087c58}
.journey-app .growth-disclosure{padding:4px 2px}
.journey-app .growth-state{display:flex;flex-direction:column;align-items:flex-start;gap:12px}
.journey-app .growth-unlock-label{margin-top:8px;font-size:13px;font-weight:800;line-height:1.5}
.journey-app p.growth-unlock-label{color:#2563eb}
.journey-app .growth-badge-grid,.journey-app .growth-stamp-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px 12px;padding:20px 16px}
.journey-app .growth-badge-tile,.journey-app .growth-stamp-item{display:flex;flex-direction:column;align-items:center;text-align:center}
.journey-app .growth-badge-circle{width:56px;height:56px;color:#667085;background:#f2f2f2}
.journey-app .growth-badge-circle svg{width:28px;height:28px}
.journey-app .growth-badge-tile h3,.journey-app .growth-stamp-item h3{margin-top:8px;font-size:12px;font-weight:800;line-height:1.45}
.journey-app .growth-badge-tile h3{color:#667085}
.journey-app .growth-badge-tile p,.journey-app .growth-stamp-item p{margin-top:4px;color:#667085;font-size:10px;font-weight:700;line-height:1.5}
.journey-app .growth-stamp-item{padding:0;background:transparent;border:0;color:inherit;font:inherit}
.journey-app button.growth-stamp-item{cursor:pointer}
.journey-app button.growth-stamp-item:hover .growth-circle{background:#10b98140}
.journey-app .growth-stamp-circle{width:56px;height:56px;background:#10b98129;border-color:#10b98150}
.journey-app .growth-leaderboard-row{display:flex;align-items:center;gap:12px}
.journey-app .growth-leader-name{flex:1;font-size:14px;font-weight:900;line-height:1.5;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.journey-app .growth-leader-points{color:#2563eb;font-size:14px;font-weight:900;text-align:right;font-variant-numeric:tabular-nums;max-width:42%}
@media(min-width:700px){
@container (min-width:592px){
 .journey-app .growth-layout{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;align-items:start}
 .journey-app .growth-player{grid-column:1/-1;order:0}
 .journey-app .growth-primary,.journey-app .growth-secondary{display:flex;flex-direction:column;gap:24px}
 .journey-app .growth-primary{grid-column:1;order:1}.journey-app .growth-secondary{grid-column:2;order:2}
 .journey-app .growth-section{order:initial}
}
@container (min-width:952px){
 .journey-app .growth-layout{grid-template-columns:minmax(0,4fr) minmax(0,6fr);grid-template-rows:auto 1fr}
 .journey-app .growth-player{grid-column:1;grid-row:1}
 .journey-app .growth-primary{grid-column:1;grid-row:2}
 .journey-app .growth-secondary{grid-column:2;grid-row:1/3}
}
}
@media(min-width:700px){.journey-app{padding:24px 24px 32px}.journey-app .growth-heading{margin:0 0 24px}.journey-app .growth-heading h1{font-weight:800}}
@media(max-width:359px){.journey-app{padding-inline:12px}.journey-app .growth-card{padding:14px}.journey-app .growth-identity{gap:8px}.journey-app .growth-stat strong{font-size:18px}.journey-app .growth-pill{font-size:11px;padding-inline:8px}}

.journey-app .growth-record-note{font-size:12px;font-weight:600;line-height:1.5;color:#667085;margin-top:-4px}
.journey-app .growth-record-note summary{cursor:pointer;width:fit-content;padding:4px 0;min-height:28px}
.journey-app .growth-record-note p{margin-top:4px;color:#667085}
.journey-app .growth-record-note summary:focus-visible{outline:3px solid #2563eb80;outline-offset:4px;border-radius:4px}
