/* Tambayan Feedback Wall — a tactile, responsive sticky-note pinboard */
#feedbackWall{--fw-ink:#352b3c;--fw-muted:#746b78;--fw-board:#9b704d;--fw-paper:#fff1a8;scroll-margin-top:24px;margin:36px 0 54px;color:var(--bt-text,#f8f3ff)}
#feedbackWall .fw-intro{display:flex;justify-content:space-between;align-items:flex-end;gap:16px;flex-wrap:wrap;margin-bottom:18px}
#feedbackWall .fw-intro h2{margin:4px 0 8px;font-size:clamp(1.7rem,4vw,2.5rem)}
#feedbackWall .fw-intro p{max-width:650px;margin:0;opacity:.78;line-height:1.55}
#feedbackWall .fw-add{border:0;border-radius:14px;padding:13px 18px;background:linear-gradient(135deg,#f4c96b,#e9a9b5);color:#3e2b34;font-weight:900;box-shadow:0 8px 22px #0002;cursor:pointer;transition:transform .2s,box-shadow .2s}
#feedbackWall .fw-add:hover{transform:translateY(-3px) rotate(-1deg);box-shadow:0 12px 28px #0003}
#feedbackWall .fw-board{position:relative;isolation:isolate;overflow:hidden;padding:clamp(18px,3vw,34px);border:10px solid #765037;border-radius:22px;background-color:var(--fw-board);background-image:radial-gradient(ellipse at 15% 20%,#ffffff10 0 1px,transparent 2px),radial-gradient(ellipse at 75% 70%,#2c160b20 0 1px,transparent 2px),repeating-linear-gradient(7deg,#00000008 0 1px,transparent 1px 5px),linear-gradient(135deg,#b8875e,#8f6344 55%,#a87951);box-shadow:inset 0 0 0 2px #d5aa7a66,inset 0 0 35px #3d241b55,0 18px 42px #0003}
#feedbackWall .fw-board:before{content:"";position:absolute;inset:9px;border:1px dashed #f2d4ae66;border-radius:10px;pointer-events:none;z-index:-1}
#feedbackWall .fw-toolbar{display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin-bottom:22px}
#feedbackWall .fw-filter{border:1px solid #fff7;background:#2f1c1680;color:#fff;border-radius:999px;padding:8px 12px;font:inherit;font-size:.84rem;font-weight:800;cursor:pointer}
#feedbackWall .fw-filter[aria-pressed=true]{background:#fff1c9;color:#493424;border-color:#fff1c9}
#feedbackWall .fw-search{margin-left:auto;min-width:150px;max-width:240px;flex:1;border:1px solid #ffffff80;border-radius:999px;background:#ffffffdf;color:#382d35;padding:9px 13px;font:inherit}
#feedbackWall .fw-notes{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));gap:clamp(16px,2.3vw,26px);align-items:start}
#feedbackWall .fw-note{position:relative;min-width:0;min-height:205px;padding:25px 17px 15px;background:var(--note,#fff1a8);color:#453b3b;border:0;border-radius:2px 2px 4px 2px;box-shadow:2px 7px 12px #29190f55,0 1px 2px #fff8 inset;transform:rotate(var(--tilt,1deg));transition:transform .22s,box-shadow .22s;display:flex;flex-direction:column}
#feedbackWall .fw-note:nth-child(4n+2){--tilt:-1.8deg}
#feedbackWall .fw-note:nth-child(4n+3){--tilt:1.4deg}
#feedbackWall .fw-note:nth-child(4n){--tilt:-.7deg}
#feedbackWall .fw-note:hover{transform:translateY(-5px) rotate(0deg);box-shadow:3px 13px 19px #29190f66;z-index:2}
#feedbackWall .fw-note:before{content:"";position:absolute;top:-9px;left:calc(50% - 29px);width:58px;height:18px;background:#fff8d8a8;box-shadow:0 1px 3px #35211633;transform:rotate(-3deg)}
#feedbackWall .fw-note:after{content:"";position:absolute;top:7px;left:50%;width:9px;height:9px;border-radius:50%;background:radial-gradient(circle at 35% 30%,#fff,#d94c55 38%,#8b2630 78%);box-shadow:0 2px 3px #2c170f66}
#feedbackWall .fw-note[data-category=question]{--note:#dcecff}
#feedbackWall .fw-note[data-category=bug]{--note:#dff0d7}
#feedbackWall .fw-note[data-category=complaint]{--note:#ffdce5}
#feedbackWall .fw-note[data-category=suggestion]{--note:#fff1a8}
#feedbackWall .fw-note-top{display:flex;justify-content:space-between;gap:8px;align-items:center;margin-bottom:10px}
#feedbackWall .fw-kind{font-size:.68rem;font-weight:950;letter-spacing:.1em;text-transform:uppercase;color:#64545a}
#feedbackWall .fw-status{font-size:.65rem;font-weight:900;padding:4px 7px;border-radius:999px;background:#ffffffa8;color:#53464a}
#feedbackWall .fw-note h3{font-family:Georgia,serif;font-size:1.15rem;line-height:1.2;margin:0 0 8px;color:#392d35;overflow-wrap:anywhere}
#feedbackWall .fw-message{font-size:.9rem;line-height:1.5;white-space:pre-wrap;overflow-wrap:anywhere;margin:0 0 14px;color:#51434a}
#feedbackWall .fw-note-foot{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;margin-top:auto;padding-top:9px;border-top:1px dashed #59454b55;color:#66565c;font-size:.72rem}
#feedbackWall .fw-vote{border:1px solid #6b586044;background:#ffffff9c;color:#45363d;border-radius:999px;padding:6px 10px;font:inherit;font-weight:850;cursor:pointer}
#feedbackWall .fw-vote[aria-pressed=true]{background:#684c75;color:white;border-color:#684c75}
#feedbackWall .fw-admin{margin-top:12px;padding-top:10px;border-top:1px solid #55404a33;display:grid;gap:7px}
#feedbackWall .fw-admin select,#feedbackWall .fw-admin input{width:100%;min-width:0;padding:8px;border:1px solid #8e7c7c;border-radius:8px;background:#fff9f0;color:#392d35;font:inherit;font-size:.78rem}
#feedbackWall .fw-admin button{justify-self:start;border:0;border-radius:8px;background:#4e3a55;color:white;padding:8px 11px;font-weight:800}
#feedbackWall .fw-empty{grid-column:1/-1;text-align:center;padding:42px 16px;color:#fff3df;background:#3c281e66;border:1px dashed #f4d6b488;border-radius:14px}
#feedbackWall .fw-loading{color:#fff5e8;text-align:center;padding:25px}
#fwModal{position:fixed;inset:0;z-index:10050;display:none;place-items:center;padding:16px;background:#100b1dcc;backdrop-filter:blur(8px)}
#fwModal.open{display:grid}
#fwModal .fw-dialog{width:min(560px,100%);max-height:min(90dvh,800px);overflow:auto;border-radius:22px;padding:22px;background:linear-gradient(145deg,#fff9ed,#f1e4f1);color:#3d3340;box-shadow:0 24px 80px #0008}
#fwModal .fw-dialog-head{display:flex;justify-content:space-between;gap:12px;align-items:center}
#fwModal h3{margin:0;font-family:Georgia,serif;font-size:1.5rem}
#fwModal .fw-close{border:0;border-radius:50%;width:38px;height:38px;background:#e8dce9;color:#493a50;font-size:1.1rem}
#fwModal label{display:block;font-weight:850;font-size:.86rem;margin:13px 0 6px}
#fwModal input,#fwModal textarea,#fwModal select{box-sizing:border-box;width:100%;padding:12px;border:1px solid #c9b8c7;border-radius:11px;background:#fff;color:#352b3c;font:inherit}
#fwModal textarea{min-height:130px;resize:vertical}
#fwModal .fw-private{display:flex;align-items:flex-start;gap:9px;font-size:.86rem;font-weight:600;line-height:1.4}
#fwModal .fw-private input{width:auto;margin-top:3px}
#fwModal .fw-submit{width:100%;margin-top:14px;padding:13px;border:0;border-radius:12px;background:linear-gradient(135deg,#674d7b,#a36e91);color:white;font-weight:900;font:inherit}
#fwModal .fw-hint{font-size:.78rem;color:#746b78;line-height:1.45}
#fwModal .fw-message{min-height:1.3em;font-size:.83rem;color:#684d74}
#feedbackWall button:focus-visible,#fwModal button:focus-visible,#feedbackWall input:focus-visible,#fwModal input:focus-visible,#fwModal textarea:focus-visible,#fwModal select:focus-visible{outline:3px solid #f8d36e;outline-offset:3px}
@media(max-width:600px){#feedbackWall .fw-board{border-width:7px;padding:18px 13px}#feedbackWall .fw-toolbar{gap:6px}#feedbackWall .fw-search{order:2;flex-basis:100%;max-width:none;margin:5px 0 0}#feedbackWall .fw-notes{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}#feedbackWall .fw-note{min-height:190px;padding:23px 12px 12px}#feedbackWall .fw-note h3{font-size:1rem}#feedbackWall .fw-message{font-size:.82rem}}
@media(max-width:370px){#feedbackWall .fw-notes{grid-template-columns:1fr}#feedbackWall .fw-note{min-height:150px}}
@media(prefers-reduced-motion:reduce){#feedbackWall *{transition:none!important;animation:none!important;scroll-behavior:auto!important}}


/* Feedback composer contrast: keep every instruction and field readable. */
#fwModal .fw-dialog{color:#29212e}
#fwModal .fw-dialog h3{color:#29212e}
#fwModal .fw-dialog .fw-hint{color:#514457;font-weight:600;opacity:1}
#fwModal .fw-dialog label{color:#382b40}
#fwModal .fw-dialog .fw-private{color:#382b40}
#fwModal .fw-dialog .fw-private strong{color:#281d31}
#fwModal input,#fwModal textarea,#fwModal select{color:#29212e;border-color:#9c879f}
#fwModal input::placeholder,#fwModal textarea::placeholder{color:#716477;opacity:1}
#fwModal .fw-dialog select option{color:#29212e;background:#fff}
#fwModal .fw-message{color:#49315b;font-weight:700}
#fwModal .fw-close{color:#35253e}


/* Keep the light feedback composer readable even when the site uses a dark theme.
   The sitewide theme layer uses !important text colors, so scope stronger overrides here. */
html body[data-theme] #fwModal .fw-dialog,
html body[data-theme] #fwModal .fw-dialog :is(h3,p,label,span,strong,b,small){
  color:#302538 !important;
  -webkit-text-fill-color:#302538 !important;
  opacity:1 !important;
}
html body[data-theme] #fwModal .fw-dialog .fw-hint{
  color:#514457 !important;
  -webkit-text-fill-color:#514457 !important;
}
html body[data-theme] #fwModal .fw-dialog :is(input,textarea,select,option){
  color:#302538 !important;
  -webkit-text-fill-color:#302538 !important;
  background-color:#fff !important;
  border-color:#b6a5b9 !important;
}
html body[data-theme] #fwModal .fw-dialog :is(input,textarea)::placeholder{
  color:#716477 !important;
  -webkit-text-fill-color:#716477 !important;
  opacity:1 !important;
}
html body[data-theme] #fwModal .fw-dialog .fw-submit{
  color:#fff !important;
  -webkit-text-fill-color:#fff !important;
}
html body[data-theme] #fwModal .fw-dialog .fw-close{
  color:#35253e !important;
  -webkit-text-fill-color:#35253e !important;
}


/* Compact pinboard: the frame stays a manageable height and the notes area scrolls. */
#feedbackWall .fw-notes{
  max-height:min(68vh,680px);
  overflow-y:auto;
  overscroll-behavior:contain;
  padding:10px 10px 20px 4px;
  scrollbar-width:thin;
  scrollbar-color:#f0d0a0 #68472f;
}
#feedbackWall .fw-notes::-webkit-scrollbar{width:9px}
#feedbackWall .fw-notes::-webkit-scrollbar-track{background:#68472f88;border-radius:99px}
#feedbackWall .fw-notes::-webkit-scrollbar-thumb{background:#f0d0a0;border:2px solid #68472f;border-radius:99px}
#feedbackWall .fw-note[data-note-color="sunshine"]{--note:#fff1a8}
#feedbackWall .fw-note[data-note-color="lavender"]{--note:#e8dcff}
#feedbackWall .fw-note[data-note-color="mint"]{--note:#d9f0d7}
#feedbackWall .fw-note[data-note-color="sky"]{--note:#d8edff}
#feedbackWall .fw-note[data-note-color="peach"]{--note:#ffdfc5}
#feedbackWall .fw-note[data-note-color="rose"]{--note:#ffdce5}
#feedbackWall .fw-note[data-note-style="lined"]{
  background-image:repeating-linear-gradient(to bottom,transparent 0 24px,#6884a044 25px,#6884a044 26px);
}
#feedbackWall .fw-note[data-note-style="grid"]{
  background-image:linear-gradient(#6884a033 1px,transparent 1px),linear-gradient(90deg,#6884a033 1px,transparent 1px);
  background-size:18px 18px;
}
#feedbackWall .fw-note[data-note-style="dotted"]{
  background-image:radial-gradient(#75627c55 .8px,transparent .9px);
  background-size:12px 12px;
}
#feedbackWall .fw-note[data-note-style="taped"]{border-radius:3px 12px 3px 12px}
#feedbackWall .fw-note[data-note-style="taped"]:before{
  width:72px;left:calc(50% - 36px);height:20px;background:#fff8d8c9;transform:rotate(-5deg)
}
#feedbackWall .fw-note[data-note-style="classic"]{background-image:linear-gradient(135deg,#ffffff25,transparent 60%)}
@media(max-width:600px){
  #feedbackWall .fw-notes{max-height:62vh;padding:8px 7px 16px 3px}
}


/* Scrapbook surroundings: decorative details stay inside the Feedback section. */
#feedbackWall{position:relative}
#feedbackWall:before,
#feedbackWall:after{
  position:absolute;z-index:0;pointer-events:none;white-space:pre;line-height:1.8;
  font-family:Georgia,serif;font-weight:900;text-align:center;
  text-shadow:0 2px 8px #0003;opacity:.82
}
#feedbackWall:before{
  content:"✦\\A ♡\\A ✧";top:118px;left:-17px;color:#f7d98d;
  font-size:22px;transform:rotate(-13deg)
}
#feedbackWall:after{
  content:"✿\\A ✧\\A ♡";top:205px;right:-12px;color:#f3b9ca;
  font-size:20px;transform:rotate(12deg)
}
#feedbackWall .fw-board{
  box-shadow:inset 0 0 0 2px #d5aa7a66,inset 0 0 35px #3d241b55,
    0 18px 42px #0003,0 0 0 5px #ffffff12,0 0 0 8px #0000000c;
  background-image:
    radial-gradient(circle at 8% 12%,#ffe8b866 0 2px,transparent 3px),
    radial-gradient(circle at 92% 82%,#ffe8b844 0 2px,transparent 3px),
    radial-gradient(ellipse at 15% 20%,#ffffff10 0 1px,transparent 2px),
    radial-gradient(ellipse at 75% 70%,#2c160b20 0 1px,transparent 2px),
    repeating-linear-gradient(7deg,#00000008 0 1px,transparent 1px 5px),
    linear-gradient(135deg,#b8875e,#8f6344 55%,#a87951);
}
#feedbackWall .fw-board:after{
  content:"";position:absolute;top:-2px;right:12%;width:76px;height:22px;
  pointer-events:none;z-index:3;transform:rotate(4deg);
  background:linear-gradient(135deg,#fff2c9d9,#f4dca4c9);
  box-shadow:0 2px 5px #2b170f33;
  clip-path:polygon(0 0,100% 0,96% 100%,4% 92%);
}
#feedbackWall .fw-intro h2{text-shadow:0 3px 0 #00000012}
#feedbackWall .fw-add{position:relative;z-index:1}
#feedbackWall .fw-note{box-shadow:3px 8px 13px #29190f55,0 1px 2px #fff8 inset}
#feedbackWall .fw-note:before{border-radius:1px;opacity:.9}
#feedbackWall .fw-note:nth-child(3n+1):before{transform:rotate(4deg)}
#feedbackWall .fw-note:nth-child(3n+2):after{background:radial-gradient(circle at 35% 30%,#fff,#e4a64a 38%,#99602b 78%)}
#feedbackWall .fw-note:nth-child(3n):after{background:radial-gradient(circle at 35% 30%,#fff,#9b79c6 38%,#59406f 78%)}
#feedbackWall .fw-empty{position:relative;overflow:hidden}
#feedbackWall .fw-empty:before,
#feedbackWall .fw-empty:after{content:"✦";position:absolute;color:#ffe6a8;font-size:24px;opacity:.8}
#feedbackWall .fw-empty:before{top:10px;left:16px;transform:rotate(-15deg)}
#feedbackWall .fw-empty:after{right:18px;bottom:8px;color:#ffc8d8;transform:rotate(15deg)}
@media(max-width:600px){
  #feedbackWall:before{top:108px;left:-4px;font-size:15px}
  #feedbackWall:after{top:190px;right:-3px;font-size:14px}
  #feedbackWall .fw-board:after{width:55px;height:17px;right:10%}
}
@media(max-width:370px){
  #feedbackWall:before,#feedbackWall:after{display:none}
}
